+2003-06-03 Robert Millan <rmh@debian.org>
+
+ * ltdl.m4: Add support for GNU/FreeBSD.
+ * ltmain.in: Add support for GNU/FreeBSD.
+
2003-06-03 Albert Chin-A-Young <china@thewrittenword.com>
* libtool.m4: No need to use sed to remove leading comma when
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
libltdl_cv_sys_dlopen_deplibs=yes
;;
+ freebsd*-gnu*)
+ libltdl_cv_sys_dlopen_deplibs=yes
+ ;;
gnu*)
libltdl_cv_sys_dlopen_deplibs=yes
;;
# These systems don't actually have a C or math library (as such)
continue
;;
+ *-*-freebsd*-gnu*)
+ # prevent being parsed by the freebsd regexp below
+ ;;
*-*-mingw* | *-*-os2*)
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
+ *-*-freebsd*-gnu*)
+ # prevent being parsed by the freebsd regexp below
+ ;;
*-*-openbsd* | *-*-freebsd*)
# Do not include libc_r directly, use -pthread flag.
continue
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
+ *-*-freebsd*-gnu*)
+ # Prevent $arg from being parsed by the freebsd regexp below.
+ if test "$build_libtool_need_lc" = "yes"; then
+ deplibs="$deplibs -lc"
+ fi
+ ;;
*-*-openbsd* | *-*-freebsd*)
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue