diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-05-05 17:34:26 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2010-05-05 17:34:26 (GMT) |
commit | f0ecd713070b869c0d89d2ff0c991ade04852177 (patch) | |
tree | 3ad6778fc01cffeab1699c26b5ad2399e2e110e1 /src/H5config.h.in | |
parent | 74c8b68acab0fc2408740e7a38a2ab2bcdf58f57 (diff) | |
download | hdf5-f0ecd713070b869c0d89d2ff0c991ade04852177.zip hdf5-f0ecd713070b869c0d89d2ff0c991ade04852177.tar.gz hdf5-f0ecd713070b869c0d89d2ff0c991ade04852177.tar.bz2 |
[svn-r18709] 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 has been removed in favor of the
--enable-largefile flag (enabled by default), which can be used on all
platforms.
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.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in index 8210f38..5c9e1f2 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -676,6 +676,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 |