1 | /* This is a config.h file that has been pregenerated (from config.h.in) |
---|
2 | * with settings that are correct for VMS. |
---|
3 | */ |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | /* config.h.in --- xscreensaver, Copyright (c) 1998 Jamie Zawinski. |
---|
8 | * |
---|
9 | * The best way to set these parameters is by running the included `configure' |
---|
10 | * script. That examines your system, and generates `config.h' from |
---|
11 | * `config.h.in'. |
---|
12 | * |
---|
13 | * If something goes very wrong, you can edit `config.h' directly, but beware |
---|
14 | * that your changes will be lost if you ever run `configure' again. |
---|
15 | */ |
---|
16 | |
---|
17 | |
---|
18 | /* ************************************************************************* |
---|
19 | CONFIGURING SERVER EXTENSIONS |
---|
20 | ************************************************************************* */ |
---|
21 | |
---|
22 | /* Define this if you have the XReadDisplay extension (I think this is an |
---|
23 | SGI-only thing; it's in <X11/extensions/readdisplay.h>.) A few of the |
---|
24 | screenhacks will take advantage of this if it's available. |
---|
25 | */ |
---|
26 | #undef HAVE_READ_DISPLAY_EXTENSION |
---|
27 | |
---|
28 | /* Define this if you have the Iris Video Library (dmedia/vl.h on SGI.) |
---|
29 | A few of the screenhacks will take advantage of this if it's available. |
---|
30 | */ |
---|
31 | #undef HAVE_SGI_VIDEO |
---|
32 | |
---|
33 | /* Define this if you have the XHPDisableReset function (an HP only thing.) |
---|
34 | */ |
---|
35 | #undef HAVE_XHPDISABLERESET |
---|
36 | |
---|
37 | /* First, some background: there are three distinct server extensions which |
---|
38 | * are useful to a screen saver program: they are XIDLE, MIT-SCREEN-SAVER, |
---|
39 | * and SCREEN_SAVER. |
---|
40 | * |
---|
41 | * The XIDLE extension resides in .../contrib/extensions/xidle/ on the X11R5 |
---|
42 | * contrib tape. This extension lets the client get accurate idle-time |
---|
43 | * information from the X server in a potentially more reliable way than by |
---|
44 | * simply watching for keyboard and mouse activity. However, the XIDLE |
---|
45 | * extension has apparently not been ported to X11R6. |
---|
46 | * |
---|
47 | * The SCREEN_SAVER extension is found (as far as I know) only in the SGI |
---|
48 | * X server, and it exists in all releases since (at least) Irix 5. The |
---|
49 | * relevant header file is /usr/include/X11/extensions/XScreenSaver.h. |
---|
50 | * |
---|
51 | * The similarly-named MIT-SCREEN-SAVER extension came into existence long |
---|
52 | * after the SGI SCREEN_SAVER extension was already in use, and resides in |
---|
53 | * .../contrib/extensions/screensaver/ on the X11R6 contrib tape. It is |
---|
54 | * also found in certain recent X servers built in to NCD X terminals. |
---|
55 | * |
---|
56 | * The MIT extension does basically the same thing that the XIDLE extension |
---|
57 | * does, but there are two things wrong with it: first, because of the way |
---|
58 | * the extension was designed, the `fade' option to XScreenSaver will be |
---|
59 | * uglier: just before the screen fades out, there will be an unattractive |
---|
60 | * flicker to black, because this extension blanks the screen *before* |
---|
61 | * telling us that it is time to do so. Second, this extension is known to |
---|
62 | * be buggy; on the systems I use, it works, but some people have reported |
---|
63 | * X server crashes as a result of using it. XScreenSaver uses this |
---|
64 | * extension rather conservatively, because when I tried to use any of its |
---|
65 | * more complicated features, I could get it to crash the server at the |
---|
66 | * drop of a hat. |
---|
67 | * |
---|
68 | * In short, the MIT-SCREEN-SAVER extension is a piece of junk. The older |
---|
69 | * SGI SCREEN_SAVER extension works great, as does XIDLE. It would be nice |
---|
70 | * If those two existed on more systems, that is, would be adopted by the |
---|
71 | * X Consortium in favor of their inferior "not-invented-here" entry. |
---|
72 | */ |
---|
73 | |
---|
74 | /* Define this if you have the XIDLE extension installed. If you have the |
---|
75 | * XIDLE extension, this is recommended. (You have this extension if the |
---|
76 | * file /usr/include/X11/extensions/xidle.h exists.) Turning on this flag |
---|
77 | * lets XScreenSaver work better with servers which support this extension; |
---|
78 | * but it will still work with servers which do not suport it, so it's a good |
---|
79 | * idea to compile in support for it if you can. |
---|
80 | */ |
---|
81 | #undef HAVE_XIDLE_EXTENSION |
---|
82 | |
---|
83 | /* Define this if you have the MIT-SCREEN-SAVER extension installed. See the |
---|
84 | * caveats about this extension, above. (It's available if the file |
---|
85 | * /usr/include/X11/extensions/scrnsaver.h exists.) |
---|
86 | */ |
---|
87 | #undef HAVE_MIT_SAVER_EXTENSION |
---|
88 | |
---|
89 | /* Define this if you have the SGI SCREEN_SAVER extension. This is standard |
---|
90 | * on Irix systems, and not available elsewhere. |
---|
91 | */ |
---|
92 | #undef HAVE_SGI_SAVER_EXTENSION |
---|
93 | |
---|
94 | /* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard |
---|
95 | * on Irix systems, and not available elsewhere. |
---|
96 | */ |
---|
97 | #undef HAVE_SGI_VC_EXTENSION |
---|
98 | |
---|
99 | /* Define this if you have the XDPMS extension. This is standard on |
---|
100 | * sufficiently-recent XFree86 systems, and possibly elsewhere. (It's |
---|
101 | * available if the file /usr/include/X11/extensions/dpms.h exists.) |
---|
102 | */ |
---|
103 | #define HAVE_DPMS_EXTENSION 1 |
---|
104 | |
---|
105 | |
---|
106 | /* ************************************************************************* |
---|
107 | CONFIGURING GRAPHICS TOOLKITS |
---|
108 | ************************************************************************* */ |
---|
109 | |
---|
110 | /* Define this if you have Motif. |
---|
111 | */ |
---|
112 | #define HAVE_MOTIF 1 |
---|
113 | |
---|
114 | /* Define this if you don't have Motif, but you have Athena (-Xaw). |
---|
115 | */ |
---|
116 | #undef HAVE_ATHENA |
---|
117 | |
---|
118 | /* Define this if you have Athena, and the version you have includes the |
---|
119 | * XawViewportSetCoordinates function in Viewport.h (some old versions of |
---|
120 | * the library didn't have this function.) |
---|
121 | */ |
---|
122 | #undef HAVE_XawViewportSetCoordinates |
---|
123 | |
---|
124 | /* Define this if you have the XPM library installed. Some of the demos can |
---|
125 | * make use of this if it is available. |
---|
126 | */ |
---|
127 | #define HAVE_XPM 1 |
---|
128 | |
---|
129 | /* Define this if you have the Xmu library. This is standard part of X, and |
---|
130 | * if your vendor doesn't ship it, you should report that as a bug. |
---|
131 | */ |
---|
132 | #define HAVE_XMU 1 |
---|
133 | |
---|
134 | /* Define this if you have OpenGL. Some of the demos require it, so if you |
---|
135 | * don't have it, then those particular demos won't be built. (This won't |
---|
136 | * affect the screen saver as a whole.) |
---|
137 | */ |
---|
138 | #undef HAVE_GL |
---|
139 | |
---|
140 | /* Define this if you have OpenGL, but it's the MesaGL variant. (The |
---|
141 | libraries have different names.) (HAVE_GL should be defined too.) |
---|
142 | */ |
---|
143 | #undef HAVE_MESA_GL |
---|
144 | |
---|
145 | /* Define this if your version of OpenGL has the glBindTexture() routine. |
---|
146 | This is the case for OpenGL 1.1, but not for OpenGL 1.0. |
---|
147 | */ |
---|
148 | #undef HAVE_GLBINDTEXTURE |
---|
149 | |
---|
150 | /* Define this if you have the X Shared Memory Extension. |
---|
151 | */ |
---|
152 | #undef HAVE_XSHM_EXTENSION |
---|
153 | |
---|
154 | /* Some screenhacks like to run an external program to generate random pieces |
---|
155 | of text; set this to the one you like ("yow" and "fortune" are the most |
---|
156 | likely prospects.) Note that this is just the default; X resources can |
---|
157 | be used to override it. |
---|
158 | */ |
---|
159 | #define ZIPPY_PROGRAM "fortune" |
---|
160 | |
---|
161 | |
---|
162 | |
---|
163 | /* ************************************************************************* |
---|
164 | CONFIGURING PASSWORD AUTHENTICATION |
---|
165 | ************************************************************************* */ |
---|
166 | |
---|
167 | /* Define this to remove the option of locking the screen at all. |
---|
168 | */ |
---|
169 | #undef NO_LOCKING |
---|
170 | |
---|
171 | /* Define this if you want to use Kerberos authentication to lock/unlock the |
---|
172 | * screen instead of your local password. This currently uses Kerberos V4, |
---|
173 | * but a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS |
---|
174 | * string-to-key passwords with this option. This option currently *only* |
---|
175 | * works with standard Kerberos des_string_to_key. If your password is an |
---|
176 | * AFS password and not a kerberos password, it will not authenticate |
---|
177 | * properly. See the comments in driver/kpasswd.c for more information if you |
---|
178 | * need it. |
---|
179 | */ |
---|
180 | #undef HAVE_KERBEROS |
---|
181 | |
---|
182 | |
---|
183 | /* Define this if your system uses `shadow' passwords, that is, the passwords |
---|
184 | * live in /etc/shadow instead of /etc/passwd, and one reads them with |
---|
185 | * getspnam() instead of getpwnam(). (Note that SCO systems do some random |
---|
186 | * other thing; others might as well. See the ifdefs in driver/passwd.c if |
---|
187 | * you're having trouble related to reading passwords.) |
---|
188 | */ |
---|
189 | #undef HAVE_SHADOW_PASSWD |
---|
190 | |
---|
191 | /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced |
---|
192 | Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz> |
---|
193 | instead of in /etc/passwd, and one reads them with getprpwnam() instead |
---|
194 | of getpwnam(). |
---|
195 | */ |
---|
196 | #undef HAVE_ENHANCED_PASSWD |
---|
197 | |
---|
198 | /* Define this if your system is Solaris with ``adjunct'' passwords (this is |
---|
199 | the version where one gets at the passwords with getpwanam() instead of |
---|
200 | getpwnam().) I haven't tested this one, let me know if it works. |
---|
201 | */ |
---|
202 | #undef HAVE_ADJUNCT_PASSWD |
---|
203 | |
---|
204 | /* Define this if you are running HPUX with so-called ``Secure Passwords'' |
---|
205 | (if you have /usr/include/hpsecurity.h, you probably have this.) I |
---|
206 | haven't tested this one, let me know if it works. |
---|
207 | */ |
---|
208 | #undef HAVE_HPUX_PASSWD |
---|
209 | |
---|
210 | /* Define this if you are on a system that supports the VT_LOCKSWITCH and |
---|
211 | VT_UNLOCKSWITCH ioctls. If this is defined, then when the screen is |
---|
212 | locked, switching to another virtual terminal will also be prevented. |
---|
213 | That is, the whole console will be locked, rather than just the VT on |
---|
214 | which X is running. |
---|
215 | */ |
---|
216 | #define HAVE_VT_LOCKSWITCH 1 |
---|
217 | |
---|
218 | |
---|
219 | /* ************************************************************************* |
---|
220 | OTHER C ENVIRONMENT JUNK |
---|
221 | ************************************************************************* */ |
---|
222 | |
---|
223 | /* Define this to void* if you're using X11R4 or earlier. */ |
---|
224 | #undef XPointer |
---|
225 | |
---|
226 | /* Define if you have the nice function. */ |
---|
227 | #undef HAVE_NICE |
---|
228 | |
---|
229 | /* Define if you have the setpriority function. */ |
---|
230 | #undef HAVE_SETPRIORITY |
---|
231 | |
---|
232 | /* Define to empty if the keyword does not work. */ |
---|
233 | #undef const |
---|
234 | |
---|
235 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ |
---|
236 | #undef HAVE_SYS_WAIT_H |
---|
237 | |
---|
238 | /* Define as __inline if that's what the C compiler calls it. */ |
---|
239 | #undef inline |
---|
240 | |
---|
241 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
242 | #undef mode_t |
---|
243 | |
---|
244 | /* Define to `int' if <sys/types.h> doesn't define. */ |
---|
245 | #undef pid_t |
---|
246 | |
---|
247 | /* Define as the return type of signal handlers (int or void). */ |
---|
248 | #define RETSIGTYPE void |
---|
249 | |
---|
250 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
---|
251 | #undef size_t |
---|
252 | |
---|
253 | /* Define if you have the ANSI C header files. */ |
---|
254 | #define STDC_HEADERS 1 |
---|
255 | |
---|
256 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
---|
257 | #undef TIME_WITH_SYS_TIME |
---|
258 | |
---|
259 | /* Define if you have the gettimeofday function. */ |
---|
260 | #undef HAVE_GETTIMEOFDAY |
---|
261 | |
---|
262 | /* Define if gettimeofday requires two arguments. */ |
---|
263 | #undef GETTIMEOFDAY_TWO_ARGS |
---|
264 | |
---|
265 | /* Define if you have the putenv function. */ |
---|
266 | #undef HAVE_PUTENV |
---|
267 | |
---|
268 | /* Define if you have the select function. */ |
---|
269 | #undef HAVE_SELECT |
---|
270 | |
---|
271 | /* Define if you have the getcwd function. */ |
---|
272 | #undef HAVE_GETCWD |
---|
273 | |
---|
274 | /* Define if you have the getcwd function. */ |
---|
275 | #undef HAVE_GETWD |
---|
276 | |
---|
277 | /* Define if you have the uname function. */ |
---|
278 | #undef HAVE_UNAME |
---|
279 | #if (__VMS_VER >= 70000000) |
---|
280 | # define HAVE_UNAME 1 |
---|
281 | #endif |
---|
282 | |
---|
283 | /* Define if you have the fcntl function. */ |
---|
284 | #undef HAVE_FCNTL |
---|
285 | |
---|
286 | /* Define if you have the sigaction function. */ |
---|
287 | #undef HAVE_SIGACTION |
---|
288 | |
---|
289 | /* Define if you have the <unistd.h> header file. */ |
---|
290 | #undef HAVE_UNISTD_H |
---|
291 | |
---|
292 | /* Define if you have the <crypt.h> header file. */ |
---|
293 | #undef HAVE_CRYPT_H |
---|
294 | |
---|
295 | /* Define to use sigaction() instead of signal() for SIGCHLD-related activity. |
---|
296 | This is necessary at least on SCO OpenServer 5, due to a Unix kernel bug. |
---|
297 | */ |
---|
298 | #undef USE_SIGACTION |
---|