Patch patch-config.m4 for APC Bug #75791
Patch version 2018-01-10 09:58 UTC
Return to Bug #75791 |
Download this patch
Patch Revisions:
Developer: jdolecek@NetBSD.org
$NetBSD: patch-config.m4,v 1.2 2016/07/26 09:22:40 jdolecek Exp $
Fix bashism
--- config.m4.orig 2016-06-07 12:41:02.000000000 +0000
+++ config.m4
@@ -149,7 +149,7 @@ if test "$PHP_APCU" != "no"; then
fi
fi
- if test "$PHP_APCU_RWLOCKS" == "no"; then
+ if test "$PHP_APCU_RWLOCKS" = "no"; then
orig_LIBS="$LIBS"
LIBS="$LIBS -lpthread"
AC_TRY_RUN(
@@ -202,8 +202,8 @@ if test "$PHP_APCU" != "no"; then
LIBS="$orig_LIBS"
fi
- if test "$PHP_APCU_RWLOCKS" == "no"; then
- if test "$PHP_APCU_MUTEX" == "no"; then
+ if test "$PHP_APCU_RWLOCKS" = "no"; then
+ if test "$PHP_APCU_MUTEX" = "no"; then
if test "$PHP_APCU_SPINLOCK" != "no"; then
AC_DEFINE(APC_SPIN_LOCK, 1, [ ])
AC_MSG_WARN([APCu spin locking enabled])
|