[MOAB-dev] r5845 - MOAB/trunk/config

tautges at mcs.anl.gov tautges at mcs.anl.gov
Wed Oct 31 17:03:37 CDT 2012


Author: tautges
Date: 2012-10-31 17:03:37 -0500 (Wed, 31 Oct 2012)
New Revision: 5845

Modified:
   MOAB/trunk/config/damsel.m4
Log:
Adding check for required hdf5 libs.



Modified: MOAB/trunk/config/damsel.m4
===================================================================
--- MOAB/trunk/config/damsel.m4	2012-10-31 21:56:08 UTC (rev 5844)
+++ MOAB/trunk/config/damsel.m4	2012-10-31 22:03:37 UTC (rev 5845)
@@ -68,6 +68,16 @@
     DAMSEL_LIBS="-ldamsel"
   fi
 
+    # DAMSEL requires HDF5 too
+  if test "xno" == "x$HAVE_HDF5"; then
+    if test "x" == "x$DAMSEL_ARG"; then
+      DAMSEL_ARG=no
+    elif test "xno" != "xDAMSEL_ARG"; then
+      AC_MSG_ERROR([Damsel requires --with-hdf5])
+    fi
+    HAVE_DAMSEL=no
+  fi
+
 fi
 
 ]) # FATHOM_HAVE_DAMSEL



More information about the moab-dev mailing list