summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-19 15:11:10 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-19 15:11:10 +0200
commite7b2ee2ddc17c7ee869b9c87dc67cd603867c237 (patch)
treed8b300c73c531ef50b2f978fccc7a1bd3497a69f /configure.ac
parent6d551b307378b6fb48ebb147b01fcd62f2c80142 (diff)
downloadexchange-e7b2ee2ddc17c7ee869b9c87dc67cd603867c237.tar.gz
exchange-e7b2ee2ddc17c7ee869b9c87dc67cd603867c237.tar.bz2
exchange-e7b2ee2ddc17c7ee869b9c87dc67cd603867c237.zip
curl header detection
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7b92fd7b..52af3e4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -241,6 +241,16 @@ else
AC_DEFINE([HAVE_LIBCURL],[1],[Have CURL])
fi
+
+# Check for curl/curl.h and gnurl/curl.h so we can use #ifdef
+# HAVE_CURL_CURL_H later (the above LIBCURL_CHECK_CONFIG accepted
+# *either* header set).
+AC_CHECK_HEADERS([curl/curl.h],,
+ curl=false
+ AC_CHECK_HEADERS([gnurl/curl.h],,
+ gnurl=false))
+
+
# libgnurl
if test "x$gnurl" = "x0"
then