diff options
author | James William Dumay <james.w.dumay@gmail.com> | 2012-07-23 08:41:04 +0200 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2013-01-24 10:49:35 -0300 |
commit | 9bca01f15ba103ae4dccd8224cc26fd4f07fc63a (patch) | |
tree | c73a8ec7ca23d2b6aa67132f817ce97067312f82 | |
parent | 3baf58a140fb1219c917cbae1070c4734e30f028 (diff) | |
download | gstreamer-common-9bca01f15ba103ae4dccd8224cc26fd4f07fc63a.tar.gz |
gst-parser.m4: Fix flex version check for OSX 10.8
Fixes bug #680428.
-rw-r--r-- | m4/gst-parser.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gst-parser.m4 b/m4/gst-parser.m4 index 2cae45d..710da89 100644 --- a/m4/gst-parser.m4 +++ b/m4/gst-parser.m4 @@ -34,7 +34,7 @@ AC_DEFUN([AG_GST_FLEX_CHECK], dnl we need version >= 2.5.31 for the reentrancy support dnl in the parser. flex_min_version=2.5.31 - flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[[a-zA-Z]]*$//' | cut -d' ' -f1` + flex_version=`$FLEX_PATH --version | head -n 1 | awk '{print $2}'` 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+)/; |