diff configure.in @ 263:63e391bd7085

Fixed building with Cygwin (thanks Michael)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 10 Jan 2002 02:00:29 +0000
parents 1c5f68da5fc2
children dcd9f7b50a1c
line wrap: on
line diff
--- a/configure.in	Wed Jan 09 16:04:58 2002 +0000
+++ b/configure.in	Thu Jan 10 02:00:29 2002 +0000
@@ -1994,8 +1994,8 @@
         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
         case "$target" in
             *-*-cygwin*)
-                CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
-                SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
+                CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
+                SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
                 LIBS="$LIBS -mno-cygwin"
                 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin"
                 ;;