diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-03-05 13:20:34 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2014-03-05 13:20:34 +0000 |
commit | f20648d0cf16b22a923b6a46bdf0ee439c872563 (patch) | |
tree | 4c9f3eb629e0958af33f31a26d0b3946b6ffe080 /m4 | |
parent | 180e8abf36ee6fe4ceaa58ef63fa32885928e086 (diff) | |
download | libmicrohttpd-f20648d0cf16b22a923b6a46bdf0ee439c872563.tar.gz libmicrohttpd-f20648d0cf16b22a923b6a46bdf0ee439c872563.zip |
Update libcurl autoconf macros from upstream
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libcurl.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index 01a0575c..d7d5a525 100644 --- a/m4/libcurl.m4 +++ b/m4/libcurl.m4 | |||
@@ -146,7 +146,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG], | |||
146 | _libcurl_save_libs=$LIBS | 146 | _libcurl_save_libs=$LIBS |
147 | LIBS="$LIBCURL $LIBS" | 147 | LIBS="$LIBCURL $LIBS" |
148 | 148 | ||
149 | AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curl/curl.h>],[ | 149 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[ |
150 | /* Try and use a few common options to force a failure if we are | 150 | /* Try and use a few common options to force a failure if we are |
151 | missing symbols or can't link. */ | 151 | missing symbols or can't link. */ |
152 | int x; | 152 | int x; |
@@ -157,7 +157,8 @@ x=CURLOPT_FILE; | |||
157 | x=CURLOPT_ERRORBUFFER; | 157 | x=CURLOPT_ERRORBUFFER; |
158 | x=CURLOPT_STDERR; | 158 | x=CURLOPT_STDERR; |
159 | x=CURLOPT_VERBOSE; | 159 | x=CURLOPT_VERBOSE; |
160 | ])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) | 160 | if (x) ; |
161 | ]])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no) | ||
161 | 162 | ||
162 | CPPFLAGS=$_libcurl_save_cppflags | 163 | CPPFLAGS=$_libcurl_save_cppflags |
163 | LIBS=$_libcurl_save_libs | 164 | LIBS=$_libcurl_save_libs |