Commit 34986fc7 authored by Jan Willhaus's avatar Jan Willhaus

Mitigated OOTB configure and make errors for OSX.

This boils down to removing the universal binary flag (considered a legacy feature), and disabling deprecation warnings for Core Audio APIs (nobody's fixing that anyway.)
parent bde8a20f
......@@ -86,7 +86,7 @@ AC_ARG_ENABLE(mac-debug,
AC_ARG_ENABLE(mac-universal,
AS_HELP_STRING([--enable-mac-universal], [Build Mac universal binaries @<:@yes@:>@]),
enable_mac_universal=$enableval, enable_mac_universal="yes")
enable_mac_universal=$enableval, enable_mac_universal="no")
dnl Continue to accept --host_os for compatibility but do not document
dnl it (the correct way to change host_os is with --host=...). Moved
......@@ -204,7 +204,7 @@ case "${host_os}" in
AC_DEFINE(PA_USE_COREAUDIO,1)
CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Werror"
CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated -Werror"
LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon"
if test "x$enable_mac_universal" = "xyes" ; then
......
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