config: allow to build tarball when yacc is missing
authorGaetan Nadon <memsize@videotron.ca>
Tue, 7 Dec 2010 15:59:13 +0000 (10:59 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Wed, 8 Dec 2010 20:24:21 +0000 (15:24 -0500)
commite2f9f51667cf88c398d4536cfcc6996e9d0aa62a
tree624ece748228adb4fb6da0c15bace483212b6af6
parent2c51e4b1957d331ec82019282d2f35f2ef19496d
config: allow to build tarball when yacc is missing

Autoconf does not handle this scenario as well as Automake does.
If xkbparse.c is already there, do not abort the configuration
if yacc is missing as it is not needed.

If both xkbparse.c and yacc are missing, abort configuration.
Yacc is a required tool to build the package.

Acked-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
configure.ac