libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch-1-4 AIX, HP-UX fix


From: libtool-patches
Subject: branch-1-4 AIX, HP-UX fix
Date: Fri, 31 Aug 2001 01:24:52 -0500
User-agent: Mutt/1.2.5i

1. I've passed the AIX fix by Dan McNichol from IBM and he's OK with it.
   This patch is also needed on HEAD. Once this patch is in,
   LDFLAGS="-Wl,-brtl" ./configure will get AIX with and without gcc
   in the 1.4 branch to pass *all* tests.
2. The patch to shl_load syncs up this section of code with HEAD.

-- 
albert chin (address@hidden)

-- snip snip
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.16
diff -u -3 -p -r1.166.2.16 libtool.m4
--- libtool.m4  2001/08/05 16:48:33     1.166.2.16
+++ libtool.m4  2001/08/31 06:21:31
@@ -626,7 +626,7 @@ else
   *)
     AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
       [AC_CHECK_LIB(dld, shl_load,
-        [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"],
+        [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
         [AC_CHECK_LIB(dl, dlopen,
           [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
           [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
@@ -2270,7 +2270,9 @@ aix3*)
   ;;
 
 aix4*)
-  test "$enable_shared" = yes && enable_static=no
+  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+    test "$enable_shared" = yes && enable_static=no
+  fi
   ;;
 esac
 AC_MSG_RESULT([$enable_shared])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]