docker: Print used options before doing configure

This makes the configure command more obvious which usually has useful
information.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1474429768-25027-7-git-send-email-famz@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Fam Zheng 2016-09-21 11:49:25 +08:00
parent 3d3a6eb60d
commit 9445c28ec3
1 changed files with 8 additions and 6 deletions

View File

@ -23,11 +23,13 @@ requires()
build_qemu() build_qemu()
{ {
$QEMU_SRC/configure \ config_opts="--enable-werror \
--enable-werror \ ${TARGET_LIST:+--target-list=${TARGET_LIST}} \
${TARGET_LIST:+"--target-list=${TARGET_LIST}"} \ --prefix=$PWD/install \
--prefix="$PWD/install" \ $EXTRA_CONFIGURE_OPTS \
$EXTRA_CONFIGURE_OPTS \ $@"
"$@" echo "Configure options:"
echo $config_opts
$QEMU_SRC/configure $config_opts
make $MAKEFLAGS make $MAKEFLAGS
} }