I've committed the fixes (r30905). It is a problem to detect kernel
defines (such as AF_IB ), so we have to use AC_RUN_IFELSE macro.
On 27-Feb-14 17:09, Jeff Squyres (jsquyres) wrote:
> 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.