(url-http-chunked-encoding-after-change-function):
[emacs.git] / src / s / sol2-4.h
blob8ac97eaa6dfcb0d532d6e1cc899b3c4cb9cadb20
1 /* Handle Solaris 2.4. */
3 #include "sol2-3.h"
5 #define SOLARIS2_4
7 /* Get rid of -traditional and let const really do its thing. */
9 #ifdef __GNUC__
10 #undef C_SWITCH_SYSTEM
11 #undef const
12 #endif /* __GNUC__ */
14 #undef LD_SWITCH_SYSTEM
16 /* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet.
17 Instead, dynamically check whether USE_MOTIF expands to something. */
18 #define NOT_USING_MOTIF { set x USE_MOTIF; test "$$2" = "USE_MOTIF"; }
20 #ifndef __GNUC__
21 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX \
22 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib'`
23 #else /* GCC */
24 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
25 has anything in it. It can be empty.
26 This works ok in temacs. */
27 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \
28 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \
29 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'`
30 #endif /* GCC */
32 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files
33 are in this directory on Solaris 2.4. */
34 #define C_SWITCH_X_SYSTEM -I/usr/dt/include
36 /* arch-tag: 6f0de37b-cfda-427a-a5ae-b83ed54aaae7
37 (do not change this comment) */