summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-02-19 22:50:28 +0000
committerMåns Rullgård <mans@mansr.com>2008-02-19 22:50:28 +0000
commite97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d (patch)
tree91704075078c36e174778d909394a3b1f3ce42f5 /configure
parentcea9642014e833799eca40db03530ed0002f99d8 (diff)
Clean up lib* version definitions
Updating version numbers now requires changing only one place. Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 194808feee..be46e5922c 100755
--- a/configure
+++ b/configure
@@ -2005,7 +2005,7 @@ fi
get_version(){
name=$1
file=$source_path/$2
- grep "#define ${name}_VERSION " "$file" | sed 's/[^0-9\.]//g'
+ grep "#define ${name}_VERSION_TRIPLET " "$file" | sed 's/[^0-9,]//g' | tr , .
}
sws_version=$(get_version LIBSWSCALE libswscale/swscale.h)