[Darshan-commits] [Git][darshan/darshan][master] 2 commits: bug fix: add brackets when using AS_IF
Philip Carns
xgitlab at cels.anl.gov
Mon Feb 22 09:11:26 CST 2021
Philip Carns pushed to branch master at darshan / darshan
Commits:
3283af95 by wkliao at 2021-02-10T08:36:03-06:00
bug fix: add brackets when using AS_IF
Error message below appeared when using autoconf 2.70.
./configure: line 4422: syntax error near unexpected token `newline'
./configure: line 4422: ` '''
- - - - -
30e9514c by Philip Carns at 2021-02-22T09:11:23-06:00
Merge branch 'fix_AS_IF' into 'master'
bug fix: add brackets when using AS_IF
See merge request darshan/darshan!75
- - - - -
1 changed file:
- darshan-runtime/configure.in
Changes:
=====================================
darshan-runtime/configure.in
=====================================
@@ -226,7 +226,7 @@ AC_ARG_ENABLE(hdf5-mod,
AS_HELP_STRING([--enable-hdf5-mod], [Enables compilation and use of HDF5 module]),
[],
[enable_hdf5_mod=no])
-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
BUILD_PNETCDF_MODULE=1
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/5155d0c707b53da6f9f0b4064dd6036bb5f9f130...30e9514ca873843c2c8bdc7502c31aa9e63aa89f
--
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/5155d0c707b53da6f9f0b4064dd6036bb5f9f130...30e9514ca873843c2c8bdc7502c31aa9e63aa89f
You're receiving this email because of your account on xgitlab.cels.anl.gov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210222/280b7e9f/attachment.html>
More information about the Darshan-commits
mailing list