configure.in
changeset 70 f590dd383b5d
parent 68 ac6645260d31
child 72 4210b3e74800
equal deleted inserted replaced
69:280ff3af2ecc 70:f590dd383b5d
   664             VIDEO_DRIVERS="$VIDEO_DRIVERS fbcon/libvideo_fbcon.la"
   664             VIDEO_DRIVERS="$VIDEO_DRIVERS fbcon/libvideo_fbcon.la"
   665         fi
   665         fi
   666     fi
   666     fi
   667 }
   667 }
   668 
   668 
       
   669 dnl See if we're running on PlayStation 2 hardware
       
   670 CheckPS2GS()
       
   671 {
       
   672 dnl    AC_ARG_ENABLE(video-ps2gs,
       
   673 dnl[  --enable-video-ps2gs    use PlayStation 2 GS video driver [default=yes]],
       
   674 dnl                  , enable_video_ps2gs=yes)
       
   675 enable_video_ps2gs=yes
       
   676     if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
       
   677         dnl AC_MSG_CHECKING(for PlayStation 2 GS support)
       
   678         video_ps2gs=no
       
   679         AC_TRY_COMPILE([
       
   680          #include <linux/ps2/dev.h>
       
   681          #include <linux/ps2/gs.h>
       
   682         ],[
       
   683         ],[
       
   684         video_ps2gs=yes
       
   685         ])
       
   686         dnl AC_MSG_RESULT($video_ps2gs)
       
   687         if test x$video_ps2gs = xyes; then
       
   688             CFLAGS="$CFLAGS -DENABLE_PS2GS"
       
   689             VIDEO_SUBDIRS="$VIDEO_SUBDIRS ps2gs"
       
   690             VIDEO_DRIVERS="$VIDEO_DRIVERS ps2gs/libvideo_ps2gs.la"
       
   691         fi
       
   692     fi
       
   693 }
       
   694 
   669 dnl Find the GGI includes
   695 dnl Find the GGI includes
   670 CheckGGI()
   696 CheckGGI()
   671 {
   697 {
   672     AC_ARG_ENABLE(video-ggi,
   698     AC_ARG_ENABLE(video-ggi,
   673 [  --enable-video-ggi      use GGI video driver [default=no]],
   699 [  --enable-video-ggi      use GGI video driver [default=no]],
  1109         CheckNAS
  1135         CheckNAS
  1110         CheckX11
  1136         CheckX11
  1111         CheckNANOX
  1137         CheckNANOX
  1112         CheckDGA
  1138         CheckDGA
  1113         CheckFBCON
  1139         CheckFBCON
       
  1140         CheckPS2GS
  1114         CheckGGI
  1141         CheckGGI
  1115         CheckSVGA
  1142         CheckSVGA
  1116         CheckAAlib
  1143         CheckAAlib
  1117         CheckOpenGL
  1144         CheckOpenGL
  1118         CheckInputEvents
  1145         CheckInputEvents
  2009 src/video/cybergfx/Makefile
  2036 src/video/cybergfx/Makefile
  2010 src/video/x11/Makefile
  2037 src/video/x11/Makefile
  2011 src/video/dga/Makefile
  2038 src/video/dga/Makefile
  2012 src/video/nanox/Makefile
  2039 src/video/nanox/Makefile
  2013 src/video/fbcon/Makefile
  2040 src/video/fbcon/Makefile
       
  2041 src/video/ps2gs/Makefile
  2014 src/video/ggi/Makefile
  2042 src/video/ggi/Makefile
  2015 src/video/maccommon/Makefile
  2043 src/video/maccommon/Makefile
  2016 src/video/macdsp/Makefile
  2044 src/video/macdsp/Makefile
  2017 src/video/macrom/Makefile
  2045 src/video/macrom/Makefile
  2018 src/video/quartz/Makefile
  2046 src/video/quartz/Makefile