0
|
1 /* Synched up with: FSF 19.31. */
|
|
2
|
|
3 #include "sol2.h"
|
|
4
|
|
5 /* Solaris 2.3 has a bug in XListFontsWithInfo. */
|
|
6 #define BROKEN_XLISTFONTSWITHINFO
|
|
7
|
|
8 #if 0 /* RMSmacs */
|
|
9 /* Unless this proves necessary, I'm going to leave it out. --ben
|
|
10 Also see comment in sol2.h about LD_SWITCH_X_SITE_AUX. */
|
|
11 /* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */
|
|
12
|
|
13 #undef LD_SWITCH_SYSTEM
|
|
14
|
|
15 #ifndef __GNUC__
|
|
16 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX
|
|
17 #else /* GCC */
|
|
18 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
|
|
19 has anything in it. It can be empty.
|
|
20 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
|
|
21 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
|
|
22 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
|
|
23 #endif /* GCC */
|
|
24 #endif /* 0 */
|
|
25
|
|
26 /* Motif is an optional package for Solaris 2.3. The standard location is
|
|
27 /usr/dt/lib, but it may have been installed in /opt/SUNWspro/lib when
|
|
28 SPARCworks was installed. For Solaris 2.4 and beyond, the default location
|
|
29 is /usr/dt/lib. This "-R" definition allows an XEmacs built on Solaris 2.3
|
|
30 to run on 2.3 and beyond at the cost of some extra, bound-to-fail searches
|
|
31 in either /usr/dt/lib or /opt/SUNWspro/lib.
|
|
32
|
|
33 Even though /usr/lib is automatically appended to the -R search path, we
|
|
34 include it at the begining of the search path to speed up the entire
|
|
35 process. "ldd xemacs" shows that there are 9 libraries found in /usr/lib,
|
|
36 4 in /usr/openwin/lib and only 1 in /usr/dt/lib or /opt/SUNWspro/lib.
|
|
37 -- vladimir@Eng.Sun.COM
|
|
38 */
|
|
39
|
|
40 #ifdef LD_SWITCH_SYSTEM
|
|
41 #undef LD_SWITCH_SYSTEM
|
|
42 #endif
|
|
43 #define LD_SWITCH_SYSTEM -R/usr/lib:/usr/openwin/lib:/usr/dt/lib:/opt/SUNWspro/lib
|
|
44
|
|
45 /* XEmacs: remove unnecessary signal stuff */
|