summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/automake/automake.inc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2012-09-22 17:18:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 11:30:33 +0100
commit82a99a4cee4c63bafe6335897f2adccb5fe2a7c7 (patch)
tree1d0c8018becdbea7adb930a2df0015ab6b2a5b54 /meta/recipes-devtools/automake/automake.inc
parent6f32c9ce082ec1b7e84567c32affbf5fdec4f086 (diff)
downloadpoky-82a99a4cee4c63bafe6335897f2adccb5fe2a7c7.tar.gz
poky-82a99a4cee4c63bafe6335897f2adccb5fe2a7c7.tar.bz2
poky-82a99a4cee4c63bafe6335897f2adccb5fe2a7c7.zip
autotools: Remove special handling for autoconf* and automake*
For reasons that are now shrouded in obscurity, autotools.bbclass has long contained a special heuristic to avoid attempting to run autoreconf when building autoconf or automake themselves. However, the wildcard test against PN which is used there is problematic when trying to build another package whose name happens to start with "autoconf", and in any case it is silly to do this test at runtime for every package. The individual recipes for autoconf and automake can just as easily suppress the behaviour that they don't want by providing a custom do_configure() method which just runs configure. (From OE-Core rev: a87db6f8dea71cbb7ead9285ff8af0e28cf75604) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/automake/automake.inc')
-rw-r--r--meta/recipes-devtools/automake/automake.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake.inc b/meta/recipes-devtools/automake/automake.inc
index 370cacadfc..ae743cc58a 100644
--- a/meta/recipes-devtools/automake/automake.inc
+++ b/meta/recipes-devtools/automake/automake.inc
@@ -9,6 +9,10 @@ SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.gz"
inherit autotools
+do_configure() {
+ oe_runconf
+}
+
export AUTOMAKE = "${@bb.which('automake', d.getVar('PATH', True))}"
FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*"