diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
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 |