From d96e5ffd26c44cc7ef454e5d1496957293ef7e3e Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 13 Aug 2013 12:36:39 +0200 Subject: configure: look for gram.c in $srcdir That's where it is when building from the tarball. Regression from ff668395fc408f540604bd534e323b483f52a4ea. Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 04f55f6..66560f9 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ XORG_DEFAULT_OPTIONS AC_PROG_LEX AC_PROG_YACC AC_PATH_PROG([YACC_INST], $YACC) -if test ! -f "gram.c"; then +if ! test -f "$srcdir/gram.c"; then if test -z "$YACC_INST"; then AC_MSG_ERROR([yacc not found - unable to compile gram.y]) fi -- cgit v1.2.3