autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

no AC_LANG_SOURCE call detected in body


From: Bruce Korb
Subject: no AC_LANG_SOURCE call detected in body
Date: Wed, 06 Apr 2011 11:26:00 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8

I was trying to chase down some still-hanging-around warnings.
This warning is insufficiently clear because I *do* have AC_LANG_SOURCE:

configure.ac:139: 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...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
config/ag_macros.m4:347: AG_WITHLIB_XML2 is expanded from...
config/ag_macros.m4:674: INVOKE_AG_MACROS is expanded from...
configure.ac:139: the top level


    348 AC_DEFUN([AG_WITHLIB_XML2],[
[........]
    422   AC_MSG_CHECKING([whether libxml2 can be linked with])
    423   AC_CACHE_VAL([ag_cv_with_libxml2],[
    424   AC_LINK_IFELSE(
    425     [AC_LANG_SOURCE(address@hidden:@include <libxml/parser.h>
    426 @%:@include <libxml/tree.h>
    427
    428 int main () {
    429 xmlDocPtr p = xmlParseFile( "mumble.xml" ); }]])],
    430     [ag_cv_with_libxml2=yes],
    431     [ag_cv_with_libxml2=no]) # end of AC_LINK_IFELSE
    432   ]) # end of AC_CACHE_VAL for ag_cv_with_libxml2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]