aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-20 11:39:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:58:43 +0100
commit002847ab0bda15d024f24937ca8956d52406b0b5 (patch)
tree9399562da4b2dbfeba4e20b784de15ae0e1ef113 /meta/classes/autotools.bbclass
parent95638699957ba974ba6ce0554c857ad81b73e65e (diff)
downloadopenembedded-core-contrib-002847ab0bda15d024f24937ca8956d52406b0b5.tar.gz
autotools: warn when running intltoolize if intltool isn't a dependemcy
(From OE-Core rev: 7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 6649f5df71..22880cc5e1 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -293,6 +293,9 @@ autotools_do_configure() {
fi
mkdir -p m4
if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
+ if ! echo "${DEPENDS}" | grep -q intltool-native; then
+ bbwarn "Missing DEPENDS on intltool-native"
+ fi
bbnote Executing intltoolize --copy --force --automake
intltoolize --copy --force --automake
fi