3b6df974e1
of FreeBSD-like systems with objformat, we want minor shared library numbers.
24 lines
747 B
Text
24 lines
747 B
Text
$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
|