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.
This commit is contained in:
Olaf Bergmann committed 2016-10-26 18:47:08 +02:00
1 parent 58ff2feabb
commit 79212255a1
1 file changed
+2 -1
+2 -1
View File
@@ -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