Backport from devbranch: mingw support. stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Mon, 13 Jun 2005 01:16:13 +0000
branchstable-1.0
changeset 708 cd874220351e
parent 704 f3c79a07201f
child 712 0fc42c6ecdc5
Backport from devbranch: mingw support.
CHANGELOG
CREDITS
configure.in
--- a/CHANGELOG	Wed Mar 16 12:18:17 2005 +0000
+++ b/CHANGELOG	Mon Jun 13 01:16:13 2005 +0000
@@ -4,6 +4,7 @@
 
 -- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
 
+06122005 - Added support for mingw to Unix build process (thanks, Matze!).
 03162005 - Readded Spanish translation. Added Brazillian Portguese translation
            and fixed unlocalized string in wad.c (thanks Danny!). Some MacOS
            Classic fixes and MPW support (thanks, Chris!). Changed CWProjects
--- a/CREDITS	Wed Mar 16 12:18:17 2005 +0000
+++ b/CREDITS	Mon Jun 13 01:16:13 2005 +0000
@@ -73,6 +73,9 @@
 Spanish translation:
     Pedro J. Pérez
 
+Mingw support:
+    Matze Braun
+
 Other stuff:
     Your name here! Patches go to icculus@clutteredmind.org ...
 
--- a/configure.in	Wed Mar 16 12:18:17 2005 +0000
+++ b/configure.in	Mon Jun 13 01:16:13 2005 +0000
@@ -380,8 +380,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