build: fix configure test for yacc
authorRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 18:50:58 +0000 (20:50 +0200)
committerRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 18:50:58 +0000 (20:50 +0200)
commit1aabc5223550fa05e7f33f5cf167efc572b4dccc
treea9faaa93e99f34c37a77361665fb66b867a002b9
parent28d5f7708cac3b78e62cc47768a4a9956300a6de
build: fix configure test for yacc

It only works if 'bison' or 'byacc' are provided, but sometimes byacc
is installed as plain 'yacc'. The check fails for that.

I broke this in bdd8c11, restore Daniel's retrospectively clever check.

Signed-off-by: Ran Benita <ran234@gmail.com>
configure.ac