Comments
Patch
@@ -74,7 +74,14 @@ oe_runconf () {
cfgscript="${S}/configure"
if [ -x "$cfgscript" ] ; then
bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
- ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed"
+ set +e
+ ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"
+ if [ "$?" != "0" ]; then
+ echo "Configure failed. The contents of all config.log files follows to aid debugging"
+ find ${S} -name config.log -print -exec cat {} \;
+ bbfatal "oe_runconf failed"
+ fi
+ set -e
else
bbfatal "no configure script found at $cfgscript"
fi