m4/gst-parser.m4: Fix the flex version check. It ignored the micro version before.
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 25 Mar 2007 17:40:54 +0000 (17:40 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 25 Mar 2007 17:40:54 +0000 (17:40 +0000)
Original commit message from CVS:
* m4/gst-parser.m4:
Fix the flex version check. It ignored the micro version before.

ChangeLog
m4/gst-parser.m4

index 1cf8494..0bcb1fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-25  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * m4/gst-parser.m4:
+       Fix the flex version check. It ignored the micro version before.
+
 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * check.mak:
index ecae96e..46f9041 100644 (file)
@@ -41,9 +41,9 @@ AC_DEFUN([AG_GST_FLEX_CHECK],
     (\$flex_version_major, \$flex_version_minor, \$flex_version_micro ) = "$flex_version" =~ /(\d+)\.(\d+)\.(\d+)/;
     exit (((\$flex_version_major > \$min_version_major) ||
      ((\$flex_version_major == \$min_version_major) &&
-      (\$flex_version_minor >= \$min_version_minor)) ||
+      (\$flex_version_minor > \$min_version_minor)) ||
      ((\$flex_version_major == \$min_version_major) &&
-      (\$flex_version_minor >= \$min_version_minor) &&
+      (\$flex_version_minor == \$min_version_minor) &&
       (\$flex_version_micro >= \$min_version_micro)))
      ? 0 : 1);
 EOF