diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 19:15:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 19:15:33 +0100 |
commit | 4c89b446f8d87344c244cda2eb97657d159905e2 (patch) | |
tree | f89946eb8eb37ceacedea6d11eb1c27e2ffa4a24 /scripts | |
parent | 7e9efc2e40250fe9717e1af16465a391a72a4ff6 (diff) | |
parent | 5d8ca48432408fe46e89590ea0e5948607c4ce5d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/scan-pkgs.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 1e4d6db8c..fe94d8317 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -83,6 +83,11 @@ if [[ -n $ADK_PACKAGE_LIBPCAP ]]; then NEED_BISON="$NEED_BISON libpcap" fi +if [[ -n $ADK_PACKAGE_LIBXFONT ]]; then + NEED_WWW="$NEED_WWW libXfont" + NEED_XMLTO="$NEED_XMLTO libXfont" +fi + if [[ -n $NEED_GETTEXT ]]; then if ! which xgettext >/dev/null 2>&1; then echo >&2 You need gettext to build $NEED_GETTEXT @@ -118,6 +123,17 @@ if [[ -n $NEED_INTL ]]; then fi fi +if [[ -n $NEED_WWW ]]; then + if ! which w3m >/dev/null 2>&1; then + if ! which lynx >/dev/null 2>&1; then + if ! which links >/dev/null 2>&1; then + echo >&2 You need w3m/links/lynx to build $NEED_WWW + out=1 + fi + fi + fi +fi + if [[ -n $NEED_BISON ]]; then if ! which bison >/dev/null 2>&1; then echo >&2 You need bison to build $NEED_BISON |