]> granicus.if.org Git - libexpat/commitdiff
qa.sh: Dump config.log for configure failures
authorSebastian Pipping <sebastian@pipping.org>
Sun, 27 Jan 2019 16:08:36 +0000 (17:08 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 27 Jan 2019 20:58:15 +0000 (21:58 +0100)
expat/qa.sh

index 95daf222752905b3248ac9f003bfc3bbdbaccce6..6a26976f63e945215cc87cc5cb31f6a9574d43b6 100755 (executable)
@@ -89,7 +89,8 @@ main() {
                 CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
                 AR="${AR}" \
                 LD="${LD}" LDFLAGS="${LDFLAGS}" \
-                ./configure "$@"
+                ./configure "$@" \
+            || { RUN cat config.log ; false ; }
 
         RUN "${MAKE}" \
                 CFLAGS="${CFLAGS} -Werror" \