annotate src/s/sol2.h @ 3097:0001f88fc0db

(C_SWITCH_X_SYSTEM, LD_SWITCH_SYSTEM): Put in #if 0.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 May 1993 20:52:11 +0000
parents 60f122cfe785
children 2965c226e5ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2815
60f122cfe785 * process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents: 2741
diff changeset
1 #include "usg5-4.h"
1179
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #define POSIX
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
3097
0001f88fc0db (C_SWITCH_X_SYSTEM, LD_SWITCH_SYSTEM): Put in #if 0.
Richard M. Stallman <rms@gnu.org>
parents: 2815
diff changeset
5 #if 0
1584
fed9a9ee5156 * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents: 1179
diff changeset
6 /* Here is how to find X Windows. The -L option tells the linker where
fed9a9ee5156 * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents: 1179
diff changeset
7 to find the libraries at link time, the -R option at run time. */
1638
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
8 #define C_SWITCH_X_SYSTEM -I/usr/openwin/include
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
9 #ifndef __GNUC__
1584
fed9a9ee5156 * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy <jimb@redhat.com>
parents: 1179
diff changeset
10 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib
1638
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
11 #else /* GCC */
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
12 #define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib
e49c2e6349e4 (LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents: 1584
diff changeset
13 #endif /* GCC */
3097
0001f88fc0db (C_SWITCH_X_SYSTEM, LD_SWITCH_SYSTEM): Put in #if 0.
Richard M. Stallman <rms@gnu.org>
parents: 2815
diff changeset
14 #endif /* 0 */
1179
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 /* Compile in non-ansi fashion to work around bugs in system header files. */
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 #ifndef __GNUC__
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 #define C_SWITCH_SYSTEM -Xs
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 #else /* GCC */
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 #define C_SWITCH_SYSTEM -traditional
7961d1af11a7 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 #endif /* GCC */
2815
60f122cfe785 * process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents: 2741
diff changeset
22 #define const
2741
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
23
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
24 /* Karl Berry writes:
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
25 If you have the misfortune to be running Solaris 2.1, you may have
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
26 noticed that the access system call does not check the readonlyness of
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
27 the filesystem the path refers to. This is a bug, according to
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
28 access(2), but in the meantime, some of us need the right behavior. */
1d72336294c6 * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents: 1638
diff changeset
29 #define SOLARIS_BROKEN_ACCESS