blob: 851dcaf8b98599bafbe8d11046f5c0ba6951aa62 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-ab,v 1.7 2000/06/23 14:32:11 dmcmahill Exp $
Make this work on NetBSD.
For Solaris, make the DATADIRNAME share.
--- ./configure.orig Thu Dec 16 10:15:33 1999
+++ ./configure Thu Mar 2 01:50:58 2000
@@ -1995,7 +1995,7 @@
CFLAGS_RDYNAMIC="-Wl,-E"
;;
- openbsd* | freebsd2* | osf4* | irix* )
+ openbsd* | freebsd2* | osf4* | irix* | netbsd* )
CFLAGS_RDYNAMIC=""
;;
@@ -2043,6 +2043,11 @@
NAME_OF_DEV_URANDOM="/dev/urandom"
DYNLINK_MOD_CFLAGS="-shared -rdynamic -fpic -Wl,-Bshareable -Wl,-x"
;;
+ *-netbsd*)
+ DYNLINK_MOD_CFLAGS="-shared -rdynamic -fPIC -Wl,-Bshareable -Wl,-x"
+ NAME_OF_DEV_RANDOM="/dev/random"
+ NAME_OF_DEV_URANDOM="/dev/urandom"
+ ;;
*)
NAME_OF_DEV_RANDOM="/dev/random"
NAME_OF_DEV_URANDOM="/dev/urandom"
@@ -3441,7 +3446,7 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
CATOBJEXT=.mo
- DATADIRNAME=lib
+ DATADIRNAME=share
fi
rm -f conftest*
INSTOBJEXT=.mo
|