blob: 5f6484c7fc0562ad863ea0e94557ba30842c1520 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ac,v 1.3 2006/04/11 15:08:38 joerg Exp $
--- configure.orig 2001-06-14 16:41:51.000000000 +0000
+++ configure
@@ -1393,18 +1393,10 @@ case "$host_os" in
SOLARIS=`echo "$host_os" | $AWK -F. '{printf "SOLARIS=2%02d%02d",$2,$3}'`
SETEUID=`echo "$host_os" | $AWK -F. '$2>=3{printf "SETEUID"}'`
;;
- freebsd* | netbsd*)
+ freebsd* | netbsd* | dragonfly*)
if test "$use_sharedlib" != no
then
sharedlib=fbsd
- if test -x /usr/bin/objformat
- then
- if test x`/usr/bin/objformat` = xelf
- then
- sharedlib=gnuelf
- make_mhconfig='CFLAGS="-O -DMHSLIB_NOMINVER"'
- fi
- fi
echo __ELF__ | $CC -E - | grep -q __ELF__ || sharedlib=gnuelf
slflags="-fpic"
slibdir=$libdir
|