blob: e6c4eeb4b469f7f96f47c31846a3a45bcca3e2c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 99de8509dad80e44d2e78a2e5c38ad8ce40b9c65 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Thu, 4 Oct 2018 11:32:27 +0200
Subject: [PATCH] Fix autoconf Erlang version check
Prevent the $- variable to be expanded in shell.
Fixes #216
---
src/m4/ax_erlang_otp_version.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/m4/ax_erlang_otp_version.m4 b/src/m4/ax_erlang_otp_version.m4
index 94923837..e6b38873 100644
--- a/src/m4/ax_erlang_otp_version.m4
+++ b/m4/ax_erlang_otp_version.m4
@@ -168,7 +168,7 @@ AC_DEFUN([AX_ERLANG_REQUIRE_OTP_VER],
true ->
%% Remove -1 from R16B03-1
list_to_integer(lists:takewhile(fun(C) ->
- C /= $-
+ C /= \$-
end, MinorT))
end,
if
--
2.19.0
|