X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=config.h.in;h=c9b94b7064053bd069e56ad8470b2e081f46dcb8;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hp=8cac343a3613928832d4226a26c82148d6afd1e0;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/config.h.in b/config.h.in index 8cac343a..c9b94b70 100644 --- a/config.h.in +++ b/config.h.in @@ -1,4 +1,4 @@ -/* config.h.in --- xscreensaver, Copyright (c) 1997 Jamie Zawinski. +/* config.h.in --- xscreensaver, Copyright (c) 1998 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 @@ -14,11 +14,16 @@ ************************************************************************* */ /* Define this if you have the XReadDisplay extension (I think this is an - SGI-only thing; it's in .) A couple of - the screenhacks will take advantage of this if it's available. + SGI-only thing; it's in .) A few of the + screenhacks will take advantage of this if it's available. */ #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 @@ -80,6 +85,30 @@ */ #undef HAVE_SGI_SAVER_EXTENSION +/* Define this if you have the SGI-VIDEO-CONTROL extension. This is standard + * on Irix systems, and not available elsewhere. + */ +#undef HAVE_SGI_VC_EXTENSION + +/* Define this if you have the XDPMS extension. This is standard on + * sufficiently-recent XFree86 systems, and possibly elsewhere. (It's + * available if the file /usr/include/X11/extensions/dpms.h exists.) + */ +#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 a Linux-like /proc/interrupts file which can be + * examined to determine when keyboard activity has occurred. + */ +#undef HAVE_PROC_INTERRUPTS + /* ************************************************************************* @@ -90,15 +119,13 @@ */ #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_ATHENA +#undef HAVE_XMCOMBOBOX -/* 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. */ -#undef HAVE_XawViewportSetCoordinates +#undef HAVE_GTK /* Define this if you have the XPM library installed. Some of the demos can * make use of this if it is available. @@ -116,11 +143,37 @@ */ #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 the `xscreensaver' process itself (the driver process) + should be linked against GL. Most systems won't want this (in particular, + if you're using Linux and/or Mesa, you don't want this) but SGI systems + do want this. It may also be useful on other systems that have serious + GL support -- you only need this if you have a lot of different visuals, + not all of which work with GL programs. + */ +#undef DAEMON_USE_GL + +/* 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 @@ -149,12 +202,28 @@ */ #undef HAVE_KERBEROS +/* 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 @@ -177,6 +246,21 @@ */ #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 @@ -236,11 +320,36 @@ /* 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 fcntl function. */ #undef HAVE_FCNTL +/* Define if you have the sigaction function. */ +#undef HAVE_SIGACTION + /* Define if you have the header file. */ #undef HAVE_UNISTD_H + +/* Define if you have the header file. */ +#undef HAVE_CRYPT_H + +/* Define if you have that defines fd_set and FD_SET. */ +#undef HAVE_SYS_SELECT_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. + */ +#undef USE_SIGACTION + +/* 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