changeset 26997:73765d84dbc8

Add support for enabling VIDIX dhahelper.
author diego
date Sun, 08 Jun 2008 10:38:28 +0000
parents a15f6e3b669c
children 29bfddf7af0a
files configure
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jun 08 10:14:38 2008 +0000
+++ b/configure	Sun Jun 08 10:38:28 2008 +0000
@@ -344,6 +344,7 @@
                            Available: cyberblade,ivtv,mach64,mga,mga_crtc2,
                            nvidia,pm2,pm3,radeon,rage128,s3,sis,unichrome
   --disable-vidix-pcidb    disable VIDIX PCI device name database
+  --enable-dhahelper       enable VIDIX dhahelper support
   --enable-svgalib_helper  enable VIDIX svgalib_helper support
   --enable-gl              enable OpenGL video output [autodetect]
   --enable-dga2            enable DGA 2 support [autodetect]
@@ -621,6 +622,7 @@
 _smbsupport=auto
 _vidix=auto
 _vidix_pcidb=yes
+_dhahelper=no
 _svgalib_helper=no
 _joystick=no
 _xvid=auto
@@ -1022,6 +1024,8 @@
     _vidix_drivers=`echo $ac_option | cut -d '=' -f 2`
     ;;
   --disable-vidix-pcidb)        _vidix_pcidb=no         ;;
+  --enable-dhahelper)	_dhahelper=yes	;;
+  --disable-dhahelper)	_dhahelper=no	;;
   --enable-svgalib_helper)	_svgalib_helper=yes	;;
   --disable-svgalib_helper)	_svgalib_helper=no	;;
   --enable-joystick)	_joystick=yes	;;
@@ -4254,6 +4258,10 @@
     _vidix_pcidb_val=0
   fi
 
+  echocheck "VIDIX dhahelper support"
+  test "$_dhahelper" = yes && cflag_dhahelper=-DCONFIG_DHAHELPER
+  echores "$_dhahelper"
+
   echocheck "VIDIX svgalib_helper support"
   test "$_svgalib_helper" = yes && cflag_svgalib_helper=-DCONFIG_SVGAHELPER
   echores "$_svgalib_helper"
@@ -7594,6 +7602,7 @@
 CXXFLAGS = $CXXFLAGS \$(EXTRAXX_INC)
 CFLAG_STACKREALIGN = $_stackrealign
 LIBDVDCSS_DVDREAD_FLAGS = $_libdvdcss_dvdread_flags
+CFLAG_DHAHELPER = $cflag_dhahelper
 CFLAG_SVGALIB_HELPER = $cflag_svgalib_helper
 ASFLAGS = $ASFLAGS