Merge pull request #6008 from orbea/oss

qb: Fix --disable-oss for openbsd.
This commit is contained in:
Twinaphex 2017-12-31 00:49:55 +01:00 committed by GitHub
commit 1b6870b180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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