mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
SVN r4430
Add some automake stuff so we can run custom commands for mac os x
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -386,18 +386,26 @@ AC_CHECK_CXXFLAGS([ -Wno-address-of-packed-member ])
|
||||
dnl Clang/LLVM warning: don't care about int to void*, since void* is either same size or larger
|
||||
AC_CHECK_CXXFLAGS([ -Wno-int-to-void-pointer-cast ])
|
||||
|
||||
dnl Some stuff for the icon.
|
||||
dnl Some stuff for the icon and other makefile platform stuff.
|
||||
dnl Slightly double with the above, but that deals more with compiled features.
|
||||
case "$host" in
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
dnl Some stuff for the ico
|
||||
AC_CHECK_TOOL(WINDRES, windres, :)
|
||||
LDFLAGS="-static -static-libgcc -static-libstdc++ $LDFLAGS"
|
||||
DBPLATFORM="win"
|
||||
;;
|
||||
*-*-darwin*)
|
||||
WINDRES=":"
|
||||
DBPLATFORM="mac"
|
||||
;;
|
||||
*)
|
||||
WINDRES=":"
|
||||
DBPLATFORM="other"
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:")
|
||||
AM_CONDITIONAL(MACOSX, test "x$DBPLATFORM" = "xmac")
|
||||
AC_SUBST(WINDRES)
|
||||
|
||||
dnl LIBRARY TEST: SDL 2.x
|
||||
|
Reference in New Issue
Block a user