configure.in
changeset 6430 48d519500f7e
parent 6408 6fb90a109d83
child 6431 1f9c0e93bd96
     1.1 --- a/configure.in	Fri Sep 14 18:18:38 2012 -0400
     1.2 +++ b/configure.in	Sat Sep 15 10:59:39 2012 -0400
     1.3 @@ -1908,6 +1908,8 @@
     1.4      ],[
     1.5      ],[
     1.6      have_wince=yes
     1.7 +       AC_MSG_ERROR([
     1.8 +*** Sorry, Windows CE is no longer supported.
     1.9      ])
    1.10      AC_MSG_RESULT($have_wince)
    1.11  
    1.12 @@ -2239,82 +2241,6 @@
    1.13              have_timers=yes
    1.14          fi
    1.15          ;;
    1.16 -    *-wince* | *-mingw32ce)
    1.17 -        ARCH=win32
    1.18 -        CheckDummyVideo
    1.19 -        CheckDiskAudio
    1.20 -        CheckDummyAudio
    1.21 -        CheckWINDOWS
    1.22 -        if test x$enable_video = xyes; then
    1.23 -            AC_DEFINE(SDL_VIDEO_DRIVER_WINDOWS, 1, [ ])
    1.24 -            SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
    1.25 -            have_video=yes
    1.26 -            AC_ARG_ENABLE(render-d3d,
    1.27 -AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[default=yes]]]),
    1.28 -                                , enable_render_d3d=yes)
    1.29 -            enable_render_d3d=no
    1.30 -            if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
    1.31 -                AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
    1.32 -            fi
    1.33 -        fi
    1.34 -        # Set up files for the audio library
    1.35 -        if test x$enable_audio = xyes; then
    1.36 -            AC_DEFINE(SDL_AUDIO_DRIVER_WINMM, 1, [ ])
    1.37 -            SOURCES="$SOURCES $srcdir/src/audio/winmm/*.c"
    1.38 -            if test x$have_dsound = xyes; then
    1.39 -                AC_DEFINE(SDL_AUDIO_DRIVER_DSOUND, 1, [ ])
    1.40 -                SOURCES="$SOURCES $srcdir/src/audio/directsound/*.c"
    1.41 -            fi
    1.42 -            if test x$have_xaudio2 = xyes; then
    1.43 -                AC_DEFINE(SDL_AUDIO_DRIVER_XAUDIO2, 1, [ ])
    1.44 -                SOURCES="$SOURCES $srcdir/src/audio/xaudio2/*.c"
    1.45 -            fi
    1.46 -            have_audio=yes
    1.47 -        fi
    1.48 -        # Set up dummy files for the joystick for now
    1.49 -        if test x$enable_joystick = xyes; then
    1.50 -            AC_DEFINE(SDL_JOYSTICK_DUMMY, 1, [ ])
    1.51 -            SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
    1.52 -            have_joystick=yes
    1.53 -        fi
    1.54 -        # Set up files for the thread library
    1.55 -        if test x$enable_threads = xyes; then
    1.56 -            AC_DEFINE(SDL_THREAD_WINDOWS, 1, [ ])
    1.57 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_sysmutex.c"
    1.58 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_syssem.c"
    1.59 -            SOURCES="$SOURCES $srcdir/src/thread/windows/SDL_systhread.c"
    1.60 -            SOURCES="$SOURCES $srcdir/src/thread/generic/SDL_syscond.c"
    1.61 -            have_threads=yes
    1.62 -        fi
    1.63 -        # Set up files for the timer library
    1.64 -        if test x$enable_timers = xyes; then
    1.65 -            AC_DEFINE(SDL_TIMER_WINCE, 1, [ ])
    1.66 -            SOURCES="$SOURCES $srcdir/src/timer/wince/*.c"
    1.67 -            have_timers=yes
    1.68 -        fi
    1.69 -        # Set up files for the shared object loading library
    1.70 -        if test x$enable_loadso = xyes; then
    1.71 -            AC_DEFINE(SDL_LOADSO_WINDOWS, 1, [ ])
    1.72 -            SOURCES="$SOURCES $srcdir/src/loadso/windows/*.c"
    1.73 -            have_loadso=yes
    1.74 -        fi
    1.75 -        # Set up the system libraries we need
    1.76 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
    1.77 -
    1.78 -	# mingw32ce library
    1.79 -	case "$host" in
    1.80 -    	    *-mingw32ce)
    1.81 -    		EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lmingwex"
    1.82 -    		;;
    1.83 -    	    *)
    1.84 -        	;;
    1.85 -	esac
    1.86 -
    1.87 -        # The Windows platform requires special setup
    1.88 -        SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
    1.89 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -Dmain=SDL_main -D_WIN32_WCE=0x420"
    1.90 -        EXTRA_LDFLAGS="-lSDL2main $EXTRA_LDFLAGS"
    1.91 -        ;;
    1.92      *-*-cygwin* | *-*-mingw32*)
    1.93          ARCH=win32
    1.94          if test "$build" != "$host"; then # cross-compiling