On Mon, Sep 30, 2013 at 1:44 PM, Eric Anholt <e...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to