Skip to content
Permalink
Browse files
Using "==" in shell tests is not portable.
Patch from rsbecker at nexbridge.com.
  • Loading branch information
daztucker committed Apr 13, 2018
1 parent 341727d commit 3402cc6
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1398,7 +1398,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])

0 comments on commit 3402cc6

Please sign in to comment.