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