On Sat, 2010-07-10 at 10:14 -0400, Gaetan Nadon wrote: > diff --git a/configure.ac b/configure.ac > index 3ad342c..eae4640 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -36,7 +36,8 @@ AM_CONFIG_HEADER(config.h) > AC_PROG_CC > AC_PROG_YACC > AC_PATH_PROG([YACC_INST], $YACC) > -test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile > xkbparse.y]) > +AC_CHECK_FILE([xkbparse.c], [], > + [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable > to compile xkbparse.y])]) > AC_PROG_INSTALL
You need to test for $srcdir/xkbparse.c to support VPATH builds. Yaakov _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
