Commit ef97fb32 authored by Frederic Peters's avatar Frederic Peters Committed by Tim-Philipp Müller

m4/gst-parser.m4: Need to double square brackets in .m4 files. Should fix...

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 <fpeters at entrouvert com>
* m4/gst-parser.m4:
Need to double square brackets in .m4 files. Should fix bison
version detection with version numbers like 1.23a (#348354).
parent 743c74bf
2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Frederic Peters <fpeters at entrouvert com>
* 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 <thaytan@mad.scientist.com>
* check.mak:
......
......@@ -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 <<EOF
......@@ -34,7 +34,7 @@ AC_DEFUN([GST_FLEX_CHECK],
dnl check flex version
flex_min_version=2.5.6
flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | tr -d '[:alpha:]' | cut -d' ' -f1`
flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | tr -d '[[:alpha:]]' | cut -d' ' -f1`
AC_MSG_CHECKING([flex version $flex_version >= $flex_min_version])
if perl -w <<EOF
(\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$flex_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
......
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