Detection of gcc win32 and macos hosts.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@755
This commit is contained in:
parent
f9c6a97f5e
commit
352f47bd46
1 changed files with 14 additions and 0 deletions
14
configure.in
14
configure.in
|
@ -73,6 +73,20 @@ AC_ARG_ENABLE(shots,[ --enable-shots Enable screenshot support],[
|
|||
fi
|
||||
],)
|
||||
|
||||
dnl Some host detection and actions for them
|
||||
case "$target" in
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
LIBS="$LIBS -lwinmm"
|
||||
;;
|
||||
darwin*)
|
||||
dnl We have a problem here: both MacOS 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 AudioUnit"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
AC_OUTPUT([
|
||||
|
|
Loading…
Add table
Reference in a new issue