diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-04-13 13:43:55 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-04-13 13:46:27 +1000 |
commit | 3402cc607049ac900f6d8574bc2ce657a8cdf4fe (patch) | |
tree | b58656c60ae7f77307b41be7f6d0dabe317d2a7d | |
parent | 341727df910e12e26ef161508ed76d91c40a61eb (diff) |
Using "==" in shell tests is not portable.
Patch from rsbecker at nexbridge.com.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 663062be..2e84d90b 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |