The Samba-Bugzilla – Attachment 231 Details for
Bug 636
"libads/kerberos_verify.c", line 77: improper member use: keyblock
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
more portable patch for configure.in
keyblock.diff (text/plain), 1.87 KB, created by
Guenther Deschner
on 2003-10-31 10:36:56 UTC
(
hide
)
Description:
more portable patch for configure.in
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2003-10-31 10:36:56 UTC
Size:
1.87 KB
patch
obsolete
>Index: configure.in >=================================================================== >RCS file: /cvsroot/samba/source/configure.in,v >retrieving revision 1.300.2.181 >diff -u -r1.300.2.181 configure.in >--- source/configure.in 31 Oct 2003 01:30:02 -0000 1.300.2.181 >+++ source/configure.in 31 Oct 2003 18:10:23 -0000 >@@ -2664,15 +2673,29 @@ > [Whether in-memory keytabs are supported]) > fi > >- AC_CHECK_MEMBER(krb5_keytab_entry.key, >- AC_DEFINE(HAVE_KRB5_KEYTAB_ENTRY_KEY, 1, >- [Whether krb5_keytab_entry has key member]), [], >- [#include <krb5.h>]) >- >- AC_CHECK_MEMBER(krb5_keytab_entry.keyblock, >- AC_DEFINE(HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK, 1, >- [Whether krb5_keytab_entry has keyblock member]), [], >- [#include <krb5.h>]) >+ AC_CACHE_CHECK([for key in krb5_keytab_entry], >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY,[ >+ AC_TRY_COMPILE([#include <krb5.h>], >+ [krb5_keytab_entry entry; krb5_keyblock *key; entry.key = *key;], >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY=yes, >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY=no)]) >+ >+ if test x"$samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEY" = x"yes"; then >+ AC_DEFINE(HAVE_KRB5_KEYTAB_ENTRY_KEY,1, >+ [Whether krb5_keytab_entry has key member]) >+ fi >+ >+ AC_CACHE_CHECK([for keyblock in krb5_keytab_entry], >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK,[ >+ AC_TRY_COMPILE([#include <krb5.h>], >+ [krb5_keytab_entry entry; krb5_keyblock *key; entry.keyblock = *key;], >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK=yes, >+ samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK=no)]) >+ >+ if test x"$samba_cv_HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK" = x"yes"; then >+ AC_DEFINE(HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK,1, >+ [Whether krb5_keytab_entry has keyblock member]) >+ fi > > if test x"$ac_cv_lib_ext_krb5_krb5_mk_req_extended" = x"yes"; then > AC_DEFINE(HAVE_KRB5,1,[Whether to have KRB5 support])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 636
: 231