Commit 2c534ab2 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

m4/gst-parser.m4: Fix bison version number detection for older --version...

m4/gst-parser.m4: Fix bison version number detection for older --version output format (as bison 1.28 on OSX 10.4 out...

Original commit message from CVS:
* m4/gst-parser.m4::
Fix bison version number detection for older --version
output format (as bison 1.28 on OSX 10.4 outputs).
Fixes #543853.
parent a100efef
2008-07-20 Tim-Philipp Müller <tim.muller at collabora co uk>
* m4/gst-parser.m4::
Fix bison version number detection for older --version
output format (as bison 1.28 on OSX 10.4 outputs).
Fixes #543853.
2008-07-12 Stefan Kost <ensonic@users.sf.net>
* plugins.xsl:
......
......@@ -10,8 +10,9 @@ AC_DEFUN([AG_GST_BISON_CHECK],
dnl check bison version
dnl we need version >= 1.875 for the reentrancy support
dnl in the parser.
dnl First lines observed: 'bison (GNU Bison) 2.3' or 'GNU Bison version 1.28'
bison_min_version=1.875
bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^.*) //' | sed 's/[[a-zA-Z]]*$//' | cut -d' ' -f1`
bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
if perl -w <<EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment