File 5608-erts-Fix-THP-autoconf-macro.patch of Package erlang

From e40b7523c86a90d6dcccb20028a73c2a9bdf1408 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 5 Sep 2024 10:50:54 +0200
Subject: [PATCH] erts: Fix THP autoconf macro

---
 erts/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/configure.ac b/erts/configure.ac
index 82f33ebc39..ce8a7da678 100644
--- a/erts/configure.ac
+++ b/erts/configure.ac
@@ -3036,9 +3036,9 @@ case $host_os in
 esac
 
 dnl Checks for the Transparent Huge pages (THP) availability on Linux
-  [      
 AS_CASE([$ARCH-$OPSYS],
   [amd64-linux*],
+  [
     AC_CACHE_CHECK(
       [whether the Transparent Huge Pages interface is available],
       erts_cv_linux_thp,
-- 
2.43.0

openSUSE Build Service is sponsored by