From patchwork Wed Jan 12 20:15:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] autotools.bblass: mkdir also AC_CONFIG_MACRO_DIR Date: Wed, 12 Jan 2011 20:15:51 -0000 From: Bernhard Reutner-Fischer X-Patchwork-Id: 260 Message-Id: <1294863352-1486-3-git-send-email-rep.dot.nop@gmail.com> To: openembedded-devel@lists.openembedded.org Signed-off-by: Bernhard Reutner-Fischer --- classes/autotools.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass index 77bd37d..45b75df 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