summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-21 08:01:05 +0200
committerArun Raghavan <git@arunraghavan.net>2016-01-04 12:39:20 +0530
commit51caceb7705c206e9f04829f3bfd399da75f80cc (patch)
treed3463a9f88c6087b70d29ede148434b7d9ae1b66
parent810aa36189f82f77403826defa76a4f9f1f01454 (diff)
downloadpulseaudio-51caceb7705c206e9f04829f3bfd399da75f80cc.tar.gz
configure.ac: add HAVE_COREAUDIO to automake and code.
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) Signed-off-by: Mihai Moldovan <ionic@ionic.de>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2dbf7f284..ee1b437d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -781,8 +781,11 @@ AS_IF([test "x$enable_coreaudio_output" != "xno"],
AS_IF([test "x$enable_coreaudio_output" = "xyes" && test "x$HAVE_COREAUDIO" = "x0"],
[AC_MSG_ERROR([*** CoreAudio output support not found])])
+AC_SUBST(HAVE_COREAUDIO)
AM_CONDITIONAL([HAVE_COREAUDIO], [test "x$HAVE_COREAUDIO" = "x1" && test "x$enable_coreaudio_output" != "xno"])
+AS_IF([test "x$HAVE_COREAUDIO" = "x1"], AC_DEFINE([HAVE_COREAUDIO], 1, [Have CoreAudio?]))
+
#### ALSA support (optional) ####
AC_ARG_ENABLE([alsa],