Commit 2c4d28a7 authored by Roland Illig's avatar Roland Illig Committed by Sebastian Dröge

m4/gst-parser.m4: Fix AG_GST_BISON_CHECK to handle version numbers with more...

m4/gst-parser.m4: Fix AG_GST_BISON_CHECK to handle version numbers with more than two components (i.e. 2.4.1). Fixes ...

Original commit message from CVS:
Patch by: Roland Illig <roland dot illig at gmx dot de>
* m4/gst-parser.m4:
Fix AG_GST_BISON_CHECK to handle version numbers with more than
two components (i.e. 2.4.1). Fixes bug #564507.
parent 369b5ddf
2008-12-15 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: Roland Illig <roland dot illig at gmx dot de>
* m4/gst-parser.m4:
Fix AG_GST_BISON_CHECK to handle version numbers with more than
two components (i.e. 2.4.1). Fixes bug #564507.
2008-12-14 Edward Hervey <bilboed@gmail.com>
* gst.supp:
......
......@@ -15,10 +15,7 @@ AC_DEFUN([AG_GST_BISON_CHECK],
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
exit ($bison_version < $bison_min_version) ? 0 : 1;
EOF
then
if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no])
......
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