configure.ac: drop enable_dri check in gallium_gbm
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 24 Jul 2014 22:09:26 +0000 (23:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 22:36:06 +0000 (23:36 +0100)
A while back we've mandated that gbm requires enable_dri,
thus this check is no longer required.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index 2b5cebed0101075b35f9553ef12f00d113087cec..2fc38ef709df6ecfef1b00ae35f2bad037d1fdf8 100644 (file)
@@ -1347,10 +1347,6 @@ if test "x$enable_gallium_gbm" = xyes; then
     if test "x$enable_gbm" = xno; then
         AC_MSG_ERROR([cannot enable gbm_gallium without gbm])
     fi
-    # gbm_gallium abuses DRI_LIB_DEPS to link.  Make sure it is set.
-    if test "x$enable_dri" = xno; then
-        AC_MSG_ERROR([gbm_gallium requires --enable-dri to build])
-    fi
 
     if test "x$enable_gallium_egl" != xyes; then
         AC_MSG_ERROR([gbm_gallium is only used by egl_gallium])