[x264-devel] Move X264_VERSION / X264_POINTVER from config.h to x264_config.h

Anton Mitrofanov git at videolan.org
Sat Jul 30 05:54:46 CEST 2011


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Thu Jul 28 00:26:27 2011 +0400| [1c7dbec5f17ee091bae445584a4f05783e4aae9e] | committer: Jason Garrett-Glaser

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=1c7dbec5f17ee091bae445584a4f05783e4aae9e
---

 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 5dc2674..dc1179e 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



More information about the x264-devel mailing list