From c3b391030121ba2cbfc13385d3ec25779a180671 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 19 Apr 2016 15:16:36 +0200 Subject: fix curl header detection --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f4be21a5..c9988288 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,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 -- cgit v1.2.3