projects
/
platform
/
upstream
/
gst-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e386f
)
gst-parser.m4: Fix flex version check for OSX 10.8
author
James William Dumay
<james.w.dumay@gmail.com>
Mon, 23 Jul 2012 06:41:04 +0000
(08:41 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 23 Jul 2012 06:42:39 +0000
(08:42 +0200)
Fixes bug #680428.
m4/gst-parser.m4
patch
|
blob
|
history
diff --git
a/m4/gst-parser.m4
b/m4/gst-parser.m4
index
2cae45d
..
710da89
100644
(file)
--- 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+)/;