Move DPMS from extmod to built-in

Always build DPMS support into the core server, rather than letting it
languish in extmod.

Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Tomas Carnecky 2012-07-10 02:03:04 +01:00 committed by Keith Packard
parent 3ed2c6e112
commit ba21fc2958
4 changed files with 5 additions and 10 deletions

View File

@ -103,7 +103,7 @@ endif
# DPMS extension
DPMS_SRCS = dpms.c dpmsproc.h
if DPMSExtension
MODULE_SRCS += $(DPMS_SRCS)
BUILTIN_SRCS += $(DPMS_SRCS)
endif
# Now take all of the above, mix well, bake for 10 minutes and get libXext*.la

View File

@ -63,14 +63,6 @@ static ExtensionModule extensionModules[] = {
XFree86DGARegister,
NULL},
#endif
#ifdef DPMSExtension
{
DPMSExtensionInit,
DPMSExtensionName,
&noDPMSExtension,
NULL,
NULL},
#endif
#ifdef XV
{
XvExtensionInit,

View File

@ -72,7 +72,7 @@ extern void DbeExtensionInit(void);
extern void DMXExtensionInit(void);
#endif
#if defined(DPMSExtension) && !defined(XorgLoader)
#if defined(DPMSExtension)
#include <X11/extensions/dpmsconst.h>
extern Bool noDPMSExtension;
extern void DPMSExtensionInit(void);

View File

@ -406,6 +406,9 @@ static ExtensionModule staticExtensions[] = {
#ifdef XRECORD
{RecordExtensionInit, "RECORD", &noTestExtensions, NULL},
#endif
#ifdef DPMSExtension
{DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension, NULL},
#endif
};
/*ARGSUSED*/ void