diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-22 22:00:19 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-22 22:00:19 +0000 |
commit | c8864235ba97618a63fadeaecf82bbe61c49d20f (patch) | |
tree | d9d625a2511ba5e7fed78f7394867ebabdc04b24 /source3 | |
parent | ee529672e23026aef7eed659d091f2b0be9f1c9c (diff) | |
download | samba-c8864235ba97618a63fadeaecf82bbe61c49d20f.tar.gz samba-c8864235ba97618a63fadeaecf82bbe61c49d20f.tar.bz2 samba-c8864235ba97618a63fadeaecf82bbe61c49d20f.zip |
Detect missing -lroken properly on systems without krb5-config
(This used to be commit 9c3b8533fc6d2a68e013668d0927d479f4ab58dd)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index b6fabe6085..053577adf6 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2145,9 +2145,10 @@ fi AC_CHECK_LIB(k5crypto, krb5_encrypt_data, [LIBS="$LIBS -lk5crypto"]) # Heimdal checks. AC_CHECK_LIB(crypto, des_set_key, [LIBS="$LIBS -lcrypto"]) - AC_CHECK_LIB(asn1, copy_Authenticator, [LIBS="$LIBS -lasn1 -lroken"]) + AC_CHECK_LIB(asn1, copy_Authenticator, [LIBS="$LIBS -lasn1"]) + AC_CHECK_LIB(roken, roken_getaddrinfo_hostspec, [LIBS="$LIBS -lroken"]) # Heimdal checks. On static Heimdal gssapi must be linked before krb5. - AC_CHECK_LIB(gssapi, gss_display_status, [LIBS="$LIBS -lgssapi -lkrb5 -lasn1"; + AC_CHECK_LIB(gssapi, gss_display_status, [LIBS="$LIBS -lgssapi -lkrb5"; AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available])]) AC_CHECK_LIB(krb5, krb5_set_real_time, [AC_DEFINE(HAVE_KRB5_SET_REAL_TIME,1,[Whether krb5_set_real_time is available])]) |