changeset 2346:eb409ebaf06b

* config.h.in (HAVE_XFREE386): New flag, set by configure script. If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate for XFree386. * sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is #defined.
author Jim Blandy <jimb@redhat.com>
date Thu, 25 Mar 1993 01:15:34 +0000
parents 91711632f474
children e1b71e3a2742
files src/config.in
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Thu Mar 25 01:14:34 1993 +0000
+++ b/src/config.in	Thu Mar 25 01:15:34 1993 +0000
@@ -197,6 +197,15 @@
 #define volatile
 #endif
 
+/* Define this if you're using XFree386.  joe@zircon.uucp says that in
+   order to use XFree386, you have to link against -lXbsd, which
+   insists on defining the random function.  */
+/* #define HAVE_XFREE386 */
+#ifdef HAVE_XFREE386
+#define LIBX11_SYSTEM -lXbsd
+#define HAVE_RANDOM
+#endif
+
 #ifndef THIS_IS_YMAKEFILE
 /* Some of the files of Emacs which are intended for use with other
    programs assume that if you have a config.h file, you must declare