summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-07-10 02:03:27 +0100
committerKeith Packard <keithp@keithp.com>2012-07-10 00:31:02 -0700
commit710318e803c6d5c6b8ae170d38c8253f5d780472 (patch)
treeec697c4bbe7c6228af7a53072b4be108fad91a48 /mi
parent5f5bbbe543f65c48ecbb5cce80116a86ca3fbe86 (diff)
Replace NO_HW_ONLY_EXTS with Xorg DDX test
Turns out the only thing we use NO_HW_ONLY_EXTS for is to check whether or not we're building inside the Xorg DDX. Replace it with an XorgLoader test instead, and remove all its users. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi')
-rw-r--r--mi/miinitext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c
index a1438316b..a84d486e1 100644
--- a/mi/miinitext.c
+++ b/mi/miinitext.c
@@ -157,7 +157,7 @@ static ExtensionToggle ExtensionToggleList[] = {
#ifdef XF86BIGFONT
{"XFree86-Bigfont", &noXFree86BigfontExtension},
#endif
-#ifndef NO_HW_ONLY_EXTS
+#ifdef XorgLoader
#ifdef XFreeXDGA
{"XFree86-DGA", &noXFree86DGAExtension},
#endif