From ac63af34b56de848d78a445bfb9fb5908c9ac719 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 26 Sep 2008 21:37:50 +0000 Subject: Add support for passing a version string to configure that is appended to FFmpeg's version string output. This can be used by distributions to mark their packages as being modified versions without hacking the sources. Originally committed as revision 15433 to svn://svn.ffmpeg.org/ffmpeg/trunk --- version.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'version.sh') diff --git a/version.sh b/version.sh index 121a8d3300..5f97f6d5ff 100755 --- a/version.sh +++ b/version.sh @@ -15,6 +15,8 @@ fi # no version number found test $revision || revision=UNKNOWN +test "$3" && revision=$revision-$3 + NEW_REVISION="#define FFMPEG_VERSION \"$revision\"" OLD_REVISION=`cat version.h 2> /dev/null` -- cgit v1.2.3