summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-04-13 16:06:26 (GMT)
committerGitHub <noreply@github.com>2023-04-13 16:06:26 (GMT)
commit02c68739745887cd17b840a7e91d2ec9c9008bb1 (patch)
tree4f06c89df9af839125608085b8a2dea19e34e2f6 /configure.ac
parent66b28fe395405b6ce133f1949a730138193a61db (diff)
downloadhdf5-02c68739745887cd17b840a7e91d2ec9c9008bb1.zip
hdf5-02c68739745887cd17b840a7e91d2ec9c9008bb1.tar.gz
hdf5-02c68739745887cd17b840a7e91d2ec9c9008bb1.tar.bz2
Fix improper include of build directory (#2422, #2621) (#2667) (#2713)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8e406f7..7b1d10c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3012,8 +3012,7 @@ SUBFILING_VFD=no
HAVE_MERCURY="no"
## Always include subfiling directory so public header files are available
-CPPFLAGS="$CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
-AM_CPPFLAGS="$AM_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
+H5_CPPFLAGS="$H5_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
AC_MSG_CHECKING([if the subfiling I/O virtual file driver (VFD) is enabled])
@@ -3061,8 +3060,7 @@ if test "X$SUBFILING_VFD" = "Xyes"; then
mercury_dir="$ac_abs_confdir/src/H5FDsubfiling/mercury"
mercury_inc="$mercury_dir/src/util"
- CPPFLAGS="$CPPFLAGS -I$mercury_inc"
- AM_CPPFLAGS="$AM_CPPFLAGS -I$mercury_inc"
+ H5_CPPFLAGS="$H5_CPPFLAGS -I$mercury_inc"
HAVE_STDATOMIC_H="yes"
AC_CHECK_HEADERS([stdatomic.h],,[HAVE_STDATOMIC_H="no"])