I put the brackets in the wrong spots! Here's the new patch attached and
pasted:

Index: macros/libcurl.m4
===================================================================
--- macros/libcurl.m4   (revision 15261)
+++ macros/libcurl.m4   (working copy)
@@ -142,7 +142,7 @@
            _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;
@@ -153,7 +153,7 @@
 x=CURLOPT_ERRORBUFFER;
 x=CURLOPT_STDERR;
 x=CURLOPT_VERBOSE;
-]),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


On Tue, Oct 25, 2011 at 1:27 AM, Steven Johnson <shjohnson...@gmail.com>wrote:

> Hello everyone, I'm Steven. Hopefully if time permits I can keep helping
> out with this fun project.
>
>
> I created a bug report and uploaded a patch:
>
> https://sourceforge.net/tracker/?func=detail&aid=3428070&group_id=13833&atid=113833
>
> It deals with autoreconf warnings and is very low priority and the fix was
> just adding two brackets.
>
> The warning was: (running from root directory of client trunk on Ubuntu
> Linux 11.10)
> $ autoreconf
> ...
> macros/libcurl.m4:38: LIBCURL_CHECK_CONFIG is expanded from...
> configure.ac:416: the top level
> configure.ac:416: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
> detected in body
> ...
>
>
Index: macros/libcurl.m4
===================================================================
--- macros/libcurl.m4   (revision 15261)
+++ macros/libcurl.m4   (working copy)
@@ -142,7 +142,7 @@
            _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;
@@ -153,7 +153,7 @@
 x=CURLOPT_ERRORBUFFER;
 x=CURLOPT_STDERR;
 x=CURLOPT_VERBOSE;
-]),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
_______________________________________________
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to