Print compiler version and build date before configuration in console output.

Originally committed as revision 19962 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Diego Biurrun 15 years ago
parent 8f771e76fd
commit 5c1f57ffdf
  1. 4
      cmdutils.c

@ -333,14 +333,14 @@ void show_banner(void)
{ {
fprintf(stderr, "%s version " FFMPEG_VERSION ", Copyright (c) %d-%d Fabrice Bellard, et al.\n", fprintf(stderr, "%s version " FFMPEG_VERSION ", Copyright (c) %d-%d Fabrice Bellard, et al.\n",
program_name, program_birth_year, this_year); program_name, program_birth_year, this_year);
fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
print_all_lib_versions(stderr, 1);
fprintf(stderr, " built on " __DATE__ " " __TIME__); fprintf(stderr, " built on " __DATE__ " " __TIME__);
#ifdef __GNUC__ #ifdef __GNUC__
fprintf(stderr, ", gcc: " __VERSION__ "\n"); fprintf(stderr, ", gcc: " __VERSION__ "\n");
#else #else
fprintf(stderr, ", using a non-gcc compiler\n"); fprintf(stderr, ", using a non-gcc compiler\n");
#endif #endif
fprintf(stderr, " configuration: " FFMPEG_CONFIGURATION "\n");
print_all_lib_versions(stderr, 1);
} }
void show_version(void) { void show_version(void) {

Loading…
Cancel
Save