diff options
Diffstat (limited to 'uisimulator/x11/config-x11.h')
-rw-r--r-- | uisimulator/x11/config-x11.h | 362 |
1 files changed, 362 insertions, 0 deletions
diff --git a/uisimulator/x11/config-x11.h b/uisimulator/x11/config-x11.h new file mode 100644 index 0000000000..1c520cfbac --- /dev/null +++ b/uisimulator/x11/config-x11.h | |||
@@ -0,0 +1,362 @@ | |||
1 | /* config.h. Generated automatically by configure. */ | ||
2 | /* config.h.in --- xscreensaver, Copyright (c) 1998 Jamie Zawinski. | ||
3 | * | ||
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'. | ||
7 | * | ||
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. | ||
10 | */ | ||
11 | |||
12 | |||
13 | /* ************************************************************************* | ||
14 | CONFIGURING SERVER EXTENSIONS | ||
15 | ************************************************************************* */ | ||
16 | |||
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. | ||
20 | */ | ||
21 | /* #undef HAVE_READ_DISPLAY_EXTENSION */ | ||
22 | |||
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. | ||
25 | */ | ||
26 | /* #undef HAVE_SGI_VIDEO */ | ||
27 | |||
28 | /* Define this if you have the XHPDisableReset function (an HP only thing.) | ||
29 | */ | ||
30 | /* #undef HAVE_XHPDISABLERESET */ | ||
31 | |||
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. | ||
35 | * | ||
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. | ||
41 | * | ||
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. | ||
45 | * | ||
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. | ||
50 | * | ||
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. | ||
62 | * | ||
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. | ||
67 | */ | ||
68 | |||
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. | ||
75 | */ | ||
76 | /* #undef HAVE_XIDLE_EXTENSION */ | ||
77 | |||
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.) | ||
81 | */ | ||
82 | #define HAVE_MIT_SAVER_EXTENSION 1 | ||
83 | |||
84 | /* Define this if you have the SGI SCREEN_SAVER extension. This is standard | ||
85 | * on Irix systems, and not available elsewhere. | ||
86 | */ | ||
87 | /* #undef HAVE_SGI_SAVER_EXTENSION */ | ||
88 | |||
89 | /* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard | ||
90 | * on Irix systems, and not available elsewhere. | ||
91 | */ | ||
92 | /* #undef HAVE_SGI_VC_EXTENSION */ | ||
93 | |||
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.) | ||
97 | */ | ||
98 | /* #undef HAVE_DPMS_EXTENSION */ | ||
99 | |||
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.) | ||
105 | */ | ||
106 | /* #undef HAVE_XF86VMODE */ | ||
107 | |||
108 | /* Define this if you have a Linux-like /proc/interrupts file which can be | ||
109 | * examined to determine when keyboard activity has occurred. | ||
110 | */ | ||
111 | /* #undef HAVE_PROC_INTERRUPTS */ | ||
112 | |||
113 | |||
114 | |||
115 | /* ************************************************************************* | ||
116 | CONFIGURING GRAPHICS TOOLKITS | ||
117 | ************************************************************************* */ | ||
118 | |||
119 | /* Define this if you have Motif. | ||
120 | */ | ||
121 | #define HAVE_MOTIF 1 | ||
122 | |||
123 | /* Define this if you have Gtk. | ||
124 | */ | ||
125 | /* #undef HAVE_GTK */ | ||
126 | |||
127 | /* Define this if you have Athena (-Xaw). | ||
128 | */ | ||
129 | #define HAVE_ATHENA 1 | ||
130 | |||
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.) | ||
134 | */ | ||
135 | #define HAVE_XawViewportSetCoordinates 1 | ||
136 | |||
137 | /* Define this if you have the XPM library installed. Some of the demos can | ||
138 | * make use of this if it is available. | ||
139 | */ | ||
140 | #define HAVE_XPM 1 | ||
141 | |||
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. | ||
144 | */ | ||
145 | #define HAVE_XMU 1 | ||
146 | |||
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.) | ||
150 | */ | ||
151 | /* #undef HAVE_GL */ | ||
152 | |||
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.) | ||
155 | */ | ||
156 | /* #undef HAVE_MESA_GL */ | ||
157 | |||
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. | ||
160 | */ | ||
161 | /* #undef HAVE_GLBINDTEXTURE */ | ||
162 | |||
163 | /* Define this if you have the -lgle and -lmatrix libraries (GL extrusion.) | ||
164 | */ | ||
165 | /* #undef HAVE_GLE */ | ||
166 | |||
167 | /* Define this if the `xscreensaver' process itself (the driver process) | ||
168 | should be linked against GL. Most systems won't want this (in particular, | ||
169 | if you're using Linux and/or Mesa, you don't want this) but SGI systems | ||
170 | do want this. It may also be useful on other systems that have serious | ||
171 | GL support -- you only need this if you have a lot of different visuals, | ||
172 | not all of which work with GL programs. | ||
173 | */ | ||
174 | /* #undef DAEMON_USE_GL */ | ||
175 | |||
176 | /* Define this if you have the X Shared Memory Extension. | ||
177 | */ | ||
178 | #define HAVE_XSHM_EXTENSION 1 | ||
179 | |||
180 | /* Define this if you have the X Double Buffer Extension. | ||
181 | */ | ||
182 | #define HAVE_DOUBLE_BUFFER_EXTENSION 1 | ||
183 | |||
184 | /* Some screenhacks like to run an external program to generate random pieces | ||
185 | of text; set this to the one you like ("yow" and "fortune" are the most | ||
186 | likely prospects.) Note that this is just the default; X resources can | ||
187 | be used to override it. | ||
188 | */ | ||
189 | #define ZIPPY_PROGRAM "/usr/local/libexec/emacs/20.4/sparc-sun-solaris2.6/yow" | ||
190 | |||
191 | |||
192 | |||
193 | /* ************************************************************************* | ||
194 | CONFIGURING PASSWORD AUTHENTICATION | ||
195 | ************************************************************************* */ | ||
196 | |||
197 | /* Define this to remove the option of locking the screen at all. | ||
198 | */ | ||
199 | /* #undef NO_LOCKING */ | ||
200 | |||
201 | /* Define this if you want to use Kerberos authentication to lock/unlock the | ||
202 | * screen instead of your local password. This currently uses Kerberos V4, | ||
203 | * but a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS | ||
204 | * string-to-key passwords with this option. This option currently *only* | ||
205 | * works with standard Kerberos des_string_to_key. If your password is an | ||
206 | * AFS password and not a kerberos password, it will not authenticate | ||
207 | * properly. See the comments in driver/kpasswd.c for more information if you | ||
208 | * need it. | ||
209 | */ | ||
210 | /* #undef HAVE_KERBEROS */ | ||
211 | |||
212 | /* Define this if you want to use PAM (Pluggable Authentication Modules) | ||
213 | * to lock/unlock the screen, instead of standard /etc/passwd authentication. | ||
214 | */ | ||
215 | /* #undef HAVE_PAM */ | ||
216 | |||
217 | /* If PAM is being used, this is the name of the PAM service that xscreensaver | ||
218 | * will authenticate as. The default is "xscreensaver", which means that the | ||
219 | * PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on | ||
220 | * recent Linux systems) will look for a file called /etc/pam.d/xscreensaver. | ||
221 | * Some systems might already have a PAM installation that is configured for | ||
222 | * xlock, so setting this to "xlock" would also work in that case. | ||
223 | */ | ||
224 | #define PAM_SERVICE_NAME "xscreensaver" | ||
225 | |||
226 | /* Define if you have PAM and pam_strerror() requires two arguments. */ | ||
227 | /* #undef PAM_STRERROR_TWO_ARGS */ | ||
228 | |||
229 | /* Define this if your system uses `shadow' passwords, that is, the passwords | ||
230 | * live in /etc/shadow instead of /etc/passwd, and one reads them with | ||
231 | * getspnam() instead of getpwnam(). (Note that SCO systems do some random | ||
232 | * other thing; others might as well. See the ifdefs in driver/passwd-pwent.c | ||
233 | * if you're having trouble related to reading passwords.) | ||
234 | */ | ||
235 | #define HAVE_SHADOW_PASSWD 1 | ||
236 | |||
237 | /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced | ||
238 | Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz> | ||
239 | instead of in /etc/passwd, and one reads them with getprpwnam() instead | ||
240 | of getpwnam(). | ||
241 | */ | ||
242 | /* #undef HAVE_ENHANCED_PASSWD */ | ||
243 | |||
244 | /* Define this if your system is Solaris with ``adjunct'' passwords (this is | ||
245 | the version where one gets at the passwords with getpwanam() instead of | ||
246 | getpwnam().) I haven't tested this one, let me know if it works. | ||
247 | */ | ||
248 | /* #undef HAVE_ADJUNCT_PASSWD */ | ||
249 | |||
250 | /* Define this if you are running HPUX with so-called ``Secure Passwords'' | ||
251 | (if you have /usr/include/hpsecurity.h, you probably have this.) I | ||
252 | haven't tested this one, let me know if it works. | ||
253 | */ | ||
254 | /* #undef HAVE_HPUX_PASSWD */ | ||
255 | |||
256 | /* Define this if you are on a system that supports the VT_LOCKSWITCH and | ||
257 | VT_UNLOCKSWITCH ioctls. If this is defined, then when the screen is | ||
258 | locked, switching to another virtual terminal will also be prevented. | ||
259 | That is, the whole console will be locked, rather than just the VT on | ||
260 | which X is running. (Well, that's the theory anyway -- in practice, | ||
261 | I haven't yet figured out how to make that work.) | ||
262 | */ | ||
263 | /* #undef HAVE_VT_LOCKSWITCH */ | ||
264 | |||
265 | |||
266 | /* Define this if you the openlog(), syslog(), and closelog() functions. | ||
267 | This is used for logging failed login attempts. | ||
268 | */ | ||
269 | #define HAVE_SYSLOG 1 | ||
270 | |||
271 | |||
272 | /* ************************************************************************* | ||
273 | OTHER C ENVIRONMENT JUNK | ||
274 | ************************************************************************* */ | ||
275 | |||
276 | /* Define this to void* if you're using X11R4 or earlier. */ | ||
277 | /* #undef XPointer */ | ||
278 | |||
279 | /* Define if you have the nice function. */ | ||
280 | #define HAVE_NICE 1 | ||
281 | |||
282 | /* Define if you have the setpriority function. */ | ||
283 | #define HAVE_SETPRIORITY 1 | ||
284 | |||
285 | /* Define to empty if the keyword does not work. */ | ||
286 | /* #undef const */ | ||
287 | |||
288 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ | ||
289 | #define HAVE_SYS_WAIT_H 1 | ||
290 | |||
291 | /* Define as __inline if that's what the C compiler calls it. */ | ||
292 | /* #undef inline */ | ||
293 | |||
294 | /* Define to `int' if <sys/types.h> doesn't define. */ | ||
295 | /* #undef mode_t */ | ||
296 | |||
297 | /* Define to `int' if <sys/types.h> doesn't define. */ | ||
298 | /* #undef pid_t */ | ||
299 | |||
300 | /* Define as the return type of signal handlers (int or void). */ | ||
301 | #define RETSIGTYPE void | ||
302 | |||
303 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | ||
304 | /* #undef size_t */ | ||
305 | |||
306 | /* Define if you have the ANSI C header files. */ | ||
307 | #define STDC_HEADERS 1 | ||
308 | |||
309 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ | ||
310 | #define TIME_WITH_SYS_TIME 1 | ||
311 | |||
312 | /* Define if you have the gettimeofday function. */ | ||
313 | #define HAVE_GETTIMEOFDAY 1 | ||
314 | |||
315 | /* Define if gettimeofday requires two arguments. */ | ||
316 | #define GETTIMEOFDAY_TWO_ARGS 1 | ||
317 | |||
318 | /* Define if you have the putenv function. */ | ||
319 | #define HAVE_PUTENV 1 | ||
320 | |||
321 | /* Define if you have the select function. */ | ||
322 | #define HAVE_SELECT 1 | ||
323 | |||
324 | /* Define if you have the getcwd function. */ | ||
325 | #define HAVE_GETCWD 1 | ||
326 | |||
327 | /* Define if you have the getcwd function. */ | ||
328 | #define HAVE_GETWD 1 | ||
329 | |||
330 | /* Define if you have the realpath function. */ | ||
331 | #define HAVE_REALPATH 1 | ||
332 | |||
333 | /* Define if you have the uname function. */ | ||
334 | #define HAVE_UNAME 1 | ||
335 | |||
336 | /* Define if you have the fcntl function. */ | ||
337 | #define HAVE_FCNTL 1 | ||
338 | |||
339 | /* Define if you have the sigaction function. */ | ||
340 | #define HAVE_SIGACTION 1 | ||
341 | |||
342 | /* Define if you have the <unistd.h> header file. */ | ||
343 | #define HAVE_UNISTD_H 1 | ||
344 | |||
345 | /* Define if you have the <crypt.h> header file. */ | ||
346 | #define HAVE_CRYPT_H 1 | ||
347 | |||
348 | /* Define if you have <sys/select.h> that defines fd_set and FD_SET. */ | ||
349 | #define HAVE_SYS_SELECT_H 1 | ||
350 | |||
351 | /* Define to use sigaction() instead of signal() for SIGCHLD-related activity. | ||
352 | This is necessary at least on SCO OpenServer 5, due to a Unix kernel bug. | ||
353 | */ | ||
354 | /* #undef USE_SIGACTION */ | ||
355 | |||
356 | /* Define this if you do pings with a `struct icmp' and a `icmp_id' slot. | ||
357 | */ | ||
358 | #define HAVE_ICMP 1 | ||
359 | |||
360 | /* Define this if you do pings with a `struct icmphdr' and a `un.echo.id' slot. | ||
361 | */ | ||
362 | /* #undef HAVE_ICMPHDR */ | ||