From 8c76addd094f9729402285f6b63e56ef86fa74f9 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 1 Jul 2000 19:40:54 +0000 Subject: [PATCH] add --enable-dce and related stuff git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8511 ec53bebd-3082-4978-b11e-865c3cabbd6b --- configure.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/configure.in b/configure.in index ed57004d9..c1bfaf937 100644 --- a/configure.in +++ b/configure.in @@ -76,6 +76,8 @@ if test "$withval" = no; then fi ]) +dnl AC_ROKEN(9,[/usr/heimdal /usr/athena],[$(top_builddir)/lib/roken/libroken.la]) + AC_TEST_PACKAGE_NEW(openldap,[#include ],[-lldap -llber]) if test "$openldap_libdir"; then @@ -180,6 +182,15 @@ AM_CONDITIONAL(HAVE_DLOPEN, test "$ac_cv_funclib_dlopen" != no)dnl AC_SUBST(AFS_EXTRA_LD)dnl AC_SUBST(AIX_EXTRA_KAFS)dnl +AC_ARG_ENABLE(dce, [ --enable-dce if you want support for DCE/DFS PAG's.]) +if test "$enable_dce" = yes; then + AC_DEFINE(DCE, 1, [Define if you want support for DCE/DFS PAG's.]) + APPL_dce=dceutils + LIB_dce=kdfs +fi +AC_SUBST(APPL_dce) +AC_SUBST(LIB_dce) + AC_ARG_ENABLE(kaserver, [ --enable-kaserver if you want the KDC to try to emulate a kaserver]) if test "$enable_kaserver" = yes; then @@ -213,7 +224,9 @@ fi if test "$otp" = "yes"; then AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.]) LIB_otp='$(top_builddir)/lib/otp/libotp.la' + DIR_otp=otp fi +AC_SUBST(DIR_otp) AC_SUBST(LIB_otp) AM_CONDITIONAL(OTP, test "$otp" = yes)dnl @@ -649,6 +662,21 @@ AC_BROKEN([ \ writev \ ]) +dnl AC_BROKEN2(inet_aton, +dnl [ +dnl #ifdef HAVE_SYS_TYPES_H +dnl #include +dnl #endif +dnl #ifdef HAVE_SYS_SOCKET_H +dnl #include +dnl #endif +dnl #ifdef HAVE_NETINET_IN_H +dnl #include +dnl #endif +dnl #ifdef HAVE_ARPA_INET_H +dnl #include +dnl #endif]) + AC_NEED_PROTO([#include ], setenv) AC_NEED_PROTO([#include ], unsetenv) AC_NEED_PROTO([#include ], gethostname) @@ -676,6 +704,10 @@ dnl dnl libroken references crypt and dbopen dnl +dnl LIB_roken="\$(top_builddir)/lib/vers/libvers.la ${LIB_roken}" + +dnl LIB_roken='$(top_builddir)/lib/vers/libvers.la $(top_builddir)/lib/roken/libroken.la $(LIB_crypt) $(LIB_dbopen)' +dnl AC_SUBST(LIB_roken)dnl LIB_roken='$(top_builddir)/lib/roken/libroken.la $(LIB_crypt) $(LIB_dbopen)' AC_SUBST(LIB_roken)dnl @@ -1022,6 +1054,7 @@ AC_OUTPUT(Makefile \ lib/otp/Makefile \ lib/roken/Makefile \ lib/sl/Makefile \ + lib/kdfs/Makefile \ kuser/Makefile \ kpasswd/Makefile \ kadmin/Makefile \ @@ -1048,6 +1081,7 @@ AC_OUTPUT(Makefile \ appl/telnet/telnetd/Makefile \ appl/test/Makefile \ appl/kf/Makefile \ + appl/dceutils/Makefile \ doc/Makefile \ )