fi
AC_MSG_CHECKING([whether to disable SRP authentication support])
-AC_ARG_ENABLE( srp, [ --disable-srp-authentication disable the SRP authentication support],
+AC_ARG_ENABLE( srp, [ --disable-srp-authentication disable the SRP authentication support],
ac_enable_srp=no
)
if test x$ac_enable_srp != xno; then
fi
AC_MSG_CHECKING([whether to disable anonymous authentication support])
-AC_ARG_ENABLE( srp, [ --disable-anon-authentication disable the anonymous authentication support],
+AC_ARG_ENABLE( srp, [ --disable-anon-authentication disable the anonymous authentication support],
ac_enable_anon=no
)
if test x$ac_enable_anon != xno; then
fi
+AC_MSG_CHECKING([whether to disable OpenPGP Certificate authentication support])
+AC_ARG_ENABLE( srp, [ --disable-openpgp-authentication disable the OpenPGP authentication support],
+ ac_enable_openpgp=no
+)
+if test x$ac_enable_openpgp != xno; then
+ AC_MSG_RESULT(no)
+ AC_CHECK_LIB(opencdk, cdk_iobuf_new,,AC_MSG_WARN(
+***
+*** OPENCDK was not found. You will not be able to use OpenPGP keys with gnutls.))
+else
+ AC_MSG_RESULT(yes)
+fi
+