From f7d5b31d6cb41f851a304b8ac64da24ce762d44e Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 10 Oct 2011 14:13:05 -0700 Subject: autotools: fix multi-word arguments for EXTRA_OECONF This is needed to better support things like the following (with a multi-word BUILD_CC): EXTRA_OECONF += '"ac_cv_prog_CC_FOR_BUILD=${BUILD_CC}"' (From OE-Core rev: 38a394e7ffedccfabda085c97add8944718943c2) (From OE-Core rev: 5c26de72b97a670a263428ef3a1846385683feeb) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta/classes/autotools.bbclass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index c05ab4b0a0..5b5b8b65de 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -68,10 +68,8 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \ oe_runconf () { if [ -x ${S}/configure ] ; then - cfgcmd="${S}/configure \ - ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" - bbnote "Running $cfgcmd..." - $cfgcmd || bbfatal "oe_runconf failed" + bbnote "Running ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} $@" + ${S}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@" || bbfatal "oe_runconf failed" else bbfatal "no configure script found" fi -- cgit v1.2.3-54-g00ecf