From 13adc34c363416b3a850efbc11ea7e0f024122f0 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 12 Jan 2011 20:57:00 +0100 Subject: autotools.bblass: mkdir also AC_CONFIG_MACRO_DIR Acked-by: Khem Raj Acked-by: Tom Rini Signed-off-by: Bernhard Reutner-Fischer --- classes/autotools.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'classes/autotools.bbclass') 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 -- cgit 1.2.3-korg