summaryrefslogtreecommitdiff
path: root/audio/sox/files/patch-aa
blob: c3b6dc1d6e12a7e24b440f80849a0d83f53a681d (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
make --with-oss-dsp still check to see that the header files exist.

--- configure.in.old	Sun Jul 18 13:57:27 1999
+++ configure.in	Sat Jul 24 22:08:09 1999
@@ -194,13 +194,13 @@
 			ac_cv_dev_oss_dsp=no,
 			ac_cv_dev_oss_dsp=no)
 		)
-	if test "$ac_cv_dev_oss_dsp" = yes
+fi
+if test "$ac_cv_dev_oss_dsp" = yes -o "$oss_dsp" = yes
+then
+	AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h, oss_dsp=yes, oss_dsp=no)
+	if test "$oss_dsp" = no
 	then
-		AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h, oss_dsp=yes)
-		if test "$oss_dsp" = auto
-		then
-			AC_WARN([No soundcard.h to compile with OSS /dev/dsp])
-		fi
+		AC_WARN([No soundcard.h to compile with OSS /dev/dsp])
 	fi
 fi
 if test "$oss_dsp" = yes