configure: error out when building gallium-osmesa without softpipe
Gallium osmesa links against the softpipe driver, thus the build will fail if it's missing. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -762,8 +762,8 @@ if test "x$enable_dri" = xyes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$enable_gallium_osmesa" = xyes; then
|
if test "x$enable_gallium_osmesa" = xyes; then
|
||||||
if test -z "$with_gallium_drivers"; then
|
if ! echo "$with_gallium_drivers" | grep -q 'swrast'; then
|
||||||
AC_MSG_ERROR([Cannot enable gallium_osmesa without Gallium])
|
AC_MSG_ERROR([gallium_osmesa requires the gallium swrast driver])
|
||||||
fi
|
fi
|
||||||
if test "x$enable_osmesa" = xyes; then
|
if test "x$enable_osmesa" = xyes; then
|
||||||
AC_MSG_ERROR([Cannot enable both classic and Gallium OSMesa implementations])
|
AC_MSG_ERROR([Cannot enable both classic and Gallium OSMesa implementations])
|
||||||
|
Reference in New Issue
Block a user