Mercurial > sdl-ios-xcode
comparison configure.in @ 4078:5e6f2972f963 SDL-1.2
Added support for building version.rc in Windows build.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 16 Jul 2007 03:27:26 +0000 |
parents | eede31c0ca20 |
children | e1098effe318 |
comparison
equal
deleted
inserted
replaced
4077:a9df0628d256 | 4078:5e6f2972f963 |
---|---|
94 AC_PROG_LIBTOOL | 94 AC_PROG_LIBTOOL |
95 AC_PROG_CC | 95 AC_PROG_CC |
96 AC_PROG_CXX | 96 AC_PROG_CXX |
97 AC_PROG_INSTALL | 97 AC_PROG_INSTALL |
98 AC_PROG_MAKE_SET | 98 AC_PROG_MAKE_SET |
99 AC_CHECK_PROGS(WINDRES, windres i386-mingw32-windres) | |
99 | 100 |
100 dnl Check for compiler characteristics | 101 dnl Check for compiler characteristics |
101 AC_C_CONST | 102 AC_C_CONST |
102 AC_C_INLINE | 103 AC_C_INLINE |
103 AC_C_VOLATILE | 104 AC_C_VOLATILE |
2434 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm" | 2435 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm" |
2435 if test x$have_directx = xyes; then | 2436 if test x$have_directx = xyes; then |
2436 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldxguid" | 2437 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldxguid" |
2437 fi | 2438 fi |
2438 # The Win32 platform requires special setup | 2439 # The Win32 platform requires special setup |
2440 SOURCES="$SOURCES $srcdir/src/main/win32/*.rc" | |
2439 SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" | 2441 SDLMAIN_SOURCES="$srcdir/src/main/win32/*.c" |
2440 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" | 2442 SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main" |
2441 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" | 2443 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows" |
2442 ;; | 2444 ;; |
2443 *-*-beos*) | 2445 *-*-beos*) |
2700 OBJECTS=`echo $SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.asm,$(objects)/\1.lo,g'` | 2702 OBJECTS=`echo $SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.asm,$(objects)/\1.lo,g'` |
2701 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.lo,g'` | 2703 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.lo,g'` |
2702 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.lo,g'` | 2704 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.lo,g'` |
2703 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` | 2705 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.lo,g'` |
2704 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.S,$(objects)/\1.lo,g'` | 2706 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.S,$(objects)/\1.lo,g'` |
2707 OBJECTS=`echo $OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'` | |
2705 | 2708 |
2706 SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.o,g'` | 2709 SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES | sed 's,[[^ ]]*/\([[^ ]]*\)\.cc,$(objects)/\1.o,g'` |
2707 SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.o,g'` | 2710 SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.m,$(objects)/\1.o,g'` |
2708 SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` | 2711 SDLMAIN_OBJECTS=`echo $SDLMAIN_OBJECTS | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'` |
2709 | 2712 |
2769 AC_SUBST(SDLMAIN_OBJECTS) | 2772 AC_SUBST(SDLMAIN_OBJECTS) |
2770 AC_SUBST(BUILD_CFLAGS) | 2773 AC_SUBST(BUILD_CFLAGS) |
2771 AC_SUBST(EXTRA_CFLAGS) | 2774 AC_SUBST(EXTRA_CFLAGS) |
2772 AC_SUBST(BUILD_LDFLAGS) | 2775 AC_SUBST(BUILD_LDFLAGS) |
2773 AC_SUBST(EXTRA_LDFLAGS) | 2776 AC_SUBST(EXTRA_LDFLAGS) |
2777 AC_SUBST(WINDRES) | |
2774 | 2778 |
2775 AC_OUTPUT([ | 2779 AC_OUTPUT([ |
2776 Makefile sdl-config SDL.spec SDL.qpg sdl.pc | 2780 Makefile sdl-config SDL.spec SDL.qpg sdl.pc |
2777 ], [ | 2781 ], [ |
2778 : >build-deps | 2782 : >build-deps |