1
0
Fork 0

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:
Sjoerd van der Berg 2003-03-12 13:24:47 +00:00
parent f9c6a97f5e
commit 352f47bd46

View file

@ -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([