]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools: warn when running intltoolize if intltool isn't a dependemcy
authorRoss Burton <ross.burton@intel.com>
Wed, 20 Apr 2016 10:39:18 +0000 (11:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Apr 2016 06:53:57 +0000 (07:53 +0100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/autotools.bbclass

index 6649f5df71a411d5bfc48272b57e396baac67caa..22880cc5e18600061fd135180f8268be4683f441 100644 (file)
@@ -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