diff options
Diffstat (limited to 'scripts/scan-pkgs.sh')
-rw-r--r-- | scripts/scan-pkgs.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 9ac3c2d4a..524680b05 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -34,6 +34,10 @@ if [[ -n $ADK_COMPILE_AVAHI ]]; then NEED_PKGCONFIG="$NEED_PKGCONFIG avahi" fi +if [[ -n $ADK_PACKAGE_SQUID ]]; then + NEED_SSLDEV="$NEED_SSLDEV squid" +fi + #if [[ -n $ADK_PACKAGE_RUBY ]]; then # NEED_RUBY="$NEED_RUBY ruby" #fi @@ -55,6 +59,13 @@ if [[ -n $NEED_GETTEXT ]]; then fi fi +if [[ -n $NEED_SSLDEV ]]; then + if ! test -f /usr/lib/pkgconfig/openssl.pc >/dev/null; then + echo >&2 You need openssl headers to build $NEED_SQUID + out=1 + fi +fi + if [[ -n $NEED_RUBY ]]; then if ! which ruby >/dev/null 2>&1; then echo >&2 You need ruby to build $NEED_RUBY |