[crossfire] Autoreconf Warnings Bug

Steven Johnson shjohnson.pi at gmail.com
Tue Oct 25 16:38:25 CDT 2011


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.pi at 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
> ...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20111025/03368e44/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-libcurl-m4-2.diff
Type: text/x-patch
Size: 822 bytes
Desc: not available
URL: <http://mailman.metalforge.org/pipermail/crossfire/attachments/20111025/03368e44/attachment.bin>


More information about the crossfire mailing list