annotate src/s/sunos4-1.h @ 16842:72276b334084 before-thomas-posix1996 glibc-2_0_2 libc-970108 libc-970109 libc-970110 libc-970111 libc-970112 libc-970113 libc-970114 libc-970115 libc-970116 libc-970117 libc-970118 libc-970119 libc-970120 libc-970121 libc-970122 libc-970123 libc-970124 libc-970125 libc-970126 libc-970127 libc-970128 libc-970129 libc-970130 libc-970131 libc-970201 libc-970202 libc-970203 libc-970204 libc-970205 libc-970206 libc-970207 libc-970208 libc-970209 libc-970210 libc-970211 libc-970212 libc-970213 libc-970214 libc-970215 libc-970216 libc-970217 libc-970218 libc-970219 libc-970220 libc-970221 libc-970222 libc-970223 libc-970224 libc-970225 libc-970226 libc-970227 libc-970228 libc-970301 libc-970302 libc-970303 libc-970304 libc-970305 libc-970306 libc-970307 libc-970308 libc-970309 libc-970310 libc-970311 libc-970312 libc-970313 libc-970314 libc-970315 libc-970316 libc-970317 libc-970318 libc-970319 libc-970320 libc-970321 libc-970322 libc-970323 libc-970324 libc20x-970306 libc20x-97031 libc20x-970316 libc20x-970318 libc20x-970319 libc20x-970404 root-libc-2_0_x-branch

Add hppa1.1-hitachi-hiuxmpp support, passed along by rms.
author David J. MacKenzie <djm@gnu.org>
date Tue, 07 Jan 1997 19:29:28 +0000
parents 05ed4bcaab10
children 63fd40a97a75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 #include "sunos4-0.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 #define read sys_read
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 #define write sys_write
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 #define open sys_open
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 #define close sys_close
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 #define INTERRUPTIBLE_OPEN
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 #define INTERRUPTIBLE_CLOSE
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
17 #if 0 /* This isn't right. Apparently some sites do have -lresolv
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
18 but don't use that. On those systems, the code below loses.
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
19 There's no way to win automatically unless someone
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
20 figures out a way of determining automatically which way is right
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
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
ec4ceae924cd (LIBS_SYSTEM): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 7047
diff changeset
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