(to set KRB5_KRB4_COMPAT).
Makefile.in: Remove remnants of unifdef support for building
osconf.h and config.h, left over from the imake build system.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4719
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Nov 30 16:16:54 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * configure.in: Add support for --enable-athena and --with-krb4
+ (to set KRB5_KRB4_COMPAT).
+
+ * Makefile.in: Remove remnants of unifdef support for building
+ osconf.h and config.h, left over from the imake build system.
+
Mon Nov 21 14:43:14 1994 Theodore Y. Ts'o (tytso@dcl)
* func-proto.h (krb5_encode_kdc_rep, krb5_encrypt_tkt_part):
PROCESS_REPLACE = -e "s+@KRB5ROOT+$(KRB5ROOT)+" \
-e "s+@KDB5DIR+$(KDB5DIR)+" \
- -e "s+@KRB5SRVTABDIR+${KRB5SRVTABDIR}+" \
- -e "/UnifdefRan/,/SPLIT-HERE/d"
+ -e "s+@KRB5SRVTABDIR+${KRB5SRVTABDIR}+"
-OSCONFSRC = $(srcdir)/stock/osauto.h $(srcdir)/stock/osconf.h
+OSCONFSRC = $(srcdir)/stock/osconf.h
osconf.h: $(OSCONFSRC)
cat $(OSCONFSRC) | sed $(PROCESS_REPLACE) > osconf.new
CONF_REPLACE = -e "/UnifdefRan/,/SPLIT-HERE/d"
-CONFSRC = $(srcdir)/stock/confauto.h $(srcdir)/stock/config.h
+CONFSRC = $(srcdir)/stock/config.h
config.h: $(CONFSRC)
cat $(CONFSRC) | sed $(CONF_REPLACE) > config.new
AC_CHECK_LIB(dbm,main)
AC_FUNC_CHECK([dbm_open], , AC_DEFINE(ODBM))
+AC_ARG_ENABLE([athena],
+[ --enable-athena build with MIT Project Athena configuration],
+AC_DEFINE(KRB5_ATHENA_COMPAT),)
+
+AC_ARG_WITH([krb4],
+[ --with-krb4=KRB4DIR build with Kerberos V4 backwards compatibility],
+AC_DEFINE(KRB5_KRB4_COMPAT),,)
+
V5_AC_OUTPUT_MAKEFILE