Use a configure switch to turn on PK-INIT, not by detecting existence

of the new ASN.1 library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15621 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-12 13:23:08 +00:00
parent 8e7df1dae2
commit 387f700c57

View File

@@ -31,10 +31,6 @@ dnl
AC_DEFINE([_GNU_SOURCE], 1,
[Define to enable extensions on glibc-based systems such as Linux.])
if test -f $srcdir/lib/asn1/pkcs12.asn1 ; then
AC_DEFINE([PKINIT], 1, [Define to enable PKINIT.])
fi
AC_OBJEXT
AC_EXEEXT
@@ -69,6 +65,13 @@ if test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes; then
fi
AM_CONDITIONAL(OPENLDAP_MODULE, test "$enable_hdb_openldap_module" = yes -a "$with_openldap" = yes)
AC_ARG_ENABLE(pk-init,
AS_HELP_STRING([--enable-pk-init],
[if you want support to pk-init]))
if test "$enable_pk_init" = yes ;then
AC_DEFINE([PKINIT], 1, [Define to enable PKINIT.])
fi
rk_TEST_PACKAGE(krb4,[#include <krb.h>],-lkrb,-ldes,/usr/athena, KRB4, krb4-config)
LIB_kdb=