From ba4a36d8cdd6425c1263026e953cc3977d1192c6 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 22 Aug 2012 15:08:01 -0700 Subject: [PATCH] build: Check for bison-generated file before bailing because of no bison .y/.c was a typo. Reviewed-by: Ian Romanick --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2