blob: 694d3ef01138a97440fcc46e25df7e7907b825fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
From 94949efc89245ad8234d704ebb453e2f77605fd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
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
|