configure.ac: avoid GNU extension in "expr match" call

This commit is contained in:
Max Kellermann 2011-01-07 17:21:44 +01:00
parent 76cddfab90
commit 59a417fc84

View File

@ -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