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.
+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:
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])