From 59a417fc84883347d305b9139ecfddc9b3c2725a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Jan 2011 17:21:44 +0100 Subject: configure.ac: avoid GNU extension in "expr match" call --- m4/pretty_print.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/pretty_print.m4 b/m4/pretty_print.m4 index a22357a8..da235946 100644 --- a/m4/pretty_print.m4 +++ b/m4/pretty_print.m4 @@ -1,6 +1,6 @@ AC_DEFUN([results], [ dnl This is a hack to allow "with" names, otherwise "enable". - num=`expr match $1 'with'` + num=`expr $1 : 'with'` if test "$num" != "0"; then var="`echo '$'$1`" else -- cgit v1.2.3