Commit | Line | Data |
---|---|---|
4b158629 GM |
1 | /* Definitions file for GNU Emacs running on Solaris 2. |
2 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | |
3 | 2008 Free Software Foundation, Inc. | |
73ae74ab GM |
4 | |
5 | This file is part of GNU Emacs. | |
6 | ||
4b158629 | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
73ae74ab | 8 | it under the terms of the GNU General Public License as published by |
4b158629 GM |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. | |
73ae74ab GM |
11 | |
12 | GNU Emacs is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
4b158629 | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
73ae74ab GM |
19 | |
20 | ||
26ec91de | 21 | #include "usg5-4.h" |
c21d3ee2 | 22 | |
1cdf9a36 RS |
23 | #define SOLARIS2 |
24 | ||
52037992 RS |
25 | /* This triggers a conditional in xfaces.c. */ |
26 | #define XOS_NEEDS_TIME_H | |
27 | ||
c21d3ee2 RS |
28 | #define POSIX |
29 | ||
7ea5afd2 RS |
30 | /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option |
31 | says where to find X windows at run time. */ | |
7fe7fd40 | 32 | #ifndef __GNUC__ |
238e4738 | 33 | #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX |
35ad0545 DN |
34 | /* eggert thinks all versions of SunPro C allowed this. */ |
35 | #define C_DEBUG_SWITCH -g -O | |
7fe7fd40 | 36 | #else /* GCC */ |
510328f2 RS |
37 | /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
38 | has anything in it. It can be empty. | |
39 | This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ | |
40 | #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` | |
7fe7fd40 | 41 | #endif /* GCC */ |
c21d3ee2 | 42 | |
7043c154 | 43 | #define LIBS_SYSTEM -lsocket -lnsl -lkstat |
7043c154 RS |
44 | |
45 | /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. | |
1a4140b0 EZ |
46 | ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined |
47 | (e.g., by config.h). */ | |
48 | #ifndef HAVE_LIBKSTAT | |
7043c154 | 49 | #define HAVE_LIBKSTAT |
1a4140b0 | 50 | #endif |
e3d4de90 | 51 | |
32be16df GM |
52 | /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style |
53 | XIM support. */ | |
54 | ||
55 | #define INHIBIT_X11R6_XIM | |
9272c039 DL |
56 | |
57 | /* Must use the system's termcap, if we use any termcap. | |
58 | It does special things. */ | |
59 | ||
60 | #ifndef TERMINFO | |
61 | #define LIBS_TERMCAP -ltermcap | |
62 | #endif | |
0460aa78 | 63 | |
67cdbf16 | 64 | #define USE_MMAP_FOR_BUFFERS 1 |
ab5796a9 MB |
65 | |
66 | /* arch-tag: b0640f78-5ad5-4093-97c3-5b3abbf5a2be | |
67 | (do not change this comment) */ |