Mercurial > emacs
annotate src/s/sol2-4.h @ 14212:8cf630851594 libc-960118 libc-960119 libc-960120 libc-960121 libc-960122 libc-960123 libc-960124 libc-960125 libc-960126 libc-960127 libc-960128 libc-960129 libc-960130 libc-960131
Recognize go32* as an os.
author | Doug Evans <dje@gnu.org> |
---|---|
date | Wed, 17 Jan 1996 23:54:58 +0000 |
parents | 20f5e203dfe6 |
children | cec2ae2e376a |
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 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
5 #define SOLARIS2_4 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
6 |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
7 /* Get rid of -traditional and let const really do its thing. */ |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
8 |
8451 | 9 #ifdef __GNUC__ |
8475
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
10 #undef C_SWITCH_SYSTEM |
77d5e055dce1
(PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
8451
diff
changeset
|
11 #undef const |
8451 | 12 #endif /* __GNUC__ */ |
12038
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
13 |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
14 #undef LD_SWITCH_SYSTEM |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
15 #ifndef __GNUC__ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
16 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/dt/lib -L /usr/dt/lib |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
17 #else /* GCC */ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
18 /* 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
|
19 has anything in it. It can be empty. |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
20 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
21 #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \ |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
22 `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/dt/lib -L /usr/dt/lib |
20f5e203dfe6
(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
Karl Heuer <kwzh@gnu.org>
parents:
11965
diff
changeset
|
23 #endif /* GCC */ |