From 79212255a1d1f6fe5ee97631940818e0ef0a68ee Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 26 Oct 2016 18:47:08 +0200 Subject: [PATCH] scripts/build.sh: more debug output This change outputs the config.log when configure failed. Moreover, a local cunit.pc will be output to see why the build still fails. --- scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index ff933a56..c8ead3d7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,11 +2,12 @@ if test "x$TESTS" = "xyes" -o "x$TESTS" = "xtrue" ; then WITH_TESTS="`scripts/fix-cunit.sh` --enable-tests" + test -f cunit.pc && echo cat `pwd`/cunit.pc fi config() { echo "./configure $*" - ./configure $* + ./configure $* || cat config.log } case "${PLATFORM}" in