This commit results in several warnings in recent versions of Automake (e.g., 1.13.3). Please see the Automake docs for how you're supposed to use AC_COMPILE_IFELSE with AC_LANG_SOURCE.
----- configure.ac:1089: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... config/ompi_check_mxm.m4:16: OMPI_CHECK_MXM is expanded from... oshmem/mca/atomic/mxm/configure.m4:14: MCA_oshmem_atomic_mxm_CONFIG is expanded from... config/ompi_mca.m4:570: MCA_CONFIGURE_M4_CONFIG_COMPONENT is expanded from... config/ompi_mca.m4:351: MCA_CONFIGURE_FRAMEWORK is expanded from... config/ompi_mca.m4:251: MCA_CONFIGURE_PROJECT is expanded from... config/ompi_mca.m4:38: OMPI_MCA is expanded from... configure.ac:1089: the top level ----- On Oct 9, 2013, at 7:52 AM, svn-commit-mai...@open-mpi.org wrote: > Author: amikheev (Alex Mikheev) > Date: 2013-10-09 07:52:04 EDT (Wed, 09 Oct 2013) > New Revision: 29407 > URL: https://svn.open-mpi.org/trac/ompi/changeset/29407 > > Log: > fixed check availability of mxm atomics. No need to run the code. succesful > compilation is enough to detect availability. > reviewed by miked > > Text files modified: > trunk/oshmem/mca/atomic/mxm/configure.m4 | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > Modified: trunk/oshmem/mca/atomic/mxm/configure.m4 > ============================================================================== > --- trunk/oshmem/mca/atomic/mxm/configure.m4 Wed Oct 9 06:06:39 2013 > (r29406) > +++ trunk/oshmem/mca/atomic/mxm/configure.m4 2013-10-09 07:52:04 EDT (Wed, > 09 Oct 2013) (r29407) > @@ -21,7 +21,7 @@ > CPPFLAGS="$CPPFLAGS -I$ompi_check_mxm_dir/include" > LDFLAGS="$LDFLAGS -L$ompi_check_mxm_dir/lib" > LIBS="$LIBS -lmxm" > - AC_TRY_RUN([ > + AC_COMPILE_IFELSE([ > #include <mxm/api/mxm_api.h> > int main() { > if (mxm_get_version() < MXM_VERSION(1,5) ) > _______________________________________________ > svn-full mailing list > svn-f...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/svn-full -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/