Ver Fonte

heimdal needs bison

Waldemar Brodkorb há 14 anos atrás
pai
commit
b5b2d187c4
1 ficheiros alterados com 11 adições e 0 exclusões
  1. 11 0
      scripts/scan-pkgs.sh

+ 11 - 0
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