summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-04-03 16:44:32 -0400
committerKristian Høgsberg <krh@redhat.com>2008-04-04 11:47:08 -0400
commitd1dd7749106798b172a61ff2e4fd818d5b207f51 (patch)
treee205875c8c3f18a1664074aedfce7294cbdc5d9b
parent81af92f5d912869f928967b1b45f8ac0b6bee8d0 (diff)
Only autoload RECORD if it was enabled.
(cherry picked from commit 16a8ce75585ea360c39e0ffce4f7bb26a359b754)
-rw-r--r--hw/xfree86/common/xf86Config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index 8de742620..208e23dc4 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -119,7 +119,9 @@ static ModuleDefault ModuleDefaults[] = {
{.name = "dbe", .toLoad = TRUE, .load_opt=NULL},
{.name = "glx", .toLoad = TRUE, .load_opt=NULL},
{.name = "freetype", .toLoad = TRUE, .load_opt=NULL},
+#ifdef XRECORD
{.name = "record", .toLoad = TRUE, .load_opt=NULL},
+#endif
{.name = "dri", .toLoad = TRUE, .load_opt=NULL},
{.name = "dri2", .toLoad = TRUE, .load_opt=NULL},
{.name = NULL, .toLoad = FALSE, .load_opt=NULL}