aboutsummaryrefslogtreecommitdiff
path: root/HDF5.sh
diff options
context:
space:
mode:
authorschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-03-28 04:10:35 +0000
committerschnetter <schnetter@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-03-28 04:10:35 +0000
commit4890561c57eab0cb12b4975289d9c77423afd32a (patch)
tree1a302f0cdbef613173455e55cf22329ce1ff0844 /HDF5.sh
parent32d49b6025678feea6f1b54d4d1fa8657559c023 (diff)
Honour configuration variables LIBSZ_DIR and LIBZ_DIR
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@10 fb53df36-e548-4a1e-8150-ab98cbd5e786
Diffstat (limited to 'HDF5.sh')
-rw-r--r--HDF5.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/HDF5.sh b/HDF5.sh
index 67172e4..2d4f817 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -146,6 +146,7 @@ else
test_szlib=1
fi
if [ $test_szlib -eq 0 ]; then
+ HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBSZ_DIR"
if [ $is_windows -eq 0 ]; then
HDF5_LIBS="$HDF5_LIBS sz"
else
@@ -160,6 +161,7 @@ else
test_zlib=1
fi
if [ $test_zlib -eq 0 ]; then
+ HDF5_LIB_DIRS="$HDF5_LIB_DIRS $LIBZ_DIR"
if [ $is_windows -eq 0 ]; then
HDF5_LIBS="$HDF5_LIBS z"
else