summaryrefslogtreecommitdiffstats
path: root/config/powerpc-ibm-aix5.x
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2009-10-14 21:43:05 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2009-10-14 21:43:05 (GMT)
commitdc6898fde2cd22db1d409bbd2cc32d0be190a8f8 (patch)
tree7e76b7b8971d98c8575c2f5504e7242893d015d8 /config/powerpc-ibm-aix5.x
parent4463d9b84c08cabe2033edd44d407eeab780fb82 (diff)
downloadhdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.zip
hdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.tar.gz
hdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.tar.bz2
[svn-r17643] Purpose:
Configure / Config File Fixes Description: 1. Made AM_CPPFLAGS assignments in configure a bit safer. (i.e., check to ensure include paths exist before adding them to AM_CPPFLAGS). 2. Change AIX config file to add -D_LARGE_FILES into AM_CXXFLAGS instead of H5_CXXFLAGS (same with *_CFLAGS). This will propagate it into h5c++, where it is needed to compile correctly. 3. Added missing line containing AM_CFLAGS to configure output summary. Tested: h5committest, and uP (AIX machine, via Albert).
Diffstat (limited to 'config/powerpc-ibm-aix5.x')
-rw-r--r--config/powerpc-ibm-aix5.x5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index 7b88d40..45cbd89 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/config/powerpc-ibm-aix5.x
@@ -48,7 +48,7 @@ case $CC_BASENAME in
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++.
- H5_CFLAGS="-qlanglvl=stdc99 -D_LARGE_FILES $H5_CFLAGS"
+ AM_CFLAGS="-qlanglvl=stdc99 -D_LARGE_FILES $AM_CFLAGS"
DEBUG_CFLAGS="-g -qfullpath"
DEBUG_CPPFLAGS=
# -O causes test/dtypes to fail badly. Turn it off for now.
@@ -163,6 +163,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 -D_LARGE_FILES"
+H5_CXXFLAGS="$H5_CXXFLAGS -qweaksymbol"
+AM_CXXFLAGS="$AM_CXXFLAGS -D_LARGE_FILES"