From c02df12c80dcbd6eaa0e9f993efd9096aa72ed28 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sat, 30 Jun 2001 02:39:18 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set lt_prog_compiler_wl to `-Wl'. Reported by Albert Chin-A-Young --- ChangeLog | 4 ++++ libtool.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e8f65c98..0c3b3ab2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-06-30 Gary V. Vaughan + * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set + lt_prog_compiler_wl to `-Wl'. + Reported by Albert Chin-A-Young + * ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen implementation, and adding `-ldl' has failed, try linking a call to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the diff --git a/libtool.m4 b/libtool.m4 index ecdb9735..75adfbc9 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -3726,9 +3726,9 @@ else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor - _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'