build: Check for bison-generated file before bailing because of no bison
.y/.c was a typo. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
179d8aa331
commit
ba4a36d8cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue