The Samba-Bugzilla – Attachment 5011 Details for
Bug 6929
testing krb5/locate_plugin.h usability fails with heimdal-1.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check for prerequisite krb5/krb5.h headers while checking for locate_plugin.h
patch (text/plain), 1.36 KB, created by
Guenther Deschner
on 2009-11-25 14:48:12 UTC
(
hide
)
Description:
check for prerequisite krb5/krb5.h headers while checking for locate_plugin.h
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-11-25 14:48:12 UTC
Size:
1.36 KB
patch
obsolete
>From c438b2b3923db66672ec82e795eef543de5fcb8a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Wed, 25 Nov 2009 21:33:48 +0100 >Subject: [PATCH] s3-kerberos: add check for prerequisite krb5/krb5.h header while checking for krb5/locate_plugin.h. > >(Needed for new Heimdal versions). > >Guenther >--- > source3/configure.in | 9 +++++++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index aab8c01..f624e0e 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -3329,7 +3329,7 @@ if test x"$with_ads_support" != x"no"; then > # now check for krb5.h. Some systems have the libraries without the headers! > # note that this check is done here to allow for different kerberos > # include paths >- AC_CHECK_HEADERS(krb5.h) >+ AC_CHECK_HEADERS(krb5.h krb5/krb5.h) > > if test x"$ac_cv_header_krb5_h" = x"no"; then > >@@ -3350,7 +3350,12 @@ if test x"$with_ads_support" != x"no"; then > CPPFLAGS=$ac_save_CPPFLAGS > LDFLAGS=$ac_save_LDFLAGS > fi >- AC_CHECK_HEADERS(krb5/locate_plugin.h) >+ AC_CHECK_HEADERS([krb5/locate_plugin.h], [], [], >+[[#ifdef HAVE_KRB5_KRB5_H >+ #include <krb5/krb5.h> >+ #endif >+]]) >+ > if test x"$ac_cv_header_krb5_locate_plugin_h" = x"yes"; then > WINBIND_KRB5_LOCATOR="bin/winbind_krb5_locator.$SHLIBEXT" > if test x"$BLDSHARED" = x"true" ; then >-- >1.6.5.2 >
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 6929
: 5011 |
5016
|
5017
|
5024
|
5038
|
5051