]> code.ossystems Code Review - openembedded-core.git/commit
autotools: Remove special handling for autoconf* and automake*
authorPhil Blundell <philb@gnu.org>
Sat, 22 Sep 2012 16:18:08 +0000 (17:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Sep 2012 10:17:36 +0000 (11:17 +0100)
commita87db6f8dea71cbb7ead9285ff8af0e28cf75604
tree05973be4aa5448c9a92c17719bd523e3a50ae2d2
parent8cf6f87bd753e1c84a018ddb92a97eed7bd79a28
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.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass
meta/recipes-devtools/autoconf/autoconf.inc
meta/recipes-devtools/autoconf/autoconf_2.69.bb
meta/recipes-devtools/automake/automake.inc
meta/recipes-devtools/automake/automake_1.12.3.bb