[mpich2-commits] r6634 - mpich2/trunk/src/pm/hydra/tools/bind/hwloc/hwloc/config
balaji at mcs.anl.gov
balaji at mcs.anl.gov
Mon May 10 20:47:28 CDT 2010
Author: balaji
Date: 2010-05-10 20:47:28 -0500 (Mon, 10 May 2010)
New Revision: 6634
Modified:
mpich2/trunk/src/pm/hydra/tools/bind/hwloc/hwloc/config/hwloc.m4
Log:
If the compiler doesn't support C99, gracefully abort at configure
time instead of failing at make time.
Modified: mpich2/trunk/src/pm/hydra/tools/bind/hwloc/hwloc/config/hwloc.m4
===================================================================
--- mpich2/trunk/src/pm/hydra/tools/bind/hwloc/hwloc/config/hwloc.m4 2010-05-11 01:47:24 UTC (rev 6633)
+++ mpich2/trunk/src/pm/hydra/tools/bind/hwloc/hwloc/config/hwloc.m4 2010-05-11 01:47:28 UTC (rev 6634)
@@ -225,6 +225,9 @@
hwloc_CFLAGS_save=$CFLAGS
AC_PROG_CC_C99
hwloc_CC_c99_flags=`echo $CC | sed -e s/^$hwloc_CC_save//`
+ if test x"$hwloc_CC_c99_flags" = "x" ; then
+ AC_ERROR([C99 support required for hwloc])
+ fi
CC=$hwloc_CC_save
CFLAGS=$hwloc_CFLAGS_save
More information about the mpich2-commits
mailing list