From 03726ba7684d672201dd773a49b7bec86ca877f5 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Tue, 7 May 2024 20:37:14 +0200
Subject: [PATCH] Remove bash syntax

* `==` is bash and not POSIX
Bug: https://bugs.gentoo.org/931239
Signed-off-by: David Seifert <soap@gentoo.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a763b683..eb6051ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,7 +652,7 @@ AS_IF([test "x$enable_self_generated_certificate" = xyes],
 	[AC_DEFINE([SELF_GENERATED_CERTIFICATE], [1], [Allow usage of self generated root certificate])],
 	[AS_IF([test "x$integration_tcti" != "xdevice"], [AC_DEFINE([FAPI_TEST_EK_CERT_LESS], [1], [Perform integration tests without EK certificate verification])])])
 
-AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" == xyes])
+AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" = xyes])
 
 AS_IF([test "x$enable_integration" = "xyes" && test "x$enable_self_generated_certificate" != "xyes" && test "x$integration_tcti" != "xdevice"],
       [AC_MSG_WARN([Running integration tests without EK certificate verification, use --enable-self-generated-certificate for full test coverage])])
-- 
2.43.2

