X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=configure.in;h=670e855eec10fa4af524f121e01bb72928797334;hb=d82fcc88f355e3c8144478a860dfae0b299004a9;hp=f6a163b7fa88849255c12261bccc37796711c030;hpb=1b8f8918360b40a2749d40355266ed7dedbe41b5;p=tinc diff --git a/configure.in b/configure.in index f6a163b7..670e855e 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl $Id$ -AC_PREREQ(2.61) +AC_PREREQ(2.59) AC_INIT AC_CONFIG_SRCDIR([src/tincd.c]) AM_INIT_AUTOMAKE(tinc, 1.1-cvs) @@ -147,15 +147,14 @@ dnl These are defined in files in m4/ AC_ARG_WITH(libgcrypt, AC_HELP_STRING([--with-libgcrypt], [enable use of libgcrypt instead of OpenSSL])], []) -AM_PATH_LIBGCRYPT([], [], []) -tinc_OPENSSL tinc_ZLIB tinc_LZO if test "$with_libgcrypt" = yes; then - AC_MSG_ERROR([Libgcrypt support not fully implemented yet.]); - break; + AM_PATH_LIBGCRYPT([], [], []) + ln -sf gcrypt/crypto.c gcrypt/crypto.h gcrypt/cipher.c gcrypt/cipher.h gcrypt/digest.c gcrypt/digest.h gcrypt/rsa.c gcrypt/rsa.h src/ else + tinc_OPENSSL ln -sf openssl/crypto.c openssl/crypto.h openssl/cipher.c openssl/cipher.h openssl/digest.c openssl/digest.h openssl/rsa.c openssl/rsa.h src/ fi