summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-03-04 22:01:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-03-04 22:01:37 (GMT)
commitda1bfda6458cd8482eb73606d7085b66dd88b58c (patch)
tree48670647442a8480e5e7105b02691e4979f3752d /configure.ac
parent86d1ef2096db43691f4227657bac9d923064aef7 (diff)
downloadhdf5-da1bfda6458cd8482eb73606d7085b66dd88b58c.zip
hdf5-da1bfda6458cd8482eb73606d7085b66dd88b58c.tar.gz
hdf5-da1bfda6458cd8482eb73606d7085b66dd88b58c.tar.bz2
[svn-r26363] Partial revert of r26347.
Since off_t is exposed by the C API, the large file definitions MUST be exposed so that client code matches the library. These definitions have been switched back to AM_CPPFLAGS, which is exported to h5cc, etc. The POSIX and GNU definitions changes from r26347 have been left as using H5_CPPFLAGS, which is not sent to h5cc as we don't want to inflict our needs on external users. Fixes: HDFFV-9152 Tested on: h5committest
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e75bd27..1ba1b43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1095,7 +1095,7 @@ case "$host_cpu-$host_vendor-$host_os" in
*linux*)
## Make available various LFS-related routines using the following
## _LARGEFILE*_SOURCE macros.
- H5_CPPFLAGS="-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE $H5_CPPFLAGS"
+ AM_CPPFLAGS="-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE $AM_CPPFLAGS"
## Add POSIX support on Linux systems, so <features.h> defines
## __USE_POSIX, which is required to get the prototype for fdopen