summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-06-17 17:47:42 +1000
committerDave Airlie <airlied@linux.ie>2009-06-17 17:47:42 +1000
commit2fa2db138ba989bfa1a8cd9ab66d83fb7369249e (patch)
tree007e9806f4a439a7543f68fab51a13615d4ba15b /configure.ac
parent3d4bfe8c893d016ef43d1ebf28e4607aa1f540a4 (diff)
libdrm/radeon: add initial libdrm_radeon
requires --enable-radeon-experimental-api for now
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9d1a8ef3..be2fbbfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,11 @@ AC_ARG_ENABLE(nouveau-experimental-api,
[Enable support for nouveau's experimental API (default: disabled)]),
[NOUVEAU=$enableval], [NOUVEAU=no])
+AC_ARG_ENABLE(radeon-experimental-api,
+ AS_HELP_STRING([--enable-radeon-experimental-api],
+ [Enable support for radeon's KMS API (default: disabled)]),
+ [RADEON=$enableval], [RADEON=no])
+
dnl ===========================================================================
dnl check compiler flags
AC_DEFUN([LIBDRM_CC_TRY_FLAG], [
@@ -125,6 +130,8 @@ fi
AM_CONDITIONAL(HAVE_NOUVEAU, [test "x$NOUVEAU" = xyes])
+AM_CONDITIONAL(HAVE_RADEON, [test "x$RADEON" = xyes])
+
PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
if test "x$HAVE_CAIRO" = xyes; then
AC_DEFINE(HAVE_CAIRO, 1, [Have cairo support])
@@ -144,6 +151,8 @@ AC_OUTPUT([
Makefile
libdrm/Makefile
libdrm/intel/Makefile
+ libdrm/radeon/Makefile
+ libdrm/radeon/libdrm_radeon.pc
libdrm/nouveau/Makefile
libdrm/nouveau/libdrm_nouveau.pc
shared-core/Makefile