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
|
$NetBSD: patch-aa,v 1.2 2001/03/15 15:35:56 skrll Exp $
--- configure.orig Wed Feb 21 11:01:31 2001
+++ configure
@@ -7906,7 +7906,7 @@
au_enable_sun=yes
;;
*-*-netbsd*)
- au_enable_sun=yes
+ au_enable_oss=yes
;;
*)
echo "configure: warning: No --enable-audio=default audio for $target" 1>&2
@@ -11339,7 +11339,7 @@
#include "confdefs.h"
#include <$ac_hdr>
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+ac_try="$ac_cpp $all_includes conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:11344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
@@ -11366,7 +11366,7 @@
fi
done
-for ac_hdr in sys/soundcard.h machine/soundcard.h linux/soundcard.h
+for ac_hdr in soundcard.h sys/soundcard.h machine/soundcard.h linux/soundcard.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -11879,13 +11879,16 @@
case "$ARCH_TYPE" in
- i?86)
- echo "$ac_t""Found Intel enable MMX support" 1>&6
- cat >> confdefs.h <<\EOF
-#define INTEL 1
-EOF
-
- ;;
+#
+# The MMS code won't compile on NetBSD :-(
+#
+# i?86)
+# echo "$ac_t""Found Intel enable MMX support" 1>&6
+# cat >> confdefs.h <<\EOF
+##define INTEL 1
+#EOF
+#
+# ;;
*)
echo "$ac_t""Non Intel." 1>&6
@@ -11897,6 +11900,9 @@
kde_mpeglib_compiles=no
case "$OS_TYPE" in
+ NetBSD)
+ kde_mpeglib_compiles=yes
+ ;;
Linux)
kde_mpeglib_compiles=yes
;;
@@ -12105,6 +12111,7 @@
NetBSD)
echo "$ac_t""NetBSD :Unknown hardware. You will have problems!!" 1>&6
OS_TYPE="BSD"
+ LIBPTHREAD="-lpthread"
cat >> confdefs.h <<\EOF
#define OS_BSD 1
EOF
|