printing v6.8.4
[bpt/emacs.git] / src / s / sol2.h
CommitLineData
26ec91de 1#include "usg5-4.h"
c21d3ee2 2
1cdf9a36
RS
3#define SOLARIS2
4
5e558676
RS
5/* eggert@twinsun.com said these work in Solaris.
6 Perhaps they work in all kinds of SVR4, but this is more conservative. */
7#undef BROKEN_TIOCGETC
8#undef BROKEN_TIOCGWINSZ
9
52037992
RS
10/* This triggers a conditional in xfaces.c. */
11#define XOS_NEEDS_TIME_H
12
c21d3ee2
RS
13#define POSIX
14
7ea5afd2
RS
15/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
16 says where to find X windows at run time. */
7fe7fd40 17#ifndef __GNUC__
238e4738 18#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
7fe7fd40 19#else /* GCC */
510328f2
RS
20/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
21 has anything in it. It can be empty.
22 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
23#define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
7fe7fd40 24#endif /* GCC */
c21d3ee2 25
5bda3bca 26#undef LIBS_SYSTEM
7043c154 27#define LIBS_SYSTEM -lsocket -lnsl -lkstat
7043c154
RS
28
29/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
1a4140b0
EZ
30 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
31 (e.g., by config.h). */
32#ifndef HAVE_LIBKSTAT
7043c154 33#define HAVE_LIBKSTAT
1a4140b0 34#endif
e3d4de90
DL
35
36/* eggert thinks all versions of SunPro C allowed this. */
37#ifndef __GNUC__
38#define C_DEBUG_SWITCH -g -O
39#endif
32be16df
GM
40
41/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
42 XIM support. */
43
44#define INHIBIT_X11R6_XIM
9272c039
DL
45
46/* Must use the system's termcap, if we use any termcap.
47 It does special things. */
48
49#ifndef TERMINFO
50#define LIBS_TERMCAP -ltermcap
51#endif
0460aa78 52
67cdbf16 53#define USE_MMAP_FOR_BUFFERS 1
ab5796a9
MB
54
55/* arch-tag: b0640f78-5ad5-4093-97c3-5b3abbf5a2be
56 (do not change this comment) */