insane.bbclass: enhance gettext error message

Point the user at gettext.bbclass which handles adding the
correct gettext to DEPENDS.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2010-01-06 09:32:41 +00:00
parent 4dac8ed6d7
commit aee835ba8f
1 changed files with 2 additions and 1 deletions

View File

@ -510,5 +510,6 @@ Rerun configure task after fixing this. The path was '%s'""" % root)
for config in configs:
gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config
if os.system(gnu) == 0:
bb.fatal("Gettext required but not in DEPENDS for file %s" % config)
bb.fatal("Gettext required but not in DEPENDS for file %s.
Missing inherit gettext?" % config)
}