From: Anton Mitrofanov Date: Wed, 27 Jul 2011 20:26:27 +0000 (+0400) Subject: Move X264_VERSION / X264_POINTVER from config.h to x264_config.h X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=1c7dbec5f17ee091bae445584a4f05783e4aae9e;p=x264.git Move X264_VERSION / X264_POINTVER from config.h to x264_config.h This makes them available to external programs as part of the public API. --- diff --git a/configure b/configure index 5dc26749..dc1179e3 100755 --- a/configure +++ b/configure @@ -1054,7 +1054,7 @@ fi echo "LDFLAGSCLI = $LDFLAGSCLI" >> config.mak echo "CLI_LIBX264 = $CLI_LIBX264" >> config.mak -./version.sh >> config.h +./version.sh >> x264_config.h pclibs="-L$libdir -lx264 $libpthread" @@ -1066,7 +1066,7 @@ includedir=$includedir Name: x264 Description: H.264 (MPEG4 AVC) encoder library -Version: $(grep POINTVER < config.h | sed -e 's/.* "//; s/".*//') +Version: $(grep POINTVER < x264_config.h | sed -e 's/.* "//; s/".*//') Libs: $pclibs Cflags: -I$includedir EOF