diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-20 12:42:03 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-20 12:42:03 +0000 |
commit | b0545724dab66aac2e91614a603ccd2208898819 (patch) | |
tree | 8fadbaf161d101355f88125622cbd0f900c5496b | |
parent | 211fa5f2d0930dfd6891b386d42edba6d88c2a19 (diff) | |
download | gstreamer-common-baserock/franred/fix-bison-version-check.tar.gz |
gst-parser.m4: Fix bison version check for bison 3.0.2.1baserock/franred/fix-bison-version-check
-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 b002047..bff2453 100644 --- a/m4/gst-parser.m4 +++ b/m4/gst-parser.m4 @@ -12,7 +12,7 @@ AC_DEFUN([AG_GST_BISON_CHECK], dnl in the parser. dnl First lines observed: 'bison (GNU Bison) 2.3' or 'GNU Bison version 1.28' bison_min_version=2.4 - bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d' ' -f1` + bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[[^0-9]]*//' | sed 's/[[^0-9]]*$//' | cut -d'-' -f1 | tr -d '[:blank]'` 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 |