From: Emil Velikov Date: Wed, 12 Mar 2014 00:36:21 +0000 (+0000) Subject: configure: error out when building gallium-osmesa without softpipe X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8e1158ac35d21a16b47ada09a6dc5fa9d7764d8;p=mesa.git 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 Acked-by: Matt Turner --- diff --git a/configure.ac b/configure.ac index cad4b05242a..03c1d312048 100644 --- a/configure.ac +++ b/configure.ac @@ -762,8 +762,8 @@ if test "x$enable_dri" = xyes; then fi if test "x$enable_gallium_osmesa" = xyes; then - if test -z "$with_gallium_drivers"; then - AC_MSG_ERROR([Cannot enable gallium_osmesa without Gallium]) + if ! echo "$with_gallium_drivers" | grep -q 'swrast'; then + AC_MSG_ERROR([gallium_osmesa requires the gallium swrast driver]) fi if test "x$enable_osmesa" = xyes; then AC_MSG_ERROR([Cannot enable both classic and Gallium OSMesa implementations])