summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/gst-parser.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gst-parser.m4 b/m4/gst-parser.m4
index 710da89..5e27199 100644
--- a/m4/gst-parser.m4
+++ b/m4/gst-parser.m4
@@ -15,7 +15,7 @@ AC_DEFUN([AG_GST_BISON_CHECK],
bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1`
AC_MSG_CHECKING([bison version $bison_version >= $bison_min_version])
- if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
+ if perl -we "exit (('v$bison_version' ge 'v$bison_min_version') ? 0 : 1)"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no])