]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correct configure tests on squid_kerb_auth
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 9 Nov 2008 11:25:31 +0000 (00:25 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 9 Nov 2008 11:25:31 +0000 (00:25 +1300)
configure.in
helpers/negotiate_auth/squid_kerb_auth/config.test

index ae72562ba202e4cc2d42a6c533bead4a81602f93..d537a186f636902dbdf359e5ae1f582c3f3349c1 100644 (file)
@@ -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"
index 3172eb0c35e39d766d21f0094113e511e244c39e..00546481d5318eda0ef5c50f1d2329924fbc51da 100755 (executable)
@@ -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