Imported wmMatrix-0.2.tar.gz
[dockapps.git] / wmMatrix / config.h
blobad4daddf0aa60288cc4649fcdb6ec9dcc1473431
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.
13 /* *************************************************************************
14 CONFIGURING SERVER EXTENSIONS
15 ************************************************************************* */
17 /* Define this if you have the XReadDisplay extension (I think this is an
18 SGI-only thing; it's in <X11/extensions/readdisplay.h>.) A few of the
19 screenhacks will take advantage of this if it's available.
21 /* #undef HAVE_READ_DISPLAY_EXTENSION */
23 /* Define this if you have the Iris Video Library (dmedia/vl.h on SGI.)
24 A few of the screenhacks will take advantage of this if it's available.
26 /* #undef HAVE_SGI_VIDEO */
28 /* Define this if you have the XHPDisableReset function (an HP only thing.)
30 /* #undef HAVE_XHPDISABLERESET */
32 /* First, some background: there are three distinct server extensions which
33 * are useful to a screen saver program: they are XIDLE, MIT-SCREEN-SAVER,
34 * and SCREEN_SAVER.
36 * The XIDLE extension resides in .../contrib/extensions/xidle/ on the X11R5
37 * contrib tape. This extension lets the client get accurate idle-time
38 * information from the X server in a potentially more reliable way than by
39 * simply watching for keyboard and mouse activity. However, the XIDLE
40 * extension has apparently not been ported to X11R6.
42 * The SCREEN_SAVER extension is found (as far as I know) only in the SGI
43 * X server, and it exists in all releases since (at least) Irix 5. The
44 * relevant header file is /usr/include/X11/extensions/XScreenSaver.h.
46 * The similarly-named MIT-SCREEN-SAVER extension came into existence long
47 * after the SGI SCREEN_SAVER extension was already in use, and resides in
48 * .../contrib/extensions/screensaver/ on the X11R6 contrib tape. It is
49 * also found in certain recent X servers built in to NCD X terminals.
51 * The MIT extension does basically the same thing that the XIDLE extension
52 * does, but there are two things wrong with it: first, because of the way
53 * the extension was designed, the `fade' option to XScreenSaver will be
54 * uglier: just before the screen fades out, there will be an unattractive
55 * flicker to black, because this extension blanks the screen *before*
56 * telling us that it is time to do so. Second, this extension is known to
57 * be buggy; on the systems I use, it works, but some people have reported
58 * X server crashes as a result of using it. XScreenSaver uses this
59 * extension rather conservatively, because when I tried to use any of its
60 * more complicated features, I could get it to crash the server at the
61 * drop of a hat.
63 * In short, the MIT-SCREEN-SAVER extension is a piece of junk. The older
64 * SGI SCREEN_SAVER extension works great, as does XIDLE. It would be nice
65 * If those two existed on more systems, that is, would be adopted by the
66 * X Consortium in favor of their inferior "not-invented-here" entry.
69 /* Define this if you have the XIDLE extension installed. If you have the
70 * XIDLE extension, this is recommended. (You have this extension if the
71 * file /usr/include/X11/extensions/xidle.h exists.) Turning on this flag
72 * lets XScreenSaver work better with servers which support this extension;
73 * but it will still work with servers which do not suport it, so it's a good
74 * idea to compile in support for it if you can.
76 /* #undef HAVE_XIDLE_EXTENSION */
78 /* Define this if you have the MIT-SCREEN-SAVER extension installed. See the
79 * caveats about this extension, above. (It's available if the file
80 * /usr/include/X11/extensions/scrnsaver.h exists.)
82 #define HAVE_MIT_SAVER_EXTENSION 1
84 /* Define this if you have the SGI SCREEN_SAVER extension. This is standard
85 * on Irix systems, and not available elsewhere.
87 /* #undef HAVE_SGI_SAVER_EXTENSION */
89 /* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard
90 * on Irix systems, and not available elsewhere.
92 /* #undef HAVE_SGI_VC_EXTENSION */
94 /* Define this if you have the XDPMS extension. This is standard on
95 * sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
96 * available if the file /usr/include/X11/extensions/dpms.h exists.)
98 /* #undef HAVE_DPMS_EXTENSION */
100 /* Define this if you have the functions XF86VidModeGetModeLine() and
101 * XF86VidModeGetViewPort(), in support of virtual desktops where the
102 * X server's root window is bigger than the actual screen. This is
103 * an XFree86 thing, and probably doesn't exist elsewhere. (It's
104 * available if the file /usr/include/X11/extensions/xf86vmode.h exists.)
106 /* #undef HAVE_XF86VMODE */
108 /* Define this if you have a Linux-like /proc/interrupts file which can be
109 * examined to determine when keyboard activity has occurred.
111 /* #undef HAVE_PROC_INTERRUPTS */
115 /* *************************************************************************
116 CONFIGURING GRAPHICS TOOLKITS
117 ************************************************************************* */
119 /* Define this if you have Motif.
121 #define HAVE_MOTIF 1
123 /* Define this if you have Gtk.
125 #define HAVE_GTK 1
127 /* Define this if you have Athena (-Xaw).
129 #define HAVE_ATHENA 1
131 /* Define this if you have Athena, and the version you have includes the
132 * XawViewportSetCoordinates function in Viewport.h (some old versions of
133 * the library didn't have this function.)
135 #define HAVE_XawViewportSetCoordinates 1
137 /* Define this if you have the XPM library installed. Some of the demos can
138 * make use of this if it is available.
140 #define HAVE_XPM 1
142 /* Define this if you have the Xmu library. This is standard part of X, and
143 * if your vendor doesn't ship it, you should report that as a bug.
145 #define HAVE_XMU 1
147 /* Define this if you have OpenGL. Some of the demos require it, so if you
148 * don't have it, then those particular demos won't be built. (This won't
149 * affect the screen saver as a whole.)
151 #define HAVE_GL 1
153 /* Define this if you have OpenGL, but it's the MesaGL variant. (The
154 libraries have different names.) (HAVE_GL should be defined too.)
156 /* #undef HAVE_MESA_GL */
158 /* Define this if your version of OpenGL has the glBindTexture() routine.
159 This is the case for OpenGL 1.1, but not for OpenGL 1.0.
161 #define HAVE_GLBINDTEXTURE 1
163 /* Define this if the `xscreensaver' process itself (the driver process)
164 should be linked against GL. Most systems won't want this (in particular,
165 if you're using Linux and/or Mesa, you don't want this) but SGI systems
166 do want this. It may also be useful on other systems that have serious
167 GL support -- you only need this if you have a lot of different visuals,
168 not all of which work with GL programs.
170 /* #undef DAEMON_USE_GL */
172 /* Define this if you have the X Shared Memory Extension.
174 #define HAVE_XSHM_EXTENSION 1
176 /* Define this if you have the X Double Buffer Extension.
178 #define HAVE_DOUBLE_BUFFER_EXTENSION 1
180 /* Some screenhacks like to run an external program to generate random pieces
181 of text; set this to the one you like ("yow" and "fortune" are the most
182 likely prospects.) Note that this is just the default; X resources can
183 be used to override it.
185 #define ZIPPY_PROGRAM "/packages/libexec/emacs/20.2/sparc-sun-solaris2.6/yow"
189 /* *************************************************************************
190 CONFIGURING PASSWORD AUTHENTICATION
191 ************************************************************************* */
193 /* Define this to remove the option of locking the screen at all.
195 /* #undef NO_LOCKING */
197 /* Define this if you want to use Kerberos authentication to lock/unlock the
198 * screen instead of your local password. This currently uses Kerberos V4,
199 * but a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS
200 * string-to-key passwords with this option. This option currently *only*
201 * works with standard Kerberos des_string_to_key. If your password is an
202 * AFS password and not a kerberos password, it will not authenticate
203 * properly. See the comments in driver/kpasswd.c for more information if you
204 * need it.
206 /* #undef HAVE_KERBEROS */
208 /* Define this if you want to use PAM (Pluggable Authentication Modules)
209 * to lock/unlock the screen, instead of standard /etc/passwd authentication.
211 /* #undef HAVE_PAM */
213 /* If PAM is being used, this is the name of the PAM service that xscreensaver
214 * will authenticate as. The default is "xscreensaver", which means that the
215 * PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on
216 * recent Linux systems) will look for a file called /etc/pam.d/xscreensaver.
217 * Some systems might already have a PAM installation that is configured for
218 * xlock, so setting this to "xlock" would also work in that case.
220 #define PAM_SERVICE_NAME "xscreensaver"
222 /* Define if you have PAM and pam_strerror() requires two arguments. */
223 /* #undef PAM_STRERROR_TWO_ARGS */
225 /* Define this if your system uses `shadow' passwords, that is, the passwords
226 * live in /etc/shadow instead of /etc/passwd, and one reads them with
227 * getspnam() instead of getpwnam(). (Note that SCO systems do some random
228 * other thing; others might as well. See the ifdefs in driver/passwd-pwent.c
229 * if you're having trouble related to reading passwords.)
231 #define HAVE_SHADOW_PASSWD 1
233 /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced
234 Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz>
235 instead of in /etc/passwd, and one reads them with getprpwnam() instead
236 of getpwnam().
238 /* #undef HAVE_ENHANCED_PASSWD */
240 /* Define this if your system is Solaris with ``adjunct'' passwords (this is
241 the version where one gets at the passwords with getpwanam() instead of
242 getpwnam().) I haven't tested this one, let me know if it works.
244 /* #undef HAVE_ADJUNCT_PASSWD */
246 /* Define this if you are running HPUX with so-called ``Secure Passwords''
247 (if you have /usr/include/hpsecurity.h, you probably have this.) I
248 haven't tested this one, let me know if it works.
250 /* #undef HAVE_HPUX_PASSWD */
252 /* Define this if you are on a system that supports the VT_LOCKSWITCH and
253 VT_UNLOCKSWITCH ioctls. If this is defined, then when the screen is
254 locked, switching to another virtual terminal will also be prevented.
255 That is, the whole console will be locked, rather than just the VT on
256 which X is running. (Well, that's the theory anyway -- in practice,
257 I haven't yet figured out how to make that work.)
259 /* #undef HAVE_VT_LOCKSWITCH */
262 /* Define this if you the openlog(), syslog(), and closelog() functions.
263 This is used for logging failed login attempts.
265 #define HAVE_SYSLOG 1
268 /* *************************************************************************
269 OTHER C ENVIRONMENT JUNK
270 ************************************************************************* */
272 /* Define this to void* if you're using X11R4 or earlier. */
273 /* #undef XPointer */
275 /* Define if you have the nice function. */
276 #define HAVE_NICE 1
278 /* Define if you have the setpriority function. */
279 #define HAVE_SETPRIORITY 1
281 /* Define to empty if the keyword does not work. */
282 /* #undef const */
284 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
285 #define HAVE_SYS_WAIT_H 1
287 /* Define as __inline if that's what the C compiler calls it. */
288 /* #undef inline */
290 /* Define to `int' if <sys/types.h> doesn't define. */
291 /* #undef mode_t */
293 /* Define to `int' if <sys/types.h> doesn't define. */
294 /* #undef pid_t */
296 /* Define as the return type of signal handlers (int or void). */
297 #define RETSIGTYPE void
299 /* Define to `unsigned' if <sys/types.h> doesn't define. */
300 /* #undef size_t */
302 /* Define if you have the ANSI C header files. */
303 #define STDC_HEADERS 1
305 /* Define if you can safely include both <sys/time.h> and <time.h>. */
306 #define TIME_WITH_SYS_TIME 1
308 /* Define if you have the gettimeofday function. */
309 #define HAVE_GETTIMEOFDAY 1
311 /* Define if gettimeofday requires two arguments. */
312 #define GETTIMEOFDAY_TWO_ARGS 1
314 /* Define if you have the putenv function. */
315 #define HAVE_PUTENV 1
317 /* Define if you have the select function. */
318 #define HAVE_SELECT 1
320 /* Define if you have the getcwd function. */
321 #define HAVE_GETCWD 1
323 /* Define if you have the getcwd function. */
324 #define HAVE_GETWD 1
326 /* Define if you have the realpath function. */
327 #define HAVE_REALPATH 1
329 /* Define if you have the uname function. */
330 #define HAVE_UNAME 1
332 /* Define if you have the fcntl function. */
333 #define HAVE_FCNTL 1
335 /* Define if you have the sigaction function. */
336 #define HAVE_SIGACTION 1
338 /* Define if you have the <unistd.h> header file. */
339 #define HAVE_UNISTD_H 1
341 /* Define if you have the <crypt.h> header file. */
342 #define HAVE_CRYPT_H 1
344 /* Define if you have <sys/select.h> that defines fd_set and FD_SET. */
345 #define HAVE_SYS_SELECT_H 1
347 /* Define to use sigaction() instead of signal() for SIGCHLD-related activity.
348 This is necessary at least on SCO OpenServer 5, due to a Unix kernel bug.
350 /* #undef USE_SIGACTION */
352 /* Define this if you do pings with a `struct icmp' and a `icmp_id' slot.
354 #define HAVE_ICMP 1
356 /* Define this if you do pings with a `struct icmphdr' and a `un.echo.id' slot.
358 /* #undef HAVE_ICMPHDR */