summaryrefslogtreecommitdiff
path: root/meta
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:53:57 +0100
commit7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d (patch)
treea42b1258dd47f9e1e453eefdf59524867ac315af /meta
parent5f82f3df7d4a7d6ae9a1ea3b6bc1d620a3d6c329 (diff)
downloadopenembedded-core-7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d.tar.gz
openembedded-core-7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d.tar.bz2
openembedded-core-7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d.zip
autotools: warn when running intltoolize if intltool isn't a dependemcy
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-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