From 4ec01b10c2a1f87febefd5c64922635699825baf Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 11 Oct 2013 16:55:48 +0100 Subject: [PATCH] configure: set HAVE_COMMON_DRI when building plain classic swrast Commit d81632fb1(dri: Merge drisw_util.c into dri_util.c) unified the dri and drisw util code, but forgot to set HAVE_COMMON_DRI. Thus the translations for driconf (that drisw now depends on) were not built, leading to a build errors. This is the equivalent for classic dri drivers of commit 757ec72b2 (configure: set HAVE_COMMON_DRI when building only swrast). Cc: Eric Anholt Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70378 Reported-by: Fabio Pedretti Signed-off-by: Emil Velikov --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0d082d2..8eb7c27 100644 --- a/configure.ac +++ b/configure.ac @@ -1019,14 +1019,14 @@ if test "x$enable_dri" = xyes; then [AC_MSG_ERROR([Expat required for DRI.])]) LIBS="$save_LIBS" + HAVE_COMMON_DRI=yes + # 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]) fi - # ... and build dricommon - HAVE_COMMON_DRI=yes fi # put all the necessary libs together -- 1.8.4