ftp://ftp.uniovi.es/pub/X11R6/graphics/misc/lock/xscreensaver-1.22.tar.gz
[xscreensaver] / config.h
index dd54ba3832efc9234069aa0918d7c9d79fd02dbe..d275fc11edfb1a473f5db649ea2981d849e0e954 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,31 +1,36 @@
 /*
- * Config file for xscreensaver, Copyright (c) 1991-1993 Jamie Zawinski.
+ * Config file for xscreensaver, Copyright (c) 1991-1994 Jamie Zawinski.
  * This file is included by the various Imakefiles.
  */
 
 /*  Uncomment the following line if you have the XIdle extension installed.
- *  XIdle comes on the X11r5 contrib tape, in .../contrib/extensions/xidle/.
+ *  XIdle comes on the X11r5 contrib tape, in .../contrib/extensions/xidle/
+ *  (and maybe it will be on the r6 tape as well but I'm not sure where.)
  *  Installing it is the morally superior thing to do, but xscreensaver will
  *  work without it.
+ *
+ *  Actually it's likely that the R6 `screensaver' server extension will turn
+ *  out to be the better thing to use, but I haven't had time to add support
+ *  for it yet.  (See README to find the latest version of this program.)
  */
 /* #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 
+/* #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_MOTIF */
+/* #define NO_MOTIF */
 
 /* Uncomment the following line if for some reason the locking code doesn't
  * work (for example, if you don't have the crypt() system call, or if you
  * don't use standard passwd files.)
  */
-#define NO_LOCKING
+/* #define NO_LOCKING */
 
 /*  Uncomment the following line if your system doesn't have the select()
  *  system call.
  *  that is, the passwords live in /etc/shadow instead of /etc/passwd,
  *  and one reads them with getspnam() instead of getpwnam().
  */
-#define HAVE_SHADOW 
+/* #define HAVE_SHADOW */
 
 /*  You may need to edit these to correspond to where Motif is installed.
  */
 #ifndef NO_MOTIF
-  MOTIFINCLUDES = -I/usr/X/include
- MOTIFLDOPTIONS = -L/usr/X/lib
-      MOTIFLIBS = -lXm 
+  MOTIFINCLUDES = /* -I... */
+ MOTIFLDOPTIONS = /* -L... */
+      MOTIFLIBS = -lXm
 #endif
 
 /*  On some systems, only programs running as root can use the getpwent()
@@ -86,5 +91,8 @@
 #else /* r5 or better */
 # define R5ISMS
 #endif
-/*EXTRA_LIBRARIES=-L/usr/ucblib -lucb -lnsl*/
-EXTRA_LIBRARIES= -lgen -L/usr/ucblib -lucb -lnsl
+
+/* 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.
+ */