Mercurial > sdl-ios-xcode
comparison configure.in @ 3158:30f3b987fec3 gsoc2009_ps3
created env (fbcon-1.3) and added basic files
author | Martin Lowinski <martin@goldtopf.org> |
---|---|
date | Sat, 07 Nov 2009 11:35:19 +0000 |
parents | abc49915ccb2 |
children |
comparison
equal
deleted
inserted
replaced
3157:cce01ba54174 | 3158:30f3b987fec3 |
---|---|
934 fi | 934 fi |
935 } | 935 } |
936 | 936 |
937 | 937 |
938 dnl Do the iPod thing | 938 dnl Do the iPod thing |
939 CheckIPod() | 939 #CheckIPod() |
940 { | 940 #{ |
941 AC_ARG_ENABLE(ipod, | 941 # AC_ARG_ENABLE(ipod, |
942 AC_HELP_STRING([--enable-ipod], [configure SDL to work with iPodLinux [default=yes on arm-elf]]), | 942 #AC_HELP_STRING([--enable-ipod], [configure SDL to work with iPodLinux [default=yes on arm-elf]]), |
943 , enable_ipod=yes) | 943 # , enable_ipod=yes) |
944 | 944 # |
945 if test x$enable_ipod = xyes; then | 945 # if test x$enable_ipod = xyes; then |
946 EXTRA_CFLAGS="$EXTRA_CFLAGS -DIPOD" | 946 # EXTRA_CFLAGS="$EXTRA_CFLAGS -DIPOD" |
947 AC_DEFINE(SDL_VIDEO_DRIVER_IPOD) | 947 # AC_DEFINE(SDL_VIDEO_DRIVER_IPOD) |
948 SOURCES="$SOURCES $srcdir/src/video/ipod/*.c" | 948 # SOURCES="$SOURCES $srcdir/src/video/ipod/*.c" |
949 fi | 949 # fi |
950 } | 950 #} |
951 | 951 |
952 dnl Find the nanox include and library directories | 952 dnl Find the nanox include and library directories |
953 CheckNANOX() | 953 CheckNANOX() |
954 { | 954 { |
955 AC_ARG_ENABLE(video-nanox, | 955 AC_ARG_ENABLE(video-nanox, |
1347 ]) | 1347 ]) |
1348 AC_MSG_RESULT($video_fbcon) | 1348 AC_MSG_RESULT($video_fbcon) |
1349 if test x$video_fbcon = xyes; then | 1349 if test x$video_fbcon = xyes; then |
1350 AC_CHECK_FUNCS(getpagesize) | 1350 AC_CHECK_FUNCS(getpagesize) |
1351 AC_DEFINE(SDL_VIDEO_DRIVER_FBCON) | 1351 AC_DEFINE(SDL_VIDEO_DRIVER_FBCON) |
1352 SOURCES="$SOURCES $srcdir/src/video/fbcon/*.c" | 1352 SOURCES="$SOURCES $srcdir/src/video/fbcon-1.3/*.c" |
1353 have_video=yes | 1353 have_video=yes |
1354 fi | 1354 fi |
1355 fi | 1355 fi |
1356 } | 1356 } |
1357 | 1357 |
2370 dnl Set up the configuration based on the host platform! | 2370 dnl Set up the configuration based on the host platform! |
2371 case "$host" in | 2371 case "$host" in |
2372 arm-*-elf*) # FIXME: Can we get more specific for iPodLinux? | 2372 arm-*-elf*) # FIXME: Can we get more specific for iPodLinux? |
2373 ARCH=linux | 2373 ARCH=linux |
2374 CheckDummyVideo | 2374 CheckDummyVideo |
2375 CheckIPod | 2375 #CheckIPod |
2376 # Set up files for the timer library | 2376 # Set up files for the timer library |
2377 if test x$enable_timers = xyes; then | 2377 if test x$enable_timers = xyes; then |
2378 AC_DEFINE(SDL_TIMER_UNIX) | 2378 AC_DEFINE(SDL_TIMER_UNIX) |
2379 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" | 2379 SOURCES="$SOURCES $srcdir/src/timer/unix/*.c" |
2380 have_timers=yes | 2380 have_timers=yes |