From c355ba7ddf3d680d1d6c2886e0908aa1d9b8e71c Mon Sep 17 00:00:00 2001 From: Kenji Rikitake Date: Wed, 10 Feb 2010 12:35:36 +0000 Subject: Fix the shell operator bug of "==" to "=" in erts/configure.in In UNIX test command, "==" is incorrect for string comparison; "=" is the right operator. Originally pointed out by Giacomo Olgeni in the following article: http://www.erlang.org/pipermail/erlang-patches/2008-November/000334.html and available as a FreeBSD port patch. Accordingly fixed in erts/configure.in --- erts/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') diff --git a/erts/configure.in b/erts/configure.in index f4ee1fe935..5fa1245b13 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1441,7 +1441,7 @@ AC_CHECK_HEADER(sys/devpoll.h, have_kernel_poll=/dev/poll) dnl Check for kernel SCTP support AC_SUBST(LIBSCTP) -if test "x$enable_sctp" == "xyes" ; then +if test "x$enable_sctp" = "xyes" ; then AC_CHECK_HEADER(netinet/sctp.h, [LIBSCTP=libsctp.so.1 AC_DEFINE(HAVE_SCTP_H, [1], -- cgit v1.2.3