diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5b32f51..dd9115b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([krb5-auth-dialog], [0.11]) +AC_INIT([krb5-auth-dialog], [0.12]) AC_CONFIG_SRCDIR(src/krb5-auth-dialog.c) dnl Make automake keep quiet about wildcards & other GNUmake-isms AM_INIT_AUTOMAKE([-Wno-portability]) @@ -57,6 +57,16 @@ if test x"$enable_debug" = x"yes"; then AC_DEFINE(ENABLE_DEBUG, 1, [whether debugging is enabled]) fi +dnl check for location of opensc-pkcs11 helper used for pkinit +AC_ARG_WITH([pkcs11], + [AS_HELP_STRING([--with-pkcs11], + [set path of PKCS11 smartcard helper @<:@default=/usr/lib/opensc/opensc-pkcs11.so@:>@])], + [], + [with_pkcs11=/usr/lib/opensc/opensc-pkcs11.so]) +SC_PKCS11="$with_pkcs11" +AC_SUBST(SC_PKCS11) +AC_DEFINE_UNQUOTED([SC_PKCS11],["$SC_PKCS11"],[PKCS11 smartcard helper]) + AC_PATH_PROG([KRB5_CONFIG], krb5-config, none, $PATH:/usr/kerberos/bin) if test "x$KRB5_CONFIG" != "xnone"; then |