build: Check for bison-generated file before bailing because of no bison
authorMatt Turner <mattst88@gmail.com>
Wed, 22 Aug 2012 22:08:01 +0000 (15:08 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 24 Aug 2012 18:08:19 +0000 (11:08 -0700)
.y/.c was a typo.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
configure.ac

index 9bf4e1e1f63425f69f9790a5d2cd82812fa80426..5a832415fb5fbf3f295854204903ceb2b8ad7928 100644 (file)
@@ -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