From: Bernhard Reutner-Fischer Date: Wed, 12 Jan 2011 19:57:00 +0000 (+0100) Subject: autotools.bblass: mkdir also AC_CONFIG_MACRO_DIR X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13adc34c363416b3a850efbc11ea7e0f024122f0;p=openembedded.git autotools.bblass: mkdir also AC_CONFIG_MACRO_DIR Acked-by: Khem Raj Acked-by: Tom Rini Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 77bd37d6f3..45b75dfbcf 100644 --- a/classes/autotools.bbclass +++ b/classes/autotools.bbclass @@ -176,7 +176,9 @@ autotools_do_configure() { fi fi - mkdir -p m4 + for aux in m4 `sed -n -e '/^[[:space:]]*AC_CONFIG_MACRO_DIR/s|[^(]*([[]*\([^])]*\)[]]*)|\1|p' $CONFIGURE_AC`; do + mkdir -p ${aux} + done oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || oefatal "autoreconf execution failed." if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then