From 000b1bf9f5b29929faaff7c07b674491479b8af8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 9 Mar 1999 14:23:12 +0000 Subject: Brendan's Kerberos configuration patch. svn path=/trunk/; revision=2400 --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 53b07e56..c3d4a050 100644 --- a/configure.in +++ b/configure.in @@ -302,6 +302,7 @@ then LDEFLAGS="$LDEFLAGS -L$with_kerberos5/lib" LIBS="$LIBS -lkrb5 -lcrypto -lcom_err" else + if test "$with_kerberos5" != "no" ; then for dir in /usr/kerberos /usr/local/krb5 /usr/athena do if test -f "$dir/include/krb5.h" @@ -313,6 +314,7 @@ else break fi done + fi fi ### use option --with-kerberos=DIR to point at a Kerberos directory @@ -345,12 +347,14 @@ then break fi done -elif test -n "$with_kerberos" +elif test -n "$with_kerberos" -a "$with_kerberos" != "no" then CEFLAGS="$CEFLAGS -DKERBEROS_V4 -I$with_kerberos/include" LDEFLAGS="$LDEFLAGS -L$with_kerberos/lib" LIBS="$LIBS -lkrb -ldes" else + if test "$with_kerberos" != "no" + then for dir in /usr/kerberos /usr/kerberosIV /usr/athena do if test -f "$dir/include/krb.h" @@ -403,6 +407,7 @@ else break fi done + fi fi ### use option --with-gssapi=DIR to compile in GSSAPI support -- cgit v1.2.3