[MPlayer-cvslog] r21358 - in trunk: configure mencoder.c mplayer.c

diego subversion at mplayerhq.hu
Tue Nov 28 19:29:24 CET 2006


Author: diego
Date: Tue Nov 28 19:29:24 2006
New Revision: 21358

Modified:
   trunk/configure
   trunk/mencoder.c
   trunk/mplayer.c

Log:
Make MPlayer/MEncoder print the compile-time configuration in verbose mode.
based on a patch by Brian Murray, brian game-sat com


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Nov 28 19:29:24 2006
@@ -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 @@
 #ifndef MPLAYER_CONFIG_H
 #define MPLAYER_CONFIG_H 1
 
+#define CONFIGURATION "$_configuration"
+
 /* use GNU internationalization */
 $_def_i18n
 

Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c	(original)
+++ trunk/mencoder.c	Tue Nov 28 19:29:24 2006
@@ -495,6 +495,8 @@
 		}
 	}
 }				
+ /* Display what configure line was used */
+ mp_msg(MSGT_MENCODER, MSGL_V, "Configuration: " CONFIGURATION "\n");
 
 
 if (frameno_filename) {

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Tue Nov 28 19:29:24 2006
@@ -3757,6 +3757,9 @@
       } 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);



More information about the MPlayer-cvslog mailing list