Mercurial > emacs
annotate src/s/sol2-4.h @ 107940:c08ba25d055f
* nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as NSInteger (Bug#5811).
author | Adrian Robert <Adrian.B.Robert@gmail.com> |
---|---|
date | Tue, 13 Apr 2010 11:56:08 +0300 |
parents | 8b34dc6bbff5 |
children |
rev | line source |
---|---|
8451 | 1 /* Handle Solaris 2.4. */ |
2 | |
8475
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
3 #include "sol2-3.h" |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
4 |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
5 #undef LD_SWITCH_SYSTEM |
18763
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
6 |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
7 /* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet. |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
8 Instead, dynamically check whether USE_MOTIF expands to something. */ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
9 #define NOT_USING_MOTIF { set x USE_MOTIF; test "$$2" = "USE_MOTIF"; } |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
10 |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
11 #ifndef __GNUC__ |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
12 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib LD_SWITCH_X_SITE_AUX \ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
13 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib'` |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
14 #else /* GCC */ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
15 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
16 has anything in it. It can be empty. |
18763
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
17 This works ok in temacs. */ |
8f719bb518cc
(XPointer): Define XPointer.
Richard M. Stallman <rms@gnu.org>
parents:
15456
diff
changeset
|
18 #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \ |
23139
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
19 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \ |
bdfd64faa90a
(NOT_USING_MOTIF): New macro.
Paul Eggert <eggert@twinsun.com>
parents:
18763
diff
changeset
|
20 `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'` |
96765 | 21 |
22 /* Get rid of -traditional and let const really do its thing. */ | |
23 #undef C_SWITCH_SYSTEM | |
24 #undef const | |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
25 #endif /* GCC */ |
15118
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
26 |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
27 /* Gregory Neil Shapiro <gshapiro@hhmi.org> reports the Motif header files |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
28 are in this directory on Solaris 2.4. */ |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
29 #define C_SWITCH_X_SYSTEM -I/usr/dt/include |
77feea2e700b
(C_SWITCH_X_SYSTEM): Definition moved from sol2.h.
Richard M. Stallman <rms@gnu.org>
parents:
14494
diff
changeset
|
30 |
52401 | 31 /* arch-tag: 6f0de37b-cfda-427a-a5ae-b83ed54aaae7 |
32 (do not change this comment) */ |