From 1694a6a7561f6463b3f3a3202d90b60c67107294 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Sun, 23 Apr 2006 15:35:14 +0000 Subject: [PATCH] * src/configure: Removed '==' bashism (thanks to Magnus Henoch) * src/aclocal.m4: Likewise SVN Revision: 543 --- ChangeLog | 3 +++ src/aclocal.m4 | 2 +- src/configure | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3c611ec26..d354cc14f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-04-23 Alexey Shchepin + * src/configure: Removed '==' bashism (thanks to Magnus Henoch) + * src/aclocal.m4: Likewise + * src/ejabberd_c2s.erl: Resend messages when leaving negative presence state (thanks to Magnus Henoch) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 362c70387..e24d334c7 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -68,7 +68,7 @@ AC_DEFUN(AM_WITH_ERLANG, AC_PATH_TOOL(ERLC, erlc, , $PATH:$with_erlang:$with_erlang/bin) AC_PATH_TOOL(ERL, erl, , $PATH:$with_erlang:$with_erlang/bin) - if test "z$ERLC" == "z" || test "z$ERL" == "z"; then + if test "z$ERLC" = "z" || test "z$ERL" = "z"; then AC_MSG_ERROR([erlang not found]) fi diff --git a/src/configure b/src/configure index 6165bb5d8..3468e35c9 100755 --- a/src/configure +++ b/src/configure @@ -2471,7 +2471,7 @@ else fi - if test "z$ERLC" == "z" || test "z$ERL" == "z"; then + if test "z$ERLC" = "z" || test "z$ERL" = "z"; then { { echo "$as_me:$LINENO: error: erlang not found" >&5 echo "$as_me: error: erlang not found" >&2;} { (exit 1); exit 1; }; }