blob: 1128c7ea0c2ff1e8c297df26ea8cad2de2955163 [file] [log] [blame]
Andrew Geissler90fd73c2021-03-05 15:25:55 -06001From efe7101786193eaddb749c0583af6b54aec6f289 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 2 Feb 2021 18:45:16 -0800
4Subject: [PATCH] configure: Conditionally undefine backend m4 macro
5
6Unlike the M4 builtin, this macro fails if macro is not defined
7therefore recover the behavior of the builtin.
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
16index fe5054a..758f8c2 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -127,7 +127,7 @@ fi
20 m4_set_foreach([crypto_backends], [backend],
21 [AM_CONDITIONAL(m4_toupper(backend), test "$found_crypto" = "backend")]
22 )
23-m4_undefine([backend])
24+m4_ifdef([backend], [m4_undefine([backend])])
25
26
27 # libz
28--
292.30.0
30