[MOAB-dev] r1696 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue Mar 25 13:36:20 CDT 2008


Author: kraftche
Date: 2008-03-25 13:36:19 -0500 (Tue, 25 Mar 2008)
New Revision: 1696

Modified:
   MOAB/trunk/configure.in
Log:
make handle size option persist during make distcheck

Modified: MOAB/trunk/configure.in
===================================================================
--- MOAB/trunk/configure.in	2008-03-25 18:36:00 UTC (rev 1695)
+++ MOAB/trunk/configure.in	2008-03-25 18:36:19 UTC (rev 1696)
@@ -69,13 +69,15 @@
 AC_ARG_ENABLE([64bit-handles],
   [AC_HELP_STRING([--enable-64bit-handles],[Force MBEntityHandle to be 64 bits])],
   [AC_CHECK_TYPE([uint64_t],
-    [AC_DEFINE(MOAB_FORCE_64_BIT_HANDLES,[],[Use int64_t for handles])],
+    [AC_DEFINE(MOAB_FORCE_64_BIT_HANDLES,[],[Use int64_t for handles])
+     DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --enable-64bit-handles"],
     [AC_MSG_ERROR([Platform does not have uint64_t. Cannot force 64-bit handles])])
 ])
 AC_ARG_ENABLE([32bit-handles],
   [AC_HELP_STRING([--enable-32bit-handles],[Force MBEntityHandle to be 32 bits])],
   [AC_CHECK_TYPE([uint32_t],
-    [AC_DEFINE(MOAB_FORCE_32_BIT_HANDLES,[],[Use int32_t for handles])],
+    [AC_DEFINE(MOAB_FORCE_32_BIT_HANDLES,[],[Use int32_t for handles])
+     DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --enable-32bit-handles"],
     [AC_MSG_ERROR([Platform does not have uint32_t. Cannot force 32-bit handles])])
 ])
 if test "x$HANDLE_TYPE" = "x"; then




More information about the moab-dev mailing list