Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Removed outdated iPodLinux support

  • Loading branch information
slouken committed Sep 19, 2009
1 parent be07d75 commit 18dc1736fcfddb128e06ced72cf7e71f9b3c5091
@@ -943,20 +943,6 @@ CheckVisibilityHidden()
}


dnl Do the iPod thing
CheckIPod()
{
AC_ARG_ENABLE(ipod,
AC_HELP_STRING([--enable-ipod], [configure SDL to work with iPodLinux [default=yes on arm-elf]]),
, enable_ipod=yes)

if test x$enable_ipod = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DIPOD"
AC_DEFINE(SDL_VIDEO_DRIVER_IPOD)
SOURCES="$SOURCES $srcdir/src/video/ipod/*.c"
fi
}

dnl Find the nanox include and library directories
CheckNANOX()
{
@@ -2004,7 +1990,7 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]])
pthread_lib="-lpthread"
;;
esac
if test x$enable_threads = xyes -a x$enable_pthreads = xyes -a x$enable_ipod != xyes; then
if test x$enable_threads = xyes -a x$enable_pthreads = xyes; then
# Save the original compiler flags and libraries
ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"
# Add the pthread compiler flags and libraries
@@ -266,7 +266,6 @@
#undef SDL_VIDEO_DRIVER_DUMMY
#undef SDL_VIDEO_DRIVER_FBCON
#undef SDL_VIDEO_DRIVER_GEM
#undef SDL_VIDEO_DRIVER_IPOD
#undef SDL_VIDEO_DRIVER_NANOX
#undef SDL_VIDEO_DRIVER_NDS
#undef SDL_VIDEO_DRIVER_OS2FS
@@ -195,12 +195,10 @@ SDL_StopEventThread(void)
SDL_EventThread = NULL;
SDL_DestroyMutex(SDL_EventLock.lock);
}
#ifndef IPOD
if (SDL_EventQ.lock) {
SDL_DestroyMutex(SDL_EventQ.lock);
SDL_EventQ.lock = NULL;
}
#endif
}

Uint32
@@ -33,10 +33,6 @@
#define CANT_THREAD_EVENTS
#endif

#ifdef IPOD /* iPod doesn't support threading at all */
#define CANT_THREAD_EVENTS
#endif

#ifdef __OS2__ /* The OS/2 event loop runs in a separate thread */
#define MUST_THREAD_EVENTS
#endif
@@ -344,9 +344,6 @@ extern VideoBootStrap X11_bootstrap;
#if SDL_VIDEO_DRIVER_NANOX
extern VideoBootStrap NX_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_IPOD
extern VideoBootStrap iPod_bootstrap;
#endif
#if SDL_VIDEO_DRIVER_WSCONS
extern VideoBootStrap WSCONS_bootstrap;
#endif
@@ -58,9 +58,6 @@ static VideoBootStrap *bootstrap[] = {
#if SDL_VIDEO_DRIVER_NANOX
&NX_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_IPOD
&iPod_bootstrap,
#endif
#if SDL_VIDEO_DRIVER_WSCONS
&WSCONS_bootstrap,
#endif

0 comments on commit 18dc173

Please sign in to comment.