diff configure @ 7946:f483ab704252

postprocessing cleanup: remove opendivx #ifdefs remove rk1 filter remove unused / obsolete stuff add -1,4,2,4,-1 deinterlacing filter (ffmpeg uses that) threadsafe / no more non-const globals some optimizations different strides for Y,U,V possible remove ebx usage (someone really should fix gcc, this is really lame) change the dering filter slightly (tell me if its worse for any files)
author michael
date Mon, 28 Oct 2002 19:31:04 +0000
parents 283093551036
children 9b8dd240314d
line wrap: on
line diff
--- a/configure	Mon Oct 28 17:08:37 2002 +0000
+++ b/configure	Mon Oct 28 19:31:04 2002 +0000
@@ -216,6 +216,7 @@
                          options with --enable-static="-lslang -lncurses"
   --language=xx          select a language (for translated messages/gui) [en]
                          (Available: $LANGUAGES)
+  --enabled-shared-pp    install & use shared postprocessing lib
 
 Advanced options:
   --enable-mmx           build with mmx support [autodetect]
@@ -1006,6 +1007,7 @@
 _cdparanoia=auto
 _big_endian=auto
 _freetype=no
+_shared_pp=no
 
 for ac_option do
   case "$ac_option" in
@@ -1181,6 +1183,9 @@
   --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;;
   --disable-dga) _dga=no ;;
 
+  --enable-shared-pp) _shared_pp=yes ;;
+  --disable-shared-pp) _shared_pp=no ;;
+
   --language=*)
     LINGUAS=`echo $ac_option | cut -d '=' -f 2`
     ;;
@@ -4164,6 +4169,14 @@
 fi
 echores "$_byte_order"
 
+echocheck "shared postprocess lib"
+if test "$_shared_pp" = yes ; then
+  _ld_pp='-lpostproc'
+else
+  _ld_pp='postproc/libpostproc.a'
+fi
+echores "$_shared_pp"
+
 # --------------- GUI specific tests begin -------------------
 echocheck "GUI"
 echo "$_gui"
@@ -4431,6 +4444,8 @@
 STREAMING_LIVE_DOT_COM = $_live
 STREAMING_LIB = $_ld_streaming $_ld_live
 VIDIX = $_vidix
+PP_LIB = $_ld_pp
+SHARED_PP = $_shared_pp
 
 OPENDIVX = $_opendivx