From: Loren Merritt Date: Sat, 29 Nov 2008 11:54:02 +0000 (+0000) Subject: add date and compiler to `x264 --version` X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=2f031b0e31b799072383792358eee376baeb2ba7;p=x264.git add date and compiler to `x264 --version` --- diff --git a/x264.c b/x264.c index e8febc28..a1a8c94f 100644 --- a/x264.c +++ b/x264.c @@ -512,6 +512,12 @@ static int Parse( int argc, char **argv, printf( "x264 "X264_POINTVER"\n" ); #else printf( "x264 0.%d.X\n", X264_BUILD ); +#endif + printf( "built on " __DATE__ ", " ); +#ifdef __GNUC__ + printf( "gcc: " __VERSION__ "\n" ); +#else + printf( "using a non-gcc compiler\n" ); #endif exit(0); case OPT_FRAMES: