Explorar o código

Added mingw support to the build process (thanks, Matze!).

Ryan C. Gordon %!s(int64=21) %!d(string=hai) anos
pai
achega
91319260b1
Modificáronse 3 ficheiros con 16 adicións e 1 borrados
  1. 1 0
      CHANGELOG
  2. 3 0
      CREDITS
  3. 12 1
      configure.in

+ 1 - 0
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

+ 3 - 0
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 ...
 

+ 12 - 1
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])