[PATCH xgc] configure: look for gram.c in $srcdir
Alan Coopersmith
alan.coopersmith at oracle.com
Tue Aug 13 14:44:30 PDT 2013
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>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list