[PATCH 1/2] Add AV_CONFIG_* symbols for libav* libs to libavutil/avconfig.h.

Stefano Sabatini stefano.sabatini-lala
Wed Mar 3 00:53:47 CET 2010


---
 configure |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 902332f..f307b47 100755
--- a/configure
+++ b/configure
@@ -874,14 +874,19 @@ COMPONENT_LIST="
     protocols
 "
 
-CONFIG_LIST="
-    $COMPONENT_LIST
-    aandct
+CONFIG_LIST_PUB='
+    avutil
     avcodec
+    avformat
     avdevice
     avfilter
+    swscale'
+
+CONFIG_LIST="
+    $COMPONENT_LIST
+    $CONFIG_LIST_PUB
+    aandct
     avfilter_lavf
-    avformat
     avisynth
     beos_netserver
     bzlib
@@ -933,7 +938,6 @@ CONFIG_LIST="
     small
     sram
     static
-    swscale
     swscale_alpha
     vaapi
     vdpau
@@ -3087,6 +3091,7 @@ cat > $TMPH <<EOF
 EOF
 
 print_config AV_HAVE_ $TMPH /dev/null $HAVE_LIST_PUB
+print_config AV_CONFIG_ $TMPH /dev/null $CONFIG_LIST_PUB
 
 echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
 
-- 
1.6.6.1


--RnlQjJ0d97Da+TV1--



More information about the ffmpeg-devel mailing list