From: Robert Millan Date: Sun, 21 Sep 2003 12:50:48 +0000 (+0000) Subject: * libtool.m4: Add GNU/KNetBSD support. X-Git-Tag: help~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef56258094507962862073483fc29da49febf564;p=thirdparty%2Flibtool.git * libtool.m4: Add GNU/KNetBSD support. * ltdl.m4: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 40403265c..05d303955 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-21 Robert Millan + + * libtool.m4: Add GNU/KNetBSD support. + * ltdl.m4: Likewise. + 2003-09-13 Scott James Remnant * libtool.m4: allow STRIP to contain spaces and additional diff --git a/libtool.m4 b/libtool.m4 index f24bb73a3..ffdfd7c14 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 7dd3000ce..a6c1f69df 100644 --- 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 ;;