From 5393d85731aecaf5bcbbca258a7b60dae7360f3d Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Sun, 23 Jul 2006 09:30:38 +0000 Subject: [PATCH] m4/gst-parser.m4: Fix bison detection (#348354) Original commit message from CVS: Patch by: Frederic Peters * m4/gst-parser.m4: Fix bison detection (#348354) --- ChangeLog | 7 +++++++ m4/gst-parser.m4 | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8be5379..79f15cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-07-23 Stefan Kost + + Patch by: Frederic Peters + + * m4/gst-parser.m4: + Fix bison detection (#348354) + 2006-07-21 Stefan Kost * m4/gst-parser.m4: diff --git a/m4/gst-parser.m4 b/m4/gst-parser.m4 index eb1b9a4..56b43bc 100644 --- a/m4/gst-parser.m4 +++ b/m4/gst-parser.m4 @@ -9,7 +9,7 @@ AC_DEFUN([GST_BISON_CHECK], dnl check bison version bison_min_version=1.35 - bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^.*) //'|cut -d' ' -f1` + bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^.*) //' | tr -d '[:alpha:]' | cut -d' ' -f1` AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version]) if perl -w <= $flex_min_version]) if perl -w <