I'm seeing this warning this morning:
configure.ac:1139: warning: AC_RUN_IFELSE called without default to allow cross c\
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
ompi/mca/btl/openib/configure.m4:37: MCA_ompi_btl_openib_CONFIG is expanded from.\
config/ompi_mca.m4:571: MCA_CONFIGURE_M4_CONFIG_COMPONENT is expanded from...
config/ompi_mca.m4:352: MCA_CONFIGURE_FRAMEWORK is expanded from...
config/ompi_mca.m4:252: MCA_CONFIGURE_PROJECT is expanded from...
config/ompi_mca.m4:39: OMPI_MCA is expanded from...
configure.ac:1139: the top level
Is it necessary to AC_RUN_IFELSE here? Is AC_CHECK_DECLS not sufficient for some reason?
It strikes me that this test you currently have in configure.m4 really should be a run-time test, and that all you need in configure.m4 should be an AC_CHECK_DECLS to see if AF_IB exists.
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/