From abcd3091d062a00a24dd68a918333c6d12d37265 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 5 Feb 2012 18:46:59 +0900 Subject: [PATCH] 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. --- config.d/sound.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.d/sound.m4 b/config.d/sound.m4 index ec4850c3d..fda43d06e 100644 --- a/config.d/sound.m4 +++ b/config.d/sound.m4 @@ -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