summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-03-24 13:37:42 -0400
committerAdam Jackson <ajax@redhat.com>2008-03-24 13:37:42 -0400
commit862ff9ac92037e13629329eb6ba50ff6bd2c5f71 (patch)
treef09f2e65c2a172aa67af776d4168487eb9d75210
parent87bfd3bd96c714a1c252d42408b5a1a4ff9dab06 (diff)
Bug #11510: Fix build without RECORD.
-rw-r--r--Makefile.am6
-rw-r--r--hw/xfree86/dixmods/Makefile.am6
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index e382d58e7..71ba2c429 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,10 @@ if DBE
DBE_DIR=dbe
endif
+if RECORD
+RECORD_DIR=record
+endif
+
SUBDIRS = \
doc \
include \
@@ -48,7 +52,7 @@ SUBDIRS = \
$(AFB_DIR) \
$(CFB_DIR) \
$(CFB32_DIR) \
- record \
+ $(RECORD_DIR) \
xfixes \
damageext \
$(XTRAP_DIR) \
diff --git a/hw/xfree86/dixmods/Makefile.am b/hw/xfree86/dixmods/Makefile.am
index efc5f4a39..dad2dd36b 100644
--- a/hw/xfree86/dixmods/Makefile.am
+++ b/hw/xfree86/dixmods/Makefile.am
@@ -26,6 +26,10 @@ if MFB
MFBMOD = libmfb.la
endif
+if RECORD
+RECORDMOD = librecord.la
+endif
+
module_LTLIBRARIES = $(AFBMOD) \
$(CFBMOD) \
libfb.la \
@@ -34,7 +38,7 @@ module_LTLIBRARIES = $(AFBMOD) \
libshadow.la
extsmoduledir = $(moduledir)/extensions
-extsmodule_LTLIBRARIES = librecord.la \
+extsmodule_LTLIBRARIES = $(RECORDMOD) \
$(DBEMOD) \
$(GLXMODS) \
$(XTRAPMOD)