rk_SYS_LARGEFILE
+rk_AIX
+rk_IRIX
+rk_SUNOS
+
dnl
dnl this is needed to run the configure tests against glibc
dnl
fi
AM_CONDITIONAL(OPENLDAP_MODULE, test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes)
+dnl
+dnl Optional modules, pk-init, digest, kx509
+dnl
+
AC_ARG_ENABLE(pk-init,
AS_HELP_STRING([--disable-pk-init],
[if you want disable to PK-INIT support]))
fi
AM_CONDITIONAL(PKINIT, test "$enable_pk_init" != no)
+AC_ARG_ENABLE(digest,
+ AS_HELP_STRING([--disable-digest],
+ [if you want disable to DIGEST support]))
+if test "$enable_digest" != no ;then
+ AC_DEFINE([DIGEST], 1, [Define to enable DIGEST.])
+fi
+
+AC_ARG_ENABLE(kx509,
+ AS_HELP_STRING([--disable-kx509],
+ [if you want disable to kx509 support]))
+if test "$enable_kx509" != no ;then
+ AC_DEFINE([KX509], 1, [Define to enable kx509.])
+fi
+
+AC_ARG_ENABLE(krb4,
+ AS_HELP_STRING([--disable-krb4],
+ [if you want disable to krb4 support]))
+if test "$enable_krb4" != no ;then
+ AC_DEFINE([KRB4], 1, [Define to enable Kerberos 4.])
+fi
+
+
dnl Check for sqlite
rk_TEST_PACKAGE(sqlite3,
[#include <sqlite3.h>
#endif],
[-lsqlite3],,,SQLITE3)
-if test "X$with_sqlite3" != Xno ; then
+if test "X$with_sqlite3" != Xyes ; then
INCLUDE_sqlite3="-I\$(top_srcdir)/lib/sqlite"
LIB_sqlite3="\$(top_builddir)/lib/sqlite/libheimsqlite.la"
- with_sqlite3=yes
fi
AM_CONDITIONAL(SQLITE3, test "X$with_sqlite3" = Xyes)
KRB_C_BIGENDIAN
AC_C_INLINE
-rk_AIX
-rk_IRIX
-rk_SUNOS
-
KRB_CHECK_X
AM_CONDITIONAL(HAVE_X, test "$no_x" != yes)
AC_CHECK_HEADERS([\
arpa/ftp.h \
arpa/telnet.h \
- asl.h \
bind/bitypes.h \
bsdsetjmp.h \
curses.h \
dnl it doesn't define `bool'.
AC_CHECK_HEADERS(term.h, , , -)
+dnl aix have asl.h (A/IX screen library) that we don't want
+AC_CHECK_HEADERS(asl.h, , , [
+#include <asl.h>
+#ifndef ASL_STRING_EMERG
+#error ASL_STRING_EMERG missing
+#endif])
+
AC_CHECK_HEADERS(net/if.h, , , [AC_INCLUDES_DEFAULT
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>