build: Only warn about missing widl.

Users of the library shouldn't need widl to build it.
This commit is contained in:
Henri Verbeet 2016-10-28 13:15:47 +02:00
parent f0cdf58f8d
commit b56b2f8687

View File

@ -18,7 +18,7 @@ AM_PROG_CC_C_O
AC_PROG_SED
AC_PROG_MKDIR_P
AC_CHECK_PROG([WIDL], [widl], [widl], [no])
AS_IF([test "x$WIDL" = "xno"], [AC_MSG_ERROR([widl is required to build header files.])])
AS_IF([test "x$WIDL" = "xno"], [AC_MSG_WARN([widl is required to build header files.])])
AC_CHECK_PROG([GLSLANG], [glslangValidator], [glslangValidator], [no])
AS_IF([test "x$GLSLANG" = "xno"], [AC_MSG_ERROR([glslangValidator is required to compile shaders.])])