aboutsummaryrefslogtreecommitdiffstats
path: root/classes/autotools.bbclass
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-01-12 20:57:00 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-01-13 22:49:28 +0100
commit13adc34c363416b3a850efbc11ea7e0f024122f0 (patch)
tree9d58af0da025f3202b89c09a38f081e083d99675 /classes/autotools.bbclass
parenta88aca1d7dfa3a08957dd49cb61bac850f197106 (diff)
downloadopenembedded-13adc34c363416b3a850efbc11ea7e0f024122f0.tar.gz
autotools.bblass: mkdir also AC_CONFIG_MACRO_DIR
Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'classes/autotools.bbclass')
-rw-r--r--classes/autotools.bbclass4
1 files changed, 3 insertions, 1 deletions
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