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

Autoconf warnings on trunk

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Mon, 1 Nov 2010 11:47:17 -0700

I'm getting a slew of warnings when I run autogen.sh on trunk.
(autoconf 2.68 via Macports.)

configure.ac:119: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/ac-macros/neon.m4:72: SVN_NEON_CONFIG is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:1482: AC_ARG_WITH is expanded from...
build/ac-macros/neon.m4:39: SVN_LIB_NEON is expanded from...
configure.ac:119: the top level
configure.ac:135: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
build/ac-macros/gssapi.m4:26: SVN_LIB_RA_SERF_GSSAPI is expanded from...
configure.ac:135: the top level
...more warnings...

I've tried to wrap the calls to AC_LINK_IFELSE like so:

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]),
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
Received on 2010-11-01 19:47:53 CET

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