Mercurial > emacs
annotate src/s/sol2-5.h @ 33018:d9abb0441663
*** empty log message ***
| author | Dave Love <fx@gnu.org> |
|---|---|
| date | Sat, 28 Oct 2000 21:30:03 +0000 |
| parents | 934a00cadb3b |
| children | 8c62879971b9 |
| rev | line source |
|---|---|
| 12055 | 1 /* Handle Solaris 2.5. */ |
| 2 | |
| 26090 | 3 /* Enable large-file support if available (Solaris 2.6 and later). |
| 4 Do this before including any system include file. */ | |
| 5 #ifndef _LARGEFILE_SOURCE | |
| 6 #define _LARGEFILE_SOURCE 1 | |
| 7 #endif | |
| 8 #ifndef _FILE_OFFSET_BITS | |
| 9 #define _FILE_OFFSET_BITS 64 | |
| 10 #endif | |
| 11 | |
| 12055 | 12 #include "sol2-4.h" |
|
13788
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
13 |
|
15540
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
14 /* -lgen is needed for the regex and regcmp functions |
|
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
15 which are used by Motif. In the future we can try changing |
|
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
16 regex.c to provide them in Emacs, but this is safer for now. */ |
| 15573 | 17 #define LIB_MOTIF -lXm -lgen |
|
15540
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
18 |
|
20751
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
19 /* This is the only known way to avoid some crashes |
|
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
20 that seem to relate to screwed up malloc data |
|
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
21 after deleting a frame. */ |
|
32933
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
22 /* rms: I think the problems using ralloc had to do with system |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
23 libraries that called the system malloc even if we linked in the |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
24 GNU malloc. I could not see any way to fix the problem except to |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
25 have just one malloc and that had to be the system one. */ |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
26 /* This is not always necessary. Turned off at present for testers to |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
27 identify any problems with gmalloc more accurately. */ |
|
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
28 /* #define SYSTEM_MALLOC */ |
|
20751
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
29 |
|
14136
d8cf2f7c6a7e
Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents:
13838
diff
changeset
|
30 #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */ |
|
13788
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
31 /* Don't use the shared libraries for -lXt and -lXaw, |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
32 to work around a linker bug in Solaris 2.5. |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
33 (This also affects the other libraries used specifically for |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
34 the X toolkit, which may not be necessary.) */ |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
35 #define LIBXT_STATIC |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
36 |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
37 #ifdef __GNUC__ |
|
13838
ca284f531f71
(STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents:
13788
diff
changeset
|
38 #define STATIC_OPTION -Xlinker -Bstatic |
|
ca284f531f71
(STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents:
13788
diff
changeset
|
39 #define DYNAMIC_OPTION -Xlinker -Bdynamic |
|
13788
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
40 #else |
|
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
41 #define STATIC_OPTION -Bstatic |
|
13838
ca284f531f71
(STATIC_OPTION): For GCC, use -Xlinker.
Richard M. Stallman <rms@gnu.org>
parents:
13788
diff
changeset
|
42 #define DYNAMIC_OPTION -Bdynamic |
|
13788
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
43 #endif |
|
14136
d8cf2f7c6a7e
Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents:
13838
diff
changeset
|
44 |
|
d8cf2f7c6a7e
Add #if 0 around everything but the include of sol2-4.h.
Karl Heuer <kwzh@gnu.org>
parents:
13838
diff
changeset
|
45 #endif /* 0 */ |
