Commit ab82e0ebc388dfc494bda3123517ac7608dde865

Ran Benita 2012-05-10T01:02:29

Fix configure check for xkbparse.c instead of parser.c This obscure test is easy to miss. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/configure.ac b/configure.ac
index e69bdf1..d2bd3c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,9 +49,9 @@ XORG_CHECK_MALLOC_ZERO
 AC_PROG_LEX
 AC_PROG_YACC
 AC_PATH_PROG([YACC_INST], $YACC)
-if test ! -f "src/xkbcomp/xkbparse.c"; then
+if test ! -f "src/xkbcomp/parser.c"; then
    if test -z "$YACC_INST"; then
-      AC_MSG_ERROR([yacc not found - unable to compile src/xkbcomp/xkbparse.y])
+      AC_MSG_ERROR([yacc not found - unable to compile src/xkbcomp/parser.y])
    fi
 fi