[MOAB-dev] r3589 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Mar 11 13:24:16 CST 2010


Author: kraftche
Date: 2010-03-11 13:24:16 -0600 (Thu, 11 Mar 2010)
New Revision: 3589

Modified:
   MOAB/trunk/configure.ac
Log:
configure fix: if user specifies with-cgm and we can't find a working CGM there, it is an error.

Modified: MOAB/trunk/configure.ac
===================================================================
--- MOAB/trunk/configure.ac	2010-03-11 19:00:58 UTC (rev 3588)
+++ MOAB/trunk/configure.ac	2010-03-11 19:24:16 UTC (rev 3589)
@@ -929,7 +929,7 @@
     ;;
   *)
     if ! test -d "$CGM_DIR"; then
-      AC_MSG_WARN([$CGM_DIR : not a directory.])
+      AC_MSG_ERROR([$CGM_DIR : not a directory.])
     fi
     CGM_MISSING=no
     CGM_MAKE=
@@ -939,7 +939,7 @@
                   [AC_CHECK_FILE([${CGM_DIR}/cgm.make],
                                  [CGM_MAKE="${CGM_DIR}/cgm.make";
                    AM_CPPFLAGS="$AM_CPPFLAGS -DCGM"],
-                                 [AC_MSG_WARN([$CGM_DIR : not a configured CGM]); 
+                                 [AC_MSG_ERROR([$CGM_DIR : not a configured CGM]); 
                                   CGM_MISSING=yes])
                   ])
     ;;



More information about the moab-dev mailing list