[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
add support for AIX 6.1
From: |
Ralf Wildenhues |
Subject: |
add support for AIX 6.1 |
Date: |
Sat, 5 Jan 2008 11:33:03 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
OK to apply to HEAD and backport to branch-1-5? I think we would do
well expecting AIX 7 and 8 and 9 to behave like current, don't you
think?
Rainer, or anybody else with access to AIX 6: if you can test Libtool
CVS HEAD, could you post the output of
gmake -k check VERBOSE=yes
with the patch below applied, and libltdl/config/config.guess adjusted?
An analogous patch has been sent to <address@hidden>.
Thanks,
Ralf
2008-01-05 Rainer Tammer <address@hidden> (tiny change)
Ralf Wildenhues <address@hidden>
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.
Index: NEWS
===================================================================
RCS file: /cvsroot/libtool/libtool/NEWS,v
retrieving revision 1.209
diff -u -r1.209 NEWS
--- NEWS 2 Jan 2008 18:52:08 -0000 1.209
+++ NEWS 5 Jan 2008 10:32:05 -0000
@@ -70,6 +70,7 @@
- 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).
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.124
diff -u -r1.124 libtool.m4
--- libltdl/m4/libtool.m4 2 Jan 2008 18:52:08 -0000 1.124
+++ libltdl/m4/libtool.m4 5 Jan 2008 10:32:08 -0000
@@ -2008,7 +2008,7 @@
soname_spec='${libname}${release}${shared_ext}$major'
;;
-aix4* | aix5*)
+aix[[4-9]]*)
version_type=linux
need_lib_prefix=no
need_version=no
@@ -2849,7 +2849,7 @@
# 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
;;
@@ -3481,7 +3481,7 @@
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
@@ -4020,7 +4020,7 @@
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
@@ -4126,7 +4126,7 @@
# 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
@@ -4378,7 +4378,7 @@
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.
@@ -4398,7 +4398,7 @@
# 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
@@ -5194,7 +5194,7 @@
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
@@ -5384,7 +5384,7 @@
# 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.
@@ -5397,7 +5397,7 @@
# 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*)
@@ -6622,7 +6622,7 @@
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
@@ -6763,7 +6763,7 @@
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
Index: libltdl/m4/ltdl.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/ltdl.m4,v
retrieving revision 1.34
diff -u -r1.34 ltdl.m4
--- libltdl/m4/ltdl.m4 16 Nov 2007 07:08:34 -0000 1.34
+++ libltdl/m4/ltdl.m4 5 Jan 2008 10:32:08 -0000
@@ -349,7 +349,7 @@
# 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*)
- add support for AIX 6.1,
Ralf Wildenhues <=