*/
#define HAVE_XIDLE
+/* Uncomment the following line if you have the XPM library installed.
+ * Some of the demos can make use of this.
+ */
+/* #define HAVE_XPM */
+
/* Uncomment the following line if you don't have Motif. If you don't have
* Motif, then the screensaver won't have any dialog boxes, which means
* that it won't be compiled with support for demo-mode or display-locking.
*/
/* #define NO_SETUID */
+/* Uncomment the following line 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().
+ */
+/* #define HAVE_SHADOW */
/* You may need to edit these to correspond to where Motif is installed.
*/
library routine. This means that, in order for locking to work, the
screensaver must be installed as setuid to root. Define this to make
that happen. (You must run "make install" as root for it to work.)
+ (What systems other than HP need this? Let me know.)
*/
-#if defined(HPArchitecture) /* What other systems need this? Let me know. */
+#if defined(HPArchitecture) || defined(HAVE_SHADOW)
# define INSTALL_SETUID
#endif
#else /* r5 or better */
# define R5ISMS
#endif
+
+/* It seems that some versions of Sun's dynamic X libraries are broken; if
+ you get link errors about _get_wmShellWidgetClass being undefined, try
+ adding -Bstatic to the link command.
+ */