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

ChangeLog
libtool.m4
ltdl.m4

index 40403265ccaabeb2a206ff7c5fb11fd8e57e7284..05d3039556c6e9cd4ed8636780766d50852b035b 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-13  Scott James Remnant  <scott@netsplit.com>
 
        * libtool.m4: allow STRIP to contain spaces and additional
index f24bb73a3c6ca3e1f48f4892f12c82ba97d809e6..ffdfd7c147b8b5b2990ae82bfe9e2a1ad84942f7 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 7dd3000cefcf86d2376af85925652d55802f5895..a6c1f69df30af951fe36ccd2cf9083da63a1ad41 100644 (file)
--- a/ltdl.m4
+++ b/ltdl.m4
@@ -145,10 +145,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*)
@@ -164,9 +162,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
     ;;