-/* config.h.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski.
+/* config.h.in --- xscreensaver, Copyright (c) 1998-2000 Jamie Zawinski.
*
* The best way to set these parameters is by running the included `configure'
* script. That examines your system, and generates `config.h' from
*/
#undef HAVE_READ_DISPLAY_EXTENSION
-/* Define this if you have the Iris Video Library (dmedia/vl.h on SGI.)
- A few of the screenhacks will take advantage of this if it's available.
- */
-#undef HAVE_SGI_VIDEO
-
/* Define this if you have the XHPDisableReset function (an HP only thing.)
*/
#undef HAVE_XHPDISABLERESET
*/
#undef HAVE_DPMS_EXTENSION
+/* Define this if you have the functions XF86VidModeGetModeLine() and
+ * XF86VidModeGetViewPort(), in support of virtual desktops where the
+ * X server's root window is bigger than the actual screen. This is
+ * an XFree86 thing, and probably doesn't exist elsewhere. (It's
+ * available if the file /usr/include/X11/extensions/xf86vmode.h exists.)
+ */
+#undef HAVE_XF86VMODE
+
+/* Define this if you have the functions XF86VidModeGetGamma() and
+ * XF86VidModeSetGamma(), which allow clients to change the gamma
+ * response of the monitor. This is an XFree86 4.0.x thing, and
+ * probably doesn't exist elsewhere. (It's available if the file
+ * /usr/include/X11/extensions/xf86vmode.h exists and has stuff about
+ * gamma in it.)
+ */
+#undef HAVE_XF86VMODE_GAMMA
+
+/* Define this if you have the functions XF86VidModeGetGammaRamp() and
+ * XF86VidModeSetGammaRamp(), which provide finer-grained control than
+ * XF86VidMode[GS]etGamma(). These appeared in XFree86 4.1.0.
+ */
+#undef HAVE_XF86VMODE_GAMMA_RAMP
+
+/* Define this if you have the Xinerama extension. This is standard on
+ * sufficiently-recent XFree86 systems, and possibly elsewhere. (It's
+ * available if the file /usr/include/X11/extensions/Xinerama.h exists.)
+ */
+#undef HAVE_XINERAMA
+
+/* Define this if you have a Linux-like /proc/interrupts file which can be
+ * examined to determine when keyboard activity has occurred.
+ */
+#undef HAVE_PROC_INTERRUPTS
+
+
/* *************************************************************************
CONFIGURING GRAPHICS TOOLKITS
*/
#undef HAVE_MOTIF
-/* Define this if you don't have Motif, but you have Athena (-Xaw).
+/* Define this if you have the XmComboBox Motif widget (Motif 2.0.)
+ */
+#undef HAVE_XMCOMBOBOX
+
+/* Define this if you have Gtk (any version.)
*/
-#undef HAVE_ATHENA
+#undef HAVE_GTK
-/* Define this if you have Athena, and the version you have includes the
- * XawViewportSetCoordinates function in Viewport.h (some old versions of
- * the library didn't have this function.)
+/* Define this if you have Gtk 2.x.
*/
-#undef HAVE_XawViewportSetCoordinates
+#undef HAVE_GTK2
+
+/* Define this if you have Gnome and want to build support for the
+ xscreensaver control panel in the Gnome Control Center (gnomecc).
+ (This is needed only with Gtk 1.x.)
+ */
+#undef HAVE_CRAPPLET
+
+/* Define this if HAVE_CRAPPLET is defined, and the function
+ capplet_widget_changes_are_immediate() is available.
+ */
+#undef HAVE_CRAPPLET_IMMEDIATE
+
+/* Define this if you have the XML library.
+ */
+#undef HAVE_XML
+
+/* Define this if you have the XML library headers in their old,
+ * non-namespaced location (you lack the gnome-xml/libxml symlink)
+ */
+#undef HAVE_OLD_XML_HEADERS
/* Define this if you have the XPM library installed. Some of the demos can
* make use of this if it is available.
*/
#undef HAVE_XPM
+/* Define this if you have the GDK_Pixbuf library installed. Some of the
+ * demos can make use of this if it is available.
+ */
+#undef HAVE_GDK_PIXBUF
+
+/* Define this if you have the Independent JPEG Group's JPEG library
+ * installed. Some of the demos can make use of this if it is available.
+ */
+#undef HAVE_JPEGLIB
+
/* Define this if you have the Xmu library. This is standard part of X, and
* if your vendor doesn't ship it, you should report that as a bug.
*/
*/
#undef HAVE_GL
-/* Define this if you have GL, but it's the MesaGL variant. (The libraries
- have different names.) (HAVE_GL should be defined too.)
+/* Define this if you have OpenGL, but it's the MesaGL variant. (The
+ libraries have different names.) (HAVE_GL should be defined too.)
*/
#undef HAVE_MESA_GL
+/* Define this if your version of OpenGL has the glBindTexture() routine.
+ This is the case for OpenGL 1.1, but not for OpenGL 1.0.
+ */
+#undef HAVE_GLBINDTEXTURE
+
+/* Define this if you have the -lgle and -lmatrix libraries (GL extrusion.)
+ */
+#undef HAVE_GLE
+
+/* Define this if you have the -lgle from GLE version 3
+ */
+#undef HAVE_GLE3
+
/* Define this if you have the X Shared Memory Extension.
*/
#undef HAVE_XSHM_EXTENSION
+/* Define this if you have the X Double Buffer Extension.
+ */
+#undef HAVE_DOUBLE_BUFFER_EXTENSION
+
/* Some screenhacks like to run an external program to generate random pieces
- of text; set this to the one you like ("yow" and "fortune" are the most
- likely prospects.) Note that this is just the default; X resources can
- be used to override it.
+ of text; set this to the one you like. Note that this is just the
+ default; X resources can be used to override it.
*/
-#define ZIPPY_PROGRAM "fortune"
+#define FORTUNE_PROGRAM "fortune"
*/
#undef HAVE_KERBEROS
+/* Define this if you have Kerberos 5, meaning we need to use the Kerberos 4
+ * compatibility layer.
+ */
+#undef HAVE_KERBEROS5
+
+/* Define this if you want to use PAM (Pluggable Authentication Modules)
+ * to lock/unlock the screen, instead of standard /etc/passwd authentication.
+ */
+#undef HAVE_PAM
+
+/* If PAM is being used, this is the name of the PAM service that xscreensaver
+ * will authenticate as. The default is "xscreensaver", which means that the
+ * PAM library will look for an "xscreensaver" line in /etc/pam.conf, or (on
+ * recent Linux systems) will look for a file called /etc/pam.d/xscreensaver.
+ * Some systems might already have a PAM installation that is configured for
+ * xlock, so setting this to "xlock" would also work in that case.
+ */
+#define PAM_SERVICE_NAME "xscreensaver"
+
+/* Define if you have PAM and pam_strerror() requires two arguments. */
+#undef PAM_STRERROR_TWO_ARGS
/* Define this if your system uses `shadow' passwords, that is, the passwords
* live in /etc/shadow instead of /etc/passwd, and one reads them with
* getspnam() instead of getpwnam(). (Note that SCO systems do some random
- * other thing; others might as well. See the ifdefs in driver/passwd.c if
- * you're having trouble related to reading passwords.)
+ * other thing; others might as well. See the ifdefs in driver/passwd-pwent.c
+ * if you're having trouble related to reading passwords.)
*/
#undef HAVE_SHADOW_PASSWD
*/
#undef HAVE_HPUX_PASSWD
+/* Define this if you are on a system that supports the VT_LOCKSWITCH and
+ VT_UNLOCKSWITCH ioctls. If this is defined, then when the screen is
+ locked, switching to another virtual terminal will also be prevented.
+ That is, the whole console will be locked, rather than just the VT on
+ which X is running. (Well, that's the theory anyway -- in practice,
+ I haven't yet figured out how to make that work.)
+ */
+#undef HAVE_VT_LOCKSWITCH
+
+
+/* Define this if you the openlog(), syslog(), and closelog() functions.
+ This is used for logging failed login attempts.
+ */
+#undef HAVE_SYSLOG
+
/* *************************************************************************
OTHER C ENVIRONMENT JUNK
/* Define if you have the getcwd function. */
#undef HAVE_GETWD
+/* Define if you have the realpath function. */
+#undef HAVE_REALPATH
+
/* Define if you have the uname function. */
#undef HAVE_UNAME
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION
+/* Define this if you have the setrlimit function. */
+#undef HAVE_SETRLIMIT
+
+/* Define if you have the sbrk function. */
+#define HAVE_SBRK 1
+
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
-/* Define to use sigaction() instead of signal() for SIGCHLD-related activity.
- This is necessary at least on SCO OpenServer 5, due to a Unix kernel bug.
+/* Define if you have the <crypt.h> header file. */
+#undef HAVE_CRYPT_H
+
+/* Define if you have <sys/select.h> that defines fd_set and FD_SET. */
+#undef HAVE_SYS_SELECT_H
+
+/* Define this if you do pings with a `struct icmp' and a `icmp_id' slot.
+ */
+#undef HAVE_ICMP
+
+/* Define this if you do pings with a `struct icmphdr' and a `un.echo.id' slot.
+ */
+#undef HAVE_ICMPHDR
+
+/* This is the name of the gettext package to use.
+ */
+#undef GETTEXT_PACKAGE
+
+/* This is the same as GETTEXT_PACKAGE, but for the glade generated
+ * code.
+ */
+#undef PACKAGE
+
+/* Define this if you want to build with NLS support
*/
-#undef USE_SIGACTION
+#undef ENABLE_NLS