comparison src/s/sol2-4.h @ 151:59463afc5666 r20-3b2

Import from CVS: tag r20-3b2
author cvs
date Mon, 13 Aug 2007 09:37:19 +0200
parents 538048ae2ab8
children
comparison
equal deleted inserted replaced
150:8ebb1c0f0f6f 151:59463afc5666
1 /* Synched up with: FSF 19.31. */ 1 /* Synched up with: FSF 19.31. */
2 2
3 /* Handle Solaris 2.4. */ 3 /* Handle Solaris 2.4. */
4 4
5 #include "sol2-3.h" 5 #include "sol2-3.h"
6
7 #define SOLARIS2_4
8
9 #if 0 /* FSFmacs */
10
11 /* Get rid of -traditional and let const really do its thing. */
12
13 #ifdef __GNUC__
14 #undef C_SWITCH_SYSTEM
15 #undef const
16 #endif /* __GNUC__ */
17 #endif /* 0 */
18
19 #undef LD_SWITCH_SYSTEM
20 #undef C_SWITCH_SYSTEM
21
22 #if 0 /* mrb */
23 #undef LD_SWITCH_SYSTEM
24 #ifndef __GNUC__
25 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/openwin/lib -L /usr/openwin/lib -R /usr/dt/lib -L /usr/dt/lib
26 #else /* GCC */
27 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
28 has anything in it. It can be empty.
29 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
30 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
31 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/openwin/lib -L /usr/openwin/lib -R /usr/dt/lib -L /usr/dt/lib
32 #endif /* GCC */
33
34 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
35 are in this directory on Solaris 2.4. */
36 #define C_SWITCH_X_SYSTEM -I/usr/dt/include
37 #endif
38 6
39 /* XEmacs addition: Raymond Toy says XEmacs completely misses SIGCHLD 7 /* XEmacs addition: Raymond Toy says XEmacs completely misses SIGCHLD
40 when compiled with GCC 2.7.0 (but not, apparently, with SunPro C?), 8 when compiled with GCC 2.7.0 (but not, apparently, with SunPro C?),
41 X11R6, and Solaris 2.4. 9 X11R6, and Solaris 2.4.
42 10