]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Add GNU/KNetBSD support.
authorRobert Millan <robertmh@gnu.org>
Sun, 21 Sep 2003 12:51:38 +0000 (12:51 +0000)
committerPeter O'Gorman <peter@pogma.com>
Sun, 21 Sep 2003 12:51:38 +0000 (12:51 +0000)
* ltdl.m4: Likewise.

ChangeLog
libtool.m4
ltdl.m4

index 4c26a54e31d56d8048c3f49b0622d792ef60362d..f20259e3c9c6b9b9435e8ee5a517f8841e287de1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-21  Robert Millan  <robertmh@gnu.org>
+
+       * libtool.m4: Add GNU/KNetBSD support.
+       * ltdl.m4: Likewise.
+
 2003-09-10  Peter O'Gorman  <peter@pogma.com>
 
        * mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN.
index e5c3a935bed6da1f87d7a7c229666598d2912bbf..8b387602b75b814bade2026703df252b9c682729 100644 (file)
@@ -1457,6 +1457,18 @@ linux*)
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+knetbsd*-gnu)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='GNU ld.so'
+  ;;
+
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
diff --git a/ltdl.m4 b/ltdl.m4
index d7c1f41df6816919c00e26570df65b9cc8745d50..e93b969e3b92c7a33c03c7d840a3ceb7feb70d2d 100644 (file)
--- a/ltdl.m4
+++ b/ltdl.m4
@@ -142,10 +142,8 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
     libltdl_cv_sys_dlopen_deplibs=yes
     ;;   
-  kfreebsd*-gnu)
-    libltdl_cv_sys_dlopen_deplibs=yes
-    ;;
-  gnu*)
+  gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
+    # GNU and its variants, using gnu ld.so (Glibc)
     libltdl_cv_sys_dlopen_deplibs=yes
     ;;
   hpux10*|hpux11*)
@@ -161,9 +159,6 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
     # at 6.2 and later dlopen does load deplibs.
     libltdl_cv_sys_dlopen_deplibs=yes
     ;;
-  linux*)
-    libltdl_cv_sys_dlopen_deplibs=yes
-    ;;
   netbsd*)
     libltdl_cv_sys_dlopen_deplibs=yes
     ;;