Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] autoconf warnings: openib BTL
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-02-27 10:09:57

I'm seeing this warning this morning:

----- 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... 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.

Jeff Squyres
For corporate legal information go to: