wmappkill: Add version 0.2 to repository.
[dockapps.git] / wmMatrix / config.h
blob21ce16ded878a06acda752a07b49585e0d4492d8
1 /* config.h. Generated automatically by configure. */
2 /* config.h.in --- xscreensaver, Copyright (c) 1998 Jamie Zawinski.
4 * The best way to set these parameters is by running the included `configure'
5 * script. That examines your system, and generates `config.h' from
6 * `config.h.in'.
8 * If something goes very wrong, you can edit `config.h' directly, but beware
9 * that your changes will be lost if you ever run `configure' again.
12 /* *************************************************************************
13 CONFIGURING SERVER EXTENSIONS
14 ************************************************************************* */
16 /* Define this if you have the XReadDisplay extension (I think this is an
17 SGI-only thing; it's in <X11/extensions/readdisplay.h>.) A few of the
18 screenhacks will take advantage of this if it's available.
20 /* #undef HAVE_READ_DISPLAY_EXTENSION */
22 /* Define this if you have the Iris Video Library (dmedia/vl.h on SGI.)
23 A few of the screenhacks will take advantage of this if it's available.
25 /* #undef HAVE_SGI_VIDEO */
27 /* Define this if you have the XHPDisableReset function (an HP only thing.)
29 /* #undef HAVE_XHPDISABLERESET */
31 /* First, some background: there are three distinct server extensions which
32 * are useful to a screen saver program: they are XIDLE, MIT-SCREEN-SAVER,
33 * and SCREEN_SAVER.
35 * The XIDLE extension resides in .../contrib/extensions/xidle/ on the X11R5
36 * contrib tape. This extension lets the client get accurate idle-time
37 * information from the X server in a potentially more reliable way than by
38 * simply watching for keyboard and mouse activity. However, the XIDLE
39 * extension has apparently not been ported to X11R6.
41 * The SCREEN_SAVER extension is found (as far as I know) only in the SGI
42 * X server, and it exists in all releases since (at least) Irix 5. The
43 * relevant header file is /usr/include/X11/extensions/XScreenSaver.h.
45 * The similarly-named MIT-SCREEN-SAVER extension came into existence long
46 * after the SGI SCREEN_SAVER extension was already in use, and resides in
47 * .../contrib/extensions/screensaver/ on the X11R6 contrib tape. It is
48 * also found in certain recent X servers built in to NCD X terminals.
50 * The MIT extension does basically the same thing that the XIDLE extension
51 * does, but there are two things wrong with it: first, because of the way
52 * the extension was designed, the `fade' option to XScreenSaver will be
53 * uglier: just before the screen fades out, there will be an unattractive
54 * flicker to black, because this extension blanks the screen *before*
55 * telling us that it is time to do so. Second, this extension is known to
56 * be buggy; on the systems I use, it works, but some people have reported
57 * X server crashes as a result of using it. XScreenSaver uses this
58 * extension rather conservatively, because when I tried to use any of its
59 * more complicated features, I could get it to crash the server at the
60 * drop of a hat.
62 * In short, the MIT-SCREEN-SAVER extension is a piece of junk. The older
63 * SGI SCREEN_SAVER extension works great, as does XIDLE. It would be nice
64 * If those two existed on more systems, that is, would be adopted by the
65 * X Consortium in favor of their inferior "not-invented-here" entry.
68 /* Define this if you have the XIDLE extension installed. If you have the
69 * XIDLE extension, this is recommended. (You have this extension if the
70 * file /usr/include/X11/extensions/xidle.h exists.) Turning on this flag
71 * lets XScreenSaver work better with servers which support this extension;
72 * but it will still work with servers which do not suport it, so it's a good
73 * idea to compile in support for it if you can.
75 /* #undef HAVE_XIDLE_EXTENSION */
77 /* Define this if you have the MIT-SCREEN-SAVER extension installed. See the
78 * caveats about this extension, above. (It's available if the file
79 * /usr/include/X11/extensions/scrnsaver.h exists.)
81 #define HAVE_MIT_SAVER_EXTENSION 1
83 /* Define this if you have the SGI SCREEN_SAVER extension. This is standard
84 * on Irix systems, and not available elsewhere.
86 /* #undef HAVE_SGI_SAVER_EXTENSION */
88 /* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard
89 * on Irix systems, and not available elsewhere.
91 /* #undef HAVE_SGI_VC_EXTENSION */
93 /* Define this if you have the XDPMS extension. This is standard on
94 * sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
95 * available if the file /usr/include/X11/extensions/dpms.h exists.)
97 /* #undef HAVE_DPMS_EXTENSION */
99 /* Define this if you have the functions XF86VidModeGetModeLine() and
100 * XF86VidModeGetViewPort(), in support of virtual desktops where the
101 * X server's root window is bigger than the actual screen. This is
102 * an XFree86 thing, and probably doesn't exist elsewhere. (It's
103 * available if the file /usr/include/X11/extensions/xf86vmode.h exists.)
105 /* #undef HAVE_XF86VMODE */
107 /* Define this if you have a Linux-like /proc/interrupts file which can be
108 * examined to determine when keyboard activity has occurred.
110 /* #undef HAVE_PROC_INTERRUPTS */
112 /* *************************************************************************
113 CONFIGURING GRAPHICS TOOLKITS
114 ************************************************************************* */
116 /* Define this if you have Motif.
118 #define HAVE_MOTIF 1
120 /* Define this if you have Gtk.
122 #define HAVE_GTK 1
124 /* Define this if you have Athena (-Xaw).
126 #define HAVE_ATHENA 1
128 /* Define this if you have Athena, and the version you have includes the
129 * XawViewportSetCoordinates function in Viewport.h (some old versions of
130 * the library didn't have this function.)
132 #define HAVE_XawViewportSetCoordinates 1
134 /* Define this if you have the XPM library installed. Some of the demos can
135 * make use of this if it is available.
137 #define HAVE_XPM 1
139 /* Define this if you have the Xmu library. This is standard part of X, and
140 * if your vendor doesn't ship it, you should report that as a bug.
142 #define HAVE_XMU 1
144 /* Define this if you have OpenGL. Some of the demos require it, so if you
145 * don't have it, then those particular demos won't be built. (This won't
146 * affect the screen saver as a whole.)
148 #define HAVE_GL 1
150 /* Define this if you have OpenGL, but it's the MesaGL variant. (The
151 libraries have different names.) (HAVE_GL should be defined too.)
153 /* #undef HAVE_MESA_GL */
155 /* Define this if your version of OpenGL has the glBindTexture() routine.
156 This is the case for OpenGL 1.1, but not for OpenGL 1.0.
158 #define HAVE_GLBINDTEXTURE 1
160 /* Define this if the `xscreensaver' process itself (the driver process)
161 should be linked against GL. Most systems won't want this (in particular,
162 if you're using Linux and/or Mesa, you don't want this) but SGI systems
163 do want this. It may also be useful on other systems that have serious
164 GL support -- you only need this if you have a lot of different visuals,
165 not all of which work with GL programs.
167 /* #undef DAEMON_USE_GL */
169 /* Define this if you have the X Shared Memory Extension.
171 #define HAVE_XSHM_EXTENSION 1
173 /* Define this if you have the X Double Buffer Extension.
175 #define HAVE_DOUBLE_BUFFER_EXTENSION 1
177 /* Some screenhacks like to run an external program to generate random pieces
178 of text; set this to the one you like ("yow" and "fortune" are the most
179 likely prospects.) Note that this is just the default; X resources can
180 be used to override it.
182 #define ZIPPY_PROGRAM "/packages/libexec/emacs/20.2/sparc-sun-solaris2.6/yow"
184 /* *************************************************************************
185 CONFIGURING PASSWORD AUTHENTICATION
186 ************************************************************************* */
188 /* Define this to remove the option of locking the screen at all.
190 /* #undef NO_LOCKING */
192 /* Define this if you want to use Kerberos authentication to lock/unlock the
193 * screen instead of your local password. This currently uses Kerberos V4,
194 * but a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS
195 * string-to-key passwords with this option. This option currently *only*
196 * works with standard Kerberos des_string_to_key. If your password is an
197 * AFS password and not a kerberos password, it will not authenticate
198 * properly. See the comments in driver/kpasswd.c for more information if you
199 * need it.
201 /* #undef HAVE_KERBEROS */
203 /* Define this if you want to use PAM (Pluggable Authentication Modules)
204 * to lock/unlock the screen, instead of standard /etc/passwd authentication.
206 /* #undef HAVE_PAM */
208 /* If PAM is being used, this is the name of the PAM service that xscreensaver
209 * will authenticate as. The default is "xscreensaver", which means that the
210 * PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on
211 * recent Linux systems) will look for a file called /etc/pam.d/xscreensaver.
212 * Some systems might already have a PAM installation that is configured for
213 * xlock, so setting this to "xlock" would also work in that case.
215 #define PAM_SERVICE_NAME "xscreensaver"
217 /* Define if you have PAM and pam_strerror() requires two arguments. */
218 /* #undef PAM_STRERROR_TWO_ARGS */
220 /* Define this if your system uses `shadow' passwords, that is, the passwords
221 * live in /etc/shadow instead of /etc/passwd, and one reads them with
222 * getspnam() instead of getpwnam(). (Note that SCO systems do some random
223 * other thing; others might as well. See the ifdefs in driver/passwd-pwent.c
224 * if you're having trouble related to reading passwords.)
226 #define HAVE_SHADOW_PASSWD 1
228 /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced
229 Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz>
230 instead of in /etc/passwd, and one reads them with getprpwnam() instead
231 of getpwnam().
233 /* #undef HAVE_ENHANCED_PASSWD */
235 /* Define this if your system is Solaris with ``adjunct'' passwords (this is
236 the version where one gets at the passwords with getpwanam() instead of
237 getpwnam().) I haven't tested this one, let me know if it works.
239 /* #undef HAVE_ADJUNCT_PASSWD */
241 /* Define this if you are running HPUX with so-called ``Secure Passwords''
242 (if you have /usr/include/hpsecurity.h, you probably have this.) I
243 haven't tested this one, let me know if it works.
245 /* #undef HAVE_HPUX_PASSWD */
247 /* Define this if you are on a system that supports the VT_LOCKSWITCH and
248 VT_UNLOCKSWITCH ioctls. If this is defined, then when the screen is
249 locked, switching to another virtual terminal will also be prevented.
250 That is, the whole console will be locked, rather than just the VT on
251 which X is running. (Well, that's the theory anyway -- in practice,
252 I haven't yet figured out how to make that work.)
254 /* #undef HAVE_VT_LOCKSWITCH */
256 /* Define this if you the openlog(), syslog(), and closelog() functions.
257 This is used for logging failed login attempts.
259 #define HAVE_SYSLOG 1
261 /* *************************************************************************
262 OTHER C ENVIRONMENT JUNK
263 ************************************************************************* */
265 /* Define this to void* if you're using X11R4 or earlier. */
266 /* #undef XPointer */
268 /* Define if you have the nice function. */
269 #define HAVE_NICE 1
271 /* Define if you have the setpriority function. */
272 #define HAVE_SETPRIORITY 1
274 /* Define to empty if the keyword does not work. */
275 /* #undef const */
277 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
278 #define HAVE_SYS_WAIT_H 1
280 /* Define as __inline if that's what the C compiler calls it. */
281 /* #undef inline */
283 /* Define to `int' if <sys/types.h> doesn't define. */
284 /* #undef mode_t */
286 /* Define to `int' if <sys/types.h> doesn't define. */
287 /* #undef pid_t */
289 /* Define as the return type of signal handlers (int or void). */
290 #define RETSIGTYPE void
292 /* Define to `unsigned' if <sys/types.h> doesn't define. */
293 /* #undef size_t */
295 /* Define if you have the ANSI C header files. */
296 #define STDC_HEADERS 1
298 /* Define if you can safely include both <sys/time.h> and <time.h>. */
299 #define TIME_WITH_SYS_TIME 1
301 /* Define if you have the gettimeofday function. */
302 #define HAVE_GETTIMEOFDAY 1
304 /* Define if gettimeofday requires two arguments. */
305 #define GETTIMEOFDAY_TWO_ARGS 1
307 /* Define if you have the putenv function. */
308 #define HAVE_PUTENV 1
310 /* Define if you have the select function. */
311 #define HAVE_SELECT 1
313 /* Define if you have the getcwd function. */
314 #define HAVE_GETCWD 1
316 /* Define if you have the getcwd function. */
317 #define HAVE_GETWD 1
319 /* Define if you have the realpath function. */
320 #define HAVE_REALPATH 1
322 /* Define if you have the uname function. */
323 #define HAVE_UNAME 1
325 /* Define if you have the fcntl function. */
326 #define HAVE_FCNTL 1
328 /* Define if you have the sigaction function. */
329 #define HAVE_SIGACTION 1
331 /* Define if you have the <unistd.h> header file. */
332 #define HAVE_UNISTD_H 1
334 /* Define if you have the <crypt.h> header file. */
335 #define HAVE_CRYPT_H 1
337 /* Define if you have <sys/select.h> that defines fd_set and FD_SET. */
338 #define HAVE_SYS_SELECT_H 1
340 /* Define to use sigaction() instead of signal() for SIGCHLD-related activity.
341 This is necessary at least on SCO OpenServer 5, due to a Unix kernel bug.
343 /* #undef USE_SIGACTION */
345 /* Define this if you do pings with a `struct icmp' and a `icmp_id' slot.
347 #define HAVE_ICMP 1
349 /* Define this if you do pings with a `struct icmphdr' and a `un.echo.id' slot.
351 /* #undef HAVE_ICMPHDR */