From 12353f5346d0e29fea3d96c5d4bcf4ce4163050b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 13 Jun 2005 01:16:13 +0000 Subject: [PATCH] Backport from devbranch: mingw support. --- CHANGELOG | 1 + CREDITS | 3 +++ configure.in | 13 ++++++++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index b607ed6b..29990262 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/CREDITS b/CREDITS index 1d98d430..9beb45a8 100644 --- a/CREDITS +++ b/CREDITS @@ -73,6 +73,9 @@ Brazillian Portuguese translation: Spanish translation: Pedro J. Pérez +Mingw support: + Matze Braun + Other stuff: Your name here! Patches go to icculus@clutteredmind.org ... diff --git a/configure.in b/configure.in index c74756b8..876b1891 100644 --- a/configure.in +++ b/configure.in @@ -380,9 +380,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])