Mesa (master): build: Check for bison-generated file before bailing because of no bison

Matt Turner mattst88 at kemper.freedesktop.org
Fri Aug 24 18:07:30 UTC 2012


Module: Mesa
Branch: master
Commit: ba4a36d8cdd6425c1263026e953cc3977d1192c6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba4a36d8cdd6425c1263026e953cc3977d1192c6

Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Aug 22 15:08:01 2012 -0700

build: Check for bison-generated file before bailing because of no bison

.y/.c was a typo.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9bf4e1e..5a83241 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ fi
 
 AC_PROG_YACC
 AC_PATH_PROG([YACC_INST], $YACC)
-if test ! -f "$srcdir/src/glsl/glcpp/glcpp-parse.y"; then
+if test ! -f "$srcdir/src/glsl/glcpp/glcpp-parse.c"; then
     if test -z "$YACC_INST"; then
         AC_MSG_ERROR([yacc not found - unable to compile glcpp-parse.y])
     fi




More information about the mesa-commit mailing list