From 0c2a302948d7e2ca5938e19bdc6c66649c7b6a34 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 29 Feb 2012 22:49:18 +0200 Subject: 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. --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 4a1f9ddd9c..f59b1b5a73 100755 --- a/configure +++ b/configure @@ -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" -- cgit v1.2.3