Commit c481c8f7 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov update the path of the generated files

... in order to determine if we need bison/flex. Failing to locate the
files will lead to mandating bison/flex even when building from a
release tarball.

CC: "11.2" <>
Signed-off-by: 's avatarEmil Velikov <>
Acked-by: Jason Ekstrand's avatarJason Ekstrand <>
Reviewed-by: Matt Turner's avatarMatt Turner <>
parent 4db8f15a
......@@ -110,10 +110,10 @@ LT_INIT([disable-static])
AC_CHECK_PROG(RM, rm, [rm -f])
AS_IF([test ! -f "$srcdir/src/glsl/glcpp/glcpp-parse.c"],
AS_IF([test ! -f "$srcdir/src/compiler/glsl/glcpp/glcpp-parse.c"],
[AC_MSG_ERROR([bison not found - unable to compile glcpp-parse.y])]))
AS_IF([test ! -f "$srcdir/src/glsl/glcpp/glcpp-lex.c"],
AS_IF([test ! -f "$srcdir/src/compiler/glsl/glcpp/glcpp-lex.c"],
[AC_MSG_ERROR([flex not found - unable to compile glcpp-lex.l])]))
AC_CHECK_PROG(INDENT, indent, indent, cat)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment