From 8c701c23c93d6b608e4cc4a7b298d88b150e148a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 18 Jun 2003 00:02:23 -0500 Subject: [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: --- c++/config/powerpc-ibm-aix | 10 ++++++++++ c++/configure | 4 ++-- c++/configure.in | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 c++/config/powerpc-ibm-aix 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 -- cgit v0.12