summaryrefslogtreecommitdiffstats
path: root/package/ejabberd/0004-remove-checking-erlang-version.patch
blob: 8997cca0795df190025a115d24758392623692a9 (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
29
30
From bec405139144c8901b7d3771f5f658a3fed64b8a Mon Sep 17 00:00:00 2001
From: Johan Oudinet <johan.oudinet@gmail.com>
Date: Sun, 21 Feb 2016 11:00:24 -0500
Subject: [PATCH] remove checking erlang version

Without this patch, the configure will try to run erlang to simply
check if the version is supported by ejabberd. Instead, we do this test
statically.
---
 configure.ac | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d5f313e..4b35d57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,10 +39,8 @@ AC_ARG_ENABLE(erlang-version-check,
 	[Check Erlang/OTP version @<:@default=yes@:>@])])
 case "$enable_erlang_version_check" in
 	yes|'')
-		ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX])
 		;;
 	no)
-		ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX],[warn])
 		;;
 esac
 
-- 
2.5.0

OpenPOWER on IntegriCloud