]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: Fix gettext test
authorJoshua Lock <josh@linux.intel.com>
Sat, 19 Dec 2009 12:29:14 +0000 (12:29 +0000)
committerJoshua Lock <josh@linux.intel.com>
Mon, 21 Dec 2009 10:51:50 +0000 (10:51 +0000)
commit2be65803cbb16ce4b20b0b3b20db3581c5ff0f57
treed0047ab4b155f4d3ed7263f168ddeb20eadfa6dc
parent52b821a3844635c25de30d2c849b1bdfbfead85a
insane.bbclass: Fix gettext test

The previous gettext check was broken resulting in many false positives.
This improved version works as follows:
* Adds to the existing os.walk() and builds a list of configure.in and
  configure.ac files
* Tests whether DEPENDS includes an appropriate gettext
* If not greps the configure files in the list for instances of AM_GNU_GETTEXT
* If if an instance is found we bb.fatal with an appropriate message

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/insane.bbclass