[Opendnssec-user] [PATCH 2/2] m4: fix quoting of tokens passed to AC_LANG_PROGRAM

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Jan 30 09:04:50 UTC 2012


Fixes last occurance of
warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

Upstream-Status: Accepted (eb6e9593c4153ca122c2eba32fde1c2319a14db7)
	Fixed in release: curl-7_24_0

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 m4/acx_libcurl.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/acx_libcurl.m4 b/m4/acx_libcurl.m4
index 8cada05..d7d5a52 100644
--- a/m4/acx_libcurl.m4
+++ b/m4/acx_libcurl.m4
@@ -146,7 +146,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
            _libcurl_save_libs=$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
    missing symbols or can't link. */
 int x;
@@ -158,7 +158,7 @@ x=CURLOPT_ERRORBUFFER;
 x=CURLOPT_STDERR;
 x=CURLOPT_VERBOSE;
 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
            LIBS=$_libcurl_save_libs
-- 
1.7.8.3




More information about the Opendnssec-user mailing list