From 3c22a8c65330f9238c3693877fe7d9c8ea1b20cf Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 17 Dec 2007 14:58:59 +0000 Subject: [PATCH] configure.ac - option "--with-hdf5" prefered over env.variable - "TOOLS_H5PART_LIB" set to "-lH5Part" in serial *and* parallel mode --- configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index e98e7af..51bfd88 100644 --- a/configure.ac +++ b/configure.ac @@ -400,14 +400,14 @@ fi ######################### PATH CHECKING & SETTING ############################# ############################################################################### -AC_MSG_CHECKING([for HDF5 root ]) +AC_MSG_CHECKING([for HDF5 prefix ]) AC_MSG_RESULT([]) -if test -n "${HDF5ROOT}"; then - P=${HDF5ROOT} +if test -n "${HDF5PATH}"; then + P=${HDF5PATH} elif test -n "${HDF5HOME}" ; then P=${HDF5HOME} -elif test -n "${HDF5PATH}" ; then - P=${HDF5PATH} +elif test -n "${HDF5ROOT}" ; then + P=${HDF5ROOT} else P='' P="$P /usr" @@ -523,7 +523,7 @@ fi if test -n "$MPICXX"; then TOOLS_CXX=$MPICXX -TOOLS_H5PART_LIB="-lpH5Part" +TOOLS_H5PART_LIB="-lH5Part" TOOLS_HDFLIB="-L$HDF5ROOT/lib -lhdf5" else TOOLS_CXX=$CXX