diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-29 22:49:18 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-29 22:49:18 +0200 |
commit | 0c2a302948d7e2ca5938e19bdc6c66649c7b6a34 (patch) | |
tree | 023267c65baa5f6dfd2fd3a894a6954c45ebf5ad /configure | |
parent | afecdb681bed81b5df0ed18a300c68be603dfdf9 (diff) | |
download | mpv-0c2a302948d7e2ca5938e19bdc6c66649c7b6a34.tar.bz2 mpv-0c2a302948d7e2ca5938e19bdc6c66649c7b6a34.tar.xz |
configure: show PKG_CONFIG_PATH and CFLAGS in config.log
When the build wrapper repo scripts run configure they set a custom
PKG_CONFIG_PATH environment variable. Show the value of this in
config.log to make it easier to rerun configure with a tweaked version
of the same parameters. Also show CFLAGS if set, as it's likely to
break things.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1374,7 +1374,14 @@ TMPH="$mplayer_tmpdir/tmp.h" TMPS="$mplayer_tmpdir/tmp.S" rm -f "$TMPLOG" -echo configuration: $configuration > "$TMPLOG" +echo Parameters configure was run with: > "$TMPLOG" +if test -n "$CFLAGS" ; then + echo ${_echo_n} CFLAGS="'$CFLAGS' ${_echo_c}" >> "$TMPLOG" +fi +if test -n "$PKG_CONFIG_PATH" ; then + echo ${_echo_n} PKG_CONFIG_PATH="'$PKG_CONFIG_PATH' ${_echo_c}" >> "$TMPLOG" +fi +echo ./configure $configuration >> "$TMPLOG" echo >> "$TMPLOG" |