summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorKarel Zak2018-04-30 09:37:14 +0200
committerKarel Zak2018-04-30 09:43:32 +0200
commit5ff48b5f364ee4775400a6c06b9248be715a89fc (patch)
tree38a0bc8338efccf125d6cb83b21ca9641d5ce56d /autogen.sh
parentlibmount: improve docs about mnt_context_mount() return codes (diff)
downloadkernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.tar.gz
kernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.tar.xz
kernel-qcow2-util-linux-5ff48b5f364ee4775400a6c06b9248be715a89fc.zip
build-sys: improve bison version detection
Addresses: https://github.com/karelzak/util-linux/issues/630 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
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].*)
;;