mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Add KRB_LIBS to makefiles.
This commit is contained in:
parent
e9c9e54703
commit
30cefc46de
@ -3,7 +3,8 @@
|
||||
##
|
||||
SRCS = ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c
|
||||
OBJS = ldapsearch.o ldapmodify.o ldapdelete.o ldapmodrdn.o
|
||||
#XLIBS = -llber -lldap
|
||||
|
||||
XLIBS = $(KRB_LIBS)
|
||||
|
||||
LDAP_INCDIR= ../../include
|
||||
LDAP_LIBDIR= ../../libraries
|
||||
|
@ -9,7 +9,7 @@ PROGRAMS= ud
|
||||
LDAP_INCDIR= ../../include
|
||||
LDAP_LIBDIR= ../../libraries
|
||||
|
||||
XLIBS = $(TERMCAP_LIBS)
|
||||
XLIBS = $(TERMCAP_LIBS) $(KRB_LIBS)
|
||||
|
||||
ud : version.o
|
||||
$(LTLINK) -o $@ version.o $(OBJS) $(LIBS)
|
||||
|
@ -3,7 +3,7 @@
|
||||
#if defined(HAVE_KERBEROS) && !defined(openbsd)
|
||||
/*
|
||||
* $Source: /repo/OpenLDAP/pkg/ldap/clients/ud/string_to_key.c,v $
|
||||
* $Author: kurt $
|
||||
* $Author: hallvard $
|
||||
*
|
||||
* Copyright 1985, 1986, 1987, 1988, 1989 by the Massachusetts Institute
|
||||
* of Technology.
|
||||
@ -42,7 +42,7 @@ extern void des_fixup_key_parity();
|
||||
/*
|
||||
* convert an arbitrary length string to a DES key
|
||||
*/
|
||||
int
|
||||
void
|
||||
des_string_to_key( char *str, register des_cblock *key )
|
||||
{
|
||||
register char *in_str;
|
||||
|
@ -261,7 +261,7 @@ void print_one_URL LDAP_P(( char *s, int l_lead, char *tag, int u_lead ));
|
||||
/* in string_to_key.c: */
|
||||
#if defined(HAVE_KERBEROS) && !defined(openbsd) && defined(_AC_KRB_H)
|
||||
#if defined(HAVE_AFS_KERBEROS) || !defined(HAVE_KERBEROS_V)
|
||||
int des_string_to_key LDAP_P(( char *str, des_cblock *key ));
|
||||
void des_string_to_key LDAP_P(( char *str, des_cblock *key ));
|
||||
#endif
|
||||
#if defined(HAVE_AFS_KERBEROS)
|
||||
void ka_StringToKey LDAP_P(( char *str, char *cell, des_cblock *key ));
|
||||
|
@ -334,8 +334,9 @@ if test $ol_with_kerberos = auto -o $ol_with_kerberos = k4 ; then
|
||||
ol_link_kerberos=yes
|
||||
|
||||
AC_DEFINE(HAVE_KERBEROS)
|
||||
|
||||
KRB_LIBS="-lkrb -ldes"
|
||||
|
||||
AC_CHECK_FUNCS(des_string_to_key)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -281,6 +281,9 @@ is provided ``as is'' without express or implied warranty.
|
||||
/* Define if you have the bcopy function. */
|
||||
#undef HAVE_BCOPY
|
||||
|
||||
/* Define if you have the des_string_to_key function. */
|
||||
#undef HAVE_DES_STRING_TO_KEY
|
||||
|
||||
/* Define if you have the flock function. */
|
||||
#undef HAVE_FLOCK
|
||||
|
||||
|
@ -18,7 +18,7 @@ LDAP_LIBDIR= ../../libraries
|
||||
BUILD_OPT = "--enable-ldapd"
|
||||
BUILD_SRV = @BUILD_LDAPD@
|
||||
|
||||
XLIBS= @LDAPD_LIBS@ -llutil @LUTIL_LIBS@
|
||||
XLIBS= @LDAPD_LIBS@ $(KRB_LIBS) -llutil @LUTIL_LIBS@
|
||||
|
||||
ldapd: version.o
|
||||
$(LDLINK) -o $@ $(OBJS) version.o $(LIBS)
|
||||
|
@ -31,7 +31,8 @@ all-local: FORCE
|
||||
(cd tools; $(MAKE) $(MFLAGS) all)
|
||||
|
||||
XLIBS = @SLAPD_LIBS@ libbackends.a \
|
||||
-lavl -lldbm @LDBM_LIBS@ -llthread @LTHREAD_LIBS@ -llutil @LUTIL_LIBS@
|
||||
-lavl -lldbm @LDBM_LIBS@ -llthread @LTHREAD_LIBS@ \
|
||||
$(KRB_LIBS) -llutil @LUTIL_LIBS@
|
||||
|
||||
slapd: version.o
|
||||
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
|
||||
|
@ -46,7 +46,8 @@ build-ldbm: FORCE
|
||||
|
||||
ldbm-tools: $(PROGRAMS)
|
||||
|
||||
XLIBS = @SLAPD_LIBS@ -lavl -lldbm @LDBM_LIBS@ -llthread @LTHREAD_LIBS@ -llutil @LUTIL_LIBS@
|
||||
XLIBS = @SLAPD_LIBS@ -lavl -lldbm @LDBM_LIBS@ -llthread @LTHREAD_LIBS@ \
|
||||
$(KRB_LIBS) -llutil @LUTIL_LIBS@
|
||||
|
||||
build-edb2ldif: FORCE
|
||||
@if [ "$(HAVE_ISODE)" = "yes" ]; then \
|
||||
|
@ -24,7 +24,7 @@ BUILD_SRV = @BUILD_SLURPD@
|
||||
|
||||
all-local: slurpd
|
||||
|
||||
XLIBS = @SLURPD_LIBS@ -llthread @LTHREAD_LIBS@ -llutil @LUTIL_LIBS@
|
||||
XLIBS = @SLURPD_LIBS@ -llthread @LTHREAD_LIBS@ $(KRB_LIBS) -llutil @LUTIL_LIBS@
|
||||
|
||||
slurpd: version.o
|
||||
$(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user