From 91319260b1c7622c9361a7aea1ad9382330f88f1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 13 Jun 2005 01:13:21 +0000 Subject: [PATCH] Added mingw support to the build process (thanks, Matze!). --- CHANGELOG | 1 + CREDITS | 3 +++ configure.in | 13 ++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index b8d9a16f..5c687ec9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ * CHANGELOG. */ +06122005 - Added support for mingw to Unix build process (thanks, Matze!). 03162005 - Added missing translation and Portuguese support (thanks, Danny!). MPW support and several MacOS Classic fixes (thanks, Chris!). Changed CWProjects from SITX to SIT format, so OS9 users can diff --git a/CREDITS b/CREDITS index d3916fa2..cd9cade7 100644 --- a/CREDITS +++ b/CREDITS @@ -84,6 +84,9 @@ MacOS Classic fixes, MPW support: Chris Taylor +Mingw support: + Matze Braun + Other stuff: Your name here! Patches go to icculus@clutteredmind.org ... diff --git a/configure.in b/configure.in index ba70c222..8d772609 100644 --- a/configure.in +++ b/configure.in @@ -396,9 +396,20 @@ if test x$target_os = xcygwin; then else this_is_cygwin=no fi - AC_MSG_RESULT([$this_is_cygwin]) +AC_MSG_CHECKING([if this is mingw]) +if test x$target_os = xmingw32msvc; then + this_is_mingw=yes + PHYSFSCFLAGS="$PHYSFSCFLAGS -DWIN32" + enable_cdrom=yes + enable_pthreads=no + have_non_posix_threads=yes +else + this_is_mingw=no +fi +AC_MSG_RESULT([$this_is_mingw]) + this_is_macosx=no if test x$we_have_sed = xyes; then AC_MSG_CHECKING([if this is MacOS X])