65 lines
2.2 KiB
Text
65 lines
2.2 KiB
Text
$NetBSD: patch-aa,v 1.2 2005/10/14 21:51:19 jmmv Exp $
|
|
|
|
--- configure.orig 2005-09-05 14:06:07.000000000 +0200
|
|
+++ configure
|
|
@@ -3953,13 +3953,13 @@ darwin* | rhapsody*)
|
|
lt_cv_deplibs_check_method=pass_all
|
|
;;
|
|
|
|
-freebsd* | kfreebsd*-gnu)
|
|
+freebsd* | kfreebsd*-gnu | dragonfly*)
|
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
|
case $host_cpu in
|
|
i*86 )
|
|
# Not sure whether the presence of OpenBSD here was a mistake.
|
|
# Let's accept both of them until this is cleared up.
|
|
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
|
|
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
|
|
lt_cv_file_magic_cmd=/usr/bin/file
|
|
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
|
;;
|
|
@@ -7620,7 +7620,7 @@ if test -z "$aix_libpath"; then aix_libp
|
|
;;
|
|
|
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
|
- freebsd* | kfreebsd*-gnu)
|
|
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
|
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
|
hardcode_libdir_flag_spec='-R$libdir'
|
|
hardcode_direct=yes
|
|
@@ -8198,7 +8198,7 @@ kfreebsd*-gnu)
|
|
dynamic_linker='GNU ld.so'
|
|
;;
|
|
|
|
-freebsd*)
|
|
+freebsd* | dragonfly*)
|
|
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|
|
@@ -10581,7 +10581,7 @@ if test -z "$aix_libpath"; then aix_libp
|
|
freebsd-elf*)
|
|
archive_cmds_need_lc_CXX=no
|
|
;;
|
|
- freebsd* | kfreebsd*-gnu)
|
|
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
|
# conventions
|
|
ld_shlibs_CXX=yes
|
|
@@ -11288,7 +11288,7 @@ echo $ECHO_N "checking for $compiler opt
|
|
;;
|
|
esac
|
|
;;
|
|
- freebsd* | kfreebsd*-gnu)
|
|
+ freebsd* | kfreebsd*-gnu | dragonfly*)
|
|
# FreeBSD uses GNU C++
|
|
;;
|
|
hpux9* | hpux10* | hpux11*)
|
|
@@ -11902,7 +11902,7 @@ kfreebsd*-gnu)
|
|
dynamic_linker='GNU ld.so'
|
|
;;
|
|
|
|
-freebsd*)
|
|
+freebsd* | dragonfly*)
|
|
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
|
|
version_type=freebsd-$objformat
|
|
case $version_type in
|