From 3d6f628ac12b961f1f49d5f9d91ef76a99e9a9f2 Mon Sep 17 00:00:00 2001 From: Rainer Tammer Date: Mon, 7 Jan 2008 21:13:54 +0000 Subject: [PATCH] Support AIX 6.1. * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, _LT_AC_LANG_C_CONFIG) (_LT_AC_LANG_CXX_CONFIG, _LT_AC_LANG_F77_CONFIG) (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS): Adjust case patterns to match AIX 6 through 9 as well. * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise. * NEWS: Update. * THANKS: Update. --- ChangeLog | 13 +++++++++++++ NEWS | 1 + THANKS | 2 ++ libtool.m4 | 22 +++++++++++----------- ltdl.m4 | 2 +- 5 files changed, 28 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bbd1ae9e..30e1d59e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2008-01-07 Rainer Tammer (tiny change) + Ralf Wildenhues + + Support AIX 6.1. + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) + (AC_DEPLIBS_CHECK_METHOD, _LT_AC_LANG_C_CONFIG) + (_LT_AC_LANG_CXX_CONFIG, _LT_AC_LANG_F77_CONFIG) + (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS): + Adjust case patterns to match AIX 6 through 9 as well. + * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise. + * NEWS: Update. + * THANKS: Update. + 2008-01-02 Ralf Wildenhues * NEWS, libtool.m4, ltmain.in: Bump copyright years. diff --git a/NEWS b/NEWS index 43c14c2d1..aebee57c5 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ New in 1.5.25a: 2008-??-??; CVS version 1.5.25a, Libtool team: * Some configure variables have been renamed to fix caching: lt_prog_compiler_pic_works to lt_cv_prog_compiler_pic_works lt_prog_compiler_static_works to lt_cv_prog_compiler_static_works. +* Support for AIX 6.1. * Bug Fixes. New in 1.5.24: 2007-06-17; CVS version 1.5.23c, Libtool team: diff --git a/THANKS b/THANKS index fb253bf03..d732b6b1e 100644 --- a/THANKS +++ b/THANKS @@ -93,6 +93,7 @@ James Su james.su@gmail.com Jeff Squyres jsquyres@lam-mpi.org Jeremy C. Reed reed@reedmedia.net + Jim Meyering jim@meyering.net Joel N. Weber II devnull@gnu.org Joerg Sonnenberger joerg@netbsd.org John Bowler jbowler@acm.org @@ -111,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 diff --git a/libtool.m4 b/libtool.m4 index 929a20fa3..04d48c2b3 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1296,7 +1296,7 @@ aix3*) soname_spec='${libname}${release}${shared_ext}$major' ;; -aix4* | aix5*) +aix[[4-9]]*) version_type=linux need_lib_prefix=no need_version=no @@ -2316,7 +2316,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 ;; @@ -2756,7 +2756,7 @@ aix3*) 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 @@ -2922,7 +2922,7 @@ case $host_os in # FIXME: insert proper C++ library support _LT_AC_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. @@ -2935,7 +2935,7 @@ case $host_os in # 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*) @@ -4081,7 +4081,7 @@ aix3*) 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 @@ -5005,7 +5005,7 @@ AC_MSG_CHECKING([for $compiler option to produce PIC]) 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 @@ -5501,7 +5501,7 @@ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_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 @@ -5605,7 +5605,7 @@ ifelse([$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_AC_TAGVAR(ld_shlibs, $1)=no @@ -5824,7 +5824,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. @@ -5844,7 +5844,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 diff --git a/ltdl.m4 b/ltdl.m4 index f99f1b1a9..b4eec6e57 100644 --- a/ltdl.m4 +++ b/ltdl.m4 @@ -119,7 +119,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen], # we want this `case' here to explicitly catch those versions. libltdl_cv_sys_dlopen_deplibs=unknown ;; - aix[[45]]*) + aix[[4-9]]*) libltdl_cv_sys_dlopen_deplibs=yes ;; darwin*) -- 2.47.2