diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 18:46:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 18:46:42 +0100 |
commit | 5d8ca48432408fe46e89590ea0e5948607c4ce5d (patch) | |
tree | 8d71ae453199b342a59089ff01e7ca2d7ef05d0d /scripts/scan-pkgs.sh | |
parent | ba6d4f991cf81b932432b4eb32a09b4ba9a6e518 (diff) |
make cross-compile on FreeBSD work, check for console browser for xmlto
Diffstat (limited to 'scripts/scan-pkgs.sh')
-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 |