[mpich2-commits] r7946 - mpich2/trunk

buntinas at mcs.anl.gov buntinas at mcs.anl.gov
Fri Feb 11 17:40:10 CST 2011


Author: buntinas
Date: 2011-02-11 17:40:10 -0600 (Fri, 11 Feb 2011)
New Revision: 7946

Modified:
   mpich2/trunk/configure.in
Log:
fix bug where --disable-checkpointing didn't

Modified: mpich2/trunk/configure.in
===================================================================
--- mpich2/trunk/configure.in	2011-02-11 23:36:33 UTC (rev 7945)
+++ mpich2/trunk/configure.in	2011-02-11 23:40:10 UTC (rev 7946)
@@ -5895,11 +5895,11 @@
 # Checkpointing
 AC_ARG_ENABLE(checkpointing,
     [AC_HELP_STRING([--enable-checkpointing], [Enable application checkpointing])],
-    [
+    [ if test "$enableval" != "no" ; then
         PAC_SET_HEADER_LIB_PATH(blcr)
 	PAC_CHECK_HEADER_LIB_FATAL(blcr, libcr.h, cr, cr_init)
         AC_DEFINE(ENABLE_CHECKPOINTING,1,[Application checkpointing enabled])
-    ],
+      fi ],
 )
 
 # Update the cache first with the results of the previous configure steps



More information about the mpich2-commits mailing list