From: Matt Turner Date: Wed, 22 Aug 2012 22:08:01 +0000 (-0700) Subject: build: Check for bison-generated file before bailing because of no bison X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba4a36d8cdd6425c1263026e953cc3977d1192c6;p=mesa.git build: Check for bison-generated file before bailing because of no bison .y/.c was a typo. Reviewed-by: Ian Romanick --- 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