diff options
author | Kamil Rytarowski <krytarowski@users.noreply.github.com> | 2016-08-09 00:20:49 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2016-08-09 00:20:49 +0300 |
commit | 736a445ddc81ea278808212a105b64ed73f8efb7 (patch) | |
tree | 931d52766307b4eee86301a1b7d04b4f4cce3d00 /eglib | |
parent | 70d7f5e35059bdb64d3c6b7e42d7ad5120b476d6 (diff) |
Fix shell portability, detected with NetBSD/pkgsrc (#3375)
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eglib/configure.ac b/eglib/configure.ac index dbca788afd6..a33dcb846b2 100644 --- a/eglib/configure.ac +++ b/eglib/configure.ac @@ -140,7 +140,7 @@ AC_CHECK_FUNCS(fork execv execve) AC_ARG_WITH([overridable-allocators], [ --with-overridable-allocators allow g_*alloc/g_free to call custom allocators set via g_mem_set_vtable]) -if test x$with_overridable_allocators == xyes; then +if test x$with_overridable_allocators = xyes; then AC_DEFINE(ENABLE_OVERRIDABLE_ALLOCATORS,1,[Overridable allocator support enabled]) AC_MSG_NOTICE([Overridable allocator support enabled]) else @@ -160,7 +160,7 @@ elif test x$target_ios = xno; then AC_CHECK_FUNCS(strndup getpwuid_r) fi -AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno || test x$with_overridable_allocators == xyes) +AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno || test x$with_overridable_allocators = xyes) AM_ICONV() AC_SEARCH_LIBS(sqrtf, m) |