Fix configure check for xkbparse.c instead of parser.c
authorRan Benita <ran234@gmail.com>
Wed, 9 May 2012 22:02:29 +0000 (01:02 +0300)
committername <email>
Fri, 18 May 2012 17:54:32 +0000 (20:54 +0300)
This obscure test is easy to miss.

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

index e69bdf1..d2bd3c2 100644 (file)
@@ -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