diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-09-22 12:23:14 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-09-22 12:23:14 +0000 |
commit | a3d7c19728e1ccf68a2fcc5167767abda558331d (patch) | |
tree | 1c99ab5d5ed423d59a19ae5fbdd73bc6b5ef5a7f /cmdutils.c | |
parent | 5c1f57ffdf663d57def89d9712afeb041059dfb2 (diff) | |
download | ffmpeg-a3d7c19728e1ccf68a2fcc5167767abda558331d.tar.gz |
Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.
Originally committed as revision 19963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cmdutils.c b/cmdutils.c index ee195879dd..ffa5957b71 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -333,12 +333,8 @@ void show_banner(void) { fprintf(stderr, "%s version " FFMPEG_VERSION ", Copyright (c) %d-%d Fabrice Bellard, et al.\n", program_name, program_birth_year, this_year); - fprintf(stderr, " built on " __DATE__ " " __TIME__); -#ifdef __GNUC__ - fprintf(stderr, ", gcc: " __VERSION__ "\n"); -#else - fprintf(stderr, ", using a non-gcc compiler\n"); -#endif + fprintf(stderr, " built on %s %s with %s %s\n", + __DATE__, __TIME__, CC_TYPE, CC_VERSION); fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n"); print_all_lib_versions(stderr, 1); } |