qb: Fix --disable-oss for openbsd.

If --disable-oss is passed to configure we should not check for any oss support.
This commit is contained in:
orbea 2017-12-30 15:42:43 -08:00
parent d9c0f769c7
commit 7ab2254fc4

View File

@ -228,9 +228,12 @@ fi
check_pkgconf ALSA alsa
check_lib '' CACA -lcaca
check_header OSS sys/soundcard.h
check_header OSS_BSD soundcard.h
check_lib '' OSS_LIB -lossaudio
if [ "$HAVE_OSS" != 'no' ]; then
check_header OSS sys/soundcard.h
check_header OSS_BSD soundcard.h
check_lib '' OSS_LIB -lossaudio
fi
if [ "$OS" = 'Linux' ]; then
HAVE_TINYALSA=yes