[cig-commits] r11766 - cs/benchmark/cigma/trunk

luis at geodynamics.org luis at geodynamics.org
Tue Apr 8 17:35:11 PDT 2008


Author: luis
Date: 2008-04-08 17:35:11 -0700 (Tue, 08 Apr 2008)
New Revision: 11766

Modified:
   cs/benchmark/cigma/trunk/configure.ac
Log:
Quit ./configure script if we fail to detect HDF5 or VTK libraries


Modified: cs/benchmark/cigma/trunk/configure.ac
===================================================================
--- cs/benchmark/cigma/trunk/configure.ac	2008-04-09 00:35:10 UTC (rev 11765)
+++ cs/benchmark/cigma/trunk/configure.ac	2008-04-09 00:35:11 UTC (rev 11766)
@@ -64,10 +64,15 @@
 
 dnl Check for zlib and hdf5
 CIGMA_PATH_ZLIB
-CIGMA_PATH_HDF5
+CIGMA_PATH_HDF5(
+    [echo "Found HDF5 library!"],
+    [AC_MSG_ERROR([HDF5 library not found; try specifying its prefix with the configure option --with-hdf5])])
 
 dnl Check for vtk-5.0
-AM_PATH_VTK
+AM_PATH_VTK(
+    [],
+    [echo "Found VTK library!"],
+    [AC_MSG_ERROR([VTK5 library not found; try specifying its prefix with the configure option --with-vtk])])
 
 
 



More information about the cig-commits mailing list