From: Rainer Tammer Date: Mon, 7 Jan 2008 21:13:23 +0000 (+0000) Subject: Support AIX 6.1. X-Git-Tag: release-2-1b~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce38b28f4444a6eeb3fdd7e680ac0fbb8e37da7b;p=thirdparty%2Flibtool.git Support AIX 6.1. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS) (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG) (_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6 through 9 as well. * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise. * NEWS: Update. * THANKS: Update. --- diff --git a/ChangeLog b/ChangeLog index 33d2091f3..02b3f76d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2008-01-07 Rainer Tammer (tiny change) + Ralf Wildenhues + + Support AIX 6.1. + * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) + (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS) + (_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG) + (_LT_LANG_FC_CONFIG): Adjust case patterns to match AIX 6 + through 9 as well. + * libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise. + * NEWS: Update. + * THANKS: Update. + 2008-01-07 Gary V. Vaughan Move libltdl build mode options from LT_CONFIG_LTDL_DIR to diff --git a/NEWS b/NEWS index 87e990142..9fdb585fd 100644 --- a/NEWS +++ b/NEWS @@ -82,6 +82,7 @@ New in 2.1a: 2008-??-??; CVS version 2.1a, Libtool team: - Support for DragonFly BSD, improved support for FreeBSD. - Improved support for GNU/kFreeBSD and GNU/NetBSD. - Support for Interix 3 (Windows SFU) and newer versions. + - Support for AIX 6.1. - Improved support for UnixWare. - Initial support for RDOS. - Initial Support for FC (modern Fortran). diff --git a/THANKS b/THANKS index b33b27f7f..7d6565585 100644 --- a/THANKS +++ b/THANKS @@ -112,6 +112,7 @@ Peter Eisentraut peter_e@gmx.net Peter Jeremy peterjeremy@optushome.com.au Rainer Orth ro@TechFak.Uni-Bielefeld.DE + Rainer Tammer tammer@tammer.net Ralf Menzel menzel@ls6.cs.uni-dortmund.de Robert Ögren lists@roboros.com Sebastian Wilhelmi wilhelmi@ira.uka.de @@ -137,7 +138,7 @@ -- Copyright (C) 1996, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Free Software Foundation, Inc. + 2007, 2008 Free Software Foundation, Inc. Written by Gord Matzigkeit, 1996 This file is part of GNU Libtool. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index e08a03fa0..ea100733a 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -2011,7 +2011,7 @@ aix3*) soname_spec='${libname}${release}${shared_ext}$major' ;; -aix4* | aix5*) +aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no @@ -2852,7 +2852,7 @@ lt_cv_deplibs_check_method='unknown' # whether `pass_all' will *always* work, you probably want this one. case $host_os in -aix4* | aix5*) +aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; @@ -3484,7 +3484,7 @@ m4_if([$1], [CXX], [ esac else case $host_os in - aix4* | aix5*) + aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor @@ -4023,7 +4023,7 @@ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in - aix4* | aix5*) + aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then @@ -4129,7 +4129,7 @@ m4_if([$1], [CXX], [ # See if GNU ld supports shared libraries. 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 _LT_TAGVAR(ld_shlibs, $1)=no @@ -4381,7 +4381,7 @@ _LT_EOF 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. @@ -4401,7 +4401,7 @@ _LT_EOF # 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 @@ -5197,7 +5197,7 @@ if test -n "$compiler"; then fi ;; - aix4* | aix5*) + aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi @@ -5387,7 +5387,7 @@ if test "$_lt_caught_CXX_error" != yes; then # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; - 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. @@ -5400,7 +5400,7 @@ if test "$_lt_caught_CXX_error" != yes; then # 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 case $ld_flag in *-brtl*) @@ -6625,7 +6625,7 @@ if test "$_lt_disable_F77" != yes; then postinstall_cmds='$RANLIB $lib' fi ;; - aix4* | aix5*) + aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi @@ -6766,7 +6766,7 @@ if test "$_lt_disable_FC" != yes; then postinstall_cmds='$RANLIB $lib' fi ;; - aix4* | aix5*) + aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 index a034d44df..d6d264aa6 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -404,7 +404,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen], # we want this `case' here to explicitly catch those versions. lt_cv_sys_dlopen_deplibs=unknown ;; - aix[[45]]*) + aix[[4-9]]*) lt_cv_sys_dlopen_deplibs=yes ;; darwin*)