diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-11-29 06:23:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-11-29 06:23:43 +0000 |
commit | 210711c6a06bbdba4e0539626028b1f23d27f0f6 (patch) | |
tree | 67b8812ca6d4e3e6a6865c66d99aba1123ab81e3 /source3/configure.in | |
parent | fe64484824d8169bf66822ebf7f6a9180a238e6e (diff) | |
download | samba-210711c6a06bbdba4e0539626028b1f23d27f0f6.tar.gz samba-210711c6a06bbdba4e0539626028b1f23d27f0f6.tar.bz2 samba-210711c6a06bbdba4e0539626028b1f23d27f0f6.zip |
Fix up the ./configure tests for kerberos. This ensures a more consistant
behaviour no matter if kerberos was found automatically, found in the
/usr/kerberos path or was specified.
(This used to be commit 4e212f728c429b986bb3e2230fbc9cd4bcf6dd40)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/configure.in b/source3/configure.in index d51446a5fe..90447735e2 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1632,8 +1632,6 @@ AC_ARG_WITH(krb5, CFLAGS="$CFLAGS -I$withval/include" CPPFLAGS="$CPPFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib" - AC_DEFINE(HAVE_KRB5) - have_krb5=yes; ;; esac ], AC_MSG_RESULT(no) @@ -1652,10 +1650,9 @@ AC_CHECK_LIB(k5crypto, krb5_encrypt_data, [LIBS="$LIBS -lk5crypto"]) ######################################################## # now see if we can find the krb5 libs in standard paths -if test x$have_krb5 != xyes; then +# or as specified above AC_CHECK_LIB(krb5, krb5_mk_req_extended, [LIBS="$LIBS -lkrb5"; AC_DEFINE(HAVE_KRB5)]) -fi ######################################################## # now see if we can find the ldap libs in standard paths |