[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AIX fixes for branch-1.4
From: |
Albert Chin |
Subject: |
AIX fixes for branch-1.4 |
Date: |
Fri, 11 Oct 2002 08:37:29 -0500 |
User-agent: |
Mutt/1.2.5i |
1. When LDFLAGS="-Wl,-brtl,[other options]", the -brtl special-case
code for AIX never gets triggered because were are being too
specific about how we search for -brtl. Use case statement to
avoid this.
2. Remove extraneous semicolon.
3. Recognize the IBM xlc compiler.
2002-10-11 Albert Chin-A-Young <address@hidden>
* libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
-brtl special-case code for AIX never gets triggered because
were are being too specific about how we search for -brtl.
Use case statement to avoid this. Remove extraneous
semicolon.
* ltmain.in: Recognize the IBM xlc compiler.
--
albert chin (address@hidden)
-- snip snip
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.43
diff -u -3 -p -r1.166.2.43 libtool.m4
--- libtool.m4 10 Sep 2002 13:50:54 -0000 1.166.2.43
+++ libtool.m4 11 Oct 2002 13:33:40 -0000
@@ -1464,10 +1464,12 @@ else
# need to do runtime linking.
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
for ld_flag in $LDFLAGS; do
- if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ case $ld_flag in
+ *-brtl*)
aix_use_runtimelinking=yes
break
- fi
+ ;;
+ esac
done
esac
@@ -3667,7 +3669,7 @@ $debug ||
# Check for GNU sed and select it if it is found.
if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
lt_cv_path_SED=${_sed}
- break;
+ break
fi
while true; do
cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.259.2.24
diff -u -3 -p -r1.259.2.24 ltmain.in
--- ltmain.in 9 Sep 2002 18:27:14 -0000 1.259.2.24
+++ ltmain.in 11 Oct 2002 13:33:41 -0000
@@ -226,7 +226,7 @@ if test -z "$show_help"; then
# Infer the operation mode.
if test -z "$mode"; then
case $nonopt in
- *cc | *++ | gcc* | *-gcc*)
+ *cc | *++ | gcc* | *-gcc* | xlc)
mode=link
for arg
do
- AIX fixes for branch-1.4,
Albert Chin <=