summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-05-05 17:35:04 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-05-05 17:35:04 (GMT)
commite984ec4948e97b5ed3bb4eff293570d1b9ec5e96 (patch)
tree4c47a024a95b2d0a7c94f73fd895a0f4c8ed94ad /src/H5config.h.in
parentc8ec7a14bcebd842768b53df8b1e3843c752d04e (diff)
downloadhdf5-e984ec4948e97b5ed3bb4eff293570d1b9ec5e96.zip
hdf5-e984ec4948e97b5ed3bb4eff293570d1b9ec5e96.tar.gz
hdf5-e984ec4948e97b5ed3bb4eff293570d1b9ec5e96.tar.bz2
[svn-r18710] Purpose:
Improve configure's large-file support control. Description: Modified configure to now attempt to add defines necessary for supporting largefiles on all systems, instead of solely on linux. This is in response to user requests to enable largefile support on Solaris by default, as well as to give extra control on AIX (instead of just jamming the necessary flag into the config files). The old --enable-linux-lfs flag is being deprecated in favor of the --enable-largefile flag (enabled by default), which can be used on all platforms. --disable-linux-lfs can still be used to disable largefile support (on linux) when the --enable-largefile flag is not specified. On systems where large files cannot be supported in this manner, configure will report as such. Tested: h5committest AIX (NCSA's blue_print machine) duty, liberty, and linew.
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 0534b74..20db6ab 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -683,6 +683,12 @@
# endif
#endif
+/* Number of bits in a file offset, on hosts where this is settable. */
+#undef _FILE_OFFSET_BITS
+
+/* Define for large files, on AIX-style hosts. */
+#undef _LARGE_FILES
+
/* Define to empty if `const' does not conform to ANSI C. */
#undef const