summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-25 08:45:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-25 14:46:03 +0100
commit70dd00f23ee53ea5ae7f3c292906335fb6000ab4 (patch)
tree5cd272f70eacd1745384f95a94305d9746c4aa0c /configure.ac
parentsort, cache and binary search query items if they're many (tdf#136838) (diff)
downloadcore-70dd00f23ee53ea5ae7f3c292906335fb6000ab4.tar.gz
core-70dd00f23ee53ea5ae7f3c292906335fb6000ab4.zip
required curl_multi_wakeup is only in >= curl 7.68.0
Change-Id: I53878de49549098ff90ef1f68f88880a6eb5bf55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125797 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac27
1 files changed, 1 insertions, 26 deletions
diff --git a/configure.ac b/configure.ac
index 9a5df92f922f..b573c6934310 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10287,32 +10287,7 @@ if test "$enable_curl" = "yes" -a "$with_system_curl" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_CURL=TRUE
- # First try PKGCONFIG and then fall back
- PKG_CHECK_MODULES(CURL, libcurl >= 7.63.0,, [:])
-
- if test -n "$CURL_PKG_ERRORS"; then
- AC_PATH_PROG(CURLCONFIG, curl-config)
- if test -z "$CURLCONFIG"; then
- AC_MSG_ERROR([curl development files not found])
- fi
- CURL_LIBS=`$CURLCONFIG --libs`
- FilterLibs "${CURL_LIBS}"
- CURL_LIBS="${filteredlibs}"
- CURL_CFLAGS=$("$CURLCONFIG" --cflags | sed -e "s/-I/${ISYSTEM?}/g")
- curl_version=`$CURLCONFIG --version | $SED -e 's/^libcurl //'`
-
- AC_MSG_CHECKING([whether libcurl is >= 7.19.4])
- case $curl_version in
- dnl brackets doubled below because Autoconf uses them as m4 quote characters,
- dnl so they need to be doubled to end up in the configure script
- 7.19.4|7.19.[[5-9]]|7.[[2-9]]?.*|7.???.*|[[8-9]].*|[[1-9]][[0-9]].*)
- AC_MSG_RESULT([yes])
- ;;
- *)
- AC_MSG_ERROR([no, you have $curl_version])
- ;;
- esac
- fi
+ PKG_CHECK_MODULES(CURL, libcurl >= 7.68.0)
ENABLE_CURL=TRUE
elif test "$enable_curl" = "no"; then