(compile_pattern_1): Don't declare val with CONST.
[bpt/emacs.git] / src / s / sol2-4.h
CommitLineData
a704a684
RS
1/* Handle Solaris 2.4. */
2
da6aae60
RS
3#include "sol2-3.h"
4
5#define SOLARIS2_4
6
7/* Get rid of -traditional and let const really do its thing. */
8
a704a684 9#ifdef __GNUC__
da6aae60
RS
10#undef C_SWITCH_SYSTEM
11#undef const
a704a684 12#endif /* __GNUC__ */
1832d109
KH
13
14#undef LD_SWITCH_SYSTEM
15#ifndef __GNUC__
a2ae3bae 16#define LD_SWITCH_SYSTEM -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX -R/usr/dt/lib -L/usr/dt/lib
1832d109
KH
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. */
a2ae3bae
RS
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
1832d109 23#endif /* GCC */
860ef324
RS
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