[PATCH xgc] configure: look for gram.c in $srcdir

Julien Cristau jcristau at debian.org
Wed Aug 14 03:09:06 PDT 2013


On Tue, Aug 13, 2013 at 14:44:30 -0700, Alan Coopersmith wrote:

> On 08/13/13 03:49 AM, Julien Cristau wrote:
> >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
> >
> 
> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> 
Thanks!

To git.freedesktop.org:/git/xorg/app/xgc
   bb714a1..d96e5ff  master -> master

Cheers,
Julien


More information about the xorg-devel mailing list