]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Prefer shl_load to dlopen on HP-UX because
authorAlbert Chin-A-Young <china@thewrittenword.com>
Sun, 29 Jul 2001 16:48:38 +0000 (16:48 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 29 Jul 2001 16:48:38 +0000 (16:48 +0000)
dlopen won't work properly without a patch.

ChangeLog
NEWS
libtool.m4

index e08317c610da23eb8bad648c97259e58efaf21c3..bb1a492f6b005ebc5ab5fdfe0825786c557c919f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-29  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * libtool.m4: Prefer shl_load to dlopen on HP-UX because
+       dlopen won't work properly without a patch.
+
 2001-07-12  Dan McNichol  <mcnichol@austin.ibm.com>
 
        From albert chin <china@thewrittenword.com>
diff --git a/NEWS b/NEWS
index c85bf2aec672c6b3cd4a5869ea13ae3dbc8d533c..7b496e8142ec83bcc8a6b2a5f9dce9f5ebee7013 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,8 +3,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 New in 1.4.1: 2001-??-??; CVS version 1.4.0a, Libtool team:
 * Don't leave here-doc files behind.
 * Improved support for OpenBSD.
-* Libtool will build with autoconf-2.50.
+* Libtool will build with autoconf-2.50 and higher.
 * Plug memory management bugs in libltdl.
+* Prefer shl_load to dlopen for better operation on HP-UX.
 \f
 New in 1.4: 2001-04-25; CVS version 1.3e, Libtool team:
 * Support for aix5*.
index 482123c697dbe744997d72d50e474f16f02d38a9..a8b96d634709d7067f5cc01ee5e456eb80058fca 100644 (file)
@@ -624,14 +624,15 @@ else
    ;;
 
   *)
-    AC_CHECK_LIB(dl, dlopen,  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
-      [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
-        [AC_CHECK_FUNC(shl_load, lt_cv_dlopen="shl_load",
-          [AC_CHECK_LIB(svld, dlopen,
-           [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
-            [AC_CHECK_LIB(dld, shl_load,
-              [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
-           ])
+    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"],
+        [AC_CHECK_LIB(dl, dlopen,
+          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+          [AC_CHECK_FUNC(dlopen, lt_cv_dlopen="dlopen",
+            [AC_CHECK_LIB(svld, dlopen,
+              [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"])
+            ])
           ])
         ])
       ])