From 030ccf673d96016733ffb3bef3feede20dba19a7 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Fri, 21 Jan 2011 13:03:40 +0800 Subject: Add ARD (Apple Remote Desktop) security type support Signed-off-by: Vic Lee Signed-off-by: Christian Beier --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4ad489b..bf760dd 100644 --- a/configure.ac +++ b/configure.ac @@ -689,6 +689,22 @@ if test ! -z "$MINGW"; then fi AC_SUBST(WSOCKLIB) +# Check for libgcrypt +AH_TEMPLATE(WITH_CLIENT_GCRYPT, [Enable support for libgcrypt in libvncclient]) +AC_ARG_WITH(gcrypt, +[ --without-gcrypt disable support for gcrypt],,) +AC_ARG_WITH(client-gcrypt, +[ --without-client-gcrypt disable support for gcrypt in libvncclient],,) + +if test "x$with_gcrypt" != "xno"; then + AM_PATH_LIBGCRYPT(1.4.0, , with_client_gcrypt=no) + CFLAGS="$CFLAGS $LIBGCRYPT_CFLAGS" + LIBS="$LIBS $LIBGCRYPT_LIBS" + if test "x$with_client_gcrypt" != "xno"; then + AC_DEFINE(WITH_CLIENT_GCRYPT) + fi +fi + # Checks for GnuTLS AH_TEMPLATE(WITH_CLIENT_TLS, [Enable support for gnutls in libvncclient]) AC_ARG_WITH(gnutls, -- cgit v1.2.3