summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-06-18 05:02:23 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-06-18 05:02:23 (GMT)
commit8c701c23c93d6b608e4cc4a7b298d88b150e148a (patch)
tree4dee41d7c3246cdf4d0b690f5975cba9826a592d /c++
parent3d0317ad119df4aa1c963bcbf6f4de8cf44c3d6e (diff)
downloadhdf5-8c701c23c93d6b608e4cc4a7b298d88b150e148a.zip
hdf5-8c701c23c93d6b608e4cc4a7b298d88b150e148a.tar.gz
hdf5-8c701c23c93d6b608e4cc4a7b298d88b150e148a.tar.bz2
[svn-r7047] Purpose:
Improvement Description: If $CXX is not defined, configure will try a list of possible C++ compiler name. That is not always desireable. Solution: Change configure to combine all powerpc-ibm-aix* to one version. Add xlC as the default $CXX value. Platforms tested: Tested in Copper only since the change affect AIX machine only. Misc. update:
Diffstat (limited to 'c++')
-rw-r--r--c++/config/powerpc-ibm-aix10
-rwxr-xr-xc++/configure4
-rw-r--r--c++/configure.in4
3 files changed, 14 insertions, 4 deletions
diff --git a/c++/config/powerpc-ibm-aix b/c++/config/powerpc-ibm-aix
new file mode 100644
index 0000000..f9086a0
--- /dev/null
+++ b/c++/config/powerpc-ibm-aix
@@ -0,0 +1,10 @@
+# -*- shell-script -*-
+#
+# This file is part of the HDF5 build script. It is processed shortly
+# after configure starts and defines, among other things, flags for
+# the various compile modes.
+#
+# See BlankForm in this directory for details.
+
+# Use AIX supplied C++ compiler by default.
+CXX=${CXX=xlC}
diff --git a/c++/configure b/c++/configure
index dd30cc1..89c8e1f 100755
--- a/c++/configure
+++ b/c++/configure
@@ -1585,8 +1585,8 @@ echo "$as_me: error: config.cache file is invalid" >&2;}
fi
case "$host_os" in
- aix4.*)
- host_os_novers=aix4.x
+ aix*)
+ host_os_novers=aix
;;
freebsd*)
host_os_novers=freebsd
diff --git a/c++/configure.in b/c++/configure.in
index aa0ce62..0f90489 100644
--- a/c++/configure.in
+++ b/c++/configure.in
@@ -84,8 +84,8 @@ dnl
dnl If the `OS' ends with a version number then remove it. For instance,
dnl `freebsd3.1' would become `freebsd'
case "$host_os" in
- aix4.*)
- host_os_novers=aix4.x
+ aix*)
+ host_os_novers=aix
;;
freebsd*)
host_os_novers=freebsd