From ee8f402af8c964acac5740ee1677a7b47e20a883 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Fri, 13 May 2016 09:21:28 +0100 Subject: [PATCH] fix 1f52a03082b2816826bc5bd8c241f5d016d15395 --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index dd815c9db0..db146aaf2f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2699,7 +2699,7 @@ EOF break fi for var in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS EXTRA_LDFLAGS_PROGRAM LIBS CC CXX; do - if test `expr $CURRENT_ARG : ".*${var}.*"` != 0; + if test `expr "X$CURRENT_ARG" : "X.*${var}.*"` != 0; then continue 2 fi -- 2.40.0