+Mon Dec 19 18:04:11 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in:
+ * Makefile.in:
+ * dumpv4.c (dump_v4db): Do the right thing if we are compiling
+ without V4 support. (The dump_v4db command is disabled.)
+
Wed Dec 7 00:07:46 1994 <tytso@rsx-11.mit.edu>
* dumpv4.c (v4_print_time): gmtime expects a pointer to a time_t,
KDBLIB=$(TOPLIBD)/libkdb5.a
DEPKDBLIB=$(TOPLIBD)/libkdb5.a
-KDB4LIB=$(KRB4)/lib/libkdb.a
-KRB4LIB=$(KRB4)/lib/libkrb.a $(TOPLIBD)/libdes425.a
+K4LIB=@K4LIB@
all::
DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
-LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) $(KDB4LIB) $(KRB4LIB)
+LOCAL_LIBRARIES = $(KDBLIB) $(KLIB) $(K4LIB)
LOCALINCLUDE=-I$(SRCTOP)/include/kerberosIV -I$(BUILDTOP)/include/kerberosIV
OBJS= kdb5_edit.o kdb5_ed_ct.o util.o dump.o dumpv4.o ss_wrapper.o
KRB_INCLUDE
ISODE_INCLUDE
WITH_KRB4
+AC_ARG_WITH([krb4],
+[ --with-krb4=KRB4DIR build with Kerberos V4 backwards compatibility],
+ADD_DEF(-DKRB4)
+K4LIB='$(KRB4)/lib/libkdb.a $(KRB4)/lib/libkrb.a $(KRB4)/lib/libdes.a',
+echo "warning: no krb4 backwards compatibility support"
+K4LIB=)
+AC_SUBST(K4LIB)
WITH_KRB5ROOT
V5_AC_OUTPUT_MAKEFILE
* Dump a KDC database into a V4 slave dump.
*/
+#ifdef KRB4
+
#include <des.h>
#include <krb.h>
#include <krb_db.h>
return 0;
}
+
+#else /* KRB4 */
+void dump_v4db(argc, argv)
+ int argc;
+ char **argv;
+{
+ printf("This version of krb5_edit does not support the V4 dump command.\n");
+}
+#endif /* KRB4 */