summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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