diff options
author | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2002-05-13 15:42:55 +0000 |
---|---|---|
committer | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2002-05-13 15:42:55 +0000 |
commit | 42f5259367d1f373e856101e6338e59bfa34b25c (patch) | |
tree | 9f6ed04efdb88c9dbe7bc0687f037fddda04fa97 | |
parent | 98f69250705cc83d32c3281ca8022b400748bf6e (diff) |
Added '-s' as an option to grep when checking for LFS in the HDF5 installation.
This prevents a warning from grep if the HDF5 configuration file doesn't exist.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@65 7842ec3a-9562-4be5-9c5b-06ba18f2b668
-rw-r--r-- | src/make.code.defn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index 240ca2c..6326bab 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -5,7 +5,7 @@ SRCS = Startup.c DumpUtils.c DumpVar.c RecoverVar.c # Extend CFLAGS if HDF5 library was built with LFS support -LFS_support := $(shell grep _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings) +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 |