Mercurial > emacs
annotate src/s/sol2.h @ 96833:c06568fd3844
* s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was
added not supported anymore.
* s/usg5-4-2.h (LIBS_SYSTEM):
* s/sol2.h (LIBS_SYSTEM): Do not undefine.
* s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF):
* s/lynxos.h (GETPGRP_NO_ARG):
* s/hpux10-20.h (NO_SIOCTL_H):
* s/gnu.h (GETPGRP_NO_ARG):
* s/gnu-linux.h (NO_SIOCTL_H):
* s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF):
* s/cygwin.h (GETPGRP_NO_ARG):
* s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused.
(C_DEBUG_SWITCH): Remove duplicate definition.
* m/ibms390.h: Remove boilerplate comments.
* sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4.
* process.c (HAVE_SERIAL): Consolidate ifdefs.
(wait_reading_process_output): Remove code for SunOS, platform not
supported anymore. Use SOLARIS2 instead of sun.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 20 Jul 2008 13:03:56 +0000 |
parents | 8b34dc6bbff5 |
children |
rev | line source |
---|---|
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
1 /* Definitions file for GNU Emacs running on Solaris 2. |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
2 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
3 2008 Free Software Foundation, Inc. |
75963
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
4 |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
5 This file is part of GNU Emacs. |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
6 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
75963
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
8 it under the terms of the GNU General Public License as published by |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
10 (at your option) any later version. |
75963
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
11 |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
12 GNU Emacs is distributed in the hope that it will be useful, |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
15 GNU General Public License for more details. |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
16 |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
17 You should have received a copy of the GNU General Public License |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
75963
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
19 |
d1ea3bc6c40d
Add copyright and license notice. Copyright years from base include
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
20 |
2815
60f122cfe785
* process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents:
2741
diff
changeset
|
21 #include "usg5-4.h" |
1179 | 22 |
7872 | 23 #define SOLARIS2 |
24 | |
3435
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
25 /* This triggers a conditional in xfaces.c. */ |
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
26 #define XOS_NEEDS_TIME_H |
7930bf123cb7
(XOS_NEEDS_TIME_H): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3413
diff
changeset
|
27 |
1179 | 28 #define POSIX |
29 | |
6103 | 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. */ | |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
32 #ifndef __GNUC__ |
5596
191c4af115dc
(LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX.
Richard M. Stallman <rms@gnu.org>
parents:
4189
diff
changeset
|
33 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX |
96765 | 34 /* eggert thinks all versions of SunPro C allowed this. */ |
35 #define C_DEBUG_SWITCH -g -O | |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
36 #else /* GCC */ |
7356
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
37 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
38 has anything in it. It can be empty. |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
39 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ |
55588e31b258
(LD_SWITCH_SYSTEM): Use ./prefix-args, not -Xlinker directly.
Richard M. Stallman <rms@gnu.org>
parents:
6103
diff
changeset
|
40 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
41 #endif /* GCC */ |
1179 | 42 |
18905
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
43 #define LIBS_SYSTEM -lsocket -lnsl -lkstat |
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
44 |
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
45 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. |
44656
e080707a678b
(HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents:
31600
diff
changeset
|
46 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined |
e080707a678b
(HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents:
31600
diff
changeset
|
47 (e.g., by config.h). */ |
e080707a678b
(HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents:
31600
diff
changeset
|
48 #ifndef HAVE_LIBKSTAT |
18905
6d543fd6a50b
(LIBS_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
18674
diff
changeset
|
49 #define HAVE_LIBKSTAT |
44656
e080707a678b
(HAVE_LIBKSTAT): Define only if not already defined.
Eli Zaretskii <eliz@gnu.org>
parents:
31600
diff
changeset
|
50 #endif |
27750
48fa3afce611
(C_DEBUG_SWITCH): Define to allow optimization.
Dave Love <fx@gnu.org>
parents:
27677
diff
changeset
|
51 |
28143
210942d0dc07
(INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents:
27750
diff
changeset
|
52 /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style |
210942d0dc07
(INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents:
27750
diff
changeset
|
53 XIM support. */ |
210942d0dc07
(INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents:
27750
diff
changeset
|
54 |
210942d0dc07
(INHIBIT_X11R6_XIM): Define.
Gerd Moellmann <gerd@gnu.org>
parents:
27750
diff
changeset
|
55 #define INHIBIT_X11R6_XIM |
30426
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
56 |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
57 /* Must use the system's termcap, if we use any termcap. |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
58 It does special things. */ |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
59 |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
60 #ifndef TERMINFO |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
61 #define LIBS_TERMCAP -ltermcap |
8674e7d48c7a
(LIBS_TERMCAP): Move from m/sparc.h.
Dave Love <fx@gnu.org>
parents:
28143
diff
changeset
|
62 #endif |
31503 | 63 |
31600
ac8c86ff7ee3
(USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP.
Gerd Moellmann <gerd@gnu.org>
parents:
31503
diff
changeset
|
64 #define USE_MMAP_FOR_BUFFERS 1 |
52401 | 65 |
66 /* arch-tag: b0640f78-5ad5-4093-97c3-5b3abbf5a2be | |
67 (do not change this comment) */ |