Test for sys/shm.h for OSS sound.

Android does not supply sys/shm.h (or related headers, by design), so OSS
sound is completely out of the question on Android.
This commit is contained in:
Bill Currie 2012-02-05 18:46:59 +09:00
parent d2a6da6c24
commit abcd3091d0

View file

@ -138,7 +138,7 @@ AC_SUBST(MME_LIBS)
dnl OSS
HAVE_OSS=no
if test "x$enable_oss" != "xno"; then
if test "x$enable_oss" != "xno" -a "x$ac_cv_header_sys_shm_h" = "xyes"; then
if test "x$ac_cv_header_sys_soundcard_h" = "xyes" -o \
"x$ac_cv_header_machine_soundcard_h" = "xyes" -o \
"x$ac_cv_header_linux_soundcard_h" = "xyes"; then