From d080252b4c13c59fbcf7bcfd14722f84eeb2c80d Mon Sep 17 00:00:00 2001 From: hinder Date: Fri, 24 Jun 2011 08:29:30 +0000 Subject: Let user enable/disable C++ and Fortran support Expose two new configuration variables (which default to yes): HDF5_ENABLE_CXX and HDF5_ENABLE_FORTRAN setting them to no allows users to avoid building/linking against the respective interfaces to hdf5. This is useful when eg. one does not need them and would like to link against a cluster supplied version of hdf5 (or if one cannot use the Fortran modules due to differing compiler versions). This is related to the discussion in http://lists.einsteintoolkit.org/pipermail/users/2011-March/000928.html although it does not provide any early warning. Patch by Roland Haas git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@38 fb53df36-e548-4a1e-8150-ab98cbd5e786 --- configuration.ccl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configuration.ccl') diff --git a/configuration.ccl b/configuration.ccl index 9c1eb0e..9660de8 100644 --- a/configuration.ccl +++ b/configuration.ccl @@ -4,7 +4,7 @@ PROVIDES HDF5 { SCRIPT HDF5.sh LANG bash - OPTIONS HDF5 HDF5_DIR ZLIB_DIR LIBSZ_DIR LIBZ_DIR + OPTIONS HDF5 HDF5_DIR HDF5_ENABLE_CXX HDF5_ENABLE_FORTRAN ZLIB_DIR LIBSZ_DIR LIBZ_DIR } REQUIRES HDF5 -- cgit v1.2.3