(compile_pattern_1): Don't declare val with CONST.
[bpt/emacs.git] / src / s / sol2-4.h
1 /* Handle Solaris 2.4. */
2
3 #include "sol2-3.h"
4
5 #define SOLARIS2_4
6
7 /* Get rid of -traditional and let const really do its thing. */
8
9 #ifdef __GNUC__
10 #undef C_SWITCH_SYSTEM
11 #undef const
12 #endif /* __GNUC__ */
13
14 #undef LD_SWITCH_SYSTEM
15 #ifndef __GNUC__
16 #define LD_SWITCH_SYSTEM -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX -R/usr/dt/lib -L/usr/dt/lib
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` -R/usr/dt/lib -L/usr/dt/lib
23 #endif /* GCC */
24
25 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
26 are in this directory on Solaris 2.4. */
27 #define C_SWITCH_X_SYSTEM -I/usr/dt/include
28