(fix_submap_inheritance, get_keyelt, store_in_keymap,
[bpt/emacs.git] / src / s / sunos4-1.h
CommitLineData
9b71f02b
JB
1#include "sunos4-0.h"
2
eb8c3be9 3/* 4.1.1 makes these system calls interruptible. */
9b71f02b
JB
4
5#define read sys_read
6#define write sys_write
7#define open sys_open
8#define close sys_close
9
10#define INTERRUPTIBLE_OPEN
11#define INTERRUPTIBLE_CLOSE
12#define INTERRUPTIBLE_IO
055e9517
JB
13
14/* Cause the compilation of oldxmenu to use the right -I option. */
15#define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
939acc46 16
a1300baa
RS
17#if 0 /* This isn't right. Apparently some sites do have -lresolv
18 but don't use that. On those systems, the code below loses.
19 There's no way to win automatically unless someone
20 figures out a way of determining automatically which way is right
21 on any given system. */
8b7c3e3a
JB
22/* Some systems do not run the Network Information Service, but have
23 modified the shared C library to include resolver support without
0799a502
RS
24 also changing the C archive library (/usr/lib/libc.a). If we
25 detect the presence of libresolv.a, use -lresolv to supplement libc.a.
26
27 We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from
28 setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays
29 configure is smarter about computing libsrc_libs, and would not
30 be fooled. Anyway, why not use -lresolv in lib-src? */
31/* #ifdef HAVE_GETHOSTNAME */
32#ifdef HAVE_LIBRESOLV
5290d2c2
RS
33#define LIBS_SYSTEM -lresolv
34#endif
0799a502 35/* #endif */
a1300baa 36#endif
011f432b 37
0b312d08 38#if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */
011f432b
RS
39/* Tell GNU malloc to compensate for a bug in localtime. */
40#define SUNOS_LOCALTIME_BUG
0b312d08 41#endif
a2f13c2a
RS
42
43/* Define dlopen, dlclose, dlsym. */
44#define USE_DL_STUBS