Mercurial > hg > xemacs-beta
comparison src/s/sol2-4.h @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | 538048ae2ab8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 /* Synched up with: FSF 19.31. */ | |
2 | |
3 /* Handle Solaris 2.4. */ | |
4 | |
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 #ifndef __GNUC__ | |
21 #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 | |
22 #else /* GCC */ | |
23 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX | |
24 has anything in it. It can be empty. | |
25 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ | |
26 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \ | |
27 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/openwin/lib -L /usr/openwin/lib -R /usr/dt/lib -L /usr/dt/lib | |
28 #endif /* GCC */ | |
29 | |
30 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files | |
31 are in this directory on Solaris 2.4. */ | |
32 #define C_SWITCH_X_SYSTEM -I/usr/dt/include | |
33 | |
34 /* XEmacs addition: Raymond Toy says XEmacs completely misses SIGCHLD | |
35 when compiled with GCC 2.7.0 (but not, apparently, with SunPro C?), | |
36 X11R6, and Solaris 2.4. | |
37 | |
38 Someone else submitted a simple test program that duplicates this | |
39 behavior, and says it has something to do with the fact that X11R6 | |
40 links with the threads library. */ | |
41 | |
42 #ifdef THIS_IS_X11R6 | |
43 #define BROKEN_SIGCHLD | |
44 #endif |