# HG changeset patch # User Sam Lantinga # Date 1010628029 0 # Node ID 63e391bd7085d4a9846776204b29d6f7703b6aed # Parent ba5363e21df8c0742b9367993c0aa0875b45d560 Fixed building with Cygwin (thanks Michael) diff -r ba5363e21df8 -r 63e391bd7085 configure.in --- 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" ;;