[mpich2-commits] r5512 - mpich2/trunk/src/pm/hydra

balaji at mcs.anl.gov balaji at mcs.anl.gov
Tue Oct 20 19:30:50 CDT 2009


Author: balaji
Date: 2009-10-20 19:30:50 -0500 (Tue, 20 Oct 2009)
New Revision: 5512

Modified:
   mpich2/trunk/src/pm/hydra/configure.in
Log:
Use a sandbox configure for hwloc instead of adding it to
CONFIG_SUBDIRS. This way, even if it fails to configure, the top-level
configure can still continue.

Modified: mpich2/trunk/src/pm/hydra/configure.in
===================================================================
--- mpich2/trunk/src/pm/hydra/configure.in	2009-10-20 23:46:33 UTC (rev 5511)
+++ mpich2/trunk/src/pm/hydra/configure.in	2009-10-21 00:30:50 UTC (rev 5512)
@@ -343,9 +343,11 @@
 		fi
 		;;		
 	hwloc)
-		AC_CONFIG_SUBDIRS(tools/bind/hwloc/hwloc)
-		have_hwloc=yes
-		AC_DEFINE(HAVE_HWLOC,1,[Define if hwloc is available])
+		PAC_CONFIG_SUBDIR(tools/bind/hwloc/hwloc, $abs_srcdir, $ac_configure_args,
+				have_hwloc=yes,)
+		if test "$have_hwloc" = "yes" ; then
+		   AC_DEFINE(HAVE_HWLOC,1,[Define if hwloc is available])
+		fi
 		;;
 	*)
 		;;



More information about the mpich2-commits mailing list