1 /* config.h.in. Generated from configure.in by autoheader. */
4 /* config.h.in --- xscreensaver, Copyright (c) 1991-2014 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 /* always defined to indicate that i18n is enabled */
21 /* Some screenhacks like to run an external program to generate random pieces
22 of text; set this to the one you like. Note that this is just the default;
23 X resources can be used to override it. */
24 #undef FORTUNE_PROGRAM
26 /* This is the name of the gettext package to use. */
27 #undef GETTEXT_PACKAGE
29 /* Define this if gettimeofday() takes two arguments. */
30 #undef GETTIMEOFDAY_TWO_ARGS
32 /* Define this if your system is Solaris with ``adjunct'' passwords (this is
33 the version where one gets at the passwords with getpwanam() instead of
34 getpwnam().) I haven't tested this one, let me know if it works. */
35 #undef HAVE_ADJUNCT_PASSWD
37 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
38 #undef HAVE_BIND_TEXTDOMAIN_CODESET
40 /* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
41 CoreFoundation framework. */
42 #undef HAVE_CFLOCALECOPYCURRENT
44 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
45 the CoreFoundation framework. */
46 #undef HAVE_CFPREFERENCESCOPYAPPVALUE
48 /* Define this if you have Gnome and want to build support for the
49 xscreensaver control panel in the Gnome Control Center (gnomecc). (This is
50 needed only with Gtk 1.x.) */
53 /* Define this if HAVE_CRAPPLET is defined, and the function
54 capplet_widget_changes_are_immediate() is available. */
55 #undef HAVE_CRAPPLET_IMMEDIATE
57 /* Define to 1 if you have the <crypt.h> header file. */
60 /* Define to 1 if you have the `dcgettext' function. */
63 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
67 /* Define this if you have the X Double Buffer Extension. */
68 #undef HAVE_DOUBLE_BUFFER_EXTENSION
70 /* Define this if you have the XDPMS extension. This is standard on
71 sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
72 available if the file /usr/include/X11/extensions/dpms.h exists.) */
73 #undef HAVE_DPMS_EXTENSION
75 /* Define this if your system is Digital or SCO Unix with so-called ``Enhanced
76 Security'', that is, the passwords live in /tcb/files/auth/<x>/<xyz>
77 instead of in /etc/passwd, and one reads them with getprpwnam() instead of
79 #undef HAVE_ENHANCED_PASSWD
81 /* Define to 1 if you have the `fcntl' function. */
84 /* Define this if you have the 'forkpty' function: This allows 'phosphor' and
85 'apple2' to run curses-based programs, or be used as terminal windows. */
88 /* Define this if you have the GDK_Pixbuf library installed. Some of the demos
89 can make use of this if it is available. */
90 #undef HAVE_GDK_PIXBUF
92 /* Define this if you have the gdk_pixbuf_apply_embedded_orientation function
94 #undef HAVE_GDK_PIXBUF_APPLY_EMBEDDED_ORIENTATION
96 /* Define to 1 if you have the `getaddrinfo' function. */
97 #undef HAVE_GETADDRINFO
99 /* Define to 1 if you have the `getcwd' function. */
102 /* Define this if you have the getifaddrs() function. */
103 #undef HAVE_GETIFADDRS
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 to target the OpenGL ES 1.x API instead of OpenGL 1.3. */
157 /* Define this if you want to use Kerberos authentication to lock/unlock the
158 screen instead of your local password. This currently uses Kerberos V4, but
159 a V5 server with V4 compatibility will work. WARNING: DO NOT USE AFS
160 string-to-key passwords with this option. This option currently *only*
161 works with standard Kerberos des_string_to_key. If your password is an AFS
162 password and not a kerberos password, it will not authenticate properly.
163 See the comments in driver/kpasswd.c for more information if you need it.
167 /* Define this if you have Kerberos 5, meaning we need to use the Kerberos 4
168 compatibility layer. */
169 #undef HAVE_KERBEROS5
171 /* Define if your <locale.h> file defines LC_MESSAGES. */
172 #undef HAVE_LC_MESSAGES
174 /* Define to 1 if you have the <locale.h> header file. */
177 /* Define to 1 if you have the <memory.h> header file. */
180 /* Define this if you have OpenGL, but it's the MesaGL variant. (The libraries
181 have different names.) (HAVE_GL should be defined too.) */
184 /* Define this if you have Motif. */
187 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
190 /* Define to 1 if you have the `nice' function. */
193 /* Define this if you have the XML library headers in their old,
194 non-namespaced location (you lack the gnome-xml/libxml symlink) */
195 #undef HAVE_OLD_XML_HEADERS
197 /* Define this if you want to use PAM (Pluggable Authentication Modules) to
198 lock/unlock the screen, instead of standard /etc/passwd authentication. */
201 /* Define this if you have pam_fail_delay function. see driver/passwd-pam.c.
203 #undef HAVE_PAM_FAIL_DELAY
205 /* Define this if you have a Linux-like /proc/interrupts file which can be
206 examined to determine when keyboard activity has occurred. */
207 #undef HAVE_PROC_INTERRUPTS
209 /* Define this if your system supports POSIX threads. */
212 /* Have PTHREAD_PRIO_INHERIT. */
213 #undef HAVE_PTHREAD_PRIO_INHERIT
215 /* Define to 1 if you have the <pty.h> header file. */
218 /* Define to 1 if you have the `putenv' function. */
221 /* Define this if you have the Resize and Rotate extension. This is standard
222 on sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
223 available if the file /usr/include/X11/extensions/Xrandr.h exists.) */
226 /* Define this if the RANDR library is version 1.2 or newer. */
229 /* Define this if you have the XReadDisplay extension (I think this is an
230 SGI-only thing; it's in <X11/extensions/readdisplay.h>.) A few of the
231 screenhacks will take advantage of this if it's available. */
232 #undef HAVE_READ_DISPLAY_EXTENSION
234 /* Define to 1 if you have the `realpath' function. */
237 /* Define this to enable recording of videos. */
238 #undef HAVE_RECORD_ANIM
240 /* Define to 1 if you have the `sbrk' function. */
243 /* Define to 1 if you have the `select' function. */
246 /* Define to 1 if you have the `setlocale' function. */
247 #undef HAVE_SETLOCALE
249 /* Define to 1 if you have the `setpriority' function. */
250 #undef HAVE_SETPRIORITY
252 /* Define to 1 if you have the `setrlimit' function. */
253 #undef HAVE_SETRLIMIT
255 /* Define this if your system uses 'shadow' passwords, that is, the passwords
256 live in /etc/shadow instead of /etc/passwd, and one reads them with
257 getspnam() instead of getpwnam(). (Note that SCO systems do some random
258 other thing; others might as well. See the ifdefs in driver/passwd-pwent.c
259 if you're having trouble related to reading passwords.) */
260 #undef HAVE_SHADOW_PASSWD
262 /* Define to 1 if you have the `sigaction' function. */
263 #undef HAVE_SIGACTION
265 /* Define to 1 if you have the `sigtimedwait' function. */
266 #undef HAVE_SIGTIMEDWAIT
268 /* Define to 1 if you have the `sqrtf' function. */
271 /* Define to 1 if you have the <stdint.h> header file. */
274 /* Define to 1 if you have the <stdlib.h> header file. */
277 /* Define to 1 if you have the <strings.h> header file. */
278 #undef HAVE_STRINGS_H
280 /* Define to 1 if you have the <string.h> header file. */
283 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
284 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
286 /* Define to 1 if you have the `syslog' function. */
289 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
291 #undef HAVE_SYS_DIR_H
293 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
295 #undef HAVE_SYS_NDIR_H
297 /* Define to 1 if you have the <sys/select.h> header file. */
298 #undef HAVE_SYS_SELECT_H
300 /* Define to 1 if you have the <sys/stat.h> header file. */
301 #undef HAVE_SYS_STAT_H
303 /* Define to 1 if you have the <sys/termios.h> header file. */
304 #undef HAVE_SYS_TERMIOS_H
306 /* Define to 1 if you have the <sys/types.h> header file. */
307 #undef HAVE_SYS_TYPES_H
309 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
310 #undef HAVE_SYS_WAIT_H
312 /* Define to 1 if you have the `uname' function. */
315 /* Define to 1 if you have the <unistd.h> header file. */
318 /* Define to 1 if you have the <util.h> header file. */
321 /* Define this if you have the XF86MiscSetGrabKeysState function (which allows
322 the Ctrl-Alt-KP_star and Ctrl-Alt-KP_slash key sequences to be temporarily
323 disabled. Sadly, it doesn't affect Ctrl-Alt-BS or Ctrl-Alt-F1.) */
324 #undef HAVE_XF86MISCSETGRABKEYSSTATE
326 /* Define this if you have the functions XF86VidModeGetModeLine() and
327 XF86VidModeGetViewPort(), in support of virtual desktops where the X
328 server's root window is bigger than the actual screen. This is an XFree86
329 thing, and probably doesn't exist elsewhere. (It's available if the file
330 /usr/include/X11/extensions/xf86vmode.h exists.) */
331 #undef HAVE_XF86VMODE
333 /* Define this if you have the functions XF86VidModeGetGamma() and
334 XF86VidModeSetGamma(), which allow clients to change the gamma response of
335 the monitor. This is an XFree86 4.0.x thing, and probably doesn't exist
336 elsewhere. (It's available if the file
337 /usr/include/X11/extensions/xf86vmode.h exists and has stuff about gamma in
339 #undef HAVE_XF86VMODE_GAMMA
341 /* Define this if you have the functions XF86VidModeGetGammaRamp() and
342 XF86VidModeSetGammaRamp(), which provide finer-grained control than
343 XF86VidMode[GS]etGamma(). These appeared in XFree86 4.1.0. */
344 #undef HAVE_XF86VMODE_GAMMA_RAMP
346 /* Define this if you have libXft2. */
349 /* Define this if you have the XHPDisableReset function (an HP only thing
350 which allows the Ctrl-Sh-Reset key sequence to be temporarily disabled.) */
351 #undef HAVE_XHPDISABLERESET
353 /* Define this if you have the Xinerama extension. This is standard on
354 sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
355 available if the file /usr/include/X11/extensions/Xinerama.h exists.) */
358 /* Define this if you have the Xinput extension. This is standard since X11R5,
359 and is thus almost everywhere. (It's available if the file
360 /usr/include/X11/extensions/XInput.h exists.) */
363 /* Define this if you have the XmComboBox Motif widget (Motif 2.0.) */
364 #undef HAVE_XMCOMBOBOX
366 /* Define this if you have the XML library. */
369 /* Define this if you have the Xmu library. This is standard part of X, and if
370 your vendor doesn't ship it, you should report that as a bug. */
373 /* Define this if you have the XPM library installed. Some of the demos can
374 make use of this if it is available. */
377 /* Define this if you have the X Shared Memory Extension. */
378 #undef HAVE_XSHM_EXTENSION
380 /* Define this if you have the function Xutf8DrawString(). */
381 #undef HAVE_XUTF8DRAWSTRING
383 /* Define this to remove the option of locking the screen at all. */
386 /* This is the same as GETTEXT_PACKAGE, but for the glade generated code. */
389 /* Define to the address where bug reports for this package should be sent. */
390 #undef PACKAGE_BUGREPORT
392 /* Define to the full name of this package. */
395 /* Define to the full name and version of this package. */
396 #undef PACKAGE_STRING
398 /* Define to the one symbol short name of this package. */
399 #undef PACKAGE_TARNAME
401 /* Define to the home page for this package. */
404 /* Define to the version of this package. */
405 #undef PACKAGE_VERSION
407 /* Whether PAM should check the result of account modules when authenticating.
408 Only do this if you have account configured properly on your system. */
409 #undef PAM_CHECK_ACCOUNT_TYPE
411 /* If PAM is being used, this is the name of the PAM service that xscreensaver
412 will authenticate as. The default is "xscreensaver", which means that the
413 PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on
414 recent Linux systems) will look for a file called /etc/pam.d/xscreensaver.
415 Some systems might already have a PAM installation that is configured for
416 xlock, so setting this to "xlock" would also work in that case. */
417 #undef PAM_SERVICE_NAME
419 /* Define if you have PAM and pam_strerror() requires two arguments. */
420 #undef PAM_STRERROR_TWO_ARGS
422 /* Set the name of the password helper program, if any */
423 #undef PASSWD_HELPER_PROGRAM
425 /* Define to necessary symbol if this constant uses a non-standard name on
427 #undef PTHREAD_CREATE_JOINABLE
429 /* Define as the return type of signal handlers (`int' or `void'). */
432 /* Define to 1 if you have the ANSI C header files. */
435 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
436 #undef TIME_WITH_SYS_TIME
438 /* Define this to void* if you're using X11R4 or earlier. */
441 /* Define to 1 if the X Window System is missing or not being used. */
442 #undef X_DISPLAY_MISSING
444 /* Enable large inode numbers on Mac OS X 10.5. */
445 #ifndef _DARWIN_USE_64_BIT_INODE
446 # define _DARWIN_USE_64_BIT_INODE 1
449 /* Number of bits in a file offset, on hosts where this is settable. */
450 #undef _FILE_OFFSET_BITS
452 /* Define for large files, on AIX-style hosts. */
455 /* Define to empty if `const' does not conform to ANSI C. */
458 /* Define to `__inline__' or `__inline' if that's what the C compiler
459 calls it, or to nothing if 'inline' is not supported under any name. */
464 /* Define to `int' if <sys/types.h> does not define. */
467 /* Define to `int' if <sys/types.h> does not define. */
470 /* Define to `unsigned int' if <sys/types.h> does not define. */
473 /* Define to `int' if <sys/types.h> or <sys/socket.h> does not define. */