BSD sed lacks -r; fix #551

This commit is contained in:
Nicolas Williams committed 2014-08-14 03:31:25 -05:00
1 parent f8d9478517
commit 287e2c96ed
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ AC_DEFUN([AX_PROG_BISON_VERSION],[
changequote(<<,>>)
bison_version=`$YACC --version 2>&1 \
| $GREP bison \
| $SED -rn -e 's/bison .* ([0-9]+([.][0-9])+)+/\1/p'`
| $SED -e 's/^[^0-9]*//' -e 's/[^0-9]*$//'`
changequote([,])
AC_MSG_RESULT($bison_version)