mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31:50 -04:00
33 lines
586 B
Text
33 lines
586 B
Text
--- 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
|