From: Amos Jeffries Date: Sun, 9 Nov 2008 11:25:31 +0000 (+1300) Subject: Correct configure tests on squid_kerb_auth X-Git-Tag: SQUID_3_2_0_1~1339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0baab1c5dc7c92cb7a8b749e365369c193ceac9;p=thirdparty%2Fsquid.git Correct configure tests on squid_kerb_auth --- diff --git a/configure.in b/configure.in index ae72562ba2..d537a186f6 100644 --- a/configure.in +++ b/configure.in @@ -1631,13 +1631,11 @@ if test -n "$NEGOTIATE_AUTH_HELPERS"; then AC_MSG_ERROR(Negotiate Auth helper $helper does not exist) fi # Kerberos helper has its own configure system - if test "$srcdir/helpers/negotiate_auth/$helper/configure" ; then - if test $helper = squid_kerb_auth; then - AC_CONFIG_SUBDIRS(helpers/negotiate_auth/squid_kerb_auth) - else - echo "ERROR: configure.in needs to be extended to support $helper!" - exit 1 - fi + if test "$helper" = "squid_kerb_auth"; then + AC_CONFIG_SUBDIRS(helpers/negotiate_auth/squid_kerb_auth) + else + echo "ERROR: configure.in needs to be extended to support $helper!" + exit 1 fi done echo "Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS" diff --git a/helpers/negotiate_auth/squid_kerb_auth/config.test b/helpers/negotiate_auth/squid_kerb_auth/config.test index 3172eb0c35..00546481d5 100755 --- a/helpers/negotiate_auth/squid_kerb_auth/config.test +++ b/helpers/negotiate_auth/squid_kerb_auth/config.test @@ -1,6 +1,6 @@ #!/bin/sh # Don't build without gssapi.h if test -f /usr/include/gssapi/gssapi.h || test -f /usr/include/gssapi.h ; then - exit 1 + exit 0 fi -exit 0 +exit 1