summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-03-03 20:53:15 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-03-03 20:53:15 +0000
commit81124ba0d14a2a86ec555a29d4cd8cc97b84fa13 (patch)
tree758c47c28e72ac2b730caa1e054b0920f9875c9c /configure
parentf15e6b869fc1ff3ffef1b1ac7b394e2155b5fafe (diff)
downloadffmpeg-81124ba0d14a2a86ec555a29d4cd8cc97b84fa13.tar.gz
Fix libavfilter compilation and make it more in line
with the other libav*. Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 5 insertions, 8 deletions
diff --git a/configure b/configure
index 5a19605d6e..44225ecfa0 100755
--- a/configure
+++ b/configure
@@ -858,7 +858,7 @@ tcp_protocol_deps="network"
udp_protocol_deps="network"
# filters
-vsrc_movie_deps="avfilter_lavf"
+movie_filter_deps="avfilter_lavf"
# programs
ffplay_deps="sdl"
@@ -962,7 +962,7 @@ find_things(){
thing=$1
pattern=$2
file=$source_path/$3
- sed -n "s/^[^#]*$pattern.*(.*, *\\(.*\\)).*/\\1_$thing/p" "$file"
+ sed -n "s/^[^#]*$pattern.*([^,]*, *\\([^,]*\\)\(,.*\)*).*/\\1_$thing/p" "$file"
}
ENCODER_LIST=$(find_things encoder ENC libavcodec/allcodecs.c)
@@ -974,9 +974,7 @@ DEMUXER_LIST=$(find_things demuxer DEMUX libavformat/allformats.c)
OUTDEV_LIST=$(find_things muxer _MUX libavdevice/alldevices.c)
INDEV_LIST=$(find_things demuxer DEMUX libavdevice/alldevices.c)
PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
-VIDEO_FILTER_LIST=$(find_things vf_ VF_ libavfilter/allfilters.c)
-SRC_FILTER_LIST=$(find_things vsrc_ VSRC_ libavfilter/allfilters.c)
-FILTER_LIST="$SRC_FILTER_LIST $VIDEO_FILTER_LIST"
+FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
enable $ARCH_EXT_LIST \
$DECODER_LIST \
@@ -1071,8 +1069,7 @@ for opt do
--enable-*=*|--disable-*=*)
eval `echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/'`
case "$thing" in
- encoder|decoder|muxer|demuxer|parser|bsf|protocol) $action ${optval}_${thing} ;;
- filter) $action ${optval} ;;
+ encoder|decoder|muxer|demuxer|parser|bsf|protocol|filter) $action ${optval}_${thing} ;;
*) die_unknown "$opt" ;;
esac
;;
@@ -1920,7 +1917,7 @@ echo "shared ${shared-no}"
echo "postprocessing support ${pp-no}"
echo "software scaler enabled ${swscaler-no}"
echo "new filter support ${avfilter-no}"
-echo "filters using lavformat ${avfilter-lavf-no}"
+echo "filters using lavformat ${avfilter_lavf-no}"
echo "video hooking ${vhook-no}"
if enabled vhook; then
echo "Imlib2 support ${imlib2-no}"