From: serassio <> Date: Tue, 25 Apr 2006 01:01:04 +0000 (+0000) Subject: Added MinGW support in config.test files. X-Git-Tag: SQUID_3_0_PRE4~234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=727d71c5ff20155539879fcab70abe72856edeb4;p=thirdparty%2Fsquid.git Added MinGW support in config.test files. --- diff --git a/helpers/basic_auth/LDAP/config.test b/helpers/basic_auth/LDAP/config.test index 82995ae68f..d1081989ce 100755 --- a/helpers/basic_auth/LDAP/config.test +++ b/helpers/basic_auth/LDAP/config.test @@ -5,4 +5,7 @@ fi if [ -f /usr/local/include/ldap.h ]; then exit 0 fi +if [ -f /usr/include/winldap.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/basic_auth/MSNT/config.test b/helpers/basic_auth/MSNT/config.test index 039e4d0069..eaa986d7ca 100755 --- a/helpers/basic_auth/MSNT/config.test +++ b/helpers/basic_auth/MSNT/config.test @@ -1,2 +1,9 @@ #!/bin/sh +# Don't build on Windows +if [ -f /usr/include/w32api/windows.h ]; then + exit 1 +fi +if [ -f /usr/include/windows.h ]; then + exit 1 +fi exit 0 diff --git a/helpers/basic_auth/mswin_sspi/config.test b/helpers/basic_auth/mswin_sspi/config.test index 79e416fdda..55ae739fbe 100755 --- a/helpers/basic_auth/mswin_sspi/config.test +++ b/helpers/basic_auth/mswin_sspi/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi +if [ -f /usr/include/windows.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/digest_auth/ldap/config.test b/helpers/digest_auth/ldap/config.test index 82995ae68f..d1081989ce 100755 --- a/helpers/digest_auth/ldap/config.test +++ b/helpers/digest_auth/ldap/config.test @@ -5,4 +5,7 @@ fi if [ -f /usr/local/include/ldap.h ]; then exit 0 fi +if [ -f /usr/include/winldap.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 82995ae68f..d1081989ce 100755 --- a/helpers/external_acl/ldap_group/config.test +++ b/helpers/external_acl/ldap_group/config.test @@ -5,4 +5,7 @@ fi if [ -f /usr/local/include/ldap.h ]; then exit 0 fi +if [ -f /usr/include/winldap.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/external_acl/mswin_lm_group/config.test b/helpers/external_acl/mswin_lm_group/config.test index 79e416fdda..55ae739fbe 100755 --- a/helpers/external_acl/mswin_lm_group/config.test +++ b/helpers/external_acl/mswin_lm_group/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi +if [ -f /usr/include/windows.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/negotiate_auth/mswin_sspi/config.test b/helpers/negotiate_auth/mswin_sspi/config.test index 79e416fdda..55ae739fbe 100755 --- a/helpers/negotiate_auth/mswin_sspi/config.test +++ b/helpers/negotiate_auth/mswin_sspi/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi +if [ -f /usr/include/windows.h ]; then + exit 0 +fi exit 1 diff --git a/helpers/ntlm_auth/SMB/config.test b/helpers/ntlm_auth/SMB/config.test index f406e735dc..eaa986d7ca 100755 --- a/helpers/ntlm_auth/SMB/config.test +++ b/helpers/ntlm_auth/SMB/config.test @@ -3,4 +3,7 @@ if [ -f /usr/include/w32api/windows.h ]; then exit 1 fi +if [ -f /usr/include/windows.h ]; then + exit 1 +fi exit 0 diff --git a/helpers/ntlm_auth/mswin_sspi/config.test b/helpers/ntlm_auth/mswin_sspi/config.test index 79e416fdda..55ae739fbe 100755 --- a/helpers/ntlm_auth/mswin_sspi/config.test +++ b/helpers/ntlm_auth/mswin_sspi/config.test @@ -2,4 +2,7 @@ if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi +if [ -f /usr/include/windows.h ]; then + exit 0 +fi exit 1