Commit 30e9514c authored by Philip Carns's avatar Philip Carns
Browse files

Merge branch 'fix_AS_IF' into 'master'

bug fix: add brackets when using AS_IF

See merge request !75
parents 5155d0c7 3283af95
......@@ -226,7 +226,7 @@ AC_ARG_ENABLE(hdf5-mod,
AS_HELP_STRING([--enable-hdf5-mod], [Enables compilation and use of HDF5 module]),
AS_IF([test "x$enable_hdf5_mod" != "xno"],
AS_IF([test "x$enable_hdf5_mod" != "xno"],[
AS_IF([test -d "$enable_hdf5_mod"],
[CFLAGS="${CFLAGS} -I${enable_hdf5_mod}/include"
DARSHAN_HDF5_LD_FLAGS="-L${enable_hdf5_mod}/lib [-Wl,-rpath=${enable_hdf5_mod}/lib -lhdf5]"],
......@@ -249,7 +249,7 @@ AS_IF([test "x$enable_hdf5_mod" != "xno"],
AC_CHECK_PROG(H5PCC_CHECK, h5pcc, "yes", "no", "${enable_hdf5_mod}/bin")
AS_IF([test x"$H5PCC_CHECK" = x"yes"], [AC_DEFINE(DARSHAN_HDF5_PAR_BUILD, 1, Define if HDF5 built with parallel support)])
# PNETCDF module
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment