summaryrefslogtreecommitdiffstats
path: root/config/ibm-aix
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-04-07 22:52:28 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-04-07 22:52:28 (GMT)
commite2d0e5f67edd2858e11a336a337154278305741d (patch)
tree683b9034930a896a7c1b208b3d29daf52e7591d5 /config/ibm-aix
parent1857a6098296837362a0cabb427c96a5ab956dbc (diff)
downloadhdf5-e2d0e5f67edd2858e11a336a337154278305741d.zip
hdf5-e2d0e5f67edd2858e11a336a337154278305741d.tar.gz
hdf5-e2d0e5f67edd2858e11a336a337154278305741d.tar.bz2
[svn-r18532] Bug fix:
When gcc is used in the AIX platform, it failed to compile tconfig.c because it does not recognize the __int64 type. The ibm-aix has the sizeof __int64=8 cached, as if all compilers supported this type. Solution: Removed the cached value for the sizeof __int64 so that during configure, gcc can report it does not support it and not to use it in the source code. Tested: NCSA Blue which is an AIX machine, using gcc or xlc compiler. (The gcc still have failure but is being fixed as separated bugs.)
Diffstat (limited to 'config/ibm-aix')
-rw-r--r--config/ibm-aix3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ibm-aix b/config/ibm-aix
index 2336040..954dc7f 100644
--- a/config/ibm-aix
+++ b/config/ibm-aix
@@ -91,7 +91,8 @@ ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
-ac_cv_sizeof___int64=${ac_cv_sizeof___int64=8}
+# Do not cache __int64 since it is not a standard C type and some compilers
+# (e.g., gcc) does not support it.
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}