Mercurial > sdl-ios-xcode
comparison configure.in @ 2148:b93d0b4625f6
I'm not sure this is a good idea yet, since it adds a unicows.dll redistribution requirement on windows, but adding unicows allows SDL 1.3 to run on Windows 98.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 05 Jul 2007 05:28:08 +0000 |
parents | c2a276a27381 |
children | eff395617ed8 |
comparison
equal
deleted
inserted
replaced
2147:a5f11bc178b4 | 2148:b93d0b4625f6 |
---|---|
2170 ;; | 2170 ;; |
2171 *-*-cygwin* | *-*-mingw32*) | 2171 *-*-cygwin* | *-*-mingw32*) |
2172 ARCH=win32 | 2172 ARCH=win32 |
2173 if test "$build" != "$host"; then # cross-compiling | 2173 if test "$build" != "$host"; then # cross-compiling |
2174 # Default cross-compile location | 2174 # Default cross-compile location |
2175 ac_default_prefix=/usr/local/cross-tools/i386-mingw32msvc | 2175 ac_default_prefix=/usr/local/cross-tools/i386-mingw32 |
2176 else | 2176 else |
2177 # Look for the location of the tools and install there | 2177 # Look for the location of the tools and install there |
2178 if test "$BUILD_PREFIX" != ""; then | 2178 if test "$BUILD_PREFIX" != ""; then |
2179 ac_default_prefix=$BUILD_PREFIX | 2179 ac_default_prefix=$BUILD_PREFIX |
2180 fi | 2180 fi |
2251 AC_DEFINE(SDL_LOADSO_WIN32) | 2251 AC_DEFINE(SDL_LOADSO_WIN32) |
2252 SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c" | 2252 SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c" |
2253 have_loadso=yes | 2253 have_loadso=yes |
2254 fi | 2254 fi |
2255 # Set up the system libraries we need | 2255 # Set up the system libraries we need |
2256 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lmsimg32 -lwinmm" | 2256 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lunicows -luser32 -lgdi32 -lmsimg32 -lwinmm" |
2257 # The Win32 platform requires special setup | 2257 # The Win32 platform requires special setup |
2258 SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" | 2258 SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" |
2259 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" | 2259 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" |
2260 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" | 2260 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" |
2261 ;; | 2261 ;; |