blob: 38c2066894c8b7091a8c9bc781bb5bc4838041c8 (
plain) (
blame)
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
|
--- configure.orig 2004-08-15 13:36:21 UTC
+++ configure
@@ -3989,6 +3989,30 @@ _ACEOF
esac
copt="$copt -funroll-loops"
;;
+*freebsd*)
+ echo 'A FreeBSD box...'
+ case $t in
+ i*86-*freebsd9*)
+ cat >>confdefs.h <<\_ACEOF
+#define NZREG "%ebx"
+_ACEOF
+
+ cat >>confdefs.h <<\_ACEOF
+#define PCREG "%ebp"
+_ACEOF
+
+ regs="-fomit-frame-pointer -ffixed-ebx -ffixed-ebp"
+ ;;
+ *)
+ regs=""
+ esac
+ # Most BSD systems support OSS audio, too:
+ cat >>confdefs.h <<\_ACEOF
+#define STONX_AUDIO_LINUX 1
+_ACEOF
+
+ libs=""
+ ;;
*bsd*)
echo 'A BSD box...'
case $t in
|