From e20d3d49b3b269fd637780ee710f991f4d848a51 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 16 Apr 2010 20:10:29 -0700 Subject: configure.ac: Move OSX to Audio Output Plugins (nonstreaming), add header. --- configure.ac | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e1e6a06c6..579a3fea4 100644 --- a/configure.ac +++ b/configure.ac @@ -938,6 +938,17 @@ fi AM_CONDITIONAL(HAVE_OSS, test x$enable_oss = xyes) +dnl ----------------------------------- OSX ----------------------------------- +enable_osx=no +case "$host_os" in + darwin*) + AC_DEFINE(HAVE_OSX, 1, [Define for compiling OS X support]) + MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreServices" + enable_osx=yes ;; +esac + +AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes) + if test x$enable_pipe_output = xyes; then AC_DEFINE([ENABLE_PIPE_OUTPUT], 1, [Define to enable support for writing audio to a pipe]) @@ -955,15 +966,7 @@ fi AM_CONDITIONAL(HAVE_PULSE, test x$enable_pulse = xyes) -enable_osx=no -case "$host_os" in - darwin*) - AC_DEFINE(HAVE_OSX, 1, [Define for compiling OS X support]) - MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreServices" - enable_osx=yes ;; -esac -AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes) enable_shout2="$enable_shout" MPD_AUTO_PKG(shout, SHOUT, [shout], -- cgit v1.2.3