summaryrefslogtreecommitdiff
path: root/src/xvmc
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-09-22 01:58:17 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-09-22 01:58:17 +0000
commitb6443515e9d485b1ab8ee266c5b21750d2a5a551 (patch)
tree247b7642259b4445c9912fce53d3cf5a876e8fb8 /src/xvmc
parent76033c2c885524c2116ccf0bdd30c89fa2636150 (diff)
Don't build xvmc module if DRI support is not present
Diffstat (limited to 'src/xvmc')
-rw-r--r--src/xvmc/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xvmc/Makefile.am b/src/xvmc/Makefile.am
index ebab67e4..5cd5b25c 100644
--- a/src/xvmc/Makefile.am
+++ b/src/xvmc/Makefile.am
@@ -1,7 +1,8 @@
-
+if DRI
lib_LTLIBRARIES=libI810XvMC.la
libI810XvMC_la_SOURCES = I810XvMC.c \
I810XvMC.h
libI810XvMC_la_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -I$(top_srcdir)/src -DTRUE=1 -DFALSE=0
libI810XvMC_la_LDFLAGS = -version-number 1:0:0
+endif \ No newline at end of file