From 8571d3655752fc7719b971dbfa34eefdb63925cd Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 12 Oct 2012 23:39:01 -0600 Subject: [PATCH] Windows: filter the buildable helpers for MinGW --- helpers/basic_auth/MSNT/config.test | 7 ++++++- helpers/basic_auth/SSPI/config.test | 6 ++++++ helpers/external_acl/LM_group/config.test | 6 ++++++ helpers/negotiate_auth/SSPI/config.test | 6 ++++++ helpers/ntlm_auth/SSPI/config.test | 6 ++++++ helpers/ntlm_auth/smb_lm/config.test | 7 ++++++- 6 files changed, 36 insertions(+), 2 deletions(-) diff --git a/helpers/basic_auth/MSNT/config.test b/helpers/basic_auth/MSNT/config.test index eaa986d7ca..f75f12e2b2 100755 --- a/helpers/basic_auth/MSNT/config.test +++ b/helpers/basic_auth/MSNT/config.test @@ -1,5 +1,10 @@ #!/bin/sh -# Don't build on Windows +# +# Don't build this helper on Windows +# +if test "$1" = "mingw"; then + exit 1 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 1 fi diff --git a/helpers/basic_auth/SSPI/config.test b/helpers/basic_auth/SSPI/config.test index 55ae739fbe..eb7626b6b9 100755 --- a/helpers/basic_auth/SSPI/config.test +++ b/helpers/basic_auth/SSPI/config.test @@ -1,4 +1,10 @@ #!/bin/sh +# +# Only build this helper on Windows +# +if test "$1" = "mingw"; then + exit 0 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi diff --git a/helpers/external_acl/LM_group/config.test b/helpers/external_acl/LM_group/config.test index 55ae739fbe..b303426be5 100755 --- a/helpers/external_acl/LM_group/config.test +++ b/helpers/external_acl/LM_group/config.test @@ -1,4 +1,10 @@ #!/bin/sh +# +# Only build this helper on Windows +# +if test "$1" = "mingw"; then + exit 0 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi diff --git a/helpers/negotiate_auth/SSPI/config.test b/helpers/negotiate_auth/SSPI/config.test index 55ae739fbe..b303426be5 100755 --- a/helpers/negotiate_auth/SSPI/config.test +++ b/helpers/negotiate_auth/SSPI/config.test @@ -1,4 +1,10 @@ #!/bin/sh +# +# Only build this helper on Windows +# +if test "$1" = "mingw"; then + exit 0 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi diff --git a/helpers/ntlm_auth/SSPI/config.test b/helpers/ntlm_auth/SSPI/config.test index 55ae739fbe..b303426be5 100755 --- a/helpers/ntlm_auth/SSPI/config.test +++ b/helpers/ntlm_auth/SSPI/config.test @@ -1,4 +1,10 @@ #!/bin/sh +# +# Only build this helper on Windows +# +if test "$1" = "mingw"; then + exit 0 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 0 fi diff --git a/helpers/ntlm_auth/smb_lm/config.test b/helpers/ntlm_auth/smb_lm/config.test index eaa986d7ca..f75f12e2b2 100755 --- a/helpers/ntlm_auth/smb_lm/config.test +++ b/helpers/ntlm_auth/smb_lm/config.test @@ -1,5 +1,10 @@ #!/bin/sh -# Don't build on Windows +# +# Don't build this helper on Windows +# +if test "$1" = "mingw"; then + exit 1 +fi if [ -f /usr/include/w32api/windows.h ]; then exit 1 fi -- 2.47.3