diff configure @ 12019:6ede5366bc47

fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
author faust3
date Sat, 13 Mar 2004 16:25:08 +0000
parents 15fc081c071c
children 841fd0c2f2e3
line wrap: on
line diff
--- a/configure	Sat Mar 13 16:10:02 2004 +0000
+++ b/configure	Sat Mar 13 16:25:08 2004 +0000
@@ -3626,6 +3626,9 @@
   if cygwin ; then
     _ld_sdl=`$_sdlconfig --libs | cut -d " " -f 1,4,6 | sed s/no-cygwin/cygwin/`
     _inc_sdl=`$_sdlconfig --cflags | cut -d " " -f 1,5,6 | sed s/no-cygwin/cygwin/`
+  elif mingw32 ; then
+    _ld_sdl=`$_sdlconfig --libs | sed s/-mwindows//`
+    _inc_sdl=`$_sdlconfig --cflags | sed s/-Dmain=SDL_main//`
   else
     _ld_sdl=`$_sdlconfig --libs`
     _inc_sdl=`$_sdlconfig --cflags`