In 1.4's libtool.m4 we have:
if test "$GCC" = yes; then
lt_cv_prog_cc_wl='-Wl,'
lt_cv_prog_cc_static='-static'
case $host_os in
aix*)
...
else
# PORTME Check for PIC flags for the system compiler.
case $host_os in
aix3* | aix4* | aix5*)
# All AIX code is PIC.
if test "$host_cpu" = ia64; then
# AIX 5 now supports IA64 processor
lt_cv_prog_cc_static='-Bstatic'
lt_cv_prog_cc_wl='-Wl,'
else
lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
fi
;;
Any reason we don't define lt_cv_prog_cc_wl='-Wl,' if $host_CPU !=
ia64? xlC 5.0 does support -Wl. From the xlc help text:
-W<x,y> Give the options <y> to the compiler program <x>
where x can be one or more of the following:
<p,c,b,i,a,l,I,L,m>
In MLB's ltcf-c.sh we have:
if test "$with_gcc" = yes; then
ac_cv_prog_cc_wl='-Wl,'
ac_cv_prog_cc_static='-static'
case $host_os in
aix*)
...
else
# PORTME Check for PIC flags for the system compiler.
case $host_os in
aix*)
# All AIX code is PIC.
ac_cv_prog_cc_static="$ac_cv_prog_cc_static ${ac_cv_prog_cc_wl}-lC"
;;
Any reason we don't define ac_cv_prog_cc_wl='-Wl,' for aix?
I think this is the reason quote.test is failing on MLB (because wl=""
causing libtool to strip "-Wl").
--
albert chin ([EMAIL PROTECTED])
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool