summaryrefslogtreecommitdiffstats
path: root/config/ibm-aix
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2010-05-05 17:34:26 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2010-05-05 17:34:26 (GMT)
commitf0ecd713070b869c0d89d2ff0c991ade04852177 (patch)
tree3ad6778fc01cffeab1699c26b5ad2399e2e110e1 /config/ibm-aix
parent74c8b68acab0fc2408740e7a38a2ab2bcdf58f57 (diff)
downloadhdf5-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 'config/ibm-aix')
-rw-r--r--config/ibm-aix11
1 files changed, 2 insertions, 9 deletions
diff --git a/config/ibm-aix b/config/ibm-aix
index 954dc7f..a884593 100644
--- a/config/ibm-aix
+++ b/config/ibm-aix
@@ -19,7 +19,6 @@
# the various compile modes.
# Use AIX supplied C compiler by default, xlc for serial, mpcc_r for parallel.
-# Use -D_LARGE_FILES by default to support large file size.
# Make sure this is applied to other API compile options such as C++.
if test "X-" = "X-$CC"; then
if test "X-$enable_parallel" = "X-yes"; then
@@ -46,9 +45,8 @@ case $CC_BASENAME in
xlc|xlc-*|mpcc_r|mpcc_r-*)
# Turn off shared lib option. It causes some test suite to fail.
enable_shared="${enable_shared:-no}"
- # Use -D_LARGE_FILES by default to support large file size.
# Make sure this is applied to other API compile options such as C++.
- AM_CFLAGS="-D_LARGE_FILES $AM_CFLAGS"
+ AM_CFLAGS="$AM_CFLAGS"
H5_CFLAGS="-qlanglvl=stdc99 $H5_CFLAGS"
DEBUG_CFLAGS="-g -qfullpath"
DEBUG_CPPFLAGS=
@@ -122,10 +120,6 @@ ac_cv_sizeof_uint_fast64_t=${ac_cv_sizeof_uint_fast64_t=8}
# Don't cache long since it varies between 32 and 64 bits
#ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
-# Don't cache size_t and off_t because they depend on if -D_LARGE_FILES is used
-#ac_cv_sizeof_size_t=${ac_cv_sizeof_size_t=4}
-#ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
-
# The default Fortran 90 compiler
if test "X-" = "X-$FC"; then
@@ -164,8 +158,7 @@ CXX=${CXX=xlC}
# Added -qweaksymbol to suppress linker messages warning of duplicate
# symbols; these warnings are harmless. - BMR
-# Use -D_LARGE_FILES by default to support large file size.
H5_CXXFLAGS="$H5_CXXFLAGS -qweaksymbol"
-AM_CXXFLAGS="$AM_CXXFLAGS -D_LARGE_FILES"
+AM_CXXFLAGS="$AM_CXXFLAGS"