configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
New commits: commit b0e0fa1d2aee653586e1803bc30447b066e6cc66 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Fri Sep 10 14:37:41 2021 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Mon Nov 1 18:14:17 2021 +0100 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.st...@allotropia.de> diff --git a/configure.ac b/configure.ac index cecc4993641f..a21c8ec9bc60 100644 --- a/configure.ac +++ b/configure.ac @@ -2398,7 +2398,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"])) AC_ARG_WITH(linker-hash-style, @@ -10873,6 +10873,13 @@ 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