Commit e20d3d49 authored by Avuton Olrich's avatar Avuton Olrich

configure.ac: Move OSX to Audio Output Plugins (nonstreaming), add header.

parent 33641df0
...@@ -938,6 +938,17 @@ fi ...@@ -938,6 +938,17 @@ fi
AM_CONDITIONAL(HAVE_OSS, test x$enable_oss = xyes) 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 if test x$enable_pipe_output = xyes; then
AC_DEFINE([ENABLE_PIPE_OUTPUT], 1, AC_DEFINE([ENABLE_PIPE_OUTPUT], 1,
[Define to enable support for writing audio to a pipe]) [Define to enable support for writing audio to a pipe])
...@@ -955,15 +966,7 @@ fi ...@@ -955,15 +966,7 @@ fi
AM_CONDITIONAL(HAVE_PULSE, test x$enable_pulse = xyes) 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" enable_shout2="$enable_shout"
MPD_AUTO_PKG(shout, SHOUT, [shout], MPD_AUTO_PKG(shout, SHOUT, [shout],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment