2013-09-26 17:14:40 +02:00

37 lines
681 B
Plaintext

$NetBSD: patch-aa,v 1.4 2008/08/10 06:35:00 obache Exp $
--- configure.in.orig 2001-01-14 08:23:50.000000000 +0000
+++ configure.in
@@ -143,10 +143,18 @@ case "$host" in
TARGET=sco
;;
- i*86-unknown-freebsd* )
+ i*86-*-freebsd* )
TARGET=freebsd
;;
+ i386-*-dragonfly* )
+ TARGET=freebsd
+ ;;
+
+ *netbsd* )
+ TARGET=netbsd
+ ;;
+
i*86-*-linux* )
TARGET=linux
;;
@@ -350,6 +358,11 @@ case "$host" in
# egcs still broken on ppc
TWIN_CFLAGS=-g
;;
+
+ *netbsd* | *dragonfly* | *freebsd*)
+ LIBTWIN_LDFLAGS="$LDFLAGS $LIBTWIN_LDFLAGS"
+ DLL_LDFLAGS="$LDFLAGS $DLL_LDFLAGS"
+ ;;
esac
dnl Determine the initialization method for shared libraries.