comparison configure.in @ 3141:3df74541339b gsoc2009_ps3

Added ps3 video driver based on the dummy driver. Added spulib for copying to framebuffer. Added SPU managing functions. Added open/close and taking control of the framebuffer.
author Martin Lowinski <martin@goldtopf.org>
date Fri, 29 May 2009 09:50:21 +0000
parents df2bb5735822
children 0d8d1f870964
comparison
equal deleted inserted replaced
3140:9ef99b844c60 3141:3df74541339b
1499 have_video=yes 1499 have_video=yes
1500 fi 1500 fi
1501 fi 1501 fi
1502 } 1502 }
1503 1503
1504 dnl See if we're running on PlayStation 3 Cell hardware
1505 CheckPS3()
1506 {
1507 AC_ARG_ENABLE(video-ps3,
1508 AC_HELP_STRING([--enable-video-ps3], [use PlayStation 3 Cell driver [[default=yes]]]),
1509 , enable_video_ps3=yes)
1510 if test x$enable_video = xyes -a x$enable_video_ps3 = xyes; then
1511 AC_MSG_CHECKING(for PlayStation 3 Cell support)
1512 video_ps3=no
1513 AC_TRY_COMPILE([
1514 #include <linux/fb.h>
1515 #include <asm/ps3fb.h>
1516 ],[
1517 ],[
1518 video_ps3=yes
1519 ])
1520 AC_MSG_RESULT($video_ps3)
1521 if test x$video_ps3 = xyes; then
1522 AC_DEFINE(SDL_VIDEO_DRIVER_PS3)
1523 SOURCES="$SOURCES $srcdir/src/video/ps3/*.c"
1524 EXTRA_CFLAGS="$EXTRA_CFLAGS -I/opt/cell/sdk/usr/include"
1525 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/cell/sdk/usr/lib -lspe2 -lfb_writer_spu"
1526 have_video=yes
1527 fi
1528 fi
1529 }
1530
1504 dnl Find the SVGAlib includes and libraries 1531 dnl Find the SVGAlib includes and libraries
1505 CheckSVGA() 1532 CheckSVGA()
1506 { 1533 {
1507 AC_ARG_ENABLE(video-svga, 1534 AC_ARG_ENABLE(video-svga,
1508 AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]), 1535 AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=no]]]),
2378 CheckNANOX 2405 CheckNANOX
2379 CheckFBCON 2406 CheckFBCON
2380 CheckDirectFB 2407 CheckDirectFB
2381 CheckFusionSound 2408 CheckFusionSound
2382 CheckPS2GS 2409 CheckPS2GS
2410 CheckPS3
2383 CheckSVGA 2411 CheckSVGA
2384 CheckVGL 2412 CheckVGL
2385 CheckWscons 2413 CheckWscons
2386 CheckOpenGLX11 2414 CheckOpenGLX11
2387 CheckInputEvents 2415 CheckInputEvents