summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 18:33:02 +0100
commit25631be7315cdddc0cf2ea273f3e06332128d36d (patch)
tree4860bd6e66fecadfb0610dd07cf0fda10f45c7d5 /scripts
parent0fe98e5899e84f30f0fe7f82a064cc8836e9c0f2 (diff)
update eglic and glibc
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-pkgs.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh
index fe94d8317..894bb3a57 100644
--- a/scripts/scan-pkgs.sh
+++ b/scripts/scan-pkgs.sh
@@ -18,7 +18,7 @@ test -z "$BASH_VERSION$KSH_VERSION" && exec $BASH $0 "$@"
[[ -n $BASH_VERSION ]] && shopt -s extglob
topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd -P))
-OStype=$(env NOFAKE=yes uname)
+OStype=$(uname)
out=0
. $topdir/.config
@@ -88,6 +88,10 @@ if [[ -n $ADK_PACKAGE_LIBXFONT ]]; then
NEED_XMLTO="$NEED_XMLTO libXfont"
fi
+if [[ -n $ADK_PACKAGE_EGLIBC ]]; then
+ NEED_GPERF="$NEED_GPERF eglibc"
+fi
+
if [[ -n $NEED_GETTEXT ]]; then
if ! which xgettext >/dev/null 2>&1; then
echo >&2 You need gettext to build $NEED_GETTEXT
@@ -141,6 +145,13 @@ if [[ -n $NEED_BISON ]]; then
fi
fi
+if [[ -n $NEED_GPERF ]]; then
+ if ! which gperf >/dev/null 2>&1; then
+ echo >&2 You need gperf to build $NEED_GPERF
+ out=1
+ fi
+fi
+
if [[ -n $NEED_GXX ]]; then
if ! which g++ >/dev/null 2>&1; then
echo >&2 You need GNU c++ compiler to build $NEED_GXX