diff options
author | Adam Jackson <ajax@redhat.com> | 2013-11-07 12:01:41 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-11 15:21:15 -0800 |
commit | 43e5a43fa8994e50cf01dd954118f4ef2c4e7933 (patch) | |
tree | 17a0347a5bed0ec7e1c2918ee205316887598453 /mi | |
parent | 0822a23e048b12c98c654e8b6af711c5f2c97141 (diff) |
present: Don't try to initialize when building without present support
There's a --disable-present, so it'd be nice if it worked.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miinitext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index 636618282..67511b8d0 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -287,7 +287,9 @@ static ExtensionModule staticExtensions[] = { #ifdef DPMSExtension {DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension}, #endif +#ifdef PRESENT {present_extension_init, PRESENT_NAME, NULL}, +#endif #ifdef DRI3 {dri3_extension_init, DRI3_NAME, NULL}, #endif |