From 94949efc89245ad8234d704ebb453e2f77605fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 4 Dec 2012 17:35:55 +0100 Subject: [PATCH 2/2] Don't fail with missing gcrypt macros. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index d0003bb..e804fdc 100644 --- a/configure.ac +++ b/configure.ac @@ -412,12 +412,14 @@ AC_ARG_ENABLE([gcrypt], [have_gcrypt=auto]) if test "x${have_gcrypt}" != xno ; then +m4_ifdef([AM_PATH_LIBGCRYPT], [ AM_PATH_LIBGCRYPT( [1.4.5], [have_gcrypt=yes], [if test "x$have_gcrypt" = xyes ; then AC_MSG_ERROR([*** GCRYPT headers not found.]) fi]) +]) if test "x$have_gcrypt" = xyes ; then GCRYPT_LIBS="$LIBGCRYPT_LIBS" -- 1.8.0