summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
-rw-r--r--mencoder.c2
-rw-r--r--mplayer.c3
3 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index cc2433153e..66b870b833 100755
--- a/configure
+++ b/configure
@@ -53,6 +53,9 @@
LC_ALL=C
export LC_ALL
+# Store the configure line that was used
+_configuration="$*"
+
# Prefer these macros to full length text !
# These macros only return an error code - NO display is done
compile_check() {
@@ -7527,6 +7530,8 @@ cat > config.h << EOF
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1
+#define CONFIGURATION "$_configuration"
+
/* use GNU internationalization */
$_def_i18n
diff --git a/mencoder.c b/mencoder.c
index c993c60137..55e5f746ed 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -495,6 +495,8 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
}
}
}
+ /* Display what configure line was used */
+ mp_msg(MSGT_MENCODER, MSGL_V, "Configuration: " CONFIGURATION "\n");
if (frameno_filename) {
diff --git a/mplayer.c b/mplayer.c
index 11f0f2b2d2..4b84d1b8a7 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3757,6 +3757,9 @@ if(!codecs_file || !parse_codec_cfg(codecs_file)){
} else gui_no_filename=1;
}
+ /* Display what configure line was used */
+ mp_msg(MSGT_CPLAYER, MSGL_V, "Configuration: " CONFIGURATION "\n");
+
// Many users forget to include command line in bugreports...
if( mp_msg_test(MSGT_CPLAYER,MSGL_V) ){
mp_msg(MSGT_CPLAYER, MSGL_INFO, MSGTR_CommandLine);