From 5d8ca48432408fe46e89590ea0e5948607c4ce5d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Dec 2009 18:46:42 +0100 Subject: make cross-compile on FreeBSD work, check for console browser for xmlto --- scripts/scan-pkgs.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3