blob: ded16e5115af25a452dc7de3074bb5f76343a15f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-config.m4,v 1.1 2016/08/11 23:09:40 jdolecek Exp $
Fix bashism.
--- config.m4.orig 2014-10-11 17:02:21.000000000 +0000
+++ config.m4
@@ -140,7 +140,7 @@ if test "$PHP_APCU" != "no"; then
LIBS="$orig_LIBS"
fi
- if test "$PHP_APCU_RWLOCKS" == "no"; then
+ if test "$PHP_APCU_RWLOCKS" = "no"; then
orig_LIBS="$LIBS"
LIBS="$LIBS -lpthread"
AC_TRY_RUN(
@@ -193,8 +193,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])
|