blob: afd08d577f951a565a42104161e212da94fc0298 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001Fix underquoted m4 entry. This causes a failure if gcrypt isn't present:
2
3| configure: libgcrypt support disabled
4| ../rng-tools-5/configure: line 4345: ac_fn_c_try_link: command not found
5| configure: error: in `/media/build1/poky/build/tmp/work/i586-poky-linux/rng-tools/5-r0/build':
6
7RP
82016/2/16
9
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010Upstream-Status: Pending
11
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050012Index: rng-tools-5/configure.ac
13===================================================================
14--- rng-tools-5.orig/configure.ac
15+++ rng-tools-5/configure.ac
16@@ -71,7 +71,7 @@ AS_IF(
17 [test "x$with_libgcrypt" != "xno"],
18 [
19 AC_CHECK_HEADER([gcrypt.h],
20- AC_CHECK_LIB(
21+ [AC_CHECK_LIB(
22 [gcrypt],
23 [gcry_check_version], ,
24 [
25@@ -80,7 +80,7 @@ AS_IF(
26 AC_MSG_NOTICE([libgcrypt support disabled])
27 fi
28 ]
29- ),
30+ )],
31 [if test "x$with_libgcrypt" != "xcheck"; then
32 AC_MSG_FAILURE([libgcrypt headers not found]); else
33 AC_MSG_NOTICE([libgcrypt support disabled])