mirror of git://anongit.mindrot.org/openssh.git
Using "==" in shell tests is not portable.
Patch from rsbecker at nexbridge.com.
This commit is contained in:
parent
cfb1d9bc76
commit
d97874cbd9
|
@ -1399,7 +1399,7 @@ AC_RUN_IFELSE(
|
|||
)
|
||||
AC_MSG_RESULT([$func_calloc_0_nonnull])
|
||||
|
||||
if test "x$func_calloc_0_nonnull" == "xyes"; then
|
||||
if test "x$func_calloc_0_nonnull" = "xyes"; then
|
||||
AC_DEFINE(HAVE_CALLOC, 1, [calloc(0, x) returns non-null])
|
||||
else
|
||||
AC_DEFINE(HAVE_CALLOC, 0, [calloc(0, x) returns NULL])
|
||||
|
|
Loading…
Reference in New Issue