From: Ross Burton Date: Wed, 20 Apr 2016 10:39:18 +0000 (+0100) Subject: autotools: warn when running intltoolize if intltool isn't a dependemcy X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26074 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba90d2083970cb2a04afb8fa2ee2d485fef4e4d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git autotools: warn when running intltoolize if intltool isn't a dependemcy Signed-off-by: Ross Burton --- diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 6649f5df71a..22880cc5e18 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