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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
$NetBSD: patch-aa,v 1.1.1.1 2004/01/26 15:40:00 jmmv Exp $
--- configure.orig Sat Nov 10 09:15:55 2001
+++ configure Sat Oct 19 15:26:23 2002
@@ -10331,6 +10331,41 @@
echo "$as_me:10331: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
eval "ac_cv_lib_vm='-lXxf86dga -lXxf86vm'"
+
+ lib=Xxf86dga
+ shared_lib_found=no
+ for i in ${LDFLAGS}; do
+ case "$i" in
+ -L*)
+ dir=`echo $i | sed "s,^-L,,"`
+ if [ -e $dir/lib${lib}.so ] ||
+ [ "`echo $dir/lib${lib}.so.*`" != "$dir/lib${lib}.so.*" ]; then
+ shared_lib_found=yes
+ break;
+ fi
+ esac
+ done
+ if [ "$shared_lib_found" = "no" ]; then
+ eval "ac_cv_lib_vm=no"
+ fi
+
+ lib=Xxf86vm
+ shared_lib_found=no
+ for i in ${LDFLAGS}; do
+ case "$i" in
+ -L*)
+ dir=`echo $i | sed "s,^-L,,"`
+ if [ -e $dir/lib${lib}.so ] ||
+ [ "`echo $dir/lib${lib}.so.*`" != "$dir/lib${lib}.so.*" ]; then
+ shared_lib_found=yes
+ break;
+ fi
+ esac
+ done
+ if [ "$shared_lib_found" = "no" ]; then
+ eval "ac_cv_lib_vm=no"
+ fi
+
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -10894,7 +10929,7 @@
au_enable_sun=yes
;;
*-*-netbsd*)
- au_enable_sun=yes
+ au_enable_oss=yes
;;
*)
{ echo "$as_me:10900: WARNING: No --enable-audio=default audio for $target" >&5
@@ -10912,7 +10947,7 @@
echo "${ECHO_T}yes - <sys/soundcard.h>" >&6
else
case "$target" in
- *linux*|*freebsd*|*bsdi*)
+ *linux*|*freebsd*|*bsdi*|*netbsd*)
echo "$as_me:10916: result: yes" >&5
echo "${ECHO_T}yes" >&6
;;
@@ -13686,7 +13721,7 @@
fi
EXTRATDEFS="$EXTRATDEFS -DIA_XAW"
- EXTRATLIBS="$EXTRATLIBS -L/usr/X11R6/lib -lXaw -lXt -lX11"
+ EXTRATLIBS="$EXTRATLIBS -L/usr/X11R6/lib -lXaw -lXt -lXext -lXpm -lXmu -lX11 $LIBSOCKET"
;;
*)
@@ -14739,6 +14774,7 @@
case "$host" in
*-*-linux*) kscd_compile=yes;;
*-*-*bsdi*) kscd_compile=yes;;
+ *-*-*netbsd*) kscd_compile=yes;;
*-*-*bsd*) kscd_compile=no;;
*) kscd_compile=yes;;
esac
@@ -14875,7 +14911,7 @@
fi
done
-for ac_header in sys/soundcard.h machine/soundcard.h linux/soundcard.h
+for ac_header in soundcard.h sys/soundcard.h machine/soundcard.h linux/soundcard.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:14881: checking for $ac_header" >&5
@@ -15215,7 +15251,22 @@
echo "$as_me:15215: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
+ lib=Xxf86dga
+ shared_lib_found=no
+ for i in ${LDFLAGS}; do
+ case "$i" in
+ -L*)
+ dir=`echo $i | sed "s,^-L,,"`
+ if [ -e $dir/lib${lib}.so ] ||
+ [ "`echo $dir/lib${lib}.so.*`" != "$dir/lib${lib}.so.*" ]; then
+ shared_lib_found=yes
+ break;
+ fi
+ esac
+ done
+ if [ "$shared_lib_found" = "yes" ]; then
x11_dga2=yes
+ fi
else
echo "$as_me: failed program was:" >&5
@@ -15264,7 +15315,22 @@
echo "$as_me:15264: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
+ lib=Xv
+ shared_lib_found=no
+ for i in ${LDFLAGS}; do
+ case "$i" in
+ -L*)
+ dir=`echo $i | sed "s,^-L,,"`
+ if [ -e $dir/lib${lib}.so ] ||
+ [ "`echo $dir/lib${lib}.so.*`" != "$dir/lib${lib}.so.*" ]; then
+ shared_lib_found=yes
+ break;
+ fi
+ esac
+ done
+ if [ "$shared_lib_found" = "yes" ]; then
x11_xv=yes
+ fi
else
echo "$as_me: failed program was:" >&5
@@ -15313,7 +15379,22 @@
echo "$as_me:15313: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
+ lib=Xxf86vm
+ shared_lib_found=no
+ for i in ${LDFLAGS}; do
+ case "$i" in
+ -L*)
+ dir=`echo $i | sed "s,^-L,,"`
+ if [ -e $dir/lib${lib}.so ] ||
+ [ "`echo $dir/lib${lib}.so.*`" != "$dir/lib${lib}.so.*" ]; then
+ shared_lib_found=yes
+ break;
+ fi
+ esac
+ done
+ if [ "$shared_lib_found" = "yes" ]; then
x11_xvidmode=yes
+ fi
else
echo "$as_me: failed program was:" >&5
@@ -15604,6 +15685,9 @@
kde_mpeglib_compiles=no
case "$OS_TYPE" in
+ NetBSD)
+ kde_mpeglib_compiles=yes
+ ;;
Linux)
kde_mpeglib_compiles=yes
;;
@@ -15870,6 +15954,7 @@
echo "$as_me:15870: result: NetBSD :Unknown hardware. You will have problems!!" >&5
echo "${ECHO_T}NetBSD :Unknown hardware. You will have problems!!" >&6
OS_TYPE="BSD"
+ LIBPTHREAD="-lpthread"
cat >>confdefs.h <<\EOF
#define OS_BSD 1
|