[cgma-dev] r3266 - cgm/trunk/m4

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Nov 3 08:59:58 CST 2009


Author: kraftche
Date: 2009-11-03 08:59:58 -0600 (Tue, 03 Nov 2009)
New Revision: 3266

Modified:
   cgm/trunk/m4/boost.m4
   cgm/trunk/m4/compiler.m4
Log:
fix mistakes in /SNL_/FATHOM_/ renaming that broke nightly tests

Modified: cgm/trunk/m4/boost.m4
===================================================================
--- cgm/trunk/m4/boost.m4	2009-11-03 06:06:34 UTC (rev 3265)
+++ cgm/trunk/m4/boost.m4	2009-11-03 14:59:58 UTC (rev 3266)
@@ -24,7 +24,7 @@
   fi
   AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
-  AC_CHECK_HEADERS( [$SNL_BOOST_OPT_HEADER_LIST],[def=`echo "$ac_header" | $as_tr_cpp`; DEFINES="$DEFINES -DHAVE_$def"] )
+  AC_CHECK_HEADERS( [$FATHOM_BOOST_OPT_HEADER_LIST],[def=`echo "$ac_header" | $as_tr_cpp`; DEFINES="$DEFINES -DHAVE_$def"] )
   AC_LANG_RESTORE
 fi
 ]) # FATHOM_CHECK_BOOST

Modified: cgm/trunk/m4/compiler.m4
===================================================================
--- cgm/trunk/m4/compiler.m4	2009-11-03 06:06:34 UTC (rev 3265)
+++ cgm/trunk/m4/compiler.m4	2009-11-03 14:59:58 UTC (rev 3266)
@@ -147,8 +147,8 @@
 
 # Try to determine compiler-specific flags.  This must be done
 # before setting up libtool so that it can override libtool settings.
-CFLAGS="$USER_CFLAGS $SNL_CC_SPECIAL"
-CXXFLAGS="$USER_CXXFLAGS $SNL_CXX_SPECIAL"
+CFLAGS="$USER_CFLAGS $FATHOM_CC_SPECIAL"
+CXXFLAGS="$USER_CXXFLAGS $FATHOM_CXX_SPECIAL"
 
 # On IBM/AIX, the check for OBJEXT fails for the mpcc compiler.
 # (Comment out this hack, it should be fixed correctly now)
@@ -211,13 +211,13 @@
 [
   if test "xyes" != "x$enableval"; then
     AC_MSG_ERROR([Unknown argument --enable-32bit=$enableval])
-  elif test "x" = "x$SNL_CXX_32BIT"; then
+  elif test "x" = "x$FATHOM_CXX_32BIT"; then
     AC_MSG_ERROR([Don't know how to force 32-bit C++ on this platform.  Try setting CXXFLAGS manually])
-  elif test "x" = "x$SNL_CC_32BIT"; then
+  elif test "x" = "x$FATHOM_CC_32BIT"; then
     AC_MSG_ERROR([Don't know how to force 32-bit C on this platform.  Try setting CFLAGS manually])
   fi
-  CXXFLAGS="$CXXFLAGS $SNL_CXX_32BIT"
-  CFLAGS="$CFLAGS $SNL_CC_32BIT"
+  CXXFLAGS="$CXXFLAGS $FATHOM_CXX_32BIT"
+  CFLAGS="$CFLAGS $FATHOM_CC_32BIT"
   enable_32bit=yes
 ])
 # This requires FATHOM_CXX_FLAGS and FATHOM_CC_FLAGS to have been called first
@@ -225,15 +225,15 @@
 [
   if test "xyes" != "x$enableval"; then
     AC_MSG_ERROR([Unknown argument --enable-64bit=$enableval])
-  elif test "x" = "x$SNL_CXX_64BIT"; then
+  elif test "x" = "x$FATHOM_CXX_64BIT"; then
     AC_MSG_ERROR([Don't know how to force 64-bit C++ on this platform.  Try setting CXXFLAGS manually])
-  elif test "x" = "x$SNL_CC_64BIT"; then
+  elif test "x" = "x$FATHOM_CC_64BIT"; then
     AC_MSG_ERROR([Don't know how to force 64-bit C on this platform.  Try setting CFLAGS manually])
   elif test "xyes" = "x$enable_32bit"; then
     AC_MSG_ERROR([Cannot do both --enable-32bit and --enable-64bit])
   fi
-  CXXFLAGS="$CXXFLAGS $SNL_CXX_64BIT"
-  CFLAGS="$CFLAGS $SNL_CC_64BIT"
+  CXXFLAGS="$CXXFLAGS $FATHOM_CXX_64BIT"
+  CFLAGS="$CFLAGS $FATHOM_CC_64BIT"
 ])
 
 ]) # FATHOM_COMPILER_FLAGS



More information about the cgma-dev mailing list