comparison configure.in @ 3268:82ce350be859

Removed outdated iPodLinux support
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 06:24:07 +0000
parents 94fb40a4a9a7
children fb9b6b2924ba
comparison
equal deleted inserted replaced
3267:7690aa2f5b74 3268:82ce350be859
941 EXTRA_CFLAGS="$EXTRA_CFLAGS $visibility_CFLAGS" 941 EXTRA_CFLAGS="$EXTRA_CFLAGS $visibility_CFLAGS"
942 fi 942 fi
943 } 943 }
944 944
945 945
946 dnl Do the iPod thing
947 CheckIPod()
948 {
949 AC_ARG_ENABLE(ipod,
950 AC_HELP_STRING([--enable-ipod], [configure SDL to work with iPodLinux [default=yes on arm-elf]]),
951 , enable_ipod=yes)
952
953 if test x$enable_ipod = xyes; then
954 EXTRA_CFLAGS="$EXTRA_CFLAGS -DIPOD"
955 AC_DEFINE(SDL_VIDEO_DRIVER_IPOD)
956 SOURCES="$SOURCES $srcdir/src/video/ipod/*.c"
957 fi
958 }
959
960 dnl Find the nanox include and library directories 946 dnl Find the nanox include and library directories
961 CheckNANOX() 947 CheckNANOX()
962 { 948 {
963 AC_ARG_ENABLE(video-nanox, 949 AC_ARG_ENABLE(video-nanox,
964 AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]), 950 AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]),
2002 *) 1988 *)
2003 pthread_cflags="-D_REENTRANT" 1989 pthread_cflags="-D_REENTRANT"
2004 pthread_lib="-lpthread" 1990 pthread_lib="-lpthread"
2005 ;; 1991 ;;
2006 esac 1992 esac
2007 if test x$enable_threads = xyes -a x$enable_pthreads = xyes -a x$enable_ipod != xyes; then 1993 if test x$enable_threads = xyes -a x$enable_pthreads = xyes; then
2008 # Save the original compiler flags and libraries 1994 # Save the original compiler flags and libraries
2009 ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS" 1995 ac_save_cflags="$CFLAGS"; ac_save_libs="$LIBS"
2010 # Add the pthread compiler flags and libraries 1996 # Add the pthread compiler flags and libraries
2011 CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib" 1997 CFLAGS="$CFLAGS $pthread_cflags"; LIBS="$LIBS $pthread_lib"
2012 # Check to see if we have pthread support on this system 1998 # Check to see if we have pthread support on this system