comparison 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
comparison
equal deleted inserted replaced
262:ba5363e21df8 263:63e391bd7085
1992 fi 1992 fi
1993 # The Win32 platform requires special setup 1993 # The Win32 platform requires special setup
1994 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" 1994 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
1995 case "$target" in 1995 case "$target" in
1996 *-*-cygwin*) 1996 *-*-cygwin*)
1997 CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix" 1997 CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
1998 SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix" 1998 SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
1999 LIBS="$LIBS -mno-cygwin" 1999 LIBS="$LIBS -mno-cygwin"
2000 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin" 2000 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin"
2001 ;; 2001 ;;
2002 *-*-mingw32*) 2002 *-*-mingw32*)
2003 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" 2003 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows"