From: serassio <> Date: Sun, 23 Apr 2006 15:57:34 +0000 (+0000) Subject: On some Unix OS include may be in /usr/local/include. X-Git-Tag: SQUID_3_0_PRE4~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b0fec5ac4810d135f8efcd35ca3bd8828845b69;p=thirdparty%2Fsquid.git On some Unix OS include may be in /usr/local/include. --- diff --git a/helpers/basic_auth/LDAP/config.test b/helpers/basic_auth/LDAP/config.test index ee1be30143..82995ae68f 100755 --- a/helpers/basic_auth/LDAP/config.test +++ b/helpers/basic_auth/LDAP/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/ldap.h ]; then exit 0 fi +if [ -f /usr/local/include/ldap.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/basic_auth/SASL/config.test b/helpers/basic_auth/SASL/config.test index 993ded8c70..6687c022fd 100755 --- a/helpers/basic_auth/SASL/config.test +++ b/helpers/basic_auth/SASL/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/sasl.h -o -f /usr/include/sasl/sasl.h ]; then exit 0 fi +if [ -f /usr/local/include/sasl.h -o -f /usr/local/include/sasl/sasl.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/digest_auth/ldap/config.test b/helpers/digest_auth/ldap/config.test index ee1be30143..82995ae68f 100755 --- a/helpers/digest_auth/ldap/config.test +++ b/helpers/digest_auth/ldap/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/ldap.h ]; then exit 0 fi +if [ -f /usr/local/include/ldap.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/external_acl/ldap_group/config.test b/helpers/external_acl/ldap_group/config.test index ee1be30143..82995ae68f 100755 --- a/helpers/external_acl/ldap_group/config.test +++ b/helpers/external_acl/ldap_group/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/ldap.h ]; then exit 0 fi +if [ -f /usr/local/include/ldap.h ]; then + exit 0 +fi exit 1