From ef97fb3278d98a1fdb32e5c6b2a7467116ffc160 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Mon, 24 Jul 2006 12:11:10 +0000 Subject: [PATCH] m4/gst-parser.m4: Need to double square brackets in .m4 files. Should fix bison version detection with version number... Original commit message from CVS: Patch by: Frederic Peters * m4/gst-parser.m4: Need to double square brackets in .m4 files. Should fix bison version detection with version numbers like 1.23a (#348354). --- ChangeLog | 8 ++++++++ m4/gst-parser.m4 | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2044053..9e6017d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-07-24 Tim-Philipp Müller + + Patch by: Frederic Peters + + * m4/gst-parser.m4: + Need to double square brackets in .m4 files. Should fix bison + version detection with version numbers like 1.23a (#348354). + 2006-07-24 Jan Schmidt * check.mak: diff --git a/m4/gst-parser.m4 b/m4/gst-parser.m4 index 56b43bc..87628fa 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/^.*) //' | tr -d '[:alpha:]' | 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 <