+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
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
# 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*)
# 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
;;