diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-08-29 14:16:25 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-08-29 14:16:25 +0000 |
commit | 5390e188325ff1e65d2c33531ab8513a33686f58 (patch) | |
tree | 3bf309a6499eceabebb3d38174a256aa5dd85a4c | |
parent | df7dc57880eb3e1e0a2142653339226d00a9aa33 (diff) |
Add config.h inclusion, defines based on autoconf header checks.XORG-6_8_99_902XORG-6_8_99_901
-rw-r--r-- | xset.c | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -30,6 +30,34 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/programs/xset/xset.c,v 3.31 2003/05/27 22:27:09 tsi Exp $ */ /* Modified by Stephen so keyboard rate is set using XKB extensions */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifdef HAVE_X11_EXTENSIONS_DPMS_H +#define DPMSExtension +#endif + +#ifdef HAVE_X11_EXTENSIONS_MITMISC_H +#define MITMISC +#endif + +#ifdef HAVE_X11_XKBLIB_H +#define XKB +#endif + +#if defined(HAVE_X11_EXTENSIONS_XF86MISC_H) && defined(HAVE_X11_EXTENSIONS_XF86MSCSTR_H) +#define XF86MISC +#endif + +#if defined(HAVE_X11_EXTENSIONS_PRINT_H) +#define BUILD_XPRINT_SUPPORT +#endif + +#if defined(HAVE_X11_EXTENSIONS_FONTCACHE_H) && defined(HAVE_X11_EXTENSIONS_FONTCACHEP_H) +#define FONTCACHE +#endif + #include <stdio.h> #include <ctype.h> #include <stdarg.h> |