aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-20 14:14:52 +0000
committerDan Nicolaescu2008-07-20 14:14:52 +0000
commit98a0170298ff7efa00bce0542e301c51685f3b0e (patch)
treebde34c97b05fc117c271947c16b3226dad9733eb /src/s
parentc788afcec7700f168c482ed3d934bd31c324e448 (diff)
downloademacs-98a0170298ff7efa00bce0542e301c51685f3b0e.tar.gz
emacs-98a0170298ff7efa00bce0542e301c51685f3b0e.zip
* s/sol2-3.h: Insert contents of s/sol2.h.
(LD_SWITCH_SYSTEM): Remove redundant definition. * s/sol2.h: Remove, unused.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sol2-3.h35
-rw-r--r--src/s/sol2.h67
2 files changed, 31 insertions, 71 deletions
diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h
index 3adad4bf11a..145a9197e19 100644
--- a/src/s/sol2-3.h
+++ b/src/s/sol2-3.h
@@ -18,15 +18,42 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21#include "usg5-4.h"
21 22
22#include "sol2.h" 23#define SOLARIS2
23 24
24/* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */ 25/* This triggers a conditional in xfaces.c. */
26#define XOS_NEEDS_TIME_H
25 27
26#undef LD_SWITCH_SYSTEM 28#define POSIX
29
30#define LIBS_SYSTEM -lsocket -lnsl -lkstat
31
32/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
33 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
34 (e.g., by config.h). */
35#ifndef HAVE_LIBKSTAT
36#define HAVE_LIBKSTAT
37#endif
38
39/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
40 XIM support. */
41
42#define INHIBIT_X11R6_XIM
43
44/* Must use the system's termcap, if we use any termcap.
45 It does special things. */
46
47#ifndef TERMINFO
48#define LIBS_TERMCAP -ltermcap
49#endif
50
51#define USE_MMAP_FOR_BUFFERS 1
27 52
28#ifndef __GNUC__ 53#ifndef __GNUC__
29#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX 54#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX
55/* eggert thinks all versions of SunPro C allowed this. */
56#define C_DEBUG_SWITCH -g -O
30#else /* GCC */ 57#else /* GCC */
31/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX 58/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
32 has anything in it. It can be empty. 59 has anything in it. It can be empty.
@@ -38,7 +65,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
38/* Info from fnf@cygnus.com suggests this is appropriate. */ 65/* Info from fnf@cygnus.com suggests this is appropriate. */
39#define POSIX_SIGNALS 66#define POSIX_SIGNALS
40 67
41/* We don't need the definition from usg5-3.h with POSIX_SIGNALS. */ 68/* We don't need the definition from usg5-4.h with POSIX_SIGNALS. */
42#undef sigsetmask 69#undef sigsetmask
43 70
44/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock 71/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock
diff --git a/src/s/sol2.h b/src/s/sol2.h
deleted file mode 100644
index bd6e1c9bdba..00000000000
--- a/src/s/sol2.h
+++ /dev/null
@@ -1,67 +0,0 @@
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.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
21#include "usg5-4.h"
22
23#define SOLARIS2
24
25/* This triggers a conditional in xfaces.c. */
26#define XOS_NEEDS_TIME_H
27
28#define POSIX
29
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. */
32#ifndef __GNUC__
33#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
34/* eggert thinks all versions of SunPro C allowed this. */
35#define C_DEBUG_SWITCH -g -O
36#else /* GCC */
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`
41#endif /* GCC */
42
43#define LIBS_SYSTEM -lsocket -lnsl -lkstat
44
45/* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
46 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
47 (e.g., by config.h). */
48#ifndef HAVE_LIBKSTAT
49#define HAVE_LIBKSTAT
50#endif
51
52/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
53 XIM support. */
54
55#define INHIBIT_X11R6_XIM
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
63
64#define USE_MMAP_FOR_BUFFERS 1
65
66/* arch-tag: b0640f78-5ad5-4093-97c3-5b3abbf5a2be
67 (do not change this comment) */