394 lines
9.7 KiB
C
394 lines
9.7 KiB
C
|
/*-
|
||
|
* config.h.in --- xlockmore
|
||
|
*
|
||
|
* The best way to set these parameters is by running the included `configure'
|
||
|
* script. That examines your system, and generates `config.h' from
|
||
|
* `config.h.in'.
|
||
|
*
|
||
|
* If something goes very wrong, you can edit `config.h' directly, but beware
|
||
|
* that your changes will be lost if you ever run `configure' again.
|
||
|
*
|
||
|
* At the bottom, there are a few things commented out that are not
|
||
|
* automatically detected (past "NOT AUTOMATICALLY DETECTED YET").
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
/* Define to empty if the keyword does not work. */
|
||
|
#if !defined(_HPUX_SOURCE) && !defined(__cplusplus) && !defined(c_plusplus)
|
||
|
#undef const
|
||
|
#endif
|
||
|
|
||
|
/* Define to empty if the keyword does not work. */
|
||
|
#if !defined(__cplusplus) && !defined(c_plusplus)
|
||
|
#undef inline
|
||
|
#endif
|
||
|
|
||
|
/* Define to the type of elements in the array set by `getgroups'. Usually
|
||
|
this is either `int' or `gid_t'. */
|
||
|
#undef GETGROUPS_T
|
||
|
|
||
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
||
|
#undef gid_t
|
||
|
|
||
|
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||
|
#undef HAVE_SYS_WAIT_H
|
||
|
|
||
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
||
|
#undef pid_t
|
||
|
|
||
|
/* Define as the return type of signal handlers (int or void). */
|
||
|
#undef RETSIGTYPE
|
||
|
|
||
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||
|
#undef size_t
|
||
|
|
||
|
/* Define if you have the ANSI C header files. */
|
||
|
#undef STDC_HEADERS
|
||
|
|
||
|
/* Define if you can safely include both <sys/time.h> and <time.h>. */
|
||
|
#undef TIME_WITH_SYS_TIME
|
||
|
|
||
|
/* Define if your <sys/time.h> declares struct tm. */
|
||
|
#undef TM_IN_SYS_TIME
|
||
|
|
||
|
/* Define if you have the gettimeofday function. */
|
||
|
#undef HAVE_GETTIMEOFDAY
|
||
|
|
||
|
/* Define if gettimeofday requires two arguments. */
|
||
|
#undef GETTIMEOFDAY_TWO_ARGS
|
||
|
|
||
|
/* Define if you have the tzset function. */
|
||
|
#undef HAVE_TZSET
|
||
|
|
||
|
/* Define if you have the timelocal function. */
|
||
|
#undef HAVE_TIMELOCAL
|
||
|
|
||
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
||
|
#undef uid_t
|
||
|
|
||
|
/* Define if you have the gethostname function. */
|
||
|
#undef HAVE_GETHOSTNAME
|
||
|
|
||
|
/* Define if you have the select function. */
|
||
|
#undef HAVE_SELECT
|
||
|
|
||
|
/* Define if you have the strdup function. */
|
||
|
#undef HAVE_STRDUP
|
||
|
|
||
|
/* Define if you have the seteuid function. */
|
||
|
#undef HAVE_SETEUID
|
||
|
|
||
|
/* Define if you have the setreuid function. */
|
||
|
#undef HAVE_SETREUID
|
||
|
|
||
|
/* Define one of these if they exist, usleep prefered. */
|
||
|
#undef HAVE_USLEEP
|
||
|
#undef HAVE_NANOSLEEP
|
||
|
|
||
|
/* If left undefined will default to internal Random Number Generator */
|
||
|
/* #undef SRAND */
|
||
|
/* #undef LRAND */
|
||
|
/* #undef MAXRAND */
|
||
|
#undef HAVE_RAND48
|
||
|
#undef HAVE_RANDOM
|
||
|
#undef HAVE_RAND
|
||
|
|
||
|
/* Avoid delaring these if the system has already done it for us. */
|
||
|
#undef DECLARED_GETENV
|
||
|
#undef DECLARED_SRAND48
|
||
|
|
||
|
/* Enable use of matherr function */
|
||
|
#undef USE_MATHERR
|
||
|
|
||
|
/* Define if you have the <dirent.h> header file. */
|
||
|
#undef HAVE_DIRENT_H
|
||
|
|
||
|
/* Define if you have the <fcntl.h> header file. */
|
||
|
#undef HAVE_FCNTL_H
|
||
|
|
||
|
/* Define if you have the <limits.h> header file. */
|
||
|
#undef HAVE_LIMITS_H
|
||
|
|
||
|
/* Define if you have the <ndir.h> header file. */
|
||
|
#undef HAVE_NDIR_H
|
||
|
|
||
|
/* Define if you have the <sys/dir.h> header file. */
|
||
|
#undef HAVE_SYS_DIR_H
|
||
|
|
||
|
/* Define if you have the <sys/ndir.h> header file. */
|
||
|
#undef HAVE_SYS_NDIR_H
|
||
|
|
||
|
/* Define if you have the <sys/time.h> header file. */
|
||
|
#undef HAVE_SYS_TIME_H
|
||
|
|
||
|
/* Define if you have the <sys/select.h> header file. */
|
||
|
#undef HAVE_SYS_SELECT_H
|
||
|
|
||
|
/* Define if you have the <syslog.h> header file. */
|
||
|
#undef HAVE_SYSLOG_H
|
||
|
|
||
|
/* Define if you have the <unistd.h> header file. */
|
||
|
#undef HAVE_UNISTD_H
|
||
|
|
||
|
/* Define if you have the <sys/param.h> header file. */
|
||
|
#undef HAVE_SYS_PARAM_H
|
||
|
|
||
|
/* Define if you have the shadow passwords (or elf). */
|
||
|
#undef HAVE_SHADOW
|
||
|
|
||
|
/* Define if you have the sigset_t structure. */
|
||
|
#undef HAVE_STRUCT_SIGSET_T
|
||
|
|
||
|
/* Define if wchar_t defined internally to C++. */
|
||
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||
|
#undef _WCHAR_T
|
||
|
#endif
|
||
|
|
||
|
/* Define if you have libesd (Enlightenment Sound Daemon) */
|
||
|
#undef HAVE_LIBESD
|
||
|
|
||
|
/* Various system defines. */
|
||
|
#undef SYSV
|
||
|
#ifndef SVR4
|
||
|
#undef SVR4
|
||
|
#endif
|
||
|
#undef linux
|
||
|
#undef SOLARIS2
|
||
|
#undef LESS_THAN_SOLARIS2_5
|
||
|
#undef SUNOS4
|
||
|
#undef _POSIX_SOURCE
|
||
|
#undef _BSD_SOURCE
|
||
|
#undef _GNU_SOURCE
|
||
|
#undef AIXV3
|
||
|
#undef LESS_THAN_AIX3_2
|
||
|
#undef SUN_OGL_NO_VERTEX_MACROS
|
||
|
|
||
|
/* 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 if you have XPM (look for it under a X11 dir). */
|
||
|
#undef HAVE_XPM
|
||
|
|
||
|
/* Define if you have c++ */
|
||
|
#undef HAVE_CXX
|
||
|
|
||
|
/* Define if you have FreeType (libttf.a) */
|
||
|
#undef HAVE_TTF
|
||
|
|
||
|
/* Define if you have GLTT (libgltt.a) */
|
||
|
#undef HAVE_GLTT
|
||
|
|
||
|
/* Define if you have FreeType2 (libfreetype.a) */
|
||
|
#undef HAVE_FREETYPE
|
||
|
|
||
|
/* Define if you have FTGL (libftgl.a) */
|
||
|
#undef HAVE_FTGL
|
||
|
|
||
|
/* Define if you have GLTT AND FreeType or FTGL AND FreeType2 */
|
||
|
#undef DEF_TTFONT
|
||
|
|
||
|
/* Define if you have XMU (Editres). */
|
||
|
#undef USE_XMU
|
||
|
|
||
|
/* Define if you have OpenGL (or Mesa). */
|
||
|
#undef USE_GL
|
||
|
|
||
|
/* Define if you have DtSaver. */
|
||
|
#undef USE_DTSAVER
|
||
|
|
||
|
/* Define if you have DPMS (Display Power Management Signaling). */
|
||
|
#undef USE_DPMS
|
||
|
|
||
|
/* Define one of these for sounds. */
|
||
|
#undef USE_RPLAY
|
||
|
#undef USE_NAS
|
||
|
#undef USE_VMSPLAY
|
||
|
#undef DEF_PLAY
|
||
|
#undef USE_ESOUND
|
||
|
/* Define this one when using Esound */
|
||
|
#undef DEFAULT_SOUND_DIR
|
||
|
|
||
|
/* Allows xlock to run in root window (some window managers have problems) */
|
||
|
#undef USE_VROOT
|
||
|
|
||
|
/* Users can not turn off allowroot */
|
||
|
#undef ALWAYS_ALLOW_ROOT
|
||
|
|
||
|
/* Paranoid administrator option (a check is also done to see if you have it) */
|
||
|
#undef USE_SYSLOG
|
||
|
|
||
|
/* Multiple users ... security? */
|
||
|
#undef USE_MULTIPLE_USER
|
||
|
|
||
|
/* Multiple root users ... security? */
|
||
|
#undef USE_MULTIPLE_ROOT
|
||
|
|
||
|
/* Allow all in xlock group to unlock... security? */
|
||
|
#undef USE_XLOCK_GROUP
|
||
|
|
||
|
/* Allow a window to be placed over xlock */
|
||
|
#undef USE_WINDOW_VISIBILITY
|
||
|
|
||
|
/* Some machines may still need this (fd_set errors may be a sign) */
|
||
|
#undef USE_OLD_EVENT_LOOP
|
||
|
|
||
|
/* This patches up old __VMS_VER < 70000000 */
|
||
|
#undef USE_VMSUTILS
|
||
|
|
||
|
/* For personal use you may want to consider: */
|
||
|
/* Unfriendly paranoid admininistrator or unknown shadow passwd algorithm */
|
||
|
#undef USE_XLOCKRC
|
||
|
|
||
|
/* For labs you may want to consider: */
|
||
|
|
||
|
/* Enable auto-logout code, minutes until auto-logout */
|
||
|
#undef USE_AUTO_LOGOUT
|
||
|
|
||
|
/* Set default for auto-logout code, hard limit is USE_AUTO_LOGOUT */
|
||
|
#undef DEF_AUTO_LOGOUT
|
||
|
|
||
|
/* Enable logout button, minutes until button appears */
|
||
|
#undef USE_BUTTON_LOGOUT
|
||
|
|
||
|
/* Set default for logout button code, hard limit is USE_LOGOUT_BUTTON */
|
||
|
#undef DEF_BUTTON_LOGOUT
|
||
|
|
||
|
/* Force button password window to stay up */
|
||
|
#undef USE_BUTTON_UP
|
||
|
|
||
|
/* Enable automatic logout mode (does not come up in random mode) */
|
||
|
#undef USE_BOMB
|
||
|
|
||
|
/* Disable interactive modes (useful in production environments) */
|
||
|
#undef DISABLE_INTERACTIVE
|
||
|
|
||
|
/* Enable unstable modes */
|
||
|
#undef USE_UNSTABLE
|
||
|
|
||
|
/* Define one of these with USE_AUTO_LOGOUT, USE_LOGOUT_BUTTON, and/or
|
||
|
USE_BOMB, if using xdm */
|
||
|
#undef CLOSEDOWN_LOGOUT
|
||
|
#undef SESSION_LOGOUT
|
||
|
|
||
|
/* File of staff who are exempt */
|
||
|
#undef STAFF_FILE
|
||
|
|
||
|
/* Netgroup that is exempt */
|
||
|
#undef STAFF_NETGROUP
|
||
|
|
||
|
/* Digital Unix Enhanced Security */
|
||
|
#undef OSF1_ENH_SEC
|
||
|
|
||
|
/* Kerberos 4 */
|
||
|
#undef HAVE_KRB4
|
||
|
|
||
|
/* Kerberos 5 */
|
||
|
#undef HAVE_KRB5
|
||
|
|
||
|
/* Define to write out Kerberos 5 credentials to credential cache */
|
||
|
#undef KRB5_WRITE_NEW_CCACHE
|
||
|
|
||
|
/* DCE Passwording */
|
||
|
#undef DCE_PASSWD
|
||
|
|
||
|
/* Define to use and link against PAM */
|
||
|
#undef USE_PAM
|
||
|
|
||
|
/* Bad version of PAM */
|
||
|
#undef BAD_PAM
|
||
|
|
||
|
/* Good version of PAM */
|
||
|
#undef GOOD_PAM
|
||
|
|
||
|
/* AIX & Solaris AFS Passwording */
|
||
|
#undef AFS
|
||
|
|
||
|
/* DEC Tru64 SIA Passwording */
|
||
|
#undef SIA
|
||
|
|
||
|
/* SUNOS Adjunct Passwording */
|
||
|
#undef SUNOS_ADJUNCT_PASSWD
|
||
|
|
||
|
/* USE Xmb function series */
|
||
|
#undef USE_MB
|
||
|
|
||
|
/* XResource customization, drawback -display option may not work */
|
||
|
#undef CUSTOMIZATION
|
||
|
|
||
|
/* New Dynamic Linking */
|
||
|
#undef USE_MODULES
|
||
|
|
||
|
/* reporting language customization */
|
||
|
#undef NL
|
||
|
#undef FR
|
||
|
#undef DE
|
||
|
#undef JA
|
||
|
|
||
|
/* enabling original mail icon xpm patch */
|
||
|
#undef ORIGINAL_XPM_PATCH
|
||
|
|
||
|
/* Virtual Terminal Lock for XFree86 users */
|
||
|
#undef USE_VTLOCK
|
||
|
|
||
|
/* The FOLLOWING are NOT AUTOMATICALLY DETECTED YET */
|
||
|
|
||
|
/* Force NON-MESA GL using MESA includes, uncomment next line */
|
||
|
/* #define OPENGL_MESA_INCLUDES */
|
||
|
|
||
|
/* EXTRA SOUND STUFF if you do not have RPLAY or NAS */
|
||
|
/* Set sound directory in XLock.ad */
|
||
|
/* SUNOS 4.1.3 */
|
||
|
/* #define DEF_PLAY "/usr/demo/SOUND/play" */
|
||
|
/* IRIX 5.3 */
|
||
|
/* #define DEF_PLAY "/usr/sbin/sfplay" */
|
||
|
/* Digital Unix with Multimedia Services installed */
|
||
|
/* #define DEF_PLAY "/usr/bin/mme/decsound -play" */
|
||
|
/* LINUX and others (see etc directory) */
|
||
|
/* #define DEF_PLAY "/usr/local/bin/play.sh" */
|
||
|
|
||
|
/* EXTRA SYSLOG STUFF if you want to override defaults for SYSLOG */
|
||
|
/* You may want to set all -DSYSLOG_* to LOG_WARNING to maximize messages */
|
||
|
/* #define SYSLOG_FACILITY LOG_AUTH */
|
||
|
/* #define SYSLOG_WARNING LOG_WARNING */
|
||
|
/* #define SYSLOG_NOTICE LOG_NOTICE */
|
||
|
/* #define SYSLOG_INFO LOG_INFO */
|
||
|
|
||
|
/* #define SAFEWORD */
|
||
|
/* #define FX */
|
||
|
|
||
|
/* Full screen colormaps are not allowed on compliant window managers
|
||
|
like FVWM, TVWM, SCWM, and DEC WINDOWS and tricks xlock, this fix does
|
||
|
not work on TrueColor
|
||
|
*/
|
||
|
/* #define COMPLIANT_COLORMAP */
|
||
|
|
||
|
/* Use this program for password verification */
|
||
|
#undef PASSWD_HELPER_PROGRAM
|
||
|
|
||
|
/* Anybody with a password can unlock, good to use with HAVE_SYSLOG_H */
|
||
|
/* #define GLOBAL_UNLOCK */
|
||
|
|
||
|
/* I use this for testing SunCplusplus
|
||
|
may have to define HAVE_USLEEP
|
||
|
*/
|
||
|
/* #define SunCplusplus */
|
||
|
|
||
|
/* Define to use ImageMagick */
|
||
|
#undef USE_MAGICK
|
||
|
|
||
|
/* I use this when I am working on something */
|
||
|
/* #define UNDER_DEVELOPMENT */
|
||
|
|
||
|
/* Blank only: may be good on high use workstations where cpu usage is
|
||
|
precious, i.e. only want blank mode
|
||
|
*/
|
||
|
|
||
|
/* Define next line if you only want blank mode */
|
||
|
#undef BLANK_ONLY
|
||
|
|
||
|
/* Define next line if you only want nice modes (low CPU-usage) */
|
||
|
#undef NICE_ONLY
|
||
|
|