]> granicus.if.org Git - libx264/commitdiff
Move X264_VERSION / X264_POINTVER from config.h to x264_config.h
authorAnton Mitrofanov <BugMaster@narod.ru>
Wed, 27 Jul 2011 20:26:27 +0000 (00:26 +0400)
committerFiona Glaser <fiona@x264.com>
Fri, 29 Jul 2011 19:09:33 +0000 (12:09 -0700)
This makes them available to external programs as part of the public API.

configure

index 5dc26749d47d29e9a254bad988a3966b810224a7..dc1179e3e0080429a7b592c6da67921a33406371 100755 (executable)
--- 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