From ba9f10dd99b737eac2f551c6f2c97eaddb2fea99 Mon Sep 17 00:00:00 2001 From: eschnett Date: Sat, 21 Jul 2012 15:57:24 +0000 Subject: Add comments git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@58 fb53df36-e548-4a1e-8150-ab98cbd5e786 --- configure.sh | 6 ++++-- 1 file 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" -- cgit v1.2.3