curl header detection
This commit is contained in:
parent
6d551b3073
commit
e7b2ee2ddc
10
configure.ac
10
configure.ac
@ -241,6 +241,16 @@ else
|
|||||||
AC_DEFINE([HAVE_LIBCURL],[1],[Have CURL])
|
AC_DEFINE([HAVE_LIBCURL],[1],[Have CURL])
|
||||||
fi
|
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
|
# libgnurl
|
||||||
if test "x$gnurl" = "x0"
|
if test "x$gnurl" = "x0"
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user