[Mesa-dev] [PATCH] configure: set HAVE_COMMON_DRI when building plain classic swrast
Emil Velikov
emil.l.velikov at gmail.com
Fri Oct 11 18:19:02 CEST 2013
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 <eric at anholt.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70378
Reported-by: Fabio Pedretti <fabio.ped at libero.it>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
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
More information about the mesa-dev
mailing list