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 
body
../../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 
from...

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   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to