Skip to content

Commit

Permalink
Fix the shell operator bug of "==" to "=" in erts/configure.in
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jj1bdx authored and Erlang/OTP committed Feb 10, 2010
1 parent 76c6911 commit c355ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/configure.in
Expand Up @@ -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],
Expand Down

0 comments on commit c355ba7

Please sign in to comment.