Partially sync files.el from XEmacs 21.5 for wildcard support.
[sxemacs] / src / s / sunos4-1.h
1 /* Synched up with: FSF 19.31. */
2
3 #include "sunos4-0.h"
4
5 /* 4.1.1 makes these system calls interruptible.  */
6
7 #define INTERRUPTIBLE_OPEN
8 #define INTERRUPTIBLE_CLOSE
9 #define INTERRUPTIBLE_IO
10
11 /* Cause the compilation of oldxmenu to use the right -I option.  */
12 #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
13
14 #if 0                           /* RMSmacs */
15 FSF says the following, but apparently the HAVE_RES_INIT stuff takes
16     care of it properly ?
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.  */
22 #endif
23 /* Some systems do not run the Network Information Service, but have
24    modified the shared C library to include resolver support without
25    also changing the C archive library (/usr/lib/libc.a).  If we
26    detect the presence of libresolv.a, use -lresolv to supplement libc.a.
27
28    We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from
29    setting libsrc_libs to -lresolv in lib-src/Makefile.  But nowadays
30    configure is smarter about computing libsrc_libs, and would not
31    be fooled.  Anyway, why not use -lresolv in lib-src?  */
32 /* #ifdef HAVE_GETHOSTNAME */
33 /* XEmacs change: -lresolve should be added only if we have RES_INIT,
34    not if we don't */
35 #ifdef HAVE_RES_INIT
36 #define LIBS_SYSTEM "-lresolv"
37 #endif
38 /* #endif */
39 #if 0                           /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h.  */
40 /* Tell GNU malloc to compensate for a bug in localtime.  */
41 #define SUNOS_LOCALTIME_BUG
42 #endif
43 /* Define dlopen, dlclose, dlsym.  */
44 #define USE_DL_STUBS
45 /* This appears to be broken on SunOS4.1.[123] */
46 #define BROKEN_SIGIO