From 5e3013c4cb452b8ddbb4b8f7a2544f68bb309a4c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 19 Jun 2015 10:44:40 +0100 Subject: [PATCH] If configure fails, display config.log file before exiting. --- qemu-sanity-check.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qemu-sanity-check.spec b/qemu-sanity-check.spec index 59eca76..cd8a465 100644 --- a/qemu-sanity-check.spec +++ b/qemu-sanity-check.spec @@ -85,7 +85,10 @@ autoreconf -i %build # NB: canonical_arch is a variable in the final script, so it # has to be escaped here. -%configure --with-qemu-list="qemu-system-\$canonical_arch" +%configure --with-qemu-list="qemu-system-\$canonical_arch" || { + cat config.log + exit 1 +} make %{?_smp_mflags}