summaryrefslogtreecommitdiff
path: root/chat/ejabberd/patches/patch-m4_erlang-extra.m4
blob: 347725b5840674015612d552421cf502f849ebba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-m4_erlang-extra.m4,v 1.1 2022/10/15 18:20:40 triaxx Exp $

Fix portability of configure script.

--- m4/erlang-extra.m4.orig	2022-05-06 13:12:22.000000000 +0000
+++ m4/erlang-extra.m4
@@ -75,7 +75,7 @@ EOF
 	if test "x`cat conftest.out`" != "xok"; then
 	   AC_MSG_RESULT([failed])
 	   X="`cat conftest.out`"
-	   if test "[$3]" == "warn"; then
+	   if test "[$3]" = "warn"; then
 	      AC_MSG_WARN([$X])
 	   else
 	      AC_MSG_FAILURE([$X])