mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAM
Parameters were underquoted, resulting in warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
5c71544fc6
commit
eb6e9593c4
@ -146,7 +146,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
|||||||
_libcurl_save_libs=$LIBS
|
_libcurl_save_libs=$LIBS
|
||||||
LIBS="$LIBCURL $LIBS"
|
LIBS="$LIBCURL $LIBS"
|
||||||
|
|
||||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <curl/curl.h>],[
|
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[
|
||||||
/* Try and use a few common options to force a failure if we are
|
/* Try and use a few common options to force a failure if we are
|
||||||
missing symbols or can't link. */
|
missing symbols or can't link. */
|
||||||
int x;
|
int x;
|
||||||
@ -158,7 +158,7 @@ x=CURLOPT_ERRORBUFFER;
|
|||||||
x=CURLOPT_STDERR;
|
x=CURLOPT_STDERR;
|
||||||
x=CURLOPT_VERBOSE;
|
x=CURLOPT_VERBOSE;
|
||||||
if (x) ;
|
if (x) ;
|
||||||
])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no)
|
]])],libcurl_cv_lib_curl_usable=yes,libcurl_cv_lib_curl_usable=no)
|
||||||
|
|
||||||
CPPFLAGS=$_libcurl_save_cppflags
|
CPPFLAGS=$_libcurl_save_cppflags
|
||||||
LIBS=$_libcurl_save_libs
|
LIBS=$_libcurl_save_libs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user