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:45:51 +1000 |
commit | d97874cbd909eb706886cd0cdd418f812c119ef9 (patch) | |
tree | d2525af02388c881a13f5d0f88170ce94bcc1fa3 | |
parent | cfb1d9bc76734681e3dea532a1504fcd466fbe91 (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 8aad45169..7cf6d61dd 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1399,7 +1399,7 @@ AC_RUN_IFELSE( | |||
1399 | ) | 1399 | ) |
1400 | AC_MSG_RESULT([$func_calloc_0_nonnull]) | 1400 | AC_MSG_RESULT([$func_calloc_0_nonnull]) |
1401 | 1401 | ||
1402 | if test "x$func_calloc_0_nonnull" == "xyes"; then | 1402 | if test "x$func_calloc_0_nonnull" = "xyes"; then |
1403 | AC_DEFINE(HAVE_CALLOC, 1, [calloc(0, x) returns non-null]) | 1403 | AC_DEFINE(HAVE_CALLOC, 1, [calloc(0, x) returns non-null]) |
1404 | else | 1404 | else |
1405 | AC_DEFINE(HAVE_CALLOC, 0, [calloc(0, x) returns NULL]) | 1405 | AC_DEFINE(HAVE_CALLOC, 0, [calloc(0, x) returns NULL]) |