configure.in
changeset 5048 187d7d446306
parent 5047 edaf3e364a05
child 5050 2add0d17180b
     1.1 --- a/configure.in	Wed Jan 19 22:21:31 2011 -0800
     1.2 +++ b/configure.in	Wed Jan 19 22:25:40 2011 -0800
     1.3 @@ -1546,46 +1546,6 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 -dnl See if we're running on PlayStation 3 Cell hardware
     1.8 -CheckPS3()
     1.9 -{
    1.10 -  AC_ARG_ENABLE(video-ps3,
    1.11 -                AC_HELP_STRING([--enable-video-ps3], [use PlayStation 3 Cell driver [[default=yes]]]),
    1.12 -                , enable_video_ps3=yes)
    1.13 -  if test x$enable_video = xyes -a x$enable_video_ps3 = xyes; then 
    1.14 -    video_ps3=no
    1.15 -    AC_CHECK_HEADER([linux/fb.h])
    1.16 -    AC_CHECK_HEADER([asm/ps3fb.h], [have_ps3fb_hdr=yes], [],
    1.17 -            [#ifndef _LINUX_TYPES_H
    1.18 -                #include <linux/types.h>
    1.19 -            #endif])
    1.20 -    AC_CHECK_HEADER([libspe2.h], have_libspe2_hdr=yes)
    1.21 -    AC_CHECK_LIB([spe2], spe_context_create, have_spe2_lib=yes)
    1.22 -
    1.23 -    AC_CHECK_PROGS(SPU_GCC, [spu-gcc])
    1.24 -    AC_CHECK_PROGS(EMBEDSPU, [embedspu])
    1.25 -
    1.26 -    have_spu_libs=yes
    1.27 -    AC_CHECK_LIB([fb_writer_spu], [main], [], [have_spu_libs=no])
    1.28 -    AC_CHECK_LIB([yuv2rgb_spu], [main], [], [have_spu_libs=no])
    1.29 -    AC_CHECK_LIB([bilin_scaler_spu], [main], [], [have_spu_libs=no])
    1.30 -    if test x$have_ps3fb_hdr = xyes -a x$have_libspe2_hdr = xyes -a x$have_spe2_lib = xyes -a "$SPU_GCC" -a "$EMBEDSPU"; then
    1.31 -        AC_DEFINE(SDL_VIDEO_DRIVER_PS3)
    1.32 -        video_ps3=yes
    1.33 -        have_video=yes
    1.34 -        SOURCES="$SOURCES $srcdir/src/video/ps3/*.c"
    1.35 -        EXTRA_CFLAGS="$EXTRA_CFLAGS -I/opt/cell/sdk/usr/include"
    1.36 -        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/cell/sdk/usr/lib -lspe2 -lfb_writer_spu -lyuv2rgb_spu -lbilin_scaler_spu"
    1.37 -
    1.38 -        if test x$have_spu_libs = xno; then 
    1.39 -              AC_MSG_WARN([ps3libs missing, please run make ps3libs])
    1.40 -        fi
    1.41 -    fi
    1.42 -    AC_MSG_CHECKING([for PlayStation 3 Cell support])
    1.43 -    AC_MSG_RESULT([$video_ps3])
    1.44 -  fi
    1.45 -}
    1.46 -
    1.47  dnl rcg04172001 Set up the Null video driver.
    1.48  CheckDummyVideo()
    1.49  {
    1.50 @@ -2245,7 +2205,6 @@
    1.51          CheckX11
    1.52          CheckDirectFB
    1.53          CheckFusionSound
    1.54 -        CheckPS3
    1.55          CheckOpenGLX11
    1.56          CheckInputEvents
    1.57          CheckTslib