configure.ac: avoid GNU extension in "expr match" call
This commit is contained in:
parent
76cddfab90
commit
59a417fc84
@ -1,6 +1,6 @@
|
|||||||
AC_DEFUN([results], [
|
AC_DEFUN([results], [
|
||||||
dnl This is a hack to allow "with" names, otherwise "enable".
|
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
|
if test "$num" != "0"; then
|
||||||
var="`echo '$'$1`"
|
var="`echo '$'$1`"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user