summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 37e7d4b482..7536bac396 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -70,11 +70,12 @@ CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking"
70 70
71 71
72oe_runconf () { 72oe_runconf () {
73 if [ -x ${S}/configure ] ; then 73 cfgscript="${S}/configure"
74 bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" 74 if [ -x "$cfgscript" ] ; then
75 ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed" 75 bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
76 $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed"
76 else 77 else
77 bbfatal "no configure script found" 78 bbfatal "no configure script found at $cfgscript"
78 fi 79 fi
79} 80}
80 81