[gnome-continuous-yocto/gnomeostree-3.28-rocko: 22/8267] autotools: warn when running intltoolize if intltool isn't a dependemcy



commit 002847ab0bda15d024f24937ca8956d52406b0b5
Author: Ross Burton <ross burton intel com>
Date:   Wed Apr 20 11:39:18 2016 +0100

    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>

 meta/classes/autotools.bbclass |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 6649f5d..22880cc 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]