+Sun Mar 17 20:42:17 1996 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Add USE_ANAME, KRB5_LIBRARIES
+
+ * Makefile.in: Properly use libraries as specified by configure
+
Wed Mar 13 13:11:49 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* t_std_conf.c: Include string.h
shared:
mkdir shared
-COMERRLIB=$(TOPLIBD)/libcom_err.a
-
TEST_PROGS= t_std_conf t_an_to_ln
T_STD_CONF_OBJS= t_std_conf.o def_realm.o get_krbhst.o realm_dom.o \
- hst_realm.o init_os_ctx.o locate_kdc.o $(COMERRLIB) \
- $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a
+ hst_realm.o init_os_ctx.o locate_kdc.o
-T_AN_TO_LN_OBJS = t_an_to_ln.o an_to_ln.o $(TOPLIBD)/libkrb5.a \
- $(TOPLIBD)/libcrypto.a $(COMERRLIB)
+T_AN_TO_LN_OBJS = t_an_to_ln.o an_to_ln.o
-t_std_conf: $(T_STD_CONF_OBJS)
- $(LD) -o t_std_conf $(T_STD_CONF_OBJS) $(LIBS)
+t_std_conf: $(T_STD_CONF_OBJS) $(DEPLIBS)
+ $(LD) $(LDFLAGS) $(LDARGS) -o t_std_conf $(T_STD_CONF_OBJS) $(LIBS)
-t_an_to_ln: $(T_AN_TO_LN_OBJS)
- $(LD) -o t_an_to_ln $(T_AN_TO_LN_OBJS) $(LIBS)
+t_an_to_ln: $(T_AN_TO_LN_OBJS) $(DEPLIBS)
+ $(LD) $(LDFLAGS) $(LDARGS) -o t_an_to_ln $(T_AN_TO_LN_OBJS) $(LIBS)
check-unix:: $(TEST_PROGS)
KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
AC_HAVE_FUNCS(re_comp regcomp)
AC_HEADER_EGREP(time_t, sys/types.h, AC_DEFINE(POSIX_TYPES))
HAS_ANSI_VOLATILE
-USE_ANAME
AC_DEFINE(AN_TO_LN_RULES)
+USE_ANAME
V5_SHARED_LIB_OBJS
+KRB5_LIBRARIES
SubdirLibraryRule([${OBJS}])
V5_AC_OUTPUT_MAKEFILE