summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9b36f3c7b6..02b984db63 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -74,7 +74,14 @@ oe_runconf () {
74 cfgscript="${S}/configure" 74 cfgscript="${S}/configure"
75 if [ -x "$cfgscript" ] ; then 75 if [ -x "$cfgscript" ] ; then
76 bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" 76 bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
77 ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed" 77 set +e
78 ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"
79 if [ "$?" != "0" ]; then
80 echo "Configure failed. The contents of all config.log files follows to aid debugging"
81 find ${S} -name config.log -print -exec cat {} \;
82 bbfatal "oe_runconf failed"
83 fi
84 set -e
78 else 85 else
79 bbfatal "no configure script found at $cfgscript" 86 bbfatal "no configure script found at $cfgscript"
80 fi 87 fi