1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/audio/sox/files/patch-aa
Brian Feldman c9be0402f6 Fix the build for systems without /dev/dsp. Update the master site, and
md5 checksum (version bump? no, just a file change! grr!).

Submitted by:	Dan Nelson <dnelson@emsphone.com>
1999-07-28 03:40:59 +00:00

25 lines
718 B
Plaintext

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