From 767eb40238f6c4476508f88e27bd8886e7bed29e Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 25 Sep 2014 23:44:45 -0700 Subject: [PATCH] iosbuild: output autoconf req. on failure Change-Id: I2a6d80cf22f5b58e80345a411c48f047fecdbb47 --- iosbuild.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/iosbuild.sh b/iosbuild.sh index 888219f3..3dee936e 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -47,7 +47,17 @@ rm -rf ${TARGETDIR} mkdir -p ${BUILDDIR} mkdir -p ${TARGETDIR}/Headers/ -[[ -e ${SRCDIR}/configure ]] || (cd ${SRCDIR} && sh autogen.sh) +if [[ ! -e ${SRCDIR}/configure ]]; then + if ! (cd ${SRCDIR} && sh autogen.sh); then + cat <