1
0
Fork 0

Add patch [ 1934824 ] Mac OS X CoreAudio driver update. Update configure.in to give an error if there is no curses and debugmode is specified.(was a warning which people sometimes missed)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3143
This commit is contained in:
Peter Veenstra 2008-04-16 18:37:08 +00:00
parent 533b4bf359
commit b5db3bf635
3 changed files with 72 additions and 62 deletions

View file

@ -168,7 +168,7 @@ AC_ARG_ENABLE(debug,AC_HELP_STRING([--enable-debug],[Enable debug mode]),[
AC_DEFINE(C_HEAVY_DEBUG,1)
fi
else
AC_MSG_WARN([Can't find curses, debug mode disabled])
AC_MSG_ERROR([Can't find curses, which is required for debug mode])
fi
],)
@ -399,12 +399,12 @@ case "$target" in
fi
;;
*-*-darwin*)
dnl We have a problem here: both MacOS X and Darwin report
dnl We have a problem here: both Mac OS X and Darwin report
dnl the same signature "powerpc-apple-darwin*" - so we have
dnl to do more to distinguish them.
dnl For now I am lazy and do not add proper detection code.
AC_DEFINE(MACOSX, 1, [Compiling on Mac OS X])
LIBS="$LIBS -framework CoreMidi -framework AudioUnit"
LIBS="$LIBS -framework CoreMidi -framework AudioUnit -framework AudioToolbox"
AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).])
;;
*-*-linux*)