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