centrally control if we are building kerberos
This commit is contained in:
parent
c5f73804ac
commit
63ede46893
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.14 2024/02/25 18:50:43 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.15 2024/03/13 12:56:31 christos Exp $
|
||||
|
||||
.if !defined(BIND9_MAKEFILE_INC)
|
||||
BIND9_MAKEFILE_INC=yes
|
||||
|
@ -79,6 +79,7 @@ LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
|
|||
.endif
|
||||
|
||||
.if ${MKKERBEROS} != "no"
|
||||
CPPFLAGS+=-DWITH_KERBEROS
|
||||
.if !defined (LIB) || empty(LIB)
|
||||
LDADD+= -lgssapi -lheimntlm ${LIBKRB5_LDADD}
|
||||
DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM} ${LIBKRB5_DPADD}
|
||||
|
|
|
@ -178,6 +178,7 @@
|
|||
/* Define to 1 if you have the <glob.h> header file. */
|
||||
#define HAVE_GLOB_H 1
|
||||
|
||||
#ifdef WITH_KERBEROS
|
||||
/* Define to 1 if you have the Kerberos Framework available */
|
||||
#define HAVE_GSSAPI 1
|
||||
|
||||
|
@ -195,6 +196,7 @@
|
|||
|
||||
/* Define to 1 if you have the `gss_acquire_cred' function. */
|
||||
#define HAVE_GSS_ACQUIRE_CRED 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <idn2.h> header file. */
|
||||
/* #undef HAVE_IDN2_H */
|
||||
|
@ -214,6 +216,7 @@
|
|||
/* Use json-c library */
|
||||
/* #undef HAVE_JSON_C */
|
||||
|
||||
#ifdef WITH_KERBEROS
|
||||
/* Define to 1 if you have the <krb5.h> header file. */
|
||||
/* #undef HAVE_KRB5_H */
|
||||
|
||||
|
@ -222,6 +225,7 @@
|
|||
|
||||
/* Define to 1 if you have the <krb5/krb5.h> header file. */
|
||||
#define HAVE_KRB5_KRB5_H 1
|
||||
#endif
|
||||
|
||||
/* Define if libidn2 was found */
|
||||
/* #undef HAVE_LIBIDN2 */
|
||||
|
|
Loading…
Reference in New Issue