Mercurial > emacs
annotate src/s/sunos4-1.h @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128
typos.
author | Jeff Law <law@redhat.com> |
---|---|
date | Wed, 10 Sep 1997 21:16:20 +0000 |
parents | 05ed4bcaab10 |
children | 63fd40a97a75 |
rev | line source |
---|---|
457 | 1 #include "sunos4-0.h" |
2 | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
2284
diff
changeset
|
3 /* 4.1.1 makes these system calls interruptible. */ |
457 | 4 |
5 #define read sys_read | |
6 #define write sys_write | |
7 #define open sys_open | |
8 #define close sys_close | |
9 | |
10 #define INTERRUPTIBLE_OPEN | |
11 #define INTERRUPTIBLE_CLOSE | |
12 #define INTERRUPTIBLE_IO | |
2284
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
13 |
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
14 /* Cause the compilation of oldxmenu to use the right -I option. */ |
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
457
diff
changeset
|
15 #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM |
3968
e6f0cff88f06
* s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
16 |
7176 | 17 #if 0 /* This isn't right. Apparently some sites do have -lresolv |
18 but don't use that. On those systems, the code below loses. | |
19 There's no way to win automatically unless someone | |
20 figures out a way of determining automatically which way is right | |
21 on any given system. */ | |
3983
0c928e4c5304
* s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents:
3968
diff
changeset
|
22 /* Some systems do not run the Network Information Service, but have |
0c928e4c5304
* s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents:
3968
diff
changeset
|
23 modified the shared C library to include resolver support without |
7047
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
24 also changing the C archive library (/usr/lib/libc.a). If we |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
25 detect the presence of libresolv.a, use -lresolv to supplement libc.a. |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
26 |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
27 We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
28 setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
29 configure is smarter about computing libsrc_libs, and would not |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
30 be fooled. Anyway, why not use -lresolv in lib-src? */ |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
31 /* #ifdef HAVE_GETHOSTNAME */ |
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
32 #ifdef HAVE_LIBRESOLV |
4731
a8c0357a8554
(LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents:
4210
diff
changeset
|
33 #define LIBS_SYSTEM -lresolv |
a8c0357a8554
(LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents:
4210
diff
changeset
|
34 #endif |
7047
978daca51b6b
(LIBS_SYSTEM): Test HAVE_LIBRESOLV, not HAVE_RES_INIT.
Richard M. Stallman <rms@gnu.org>
parents:
7031
diff
changeset
|
35 /* #endif */ |
7176 | 36 #endif |
4210
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
37 |
5438
ab37f52a4fe3
(SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents:
5259
diff
changeset
|
38 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */ |
4210
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
39 /* Tell GNU malloc to compensate for a bug in localtime. */ |
b0a5f72de90c
(SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3984
diff
changeset
|
40 #define SUNOS_LOCALTIME_BUG |
5438
ab37f52a4fe3
(SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents:
5259
diff
changeset
|
41 #endif |
9074
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
42 |
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
43 /* Define dlopen, dlclose, dlsym. */ |
05ed4bcaab10
(USE_DL_STUBS): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
7737
diff
changeset
|
44 #define USE_DL_STUBS |