diff options
author | Keith Packard <keithp@keithp.com> | 2005-07-08 04:54:09 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2005-07-08 04:54:09 +0000 |
commit | d89449b6eacd919005fdad3b378e64fe46591728 (patch) | |
tree | ee7ed6ec6c8c7a80fbf3a06b76dd8a7b5f6c2ffc /xdpyinfo.c | |
parent | d99fbcde4c892e8d84e02b40ed3f5862a731e9c2 (diff) |
Add support for modular extension autodetection (ignored in monolithicXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15
build)
Diffstat (limited to 'xdpyinfo.c')
-rw-r--r-- | xdpyinfo.c | 48 |
1 files changed, 48 insertions, 0 deletions
@@ -32,6 +32,54 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/xdpyinfo/xdpyinfo.c,v 3.29 2003/04/14 20:38:10 herrb Exp $ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +# if HAVE_X11_EXTENSIONS_MULTIBUF_H +# define MULTIBUFFER +# endif + +# if HAVE_X11_EXTENSIONS_XSHM_H +# define MITSHM +# endif + +# if HAVE_X11_EXTENSIONS_XKB_H && HAVE_X11_XKBLIB_H +# define XKB +# endif + +# if HAVE_X11_EXTENSIONS_XF86VMODE_H && HAVE_X11_EXTENSIONS_XF86VMSTR_H +# define XF86VIDMODE +# endif + +# if HAVE_X11_EXTENSIONS_XF86DGA_H && HAVE_X11_EXTENSIONS_XF86DGASTR_H +# define XFreeXDGA +# endif + +# if HAVE_X11_EXTENSIONS_XF86MISC_H && HAVE_X11_EXTENSIONS_XF86MSCSTR_H +# define XF86MISC +# endif + +# if HAVE_X11_EXTENSIONS_XINPUT_H +# define XINPUT +# endif + +# if HAVE_X11_EXTENSIONS_XRENDER_H +# define XRENDER +# endif + +# if HAVE_X11_EXTENSIONS_XINERAMA_H +# define PANORAMIX +# endif + +# if HAVE_X11_EXTENSIONS_DMXEXT_H +# define DMX +# endif + +# if HAVE_X11_EXTENSIONS_PRINT_H +# define INCLUDE_XPRINT_SUPPORT +# endif + +#endif + #include <X11/Xlib.h> #include <X11/Xutil.h> #ifdef MULTIBUFFER |