Added mingw support to the build process (thanks, Matze!).
authorRyan C. Gordon <icculus@icculus.org>
Mon, 13 Jun 2005 01:13:21 +0000
changeset 707 d416442d94eb
parent 706 45e95d73850d
child 709 440369665d77
Added mingw support to the build process (thanks, Matze!).
CHANGELOG
CREDITS
configure.in
--- a/CHANGELOG	Wed Mar 16 13:10:40 2005 +0000
+++ b/CHANGELOG	Mon Jun 13 01:13:21 2005 +0000
@@ -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
--- a/CREDITS	Wed Mar 16 13:10:40 2005 +0000
+++ b/CREDITS	Mon Jun 13 01:13:21 2005 +0000
@@ -84,6 +84,9 @@
 MPW support:
     Chris Taylor
 
+Mingw support:
+    Matze Braun
+
 Other stuff:
     Your name here! Patches go to icculus@clutteredmind.org ...
 
--- a/configure.in	Wed Mar 16 13:10:40 2005 +0000
+++ b/configure.in	Mon Jun 13 01:13:21 2005 +0000
@@ -396,8 +396,19 @@
 else
   this_is_cygwin=no
 fi
+AC_MSG_RESULT([$this_is_cygwin])
 
-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