aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorKenji Rikitake <[email protected]>2010-02-10 12:35:36 +0000
committerErlang/OTP <[email protected]>2010-02-10 12:35:36 +0000
commitc355ba7ddf3d680d1d6c2886e0908aa1d9b8e71c (patch)
treee402deaf4331e2c7c035c3939f25ac22f50b7016 /erts
parent76c6911f9cd02e25121f68dd8f08d89c537fcf6c (diff)
downloadotp-c355ba7ddf3d680d1d6c2886e0908aa1d9b8e71c.tar.gz
otp-c355ba7ddf3d680d1d6c2886e0908aa1d9b8e71c.tar.bz2
otp-c355ba7ddf3d680d1d6c2886e0908aa1d9b8e71c.zip
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
Diffstat (limited to 'erts')
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
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],