diff options
author | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2004-11-08 10:32:57 +0000 |
---|---|---|
committer | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2004-11-08 10:32:57 +0000 |
commit | a6154dc8bc848b7902367cf819aa233e587d5a05 (patch) | |
tree | a92a61ff8e6143573580d1ebdc410810a09f30ca | |
parent | d0549de317db123fb4fee1a5284669738f09ccf6 (diff) |
Test the makefile variable HDF5_LFS_FLAGS to check for HDF5 LFS support.
This makefile variable is set by the Cactus HDF5 configure script.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@124 7842ec3a-9562-4be5-9c5b-06ba18f2b668
-rw-r--r-- | src/make.code.defn | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index 6326bab..ae716f0 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -5,8 +5,6 @@ SRCS = Startup.c DumpUtils.c DumpVar.c RecoverVar.c # Extend CFLAGS if HDF5 library was built with LFS support -LFS_support := $(shell grep -s _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings) - -ifneq ($(strip $(LFS_support)),) - CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifneq ($(strip $(HDF5_LFS_FLAGS)),) + CFLAGS += $(HDF5_LFS_FLAGS) endif |