Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | Fix 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 | |
| 7 | RP |
| 8 | 2016/2/16 |
| 9 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | Upstream-Status: Pending |
| 11 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | Index: 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]) |