summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-28 18:29:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-28 18:29:24 +0000
commit0810e42750fb2e2e0d602388cef1b8ea8015d935 (patch)
tree2c05e5a8221cfa6b5c25bb1a485983766c9462c5 /configure
parentcaffd06415507eb8029df052d0ae23a72b9609c6 (diff)
downloadmpv-0810e42750fb2e2e0d602388cef1b8ea8015d935.tar.bz2
mpv-0810e42750fb2e2e0d602388cef1b8ea8015d935.tar.xz
Make MPlayer/MEncoder print the compile-time configuration in verbose mode.
based on a patch by Brian Murray, brian game-sat com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 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