From 82a99a4cee4c63bafe6335897f2adccb5fe2a7c7 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 22 Sep 2012 17:18:08 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/autoconf/autoconf.inc | 4 ++++ meta/recipes-devtools/autoconf/autoconf_2.69.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/autoconf') diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc index e80a834..315e773 100644 --- a/meta/recipes-devtools/autoconf/autoconf.inc +++ b/meta/recipes-devtools/autoconf/autoconf.inc @@ -17,6 +17,10 @@ SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \ inherit autotools +do_configure() { + oe_runconf +} + do_install_append() { rm -rf ${D}${datadir}/emacs diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb b/meta/recipes-devtools/autoconf/autoconf_2.69.bb index 1ec1cb5..2c4c675 100644 --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb @@ -1,6 +1,6 @@ require autoconf.inc -PR = "r8" +PR = "r9" PARALLEL_MAKE = "" -- cgit v1.1