comparison src/config.in @ 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 4d6de8716513
children e604df2fc029
comparison
equal deleted inserted replaced
2345:91711632f474 2346:eb409ebaf06b
195 /* Non-ANSI C compilers don't have volatile. */ 195 /* Non-ANSI C compilers don't have volatile. */
196 #ifndef __STDC__ 196 #ifndef __STDC__
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
203 the type of getenv. */ 212 the type of getenv. */
204 extern char *getenv (); 213 extern char *getenv ();