summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-08-22 15:08:01 -0700
committerMatt Turner <[email protected]>2012-08-24 11:08:19 -0700
commitba4a36d8cdd6425c1263026e953cc3977d1192c6 (patch)
tree825efd2ff8f7f6d3bc84a2c9bf4cb27707cfb181
parent179d8aa3317eaadcdfe73a2fcd1894612b7380d0 (diff)
build: Check for bison-generated file before bailing because of no bison
.y/.c was a typo. Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9bf4e1e1f63..5a832415fb5 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