1 /* config.h.in. Generated from configure.in by autoheader. */
4 /* config.h.in --- xscreensaver, Copyright (c) 1998-2000 Jamie Zawinski.
6 * The best way to set these parameters is by running the included `configure'
7 * script. That examines your system, and generates `config.h' from
10 * If something goes very wrong, you can edit `config.h' directly, but beware
11 * that your changes will be lost if you ever run `configure' again.
15 /* Define this to allow the root password to unlock the screen. */
16 #undef ALLOW_ROOT_PASSWD
18 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
19 systems. This function is required for `alloca.c' support on those systems.
21 #undef CRAY_STACKSEG_END
23 /* Define to 1 if using `alloca.c'. */
26 /* always defined to indicate that i18n is enabled */
29 /* Some screenhacks like to run an external program to generate random pieces
30 of text; set this to the one you like. Note that this is just the default;
31 X resources can be used to override it. */
32 #undef FORTUNE_PROGRAM
34 /* This is the name of the gettext package to use. */
35 #undef GETTEXT_PACKAGE
37 /* Define this if gettimeofday() takes two arguments. */
38 #undef GETTIMEOFDAY_TWO_ARGS
40 /* Define this if your system is Solaris with ``adjunct'' passwords (this is
41 the version where one gets at the passwords with getpwanam() instead of
42 getpwnam().) I haven't tested this one, let me know if it works. */
43 #undef HAVE_ADJUNCT_PASSWD
45 /* Define to 1 if you have `alloca', as a function or macro. */
48 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
52 /* Define to 1 if you have the <argz.h> header file. */
55 /* Define this if you have Gnome and want to build support for the
56 xscreensaver control panel in the Gnome Control Center (gnomecc). (This is
57 needed only with Gtk 1.x.) */
60 /* Define this if HAVE_CRAPPLET is defined, and the function
61 capplet_widget_changes_are_immediate() is available. */
62 #undef HAVE_CRAPPLET_IMMEDIATE
64 /* Define to 1 if you have the <crypt.h> header file. */
67 /* Define to 1 if you have the `dcgettext' function. */
70 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
74 /* Define this if you have the X Double Buffer Extension. */
75 #undef HAVE_DOUBLE_BUFFER_EXTENSION
77 /* Define this if you have the XDPMS extension. This is standard on
78 sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
79 available if the file /usr/include/X11/extensions/dpms.h exists.) */
80 #undef HAVE_DPMS_EXTENSION
82 /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced
83 Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz>
84 instead of in /etc/passwd, and one reads them with getprpwnam() instead of
86 #undef HAVE_ENHANCED_PASSWD
88 /* Define to 1 if you have the `fcntl' function. */
91 /* Define this if you have the 'forkpty' function: This allows 'phosphor' and
92 'apple2' to run curses-based programs, or be used as terminal windows. */
95 /* Define this if you have the GDK_Pixbuf library installed. Some of the demos
96 can make use of this if it is available. */
97 #undef HAVE_GDK_PIXBUF
99 /* Define to 1 if you have the `getcwd' function. */
102 /* Define to 1 if you have the `getpagesize' function. */
103 #undef HAVE_GETPAGESIZE
105 /* Define if the GNU gettext() function is already present or preinstalled. */
108 /* Define this if you have the gettimeofday function. */
109 #undef HAVE_GETTIMEOFDAY
111 /* Define to 1 if you have the `getwd' function. */
114 /* Define this if you have OpenGL. Some of the demos require it, so if you
115 don't have it, then those particular demos won't be built. (This won't
116 affect the screen saver as a whole.) */
119 /* Define this if your version of OpenGL has the glBindTexture() routine. This
120 is the case for OpenGL 1.1, but not for OpenGL 1.0. */
121 #undef HAVE_GLBINDTEXTURE
123 /* Define this if you have the -lgle and -lmatrix libraries (GL extrusion.) */
126 /* Define this if you have the -lgle from GLE version 3 */
129 /* Define this if you have Gtk (any version.) */
132 /* Define this if you have Gtk 2.x. */
135 /* Define this if you are running HPUX with so-called ``Secure Passwords'' (if
136 you have /usr/include/hpsecurity.h, you probably have this.) I haven't
137 tested this one, let me know if it works. */
138 #undef HAVE_HPUX_PASSWD
140 /* Define this if you do pings with a `struct icmp' and an `icmp_id' slot. */
143 /* Define this if you do pings with a `struct icmphdr' and an `un.echo.id'
147 /* Define to 1 if you have the <inttypes.h> header file. */
148 #undef HAVE_INTTYPES_H
150 /* Define this if you have the Independent JPEG Group's JPEG library
151 installed. Some of the demos can make use of this if it is available. */
154 /* Define this if you want to use Kerberos authentication to lock/unlock the
155 screen instead of your local password. This currently uses Kerberos V4, but
156 a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS
157 string-to-key passwords with this option. This option currently *only*
158 works with standard Kerberos des_string_to_key. If your password is an AFS
159 password and not a kerberos password, it will not authenticate properly.
160 See the comments in driver/kpasswd.c for more information if you need it.
164 /* Define this if you have Kerberos 5, meaning we need to use the Kerberos 4
165 compatibility layer. */
166 #undef HAVE_KERBEROS5
168 /* Define if your <locale.h> file defines LC_MESSAGES. */
169 #undef HAVE_LC_MESSAGES
171 /* Define to 1 if you have the <limits.h> header file. */
174 /* Define to 1 if you have the <locale.h> header file. */
177 /* Define to 1 if you have the <malloc.h> header file. */
180 /* Define to 1 if you have the <memory.h> header file. */
183 /* Define this if you have OpenGL, but it's the MesaGL variant. (The libraries
184 have different names.) (HAVE_GL should be defined too.) */
187 /* Define this if you have the MIT-SCREEN-SAVER extension installed. See the
188 caveats about this extension, above. (It's available if
189 /usr/include/X11/extensions/scrnsaver.h exists.) */
190 #undef HAVE_MIT_SAVER_EXTENSION
192 /* Define to 1 if you have a working `mmap' system call. */
195 /* Define this if you have Motif. */
198 /* Define to 1 if you have the `munmap' function. */
201 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
204 /* Define to 1 if you have the `nice' function. */
207 /* Define to 1 if you have the <nl_types.h> header file. */
208 #undef HAVE_NL_TYPES_H
210 /* Define this if you have the XML library headers in their old,
211 non-namespaced location (you lack the gnome-xml/libxml symlink) */
212 #undef HAVE_OLD_XML_HEADERS
214 /* Define this if you want to use PAM (Pluggable Authentication Modules) to
215 lock/unlock the screen, instead of standard /etc/passwd authentication. */
218 /* Define this if you have pam_fail_delay function. see driver/passwd-pam.c.
220 #undef HAVE_PAM_FAIL_DELAY
222 /* Define this if you have a Linux-like /proc/interrupts file which can be
223 examined to determine when keyboard activity has occurred. */
224 #undef HAVE_PROC_INTERRUPTS
226 /* Define to 1 if you have the <pty.h> header file. */
229 /* Define to 1 if you have the `putenv' function. */
232 /* Define this if you have the Resize and Rotate extension. This is standard
233 on sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
234 available if the file /usr/include/X11/extensions/Xrandr.h exists.) */
237 /* Define this if you have the XReadDisplay extension (I think this is an
238 SGI-only thing; it's in <X11/extensions/readdisplay.h>.) A few of the
239 screenhacks will take advantage of this if it's available. */
240 #undef HAVE_READ_DISPLAY_EXTENSION
242 /* Define to 1 if you have the `realpath' function. */
245 /* Define to 1 if you have the `sbrk' function. */
248 /* Define to 1 if you have the `select' function. */
251 /* Define to 1 if you have the `setenv' function. */
254 /* Define to 1 if you have the `setlocale' function. */
255 #undef HAVE_SETLOCALE
257 /* Define to 1 if you have the `setpriority' function. */
258 #undef HAVE_SETPRIORITY
260 /* Define to 1 if you have the `setrlimit' function. */
261 #undef HAVE_SETRLIMIT
263 /* Define this if you have the SGI SCREEN_SAVER extension. This is standard on
264 Irix systems, and not available elsewhere. */
265 #undef HAVE_SGI_SAVER_EXTENSION
267 /* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard
268 on Irix systems, and not available elsewhere. */
269 #undef HAVE_SGI_VC_EXTENSION
271 /* Define this if your system uses 'shadow' passwords, that is, the passwords
272 live in /etc/shadow instead of /etc/passwd, and one reads them with
273 getspnam() instead of getpwnam(). (Note that SCO systems do some random
274 other thing; others might as well. See the ifdefs in driver/passwd-pwent.c
275 if you're having trouble related to reading passwords.) */
276 #undef HAVE_SHADOW_PASSWD
278 /* Define to 1 if you have the `sigaction' function. */
279 #undef HAVE_SIGACTION
281 /* Define to 1 if you have the <stdint.h> header file. */
284 /* Define to 1 if you have the <stdlib.h> header file. */
287 /* Define to 1 if you have the `strcasecmp' function. */
288 #undef HAVE_STRCASECMP
290 /* Define to 1 if you have the `strchr' function. */
293 /* Define to 1 if you have the `strdup' function. */
296 /* Define to 1 if you have the <strings.h> header file. */
297 #undef HAVE_STRINGS_H
299 /* Define to 1 if you have the <string.h> header file. */
302 /* Define to 1 if you have the `syslog' function. */
305 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
307 #undef HAVE_SYS_DIR_H
309 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
311 #undef HAVE_SYS_NDIR_H
313 /* Define to 1 if you have the <sys/param.h> header file. */
314 #undef HAVE_SYS_PARAM_H
316 /* Define to 1 if you have the <sys/select.h> header file. */
317 #undef HAVE_SYS_SELECT_H
319 /* Define to 1 if you have the <sys/stat.h> header file. */
320 #undef HAVE_SYS_STAT_H
322 /* Define to 1 if you have the <sys/types.h> header file. */
323 #undef HAVE_SYS_TYPES_H
325 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
326 #undef HAVE_SYS_WAIT_H
328 /* Define to 1 if you have the `uname' function. */
331 /* Define to 1 if you have the <unistd.h> header file. */
334 /* Define to 1 if you have the <util.h> header file. */
337 /* Define this if you have the XF86MiscSetGrabKeysState function (which allows
338 the Ctrl-Alt-KP_star and Ctrl-Alt-KP_slash key sequences to be temporarily
339 disabled. Sadly, it doesn't affect Ctrl-Alt-BS or Ctrl-Alt-F1.) */
340 #undef HAVE_XF86MISCSETGRABKEYSSTATE
342 /* Define this if you have the functions XF86VidModeGetModeLine() and
343 XF86VidModeGetViewPort(), in support of virtual desktops where the X
344 server's root window is bigger than the actual screen. This is an XFree86
345 thing, and probably doesn't exist elsewhere. (It's available if the file
346 /usr/include/X11/extensions/xf86vmode.h exists.) */
347 #undef HAVE_XF86VMODE
349 /* Define this if you have the functions XF86VidModeGetGamma() and
350 XF86VidModeSetGamma(), which allow clients to change the gamma response of
351 the monitor. This is an XFree86 4.0.x thing, and probably doesn't exist
352 elsewhere. (It's available if the file
353 /usr/include/X11/extensions/xf86vmode.h exists and has stuff about gamma in
355 #undef HAVE_XF86VMODE_GAMMA
357 /* Define this if you have the functions XF86VidModeGetGammaRamp() and
358 XF86VidModeSetGammaRamp(), which provide finer-grained control than
359 XF86VidMode[GS]etGamma(). These appeared in XFree86 4.1.0. */
360 #undef HAVE_XF86VMODE_GAMMA_RAMP
362 /* Define this if you have the XHPDisableReset function (an HP only thing
363 which allows the Ctrl-Sh-Reset key sequence to be temporarily disabled.) */
364 #undef HAVE_XHPDISABLERESET
366 /* Define this if you have the XIDLE extension installed. If you have the
367 XIDLE extension, this is recommended. (You have this extension if the file
368 /usr/include/X11/extensions/xidle.h exists.) Turning on this flag lets
369 XScreenSaver work better with servers which support this extension; but it
370 will still work with servers which do not suport it, so it's a good idea to
371 compile in support for it if you can. */
372 #undef HAVE_XIDLE_EXTENSION
374 /* Define this if you have the Xinerama extension. This is standard on
375 sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
376 available if the file /usr/include/X11/extensions/Xinerama.h exists.) */
379 /* Define this if you have the XmComboBox Motif widget (Motif 2.0.) */
380 #undef HAVE_XMCOMBOBOX
382 /* Define this if you have the XML library. */
385 /* Define this if you have the Xmu library. This is standard part of X, and if
386 your vendor doesn't ship it, you should report that as a bug. */
389 /* Define this if you have the XPM library installed. Some of the demos can
390 make use of this if it is available. */
393 /* Define this if you have the X Shared Memory Extension. */
394 #undef HAVE_XSHM_EXTENSION
396 /* Define to 1 if you have the `__argz_count' function. */
397 #undef HAVE___ARGZ_COUNT
399 /* Define to 1 if you have the `__argz_next' function. */
400 #undef HAVE___ARGZ_NEXT
402 /* Define to 1 if you have the `__argz_stringify' function. */
403 #undef HAVE___ARGZ_STRINGIFY
405 /* Define this to remove the option of locking the screen at all. */
408 /* This is the same as GETTEXT_PACKAGE, but for the glade generated code. */
411 /* Define to the address where bug reports for this package should be sent. */
412 #undef PACKAGE_BUGREPORT
414 /* Define to the full name of this package. */
417 /* Define to the full name and version of this package. */
418 #undef PACKAGE_STRING
420 /* Define to the one symbol short name of this package. */
421 #undef PACKAGE_TARNAME
423 /* Define to the version of this package. */
424 #undef PACKAGE_VERSION
426 /* If PAM is being used, this is the name of the PAM service that xscreensaver
427 will authenticate as. The default is "xscreensaver", which means that the
428 PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on
429 recent Linux systems) will look for a file called /etc/pam.d/xscreensaver.
430 Some systems might already have a PAM installation that is configured for
431 xlock, so setting this to "xlock" would also work in that case. */
432 #undef PAM_SERVICE_NAME
434 /* Define if you have PAM and pam_strerror() requires two arguments. */
435 #undef PAM_STRERROR_TWO_ARGS
437 /* Set the name of the password helper program, if any */
438 #undef PASSWD_HELPER_PROGRAM
440 /* Define as the return type of signal handlers (`int' or `void'). */
443 /* If using the C implementation of alloca, define if you know the
444 direction of stack growth for your system; otherwise it will be
445 automatically deduced at run-time.
446 STACK_DIRECTION > 0 => grows toward higher addresses
447 STACK_DIRECTION < 0 => grows toward lower addresses
448 STACK_DIRECTION = 0 => direction of growth unknown */
449 #undef STACK_DIRECTION
451 /* Define to 1 if you have the ANSI C header files. */
454 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
455 #undef TIME_WITH_SYS_TIME
457 /* Define this to void* if you're using X11R4 or earlier. */
460 /* Define to 1 if the X Window System is missing or not being used. */
461 #undef X_DISPLAY_MISSING
463 /* Define to empty if `const' does not conform to ANSI C. */
466 /* Define to `__inline__' or `__inline' if that's what the C compiler
467 calls it, or to nothing if 'inline' is not supported under any name. */
472 /* Define to `int' if <sys/types.h> does not define. */
475 /* Define to `long' if <sys/types.h> does not define. */
478 /* Define to `int' if <sys/types.h> does not define. */
481 /* Define to `unsigned' if <sys/types.h> does not define. */