-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.
+2002-10-25 Albert Chin-A-Young <china@thewrittenword.com>
+
+ * 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.
+
2002-10-24 Andrew Suffield <asuffield@debian.org>
* libltdl/ltdl.c (lt_dlopenext): Corrected sense of "file not
# 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
# Check for GNU sed and select it if it is found.
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
lt_cv_path_SED=$lt_ac_sed
- break;
+ break
fi
while true; do
cat conftest.in conftest.in >conftest.tmp
# Infer the operation mode.
if test -z "$mode"; then
case $nonopt in
- *cc | *++ | gcc* | *-gcc* | g++*)
+ *cc | *++ | gcc* | *-gcc* | g++* | xlc)
mode=link
for arg
do