From 51caceb7705c206e9f04829f3bfd399da75f80cc Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Tue, 21 Apr 2015 08:01:05 +0200 Subject: [PATCH] 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 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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],