diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-09-23 10:22:29 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-09-23 10:22:29 +0000 |
commit | 4d88ed8628ff7e774bb97f4b61d1c078f01ed651 (patch) | |
tree | 29e8a113d36afe97a13d3852b212c8406aeda8ef /lib | |
parent | 81428dffc5bb2fae3e2d16314a4f0c731966b797 (diff) |
Don't set "/usr/include", "/usr/local/include", "/usr/lib", and "/usr/local/lib"
as explicit include/library search paths.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3866 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/make/extras/HDF5/setup.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/make/extras/HDF5/setup.sh b/lib/make/extras/HDF5/setup.sh index 5a2d86d2..47697a65 100755 --- a/lib/make/extras/HDF5/setup.sh +++ b/lib/make/extras/HDF5/setup.sh @@ -51,9 +51,12 @@ fi # Set the HDF5 libs, libdirs and includedirs +# don't explicitely add standard include and library search paths +if [ "$HDF5_DIR" != '/usr' -a "$HDF5_DIR" != '/usr/local' ]; then + HDF5_LIB_DIRS="$HDF5_DIR/lib" + HDF5_INC_DIRS="$HDF5_DIR/include" +fi HDF5_LIBS=hdf5 -HDF5_LIB_DIRS="$HDF5_DIR/lib" -HDF5_INC_DIRS="$HDF5_DIR/include" # check that we have the right version of HDF5 under 32/64 bit IRIX |