summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2013-08-13 12:36:39 +0200
committerJulien Cristau <jcristau@debian.org>2013-08-14 11:45:56 +0200
commitd96e5ffd26c44cc7ef454e5d1496957293ef7e3e (patch)
treeb6367133bec3fa45635f14990e5daf085ab32141
parentbb714a16b2e79bc391184bafce6046a897baf293 (diff)
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 <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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