add --enable-dce and related stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8511 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
34
configure.in
34
configure.in
@@ -76,6 +76,8 @@ if test "$withval" = no; then
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl AC_ROKEN(9,[/usr/heimdal /usr/athena],[$(top_builddir)/lib/roken/libroken.la])
|
||||||
|
|
||||||
AC_TEST_PACKAGE_NEW(openldap,[#include <ldap.h>],[-lldap -llber])
|
AC_TEST_PACKAGE_NEW(openldap,[#include <ldap.h>],[-lldap -llber])
|
||||||
|
|
||||||
if test "$openldap_libdir"; then
|
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(AFS_EXTRA_LD)dnl
|
||||||
AC_SUBST(AIX_EXTRA_KAFS)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,
|
AC_ARG_ENABLE(kaserver,
|
||||||
[ --enable-kaserver if you want the KDC to try to emulate a kaserver])
|
[ --enable-kaserver if you want the KDC to try to emulate a kaserver])
|
||||||
if test "$enable_kaserver" = yes; then
|
if test "$enable_kaserver" = yes; then
|
||||||
@@ -213,7 +224,9 @@ fi
|
|||||||
if test "$otp" = "yes"; then
|
if test "$otp" = "yes"; then
|
||||||
AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
|
AC_DEFINE(OTP, 1, [Define if you want OTP support in applications.])
|
||||||
LIB_otp='$(top_builddir)/lib/otp/libotp.la'
|
LIB_otp='$(top_builddir)/lib/otp/libotp.la'
|
||||||
|
DIR_otp=otp
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(DIR_otp)
|
||||||
AC_SUBST(LIB_otp)
|
AC_SUBST(LIB_otp)
|
||||||
AM_CONDITIONAL(OTP, test "$otp" = yes)dnl
|
AM_CONDITIONAL(OTP, test "$otp" = yes)dnl
|
||||||
|
|
||||||
@@ -649,6 +662,21 @@ AC_BROKEN([ \
|
|||||||
writev \
|
writev \
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl AC_BROKEN2(inet_aton,
|
||||||
|
dnl [
|
||||||
|
dnl #ifdef HAVE_SYS_TYPES_H
|
||||||
|
dnl #include <sys/types.h>
|
||||||
|
dnl #endif
|
||||||
|
dnl #ifdef HAVE_SYS_SOCKET_H
|
||||||
|
dnl #include <sys/socket.h>
|
||||||
|
dnl #endif
|
||||||
|
dnl #ifdef HAVE_NETINET_IN_H
|
||||||
|
dnl #include <netinet/in.h>
|
||||||
|
dnl #endif
|
||||||
|
dnl #ifdef HAVE_ARPA_INET_H
|
||||||
|
dnl #include <arpa/inet.h>
|
||||||
|
dnl #endif])
|
||||||
|
|
||||||
AC_NEED_PROTO([#include <stdlib.h>], setenv)
|
AC_NEED_PROTO([#include <stdlib.h>], setenv)
|
||||||
AC_NEED_PROTO([#include <stdlib.h>], unsetenv)
|
AC_NEED_PROTO([#include <stdlib.h>], unsetenv)
|
||||||
AC_NEED_PROTO([#include <unistd.h>], gethostname)
|
AC_NEED_PROTO([#include <unistd.h>], gethostname)
|
||||||
@@ -676,6 +704,10 @@ dnl
|
|||||||
dnl libroken references crypt and dbopen
|
dnl libroken references crypt and dbopen
|
||||||
dnl
|
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)'
|
LIB_roken='$(top_builddir)/lib/roken/libroken.la $(LIB_crypt) $(LIB_dbopen)'
|
||||||
AC_SUBST(LIB_roken)dnl
|
AC_SUBST(LIB_roken)dnl
|
||||||
|
|
||||||
@@ -1022,6 +1054,7 @@ AC_OUTPUT(Makefile \
|
|||||||
lib/otp/Makefile \
|
lib/otp/Makefile \
|
||||||
lib/roken/Makefile \
|
lib/roken/Makefile \
|
||||||
lib/sl/Makefile \
|
lib/sl/Makefile \
|
||||||
|
lib/kdfs/Makefile \
|
||||||
kuser/Makefile \
|
kuser/Makefile \
|
||||||
kpasswd/Makefile \
|
kpasswd/Makefile \
|
||||||
kadmin/Makefile \
|
kadmin/Makefile \
|
||||||
@@ -1048,6 +1081,7 @@ AC_OUTPUT(Makefile \
|
|||||||
appl/telnet/telnetd/Makefile \
|
appl/telnet/telnetd/Makefile \
|
||||||
appl/test/Makefile \
|
appl/test/Makefile \
|
||||||
appl/kf/Makefile \
|
appl/kf/Makefile \
|
||||||
|
appl/dceutils/Makefile \
|
||||||
doc/Makefile \
|
doc/Makefile \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user