From 018f1beaa07e1ea906fde814c0f3b45b2a6f21f4 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 13 Mar 2008 19:27:44 +0000 Subject: [PATCH] * config.rpath: Add AIX 6 support. --- ChangeLog | 4 ++++ config.rpath | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b94c6dfdadb..2cdf49be173 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-13 David Edelsohn + + * config.rpath: Add AIX 6 support. + 2008-03-13 Paolo Bonzini * Makefile.def (stageprofile). Remove -fprofile-generate diff --git a/config.rpath b/config.rpath index 937edf5ecb5..9316b9197d1 100755 --- a/config.rpath +++ b/config.rpath @@ -125,7 +125,7 @@ esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then case "$host_os" in - aix3* | aix4* | aix5*) + aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no @@ -198,7 +198,7 @@ else hardcode_direct=unsupported fi ;; - aix4* | aix5*) + aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. @@ -208,7 +208,7 @@ else # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix5*) + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes @@ -432,7 +432,7 @@ libname_spec='lib$name' case "$host_os" in aix3*) ;; - aix4* | aix5*) + aix[4-9]*) ;; amigaos*) ;;