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 <kergoth@gmail.com>
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