[PATCH xgc] configure: look for gram.c in $srcdir
Julien Cristau
jcristau at debian.org
Tue Aug 13 03:49:04 PDT 2013
That's where it is when building from the tarball. Regression from
ff668395fc408f540604bd534e323b483f52a4ea.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
1.7.10.4
More information about the xorg-devel
mailing list