make it compile w/o krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -13,7 +13,7 @@ DEFS = @DEFS@
|
||||
## link with non-installed libraries
|
||||
|
||||
L = \
|
||||
$(top_builddir)/lib/kafs/.libs/libkafs.a \
|
||||
$(LIB_kafs) \
|
||||
$(top_builddir)/lib/krb5/.libs/libkrb5.a \
|
||||
$(top_builddir)/lib/asn1/.libs/libasn1.a \
|
||||
$(LIB_krb4) \
|
||||
|
@@ -390,6 +390,7 @@ siad_ses_reauthent (sia_collect_func_t *collect,
|
||||
duplicate some code here... */
|
||||
struct state *s = (struct state*)entity->mech[pkgind];
|
||||
chown(s->ticket, entity->pwd->pw_uid, entity->pwd->pw_gid);
|
||||
#ifdef KRB4
|
||||
if(k_hasafs()) {
|
||||
char cell[64];
|
||||
if(k_afs_cell_of_file(entity->pwd->pw_dir,
|
||||
@@ -397,6 +398,7 @@ siad_ses_reauthent (sia_collect_func_t *collect,
|
||||
krb_afslog(cell, 0);
|
||||
krb_afslog_home(0, 0, entity->pwd->pw_dir);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
@@ -9,11 +9,13 @@ libroken_la_LDFLAGS = -version-info 0:0:0
|
||||
|
||||
noinst_PROGRAMS = make-roken make-print-version
|
||||
|
||||
if KRB4
|
||||
if KRB5
|
||||
## need to link with des here; otherwise, if krb4 is shared the link
|
||||
## will fail with unresolved references
|
||||
make_print_version_LDADD += $(LIB_krb4) -ldes
|
||||
endif
|
||||
endif
|
||||
|
||||
libroken_la_SOURCES = \
|
||||
base64.c \
|
||||
|
Reference in New Issue
Block a user