http://ftp.x.org/contrib/applications/xscreensaver-2.21.tar.gz
[xscreensaver] / config.h-vms
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) 1997 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                           CONFIGURING SERVER EXTENSIONS
19    ************************************************************************* */
20
21 /* Define this if you have the XReadDisplay extension (I think this is an
22    SGI-only thing; it's in <X11/extensions/readdisplay.h>.)  A couple of
23    the screenhacks will take advantage of this if it's available.
24  */
25 #undef HAVE_READ_DISPLAY_EXTENSION
26
27 /* Define this if you have the XHPDisableReset function (an HP only thing.)
28  */
29 #undef HAVE_XHPDISABLERESET
30
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.
34  *
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.
40  *
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.
44  *
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.
49  *
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.
61  *
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.
66  */
67
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.
74  */
75 #undef HAVE_XIDLE_EXTENSION
76
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.)
80  */
81 #undef HAVE_MIT_SAVER_EXTENSION
82
83 /*  Define this if you have the SGI SCREEN_SAVER extension.  This is standard
84  *  on Irix systems, and not available elsewhere.
85  */
86 #undef HAVE_SGI_SAVER_EXTENSION
87
88
89
90 /* *************************************************************************
91                           CONFIGURING GRAPHICS TOOLKITS
92    ************************************************************************* */
93
94 /*  Define this if you have Motif.
95  */
96 #define HAVE_MOTIF
97
98 /*  Define this if you don't have Motif, but you have Athena (-Xaw).
99  */
100 #undef HAVE_ATHENA
101
102 /*  Define this if you have Athena, and the version you have includes the
103  *  XawViewportSetCoordinates function in Viewport.h (some old versions of
104  *  the library didn't have this function.)
105  */
106 #undef HAVE_XawViewportSetCoordinates
107
108 /*  Define this if you have the XPM library installed.  Some of the demos can
109  *  make use of this if it is available.
110  */
111 #undef HAVE_XPM
112
113 /*  Define this if you have the Xmu library.  This is standard part of X, and
114  *  if your vendor doesn't ship it, you should report that as a bug.
115  */
116 #define HAVE_XMU
117
118 /*  Define this if you have OpenGL.  Some of the demos require it, so if you
119  *  don't have it, then those particular demos won't be built.  (This won't
120  *  affect the screen saver as a whole.)
121  */
122 #undef HAVE_GL
123
124 /*  Define this if you have GL, but it's the MesaGL variant.  (The libraries
125     have different names.)  (HAVE_GL should be defined too.)
126  */
127 #undef HAVE_MESA_GL
128
129 /*  Some screenhacks like to run an external program to generate random pieces
130     of text; set this to the one you like ("yow" and "fortune" are the most
131     likely prospects.)  Note that this is just the default; X resources can
132     be used to override it.
133  */
134 #define ZIPPY_PROGRAM "fortune"
135
136
137
138 /* *************************************************************************
139                        CONFIGURING PASSWORD AUTHENTICATION
140    ************************************************************************* */
141
142 /* Define this to remove the option of locking the screen at all.
143  */
144 #undef NO_LOCKING
145
146 /*  Define this if you want to use Kerberos authentication to lock/unlock the
147  *  screen instead of your local password.  This currently uses Kerberos V4, 
148  *  but a V5 server with V4 compatibility will work.  WARNING: DO NOT USE AFS
149  *  string-to-key passwords with this option. This option currently *only* 
150  *  works with standard Kerberos des_string_to_key.  If your password is an
151  *  AFS password and not a kerberos password, it will not authenticate 
152  *  properly. See the comments in driver/kpasswd.c for more information if you
153  *  need it. 
154  */
155 #undef HAVE_KERBEROS
156
157
158 /*  Define this if your system uses `shadow' passwords, that is, the passwords
159  *  live in /etc/shadow instead of /etc/passwd, and one reads them with
160  *  getspnam() instead of getpwnam().  (Note that SCO systems do some random
161  *  other thing; others might as well.  See the ifdefs in driver/passwd.c if
162  *  you're having trouble related to reading passwords.)
163  */
164 #undef HAVE_SHADOW_PASSWD
165
166 /*  Define this if your system is Digital or SCO Unix with so-called ``Enhanced
167     Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz> 
168     instead of in /etc/passwd, and one reads them with getprpwnam() instead 
169     of getpwnam().
170  */
171 #undef HAVE_ENHANCED_PASSWD
172
173 /*  Define this if your system is Solaris with ``adjunct'' passwords (this is
174     the version where one gets at the passwords with getpwanam() instead of
175     getpwnam().)  I haven't tested this one, let me know if it works.
176  */
177 #undef HAVE_ADJUNCT_PASSWD
178
179 /*  Define this if you are running HPUX with so-called ``Secure Passwords'' 
180     (if you have /usr/include/hpsecurity.h, you probably have this.)  I
181     haven't tested this one, let me know if it works.
182  */
183 #undef HAVE_HPUX_PASSWD
184
185
186 /* *************************************************************************
187                             OTHER C ENVIRONMENT JUNK
188    ************************************************************************* */
189
190 /* Define this to void* if you're using X11R4 or earlier.  */
191 #undef XPointer
192
193 /* Define if you have the nice function.  */
194 #undef HAVE_NICE
195
196 /* Define if you have the setpriority function.  */
197 #undef HAVE_SETPRIORITY
198
199 /* Define to empty if the keyword does not work.  */
200 #undef const
201
202 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
203 #undef HAVE_SYS_WAIT_H
204
205 /* Define as __inline if that's what the C compiler calls it.  */
206 #undef inline
207
208 /* Define to `int' if <sys/types.h> doesn't define.  */
209 #undef mode_t
210
211 /* Define to `int' if <sys/types.h> doesn't define.  */
212 #undef pid_t
213
214 /* Define as the return type of signal handlers (int or void).  */
215 #define RETSIGTYPE void
216
217 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
218 #undef size_t
219
220 /* Define if you have the ANSI C header files.  */
221 #define STDC_HEADERS
222
223 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
224 #undef TIME_WITH_SYS_TIME
225
226 /* Define if you have the gettimeofday function.  */
227 #undef HAVE_GETTIMEOFDAY
228
229 /* Define if gettimeofday requires two arguments.  */
230 #undef GETTIMEOFDAY_TWO_ARGS
231
232 /* Define if you have the putenv function.  */
233 #undef HAVE_PUTENV
234
235 /* Define if you have the select function.  */
236 #undef HAVE_SELECT
237
238 /* Define if you have the getcwd function.  */
239 #undef HAVE_GETCWD
240
241 /* Define if you have the getcwd function.  */
242 #undef HAVE_GETWD
243
244 /* Define if you have the uname function.  */
245 #undef HAVE_UNAME
246
247 /* Define if you have the fcntl function.  */
248 #undef HAVE_FCNTL
249
250 /* Define if you have the <unistd.h> header file.  */
251 #undef HAVE_UNISTD_H