diff options
author | Karel Zak <kzak@redhat.com> | 2018-04-30 09:37:14 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2018-07-11 15:36:19 +0200 |
commit | b51021698e1b87e080640eaba95402365941774b (patch) | |
tree | 5733b29c01e7c7d764bf64f8e8cbed0b729f107b | |
parent | 993774b20cbf13ef2b4ecae9ca5ffd556d82340d (diff) | |
download | util-linux-b51021698e1b87e080640eaba95402365941774b.tar.gz |
build-sys: improve bison version detection
Addresses: https://github.com/karelzak/util-linux/issues/630
Signed-off-by: Karel Zak <kzak@redhat.com>
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 04b6cb459..3625b2da9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -73,7 +73,7 @@ if ! (bison --version) < /dev/null > /dev/null 2>&1; then echo DIE=1 else - lexver=$(bison --version | awk '/bison \(GNU Bison\)/ { print $4 }') + lexver=$(bison --version | awk '/^bison \(GNU [Bb]ison\)/ { print $4 }') case "$lexver" in [2-9].*) ;; |