[Top][All Lists]

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

Re: Suppressing warning AC_LANG_CONFTEST

From: Eric Blake
Subject: Re: Suppressing warning AC_LANG_CONFTEST
Date: Tue, 12 Oct 2010 11:18:11 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4

On 10/12/2010 11:02 AM, Ralph Castain wrote:
Hi folks

I have been trying (without success) to suppress a flood of warnings I now get 
from the Open MPI configure system:

configure.in:622: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in 
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/opal_libevent_configure.m4:176: IF_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
m4/opal_libevent_configure.m4:184: EVENT_CHECK_VISIBILITY is expanded from...
m4/opal_libevent_configure.m4:314: OPAL_CONFIGURE_LIBEVENT_MODES is expanded 

This started appearing when we switched to autoconf-2.68 and libtool-2.4. I've 
tried adding AC_LANG directives, but I can't find a consistent way to eliminate 
these outputs. I've looked at your mailing list archives, and the claim was 
that libtool-2.4 would solve it - but that doesn't work for us.

Use of libtool 2.4 will solve libtool's violation of the rule, but not the EVENT_CHECK_VISIBILITY macro.

Any suggestions? I can provide copies of the configure.in and other m4's, if 
that would help.

Most likely, you are missing a quoted call to AC_LANG_SOURCE in the definition of EVENT_CHECK_VISIBILITY - what does the .m4 file look like that provides that macro?

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

reply via email to

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