From: Christopher Larson Date: Mon, 10 Oct 2011 21:13:05 +0000 (-0700) Subject: autotools: fix multi-word arguments for EXTRA_OECONF X-Git-Tag: 2015-4~13081 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=38a394e7ffedccfabda085c97add8944718943c2;p=openembedded-core.git 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}"' Signed-off-by: Christopher Larson --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 041332208e..451c7fcc1e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -71,10 +71,8 @@ CONFIGUREOPT_DEPTRACK = "--disable-dependency-tracking" 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