BSD sed lacks -r; fix #551
This commit is contained in:
1 parent
f8d9478517
commit
287e2c96ed
1 file changed
+1
-1
@@ -48,7 +48,7 @@ AC_DEFUN([AX_PROG_BISON_VERSION],[
|
|||||||
changequote(<<,>>)
|
changequote(<<,>>)
|
||||||
bison_version=`$YACC --version 2>&1 \
|
bison_version=`$YACC --version 2>&1 \
|
||||||
| $GREP bison \
|
| $GREP bison \
|
||||||
| $SED -rn -e 's/bison .* ([0-9]+([.][0-9])+)+/\1/p'`
|
| $SED -e 's/^[^0-9]*//' -e 's/[^0-9]*$//'`
|
||||||
changequote([,])
|
changequote([,])
|
||||||
AC_MSG_RESULT($bison_version)
|
AC_MSG_RESULT($bison_version)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user