diff options
author | Måns Rullgård <mans@mansr.com> | 2008-02-26 20:37:59 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-02-26 20:37:59 +0000 |
commit | 800c289a6693c5651072f13a0aafb634ba75ffc7 (patch) | |
tree | cd0722319d2769236f2ec97b617ba3b62fb6c0dd /configure | |
parent | 11fdbc4430785fbed7ce3a9b086e0bcba1690603 (diff) | |
download | ffmpeg-800c289a6693c5651072f13a0aafb634ba75ffc7.tar.gz |
less preprocessor magic in version number macros
Originally committed as revision 12246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2009,7 +2009,7 @@ fi get_version(){ name=$1 file=$source_path/$2 - grep "#define ${name}_VERSION_TRIPLET " "$file" | sed 's/[^0-9,]//g' | tr , . + printf '%s.%s.%s' $(grep "#define ${name}_VERSION_M" "$file" | sed 's/[^0-9]//g') } sws_version=$(get_version LIBSWSCALE libswscale/swscale.h) |