summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2016-05-13 09:25:15 +0100
committerJoe Watkins <krakjoe@php.net>2016-05-13 09:25:15 +0100
commit7132fe19c29c512d00a3afe101212ba15fa1f99e (patch)
tree8687fee89372483f8687998e55fadc5dd8201a01 /acinclude.m4
parent1bb8a7b0b895af4a9e6b24101fe8fab5af64f86c (diff)
downloadphp-git-7132fe19c29c512d00a3afe101212ba15fa1f99e.tar.gz
fix 1bb8a7b0b895af4a9e6b24101fe8fab5af64f86c
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7105b69ec2..8afd3bd7cf 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2691,7 +2691,7 @@ EOF
continue;
fi
for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS EXTRA_LDFLAGS_PROGRAM LIBS CC CXX; do
- if test `expr $arg : ".*${var}.*"` != 0;
+ if test `expr "X$arg" : "X.*${var}.*"` != 0;
then
continue 2
fi
@@ -2703,7 +2703,7 @@ EOF
continue;
fi
for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS EXTRA_LDFLAGS_PROGRAM LIBS CC CXX; do
- if test `expr $arg : ".*${var}.*"` != 0;
+ if test `expr "X$arg" : "X.*${var}.*"` != 0;
then
continue 2
fi