aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2002-05-13 15:42:55 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2002-05-13 15:42:55 +0000
commit3dc7af96828e9bdce02ab5ad7aa0fb6225af7496 (patch)
tree8a01912284661f14270f5de995821ac6b01b5601
parenta9b691ae5fc157ea832711d5e70771084053e3af (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/IOHDF5/trunk@131 4825ed28-b72c-4eae-9704-e50c059e567d
-rw-r--r--src/make.configuration.defn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index e448ee8..8815efb 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -9,7 +9,7 @@ FLEXIO_INC_DIRS = $(CCTK_HOME)$(DIRSEP)arrangements/CactusExternal/FlexIO/src
endif
# 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