aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2012-07-21 15:57:24 +0000
committereschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2012-07-21 15:57:24 +0000
commitba9f10dd99b737eac2f551c6f2c97eaddb2fea99 (patch)
tree63bc7242968a017e008861e8a751500f83f6ee2c
parentc2d26a1a0a1a73a97573b3b79472cfcf272b649a (diff)
Add comments
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@58 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--configure.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.sh b/configure.sh
index 543d6c4..2b1fd95 100644
--- a/configure.sh
+++ b/configure.sh
@@ -54,6 +54,7 @@ then
echo "HDF5 selected, but HDF5_DIR not set. Checking some places..."
echo "END MESSAGE"
+ # We look in these directories
DIRS="/usr /usr/local /usr/local/hdf5 /usr/local/packages/hdf5 /usr/local/apps/hdf5 /opt/local ${HOME} ${HOME}/hdf5 c:/packages/hdf5"
# look into each directory
for dir in $DIRS; do
@@ -61,7 +62,8 @@ then
for libext in a so dylib; do
# libraries can be in /lib or /lib64
for libdir in lib64 lib; do
- FILES="include/hdf5.h $(for lib in ${HDF5_CXX_LIBS} ${HDF5_FORTRAN_LIBS} ${HDF5_C_LIBS}; do echo $libdir/lib${lib}.${libext}; done)"
+ # These files must exist
+ FILES="include/hdf5.h $(for lib in ${HDF5_CXX_LIBS} ${HDF5_FORTRAN_LIBS} ${HDF5_C_LIBS}; do echo ${libdir}/lib${lib}.${libext}; done)"
# assume this is the one and check all needed files
HDF5_DIR="$dir"
for file in $FILES; do
@@ -89,7 +91,7 @@ then
if [ -z "$HDF5_DIR" ]; then
echo "BEGIN MESSAGE"
- echo "HDF5 not found"
+ echo "Did not find HDF5"
echo "END MESSAGE"
else
echo "BEGIN MESSAGE"