summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:24:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 18:24:57 +0100
commit7eb57a4fac80b8c745f4ac811a07d134cc448d8a (patch)
tree7c5786cdee0c22cadf079670e69b45424701b290 /scripts
parent9ae994b86d18e9d0baa680442e59724815bd872a (diff)
parentc111f14db1b4558ebf5b2e894315c8e5217bf6fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-pkgs.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh
index 0e38b35c1..b1292f7e2 100644
--- a/scripts/scan-pkgs.sh
+++ b/scripts/scan-pkgs.sh
@@ -71,6 +71,10 @@ if [[ -n $ADK_PACKAGE_DANSGUARDIAN ]]; then
NEED_PKGCONFIG="$NEED_PKGCONFIG dansguardian"
fi
+if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then
+ NEED_INTL="$NEED_INTL xkeyboard-config"
+fi
+
if [[ -n $ADK_PACKAGE_GLIB ]]; then
NEED_GLIBZWO="$NEED_GLIBZWO glib"
NEED_GETTEXT="$NEED_GETTEXT glib"
@@ -109,6 +113,13 @@ if [[ -n $NEED_SSLDEV ]]; then
fi
fi
+if [[ -n $NEED_INTL ]]; then
+ if ! which intltool-update >/dev/null 2>&1; then
+ echo >&2 You need intltool-update to build $NEED_INTL
+ out=1
+ fi
+fi
+
if [[ -n $NEED_BISON ]]; then
if ! which bison >/dev/null 2>&1; then
echo >&2 You need bison to build $NEED_BISON