mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
* 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.
This commit is contained in:
parent
b0209e1861
commit
723d4d15ae
1 changed files with 9 additions and 0 deletions
|
|
@ -197,6 +197,15 @@ and this notice must be preserved on all copies. */
|
|||
#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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue