aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2008-07-17 14:09:13 +0000
committerDan Nicolaescu2008-07-17 14:09:13 +0000
commit35ad054578a15b8f98b7d7e93f03d2f9cd112c3e (patch)
tree9d5bf976f170893bab62f80c30ba71d17f95f147 /src
parent2749d28e1bd80262749657ee4a60e5b1f75b6cb8 (diff)
downloademacs-35ad054578a15b8f98b7d7e93f03d2f9cd112c3e.tar.gz
emacs-35ad054578a15b8f98b7d7e93f03d2f9cd112c3e.zip
* s/sol2.h:
* s/sol2-4.h: Reorganize conditionals.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/s/sol2-4.h11
-rw-r--r--src/s/sol2.h7
3 files changed, 9 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a82e5c62968..e540db8d607 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12008-07-17 Dan Nicolaescu <dann@ics.uci.edu> 12008-07-17 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * s/sol2.h:
4 * s/sol2-4.h: Reorganize conditionals.
5
3 * ecrt0.c: Remove code depending on m68000, not used anymore. 6 * ecrt0.c: Remove code depending on m68000, not used anymore.
4 7
5 * fns.c (hash_remove): Make static. 8 * fns.c (hash_remove): Make static.
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
index 3cf2786c500..df8552e9562 100644
--- a/src/s/sol2-4.h
+++ b/src/s/sol2-4.h
@@ -2,13 +2,6 @@
2 2
3#include "sol2-3.h" 3#include "sol2-3.h"
4 4
5/* Get rid of -traditional and let const really do its thing. */
6
7#ifdef __GNUC__
8#undef C_SWITCH_SYSTEM
9#undef const
10#endif /* __GNUC__ */
11
12#undef LD_SWITCH_SYSTEM 5#undef LD_SWITCH_SYSTEM
13 6
14/* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet. 7/* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet.
@@ -25,6 +18,10 @@
25#define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \ 18#define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
26 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \ 19 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
27 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'` 20 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
21
22/* Get rid of -traditional and let const really do its thing. */
23#undef C_SWITCH_SYSTEM
24#undef const
28#endif /* GCC */ 25#endif /* GCC */
29 26
30/* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files 27/* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
diff --git a/src/s/sol2.h b/src/s/sol2.h
index aa30be3675c..1938fb6d865 100644
--- a/src/s/sol2.h
+++ b/src/s/sol2.h
@@ -31,6 +31,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
31 says where to find X windows at run time. */ 31 says where to find X windows at run time. */
32#ifndef __GNUC__ 32#ifndef __GNUC__
33#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX 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
34#else /* GCC */ 36#else /* GCC */
35/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX 37/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
36 has anything in it. It can be empty. 38 has anything in it. It can be empty.
@@ -48,11 +50,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
48#define HAVE_LIBKSTAT 50#define HAVE_LIBKSTAT
49#endif 51#endif
50 52
51/* eggert thinks all versions of SunPro C allowed this. */
52#ifndef __GNUC__
53#define C_DEBUG_SWITCH -g -O
54#endif
55
56/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style 53/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style
57 XIM support. */ 54 XIM support. */
58 55