]> code.delx.au - gnu-emacs/blob - src/s/sol2-4.h
(LIB_X11_LIB): New definition.
[gnu-emacs] / src / s / sol2-4.h
1 /* Handle Solaris 2.4. */
2
3 #include "sol2-3.h"
4
5 #define SOLARIS2_4
6
7 /* Bill_Mann@praxisint.com says that configure can't link things with -lX11
8 unless it has -lXext as well. */
9 #define LIB_X11_LIB -lX11 -lXext
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
18 #undef LD_SWITCH_SYSTEM
19 #ifndef __GNUC__
20 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/dt/lib -L /usr/dt/lib
21 #else /* GCC */
22 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
23 has anything in it. It can be empty.
24 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
25 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
26 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/dt/lib -L /usr/dt/lib
27 #endif /* GCC */