mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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:
This commit is contained in:
parent
3d0317ad11
commit
8c701c23c9
10
c++/config/powerpc-ibm-aix
Normal file
10
c++/config/powerpc-ibm-aix
Normal file
@ -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}
|
4
c++/configure
vendored
4
c++/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user