configure.ac

- option "--with-hdf5" prefered over env.variable
	- "TOOLS_H5PART_LIB" set to "-lH5Part" in serial *and* parallel mode
This commit is contained in:
2007-12-17 14:58:59 +00:00
parent c4c9eca143
commit 3c22a8c653
+6 -6
View File
@@ -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