]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docker: Print used options before doing configure
authorFam Zheng <famz@redhat.com>
Wed, 21 Sep 2016 03:49:25 +0000 (11:49 +0800)
committerFam Zheng <famz@redhat.com>
Fri, 23 Sep 2016 03:48:32 +0000 (11:48 +0800)
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>
tests/docker/common.rc

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