summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4c86fcd..3ad342c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,8 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_YACC
+AC_PATH_PROG([YACC_INST], $YACC)
+test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile xkbparse.y])
AC_PROG_INSTALL