diff options
author | U-windows7\wbx <wbx@windows7.(none)> | 2009-12-19 20:39:23 +0100 |
---|---|---|
committer | U-windows7\wbx <wbx@windows7.(none)> | 2009-12-19 20:39:23 +0100 |
commit | 99f2eaf540fc2a613b97560cc6e9a9de0937ac23 (patch) | |
tree | 92a25e6a0f8cad4c511589eae0648696a176c82c /scripts | |
parent | c58c1d4555c199939496713f231e45598b4d8ba7 (diff) | |
parent | 1fda4ed40fe7fbab5db517a79ff8b13b33ca9355 (diff) |
Merge branch 'master' of git://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-pkgs.sh | 13 |
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 |