[pulseaudio-discuss] [PATCH 1/4] configure.ac: add HAVE_COREAUDIO to automake and code.

Mihai Moldovan ionic at ionic.de
Mon Apr 20 23:01:05 PDT 2015


Signed-off-by: Mihai Moldovan <ionic at ionic.de>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index b2fcd1e..57eff8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -780,8 +780,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],
-- 
2.3.5


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150421/19b4939a/attachment.sig>


More information about the pulseaudio-discuss mailing list