[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Autoconf warnings on trunk

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 01 Nov 2010 19:00:13 +0000

Justin Erenkrantz <justin_at_erenkrantz.com> writes:

>
> Index: build/ac-macros/neon.m4
> ===================================================================
> --- build/ac-macros/neon.m4 (revision 1029788)
> +++ build/ac-macros/neon.m4 (working copy)
> @@ -113,7 +113,7 @@
> #include <ne_xml.h>
> int main()
> {ne_xml_create(); ne_decompress_destroy(NULL);}"
> - AC_LINK_IFELSE([$neon_test_code], shared_linking="yes",
> shared_linking="no")
> + AC_LINK_IFELSE(AC_LANG_SOURCE([$neon_test_code]),

The documentation suggests another '[' is needed:

                 AC_LINK_IFELSE([AC_LANG_SOURCE

> shared_linking="yes", shared_linking="no")
> if test "$shared_linking" = "no"; then
> NEON_LIBS=`$PKG_CONFIG neon --libs --static`
> LIBS="$LIBS $NEON_LIBS"
>
> But, that doesn't seem to be enough. Also tried [[ ]]s within
> AC_LANG_SOURCE and no dice.
>
> Any idea what I'm missing? Is this some lame autoconf bug? -- justin
>

-- 
Philip
Received on 2010-11-01 20:00:53 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.