diff options
author | Lars Mueller <lmuelle@suse.com> | 2012-04-20 07:59:06 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-04-20 07:59:06 -0400 |
commit | e5f124c10fa8e582c5df61017d6f6c2b10c397dc (patch) | |
tree | ed9a63cd586a11ac2a378c205a50c47d492a7015 /configure.ac | |
parent | be5b954e35858c09dfaeee33bf06bb0dc76a86f9 (diff) | |
download | cifs-utils-e5f124c10fa8e582c5df61017d6f6c2b10c397dc.tar.gz cifs-utils-e5f124c10fa8e582c5df61017d6f6c2b10c397dc.tar.bz2 cifs-utils-e5f124c10fa8e582c5df61017d6f6c2b10c397dc.zip |
cifs.upcall: missing prototype for krb5_auth_con_set_req_cksumtype in MIT
krb5 < 1.7
products coming with MIT krb5 < 1.7 (like SUSE Linux Enterprise 11 SP 1
or SP 2) suffer from the same issue as described by
https://bugzilla.samba.org/show_bug.cgi?id=6918
The declaration of krb5_auth_con_set_req_cksumtype is missing.
Inspiration: https://bugzilla.samba.org/show_bug.cgi?id=6918
Acked-by: Suresh Jayaraman <sjayaraman@suse.com>
Signed-off-by: Lars Mueller <lmuelle@suse.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2912997..2d2e15f 100644 --- a/configure.ac +++ b/configure.ac @@ -178,6 +178,9 @@ if test $enable_cifsupcall != "no"; then AC_CHECK_FUNCS([krb5_auth_con_setaddrs krb5_auth_con_set_req_cksumtype]) fi +# MIT krb5 < 1.7 does not have this declaration but does have the symbol +AC_CHECK_DECLS(krb5_auth_con_set_req_cksumtype, [], [], [#include <krb5.h>]) + LIBS=$cu_saved_libs AM_CONDITIONAL(CONFIG_CIFSUPCALL, [test "$enable_cifsupcall" != "no"]) |