[Mesa-dev] [PATCH 13/14] swrast: Build the driver into the shared mesa_dri_drivers.so.

Matt Turner mattst88 at gmail.com
Thu Oct 10 20:20:59 CEST 2013


On Mon, Sep 30, 2013 at 1:44 PM, Eric Anholt <eric at anholt.net> wrote:
> ---
>  configure.ac                                 | 26 +++++++++++---------------
>  src/mesa/drivers/dri/Makefile.am             |  2 ++
>  src/mesa/drivers/dri/swrast/Makefile.am      | 18 +++---------------
>  src/mesa/drivers/dri/swrast/Makefile.sources |  6 ------
>  src/mesa/drivers/dri/swrast/swrast.c         | 17 ++++++++++++++---
>  5 files changed, 30 insertions(+), 39 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 5649aec..81abdf9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1016,10 +1016,14 @@ if test "x$enable_dri" = xyes; then
>      LIBS="$save_LIBS"
>
>      # If we are building any DRI driver other than swrast.
> -    if test -n "$DRI_DIRS" -a x"$DRI_DIRS" != xswrast; then
> -        # ... libdrm is required
> -        if test "x$have_libdrm" != xyes; then
> -            AC_MSG_ERROR([DRI drivers requires libdrm >= $LIBDRM_REQUIRED])
> +    if test -n "$DRI_DIRS"; then
> +        if test -a x"$DRI_DIRS" != xswrast; then

Unneeded -a flag.


More information about the mesa-dev mailing list