diff options
author | Oliver McFadden <oliver.mcfadden@nokia.com> | 2009-06-24 00:08:51 +0300 |
---|---|---|
committer | Oliver McFadden <oliver.mcfadden@nokia.com> | 2009-06-24 00:25:39 +0300 |
commit | ce3d539ac6ecab3e343cef7c4dc112bc82ea3b02 (patch) | |
tree | 65912c0281597ed76256c222add9e8ce574616b8 /hw/xfree86/common/xf86Config.c | |
parent | 33e25143361d63ea776dfafeeb6d4ffb2f6fd8d4 (diff) |
xf86Config: Avoid attempting to load non-compiled modules.
Acked-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'hw/xfree86/common/xf86Config.c')
-rw-r--r-- | hw/xfree86/common/xf86Config.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 24049aaa0..60e66abec 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -108,12 +108,18 @@ extern DeviceAssocRec mouse_assoc; static ModuleDefault ModuleDefaults[] = { {.name = "extmod", .toLoad = TRUE, .load_opt=NULL}, +#ifdef DBE {.name = "dbe", .toLoad = TRUE, .load_opt=NULL}, +#endif +#ifdef GLXEXT {.name = "glx", .toLoad = TRUE, .load_opt=NULL}, +#endif #ifdef XRECORD {.name = "record", .toLoad = TRUE, .load_opt=NULL}, #endif +#ifdef XF86DRI {.name = "dri", .toLoad = TRUE, .load_opt=NULL}, +#endif #ifdef DRI2 {.name = "dri2", .toLoad = TRUE, .load_opt=NULL}, #endif |