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:
		
							parent
							
								
									3ed2c6e112
								
							
						
					
					
						commit
						ba21fc2958
					
				| 
						 | 
					@ -103,7 +103,7 @@ endif
 | 
				
			||||||
# DPMS extension
 | 
					# DPMS extension
 | 
				
			||||||
DPMS_SRCS = dpms.c dpmsproc.h
 | 
					DPMS_SRCS = dpms.c dpmsproc.h
 | 
				
			||||||
if DPMSExtension
 | 
					if DPMSExtension
 | 
				
			||||||
MODULE_SRCS += $(DPMS_SRCS)
 | 
					BUILTIN_SRCS += $(DPMS_SRCS)
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Now take all of the above, mix well, bake for 10 minutes and get libXext*.la
 | 
					# Now take all of the above, mix well, bake for 10 minutes and get libXext*.la
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -63,14 +63,6 @@ static ExtensionModule extensionModules[] = {
 | 
				
			||||||
     XFree86DGARegister,
 | 
					     XFree86DGARegister,
 | 
				
			||||||
     NULL},
 | 
					     NULL},
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#ifdef DPMSExtension
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
     DPMSExtensionInit,
 | 
					 | 
				
			||||||
     DPMSExtensionName,
 | 
					 | 
				
			||||||
     &noDPMSExtension,
 | 
					 | 
				
			||||||
     NULL,
 | 
					 | 
				
			||||||
     NULL},
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
#ifdef XV
 | 
					#ifdef XV
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
     XvExtensionInit,
 | 
					     XvExtensionInit,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -72,7 +72,7 @@ extern void DbeExtensionInit(void);
 | 
				
			||||||
extern void DMXExtensionInit(void);
 | 
					extern void DMXExtensionInit(void);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(DPMSExtension) && !defined(XorgLoader)
 | 
					#if defined(DPMSExtension)
 | 
				
			||||||
#include <X11/extensions/dpmsconst.h>
 | 
					#include <X11/extensions/dpmsconst.h>
 | 
				
			||||||
extern Bool noDPMSExtension;
 | 
					extern Bool noDPMSExtension;
 | 
				
			||||||
extern void DPMSExtensionInit(void);
 | 
					extern void DPMSExtensionInit(void);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -406,6 +406,9 @@ static ExtensionModule staticExtensions[] = {
 | 
				
			||||||
#ifdef XRECORD
 | 
					#ifdef XRECORD
 | 
				
			||||||
    {RecordExtensionInit, "RECORD", &noTestExtensions, NULL},
 | 
					    {RecordExtensionInit, "RECORD", &noTestExtensions, NULL},
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef DPMSExtension
 | 
				
			||||||
 | 
					    {DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension, NULL},
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 /*ARGSUSED*/ void
 | 
					 /*ARGSUSED*/ void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue