From: Todd C. Miller Date: Tue, 6 Jun 1995 03:44:17 +0000 (+0000) Subject: added kerberos support X-Git-Tag: SUDO_1_4_0~389 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2513e340ff8a678dd3c2380ec869ca174be00530;p=sudo added kerberos support --- diff --git a/configure.in b/configure.in index 1aee444e0..588b3b042 100644 --- a/configure.in +++ b/configure.in @@ -43,6 +43,11 @@ AC_ARG_WITH(SKEY, [ --with-SKEY enable Skey support (untested)], AC SKEY=1 echo 'Configuring for use with Skey') dnl +dnl --with-kerberos +AC_ARG_WITH(kerberos, [ --with-kerberos enable kerberos support], AC_DEFINE(HAVE_KERBEROS) +KERBEROS=1 +echo 'Configuring for use with KERBEROS') +dnl dnl --with-AFS AC_ARG_WITH(AFS, [ --with-AFS enable AFS support], AC_DEFINE(HAVE_AFS) AFS=1 @@ -180,6 +185,13 @@ case "$OS" in ;; esac dnl +dnl extra kerberos libs +dnl +if test -n "$KERBEROS" ; then + LIBS="${LIBS} -L/usr/kerberos/lib -lkrb -ldes" + INC_FLAGS="${INC_FLAGS} -I/usr/kerberos/include" +fi +dnl dnl extra AFS libs dnl if test -n "$AFS" ; then