summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-05-03 23:19:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-05-03 23:19:22 +0000
commit3d572ed42818065ac283c0d7fda76888957188fc (patch)
treebccb1de7d34596e19a5bad704a5ac1aaa5e55b71 /acinclude.m4
parent3f8f26bc831ca52caa7cc8ca500ae814818977a8 (diff)
Check for the sys/soundcard.h header file
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 15ee2ed8..874bd16a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -146,6 +146,8 @@ AC_DEFUN([AC_PATH_ALSA], [
ac_save_CPPFLAGS=$CPPFLAGS
ac_save_LDFLAGS=$LDFLAGS
+ AC_CHECK_HEADER(sys/soundcard.h, AC_DEFINE(HAVE_SYS_SOUNDCARD_H, 1, [Define to 1 if you have the <sys/soundcard.h> header file.]))
+
ALSA_CFLAGS=""
test -d "${alsa_prefix}/include" && ALSA_CFLAGS="$ALSA_CFLAGS -I${alsa_prefix}/include"