* aclocal.m4 (CHOOSE_ET, CHOOSE_SS): New macros.
(CONFIG_RULES): Invoke them.
+ * configure.in: Configure util/et and util/ss only if they're
+ going to be used.
2002-08-26 Ezra Peisach <epeisach@bu.edu>
AC_SUBST(HOST_TYPE)
dnl
dnl
-AC_CONFIG_SUBDIRS(util/et util/ss util/profile util/pty util/db2 include lib/crypto lib/krb5 lib/des425 lib/krb4 lib/kdb lib/gssapi lib/rpc lib/kadm5 krb524 kdc kadmin slave clients appl tests)
+if test "$COM_ERR_VERSION" = k5 ; then
+ AC_CONFIG_SUBDIRS(util/et)
+fi
+if test "$SS_VERSION" = k5 ; then
+ AC_CONFIG_SUBDIRS(util/ss)
+fi
+AC_CONFIG_SUBDIRS(util/profile util/pty util/db2 include lib/crypto lib/krb5 lib/des425 lib/krb4 lib/kdb lib/gssapi lib/rpc lib/kadm5 krb524 kdc kadmin slave clients appl tests)
AC_OUTPUT_COMMANDS([chmod +x krb5-config])
AC_OUTPUT_COMMANDS([echo timestamp > krb5-stamp-h])
K5_GEN_FILE(krb5-config)