Move MIT-SCREEN-SAVER from extmod to built-in
If we've built MIT-SCREEN-SAVER support, then just build it into the main binary, rather than leaving it 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
b8c9ab0fea
commit
3ed2c6e112
|
@ -58,7 +58,7 @@ endif
|
||||||
# MIT ScreenSaver extension
|
# MIT ScreenSaver extension
|
||||||
SCREENSAVER_SRCS = saver.c
|
SCREENSAVER_SRCS = saver.c
|
||||||
if SCREENSAVER
|
if SCREENSAVER
|
||||||
MODULE_SRCS += $(SCREENSAVER_SRCS)
|
BUILTIN_SRCS += $(SCREENSAVER_SRCS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Xinerama extension: making multiple video devices act as one virtual screen
|
# Xinerama extension: making multiple video devices act as one virtual screen
|
||||||
|
|
|
@ -47,14 +47,6 @@ static ExtensionModule extensionModules[] = {
|
||||||
NULL,
|
NULL,
|
||||||
NULL},
|
NULL},
|
||||||
#endif
|
#endif
|
||||||
#ifdef SCREENSAVER
|
|
||||||
{
|
|
||||||
ScreenSaverExtensionInit,
|
|
||||||
ScreenSaverName,
|
|
||||||
&noScreenSaverExtension,
|
|
||||||
NULL,
|
|
||||||
NULL},
|
|
||||||
#endif
|
|
||||||
#ifdef XF86VIDMODE
|
#ifdef XF86VIDMODE
|
||||||
{
|
{
|
||||||
XFree86VidModeExtensionInit,
|
XFree86VidModeExtensionInit,
|
||||||
|
|
|
@ -110,7 +110,7 @@ extern Bool noResExtension;
|
||||||
extern void ResExtensionInit(void);
|
extern void ResExtensionInit(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(SCREENSAVER) && !defined(XorgLoader)
|
#if defined(SCREENSAVER)
|
||||||
#include <X11/extensions/saver.h>
|
#include <X11/extensions/saver.h>
|
||||||
extern Bool noScreenSaverExtension;
|
extern Bool noScreenSaverExtension;
|
||||||
extern void ScreenSaverExtensionInit(void);
|
extern void ScreenSaverExtensionInit(void);
|
||||||
|
|
|
@ -397,6 +397,9 @@ static ExtensionModule staticExtensions[] = {
|
||||||
#ifdef DAMAGE
|
#ifdef DAMAGE
|
||||||
{DamageExtensionInit, "DAMAGE", &noDamageExtension, NULL},
|
{DamageExtensionInit, "DAMAGE", &noDamageExtension, NULL},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SCREENSAVER
|
||||||
|
{ScreenSaverExtensionInit, ScreenSaverName, &noScreenSaverExtension, NULL},
|
||||||
|
#endif
|
||||||
#ifdef DBE
|
#ifdef DBE
|
||||||
{DbeExtensionInit, "DOUBLE-BUFFER", &noDbeExtension, NULL},
|
{DbeExtensionInit, "DOUBLE-BUFFER", &noDbeExtension, NULL},
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue