From: Stuart Henderson Date: Fri, 26 Apr 2013 04:08:34 +0000 (-0600) Subject: Bug 3822: Locate LDAP and SASL headers in /usr/local/include for BSD support X-Git-Tag: SQUID_3_2_10~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c3215a785d3ee33bd140ac9795d9e1de795d76;p=thirdparty%2Fsquid.git Bug 3822: Locate LDAP and SASL headers in /usr/local/include for BSD support --- diff --git a/helpers/basic_auth/LDAP/config.test b/helpers/basic_auth/LDAP/config.test index 5c354f8b35..4326b7c931 100755 --- a/helpers/basic_auth/LDAP/config.test +++ b/helpers/basic_auth/LDAP/config.test @@ -1,5 +1,5 @@ #!/bin/sh -if [ -f /usr/include/ldap.h ]; then +if [ -f /usr/include/ldap.h -o -f /usr/local/include/ldap.h ]; then exit 0 fi if [ -f /usr/include/winldap.h ]; then diff --git a/helpers/basic_auth/SASL/config.test b/helpers/basic_auth/SASL/config.test index 8054c9555a..871e27876a 100755 --- a/helpers/basic_auth/SASL/config.test +++ b/helpers/basic_auth/SASL/config.test @@ -1,8 +1,8 @@ #!/bin/sh -if [ -f /usr/include/sasl.h ]; then +if [ -f /usr/include/sasl.h -o -f /usr/local/include/sasl.h ]; then exit 0 fi -if [ -f /usr/include/sasl/sasl.h ]; then +if [ -f /usr/include/sasl/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 5c354f8b35..4326b7c931 100755 --- a/helpers/digest_auth/LDAP/config.test +++ b/helpers/digest_auth/LDAP/config.test @@ -1,5 +1,5 @@ #!/bin/sh -if [ -f /usr/include/ldap.h ]; then +if [ -f /usr/include/ldap.h -o -f /usr/local/include/ldap.h ]; then exit 0 fi if [ -f /usr/include/winldap.h ]; then diff --git a/helpers/digest_auth/eDirectory/config.test b/helpers/digest_auth/eDirectory/config.test index 5c354f8b35..4326b7c931 100755 --- a/helpers/digest_auth/eDirectory/config.test +++ b/helpers/digest_auth/eDirectory/config.test @@ -1,5 +1,5 @@ #!/bin/sh -if [ -f /usr/include/ldap.h ]; then +if [ -f /usr/include/ldap.h -o -f /usr/local/include/ldap.h ]; then exit 0 fi if [ -f /usr/include/winldap.h ]; then diff --git a/helpers/external_acl/LDAP_group/config.test b/helpers/external_acl/LDAP_group/config.test index 5c354f8b35..4326b7c931 100755 --- a/helpers/external_acl/LDAP_group/config.test +++ b/helpers/external_acl/LDAP_group/config.test @@ -1,5 +1,5 @@ #!/bin/sh -if [ -f /usr/include/ldap.h ]; then +if [ -f /usr/include/ldap.h -o -f /usr/local/include/ldap.h ]; then exit 0 fi if [ -f /usr/include/winldap.h ]; then diff --git a/helpers/external_acl/eDirectory_userip/config.test b/helpers/external_acl/eDirectory_userip/config.test index 8f83d3905d..accfd32d9c 100644 --- a/helpers/external_acl/eDirectory_userip/config.test +++ b/helpers/external_acl/eDirectory_userip/config.test @@ -1,6 +1,6 @@ #!/bin/sh -if [ -f /usr/include/ldap.h ]; then +if [ -f /usr/include/ldap.h -o -f /usr/local/include/ldap.h ]; then exit 0 fi if [ -f /usr/include/winldap.h ]; then