From b5b2d187c4e25998dc560ad59c6e4aa77fb9463b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 19 Nov 2009 09:52:24 +0100 Subject: heimdal needs bison --- scripts/scan-pkgs.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 88fb7cbbc..5e9d7c048 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -39,6 +39,10 @@ if [[ -n $ADK_NATIVE ]];then fi fi +if [[ -n $ADK_COMPILE_HEIMDAL ]]; then + NEED_BISON="$NEED_BISON heimdal-server" +fi + if [[ -n $ADK_PACKAGE_ALSA_UTILS ]]; then NEED_XMLTO="$NEED_XMLTO alsa-utils" fi @@ -92,6 +96,13 @@ if [[ -n $NEED_SSLDEV ]]; then fi fi +if [[ -n $NEED_BISON ]]; then + if ! which bison >/dev/null 2>&1; then + echo >&2 You need bison to build $NEED_BISON + 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 -- cgit v1.2.3