configure: set HAVE_COMMON_DRI when building only swrast
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Oct 2013 22:23:20 +0000 (23:23 +0100)
committerVinson Lee <vlee@freedesktop.org>
Thu, 3 Oct 2013 23:52:38 +0000 (16:52 -0700)
With commit cb1febb07, I have incorrectly removed HAVE_COMMON_DRI
assuming that swrast does not need to build the translations for
driconf options, as effectively swrast/drisw does not use them.

With the incoming unification work of dri and drisw, it makes
sense just to revert the offending hunk.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70057
Reported-by: Vinson Lee <vlee@freedesktop.org>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac

index e7c8223383e731ab2ea14fd4c5c12c760dba0d88..954616318d08e05c6b2138c8269de132029fc3e8 100644 (file)
@@ -1823,6 +1823,7 @@ if test "x$with_gallium_drivers" != x; then
 
             if test "x$enable_dri" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS dri-swrast"
+                HAVE_COMMON_DRI=yes
             fi
             if test "x$enable_vdpau" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS vdpau-softpipe"