From c115a9d1c3c12ce5504a1a5169006c66cafc34e3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 8 Feb 2011 21:45:05 +0100 Subject: many bugfixes for native adksystems and some package updates --- scripts/scan-pkgs.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index ec64d1550..956892e5f 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -44,6 +44,12 @@ if [[ -n $ADK_NATIVE ]];then if [[ -n $ADK_PACKAGE_IW ]]; then NEED_LIBNLDEV="$NEED_LIBNLDEV iw" fi + if [[ -n $ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS ]]; then + NEED_LIBKRB5DEV="$NEED_LIBKRB5DEV nfs-utils" + fi + if [[ -n $ADK_PACKAGE_NFS_UTILS_WITH_TIRPC ]]; then + NEED_LIBTIRPCDEV="$NEED_LIBTIRPCDEV nfs-utils" + fi fi if [[ -n $ADK_PACKAGE_GPSD ]]; then @@ -137,6 +143,20 @@ if [[ -n $NEED_GETTEXT ]]; then fi fi +if [[ -n $NEED_LIBTIRPCDEV ]];then + if ! test -f /usr/include/tirpc/netconfig.h >/dev/null; then + echo >&2 You need tirpc headers to build $NEED_LIBTIRPCDEV + out=1 + fi +fi + +if [[ -n $NEED_LIBKRB5DEV ]];then + if ! test -f /usr/include/krb5.h >/dev/null; then + echo >&2 You need krb5 headers to build $NEED_LIBKRB5DEV + out=1 + fi +fi + if [[ -n $NEED_CURLDEV ]];then if ! test -f /usr/include/curl/curl.h >/dev/null; then if ! test -f /usr/local/include/curl/curl.h >/dev/null; then -- cgit v1.2.3