summaryrefslogtreecommitdiff
path: root/graphics/ogle/patches/patch-ab
blob: a4775be0d4d9cc8ccfd98911d98360be04b18b1a (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
$NetBSD: patch-ab,v 1.3 2002/07/12 18:29:29 mycroft Exp $

--- configure.in.orig	Sat Jun 29 22:49:43 2002
+++ configure.in	Thu Jul 11 02:18:38 2002
@@ -351,16 +351,16 @@
     esac
 fi
 
-dnl check for openbsd audio 
+dnl check for netbsd/openbsd audio 
 AC_ARG_ENABLE([obsdaudio],
-    [  --disable-obsdaudio     make a version not using OpenBSD audio])
+    [  --disable-obsdaudio     make a version not using NetBSD/OpenBSD audio])
 if test "x$enable_obsdaudio" != xno; then
     case "$host" in
-    *-openbsd*)
+    *-netbsd*|*-openbsd*)
 
 dnl only define LIBOGLEAO_OBSD headers found
 dnl sys/audioio.h
-        AC_DEFINE([LIBOGLEAO_OBSD],,[libogleao OpenBSD audio support])
+        AC_DEFINE([LIBOGLEAO_OBSD],,[libogleao NetBSD/OpenBSD audio support])
 	DEFAULT_AUDIO_DRIVER="obsd"
 	DEFAULT_AUDIO_DEVICE="/dev/audio"
     ;;
@@ -372,7 +372,7 @@
     [  --disable-sunaudio      make a version not using Sun audio])
 if test "x$enable_sunaudio" != xno; then
     case "$host" in
-    *-sun-solaris*|*-netbsd*)
+    *-sun-solaris*)
 
 dnl check for headers.. only define LIBOGLEAO_SOLARIS if headers are found.
         AC_DEFINE([LIBOGLEAO_SOLARIS],,[libogleao solaris audio support])