aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-03-25 01:15:34 +0000
committerJim Blandy1993-03-25 01:15:34 +0000
commit723d4d15ae2774f7a95a9dcc727c8a521fe18f75 (patch)
treeb6113d309bf510e0e822db4b5caac1ed7204a63c /src
parentb0209e1861c439cdfd3e574c696a72d3561a6225 (diff)
downloademacs-723d4d15ae2774f7a95a9dcc727c8a521fe18f75.tar.gz
emacs-723d4d15ae2774f7a95a9dcc727c8a521fe18f75.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/config.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in
index ea4702ea279..a2f6ced8ced 100644
--- a/src/config.in
+++ b/src/config.in
@@ -197,6 +197,15 @@ and this notice must be preserved on all copies. */
197#define volatile 197#define volatile
198#endif 198#endif
199 199
200/* Define this if you're using XFree386. joe@zircon.uucp says that in
201 order to use XFree386, you have to link against -lXbsd, which
202 insists on defining the random function. */
203/* #define HAVE_XFREE386 */
204#ifdef HAVE_XFREE386
205#define LIBX11_SYSTEM -lXbsd
206#define HAVE_RANDOM
207#endif
208
200#ifndef THIS_IS_YMAKEFILE 209#ifndef THIS_IS_YMAKEFILE
201/* Some of the files of Emacs which are intended for use with other 210/* Some of the files of Emacs which are intended for use with other
202 programs assume that if you have a config.h file, you must declare 211 programs assume that if you have a config.h file, you must declare