diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-09-10 14:37:41 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-03-09 19:00:31 +0100 |
commit | 1558ef4416673f04cfdb3c1f1cb02d123802d06c (patch) | |
tree | 38aa4971a1379f3355b17868d622c7c942914e38 /configure.ac | |
parent | f9d82db9f73b6e9e20d79fc9392baee28011113b (diff) |
configure: add --with-webdav=curl
Change-Id: Id5cbeb9924b8e80b3b88f77fee2efd8457b5c302
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122043
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit b0e0fa1d2aee653586e1803bc30447b066e6cc66)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 271f4e4240de..1a0305742346 100644 --- a/configure.ac +++ b/configure.ac @@ -1951,7 +1951,7 @@ AC_ARG_WITH(system-liblangtag, AC_ARG_WITH(webdav, AS_HELP_STRING([--with-webdav], [Specify which library to use for webdav implementation. - Possible values: "neon", "serf", "no". The default value is "neon". + Possible values: "neon", "serf", "curl", "no". The default value is "neon". Example: --with-webdav="serf"]), WITH_WEBDAV=$withval, WITH_WEBDAV="neon") @@ -9817,6 +9817,13 @@ if test $_os = iOS -o $_os = Android; then fi AC_MSG_CHECKING([for webdav library]) case "$WITH_WEBDAV" in +curl) + AC_MSG_RESULT([curl]) + # curl is already mandatory (almost) and checked elsewhere + if test "$enable_curl" = "no"; then + AC_MSG_ERROR(["--with-webdav=curl conflicts with --disable-curl"]) + fi + ;; serf) AC_MSG_RESULT([serf]) # Check for system apr-util |