File 1238-Fix-monotonic-hrtime-configure-test.patch of Package erlang

From c179130c691c7c61784ee0d9c3643100da4e466a Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Mon, 14 Jun 2021 23:26:01 +0200
Subject: [PATCH] Fix monotonic hrtime configure test

---
 erts/aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/aclocal.m4 b/erts/aclocal.m4
index 085fe76918..d6a0d70c7a 100644
--- a/erts/aclocal.m4
+++ b/erts/aclocal.m4
@@ -2529,7 +2529,7 @@ fi
 
 ERL_MONOTONIC_CLOCK(high_resolution, undefined, no)
 
-case $$erl_monotonic_clock_low_resolution-$erl_monotonic_clock_func in
+case $erl_monotonic_clock_low_resolution-$erl_monotonic_clock_func in
   no-mach_clock_get_time)
     monotonic_hrtime=yes    
     AC_DEFINE(SYS_HRTIME_USING_MACH_CLOCK_GET_TIME, [1], [Define if you want to implement erts_os_hrtime() using mach clock_get_time()])
-- 
2.26.2

openSUSE Build Service is sponsored by