diff configure @ 10689:c6c54f467984

TGA image output VO module patch by Daniele Forghieri ( guru@digitalfantasy.it )
author arpi
date Sun, 24 Aug 2003 18:26:37 +0000
parents 5cf84c487446
children bae3e8c81ada
line wrap: on
line diff
--- a/configure	Sun Aug 24 18:09:29 2003 +0000
+++ b/configure	Sun Aug 24 18:26:37 2003 +0000
@@ -227,7 +227,8 @@
   --enable-zr            build with ZR360[56]7/ZR36060 support [autodetect]
   --enable-bl		 build with Blinkenlights support [disable]
   --enable-tdfxvid       build with tdfx vid support [disable]
-
+  --disable_tga          disable targa output support [enable]
+  
 Audio output:
   --disable-ossaudio     disable OSS sound support [autodetect]
   --disable-arts         disable aRts sound support [autodetect]
@@ -1120,6 +1121,7 @@
 _3dfx=no
 _tdfxfb=no
 _tdfxvid=no
+_tga=yes
 _directfb=auto
 _zr=auto
 _bl=no
@@ -1318,6 +1320,8 @@
   --enable-tdfxfb)	_tdfxfb=yes	;;
   --disable-tdfxvid)	_tdfxvid=no	;;
   --enable-tdfxvid)	_tdfxvid=yes	;;
+  --disable-tga)	_tga=no	  	;;
+  --enable-tga)		_tga=yes	;;
   --disable-tdfxfb)	_tdfxfb=no	;;
   --enable-directfb)	_directfb=yes	;;
   --disable-directfb)	_directfb=no	;;
@@ -2591,6 +2595,17 @@
 fi
 echores "$_tdfxfb"
 
+echocheck "tga"
+if test "$_tga" = yes ; then
+  _def_tga='#define HAVE_TGA 1'
+  _vosrc="$_vosrc vo_tga.c"
+  _vomodules="tga $_vomodules"
+else
+  _def_tga='#undef HAVE_TGA'
+  _novomodules="tga $_novomodules"
+fi
+echores "$_tga"
+
 echocheck "DirectFB headers presence"
 if test -z "$_inc_directfb" ; then
   for I in /usr/include /usr/local/include; do
@@ -6065,6 +6080,7 @@
 $_def_vesa
 $_def_xdpms
 $_def_aa
+$_def_tga
 
 /* used by GUI: */
 $_def_xshape