Mercurial > emacs
annotate src/s/sol2.h @ 3426:7ecee84713e6
(do-install): Partially rewrite using `if'.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 02 Jun 1993 05:16:03 +0000 |
parents | d83c81c1c29d |
children | 7930bf123cb7 |
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 | 2 |
3 #define POSIX | |
4 | |
3161
2965c226e5ed
* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
Jim Blandy <jimb@redhat.com>
parents:
3097
diff
changeset
|
5 /* Here is how to find X Windows. The -R option says where |
2965c226e5ed
* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
Jim Blandy <jimb@redhat.com>
parents:
3097
diff
changeset
|
6 to find X windows at run time. */ |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
7 #ifndef __GNUC__ |
3161
2965c226e5ed
* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
Jim Blandy <jimb@redhat.com>
parents:
3097
diff
changeset
|
8 #define LD_SWITCH_SYSTEM -R/usr/openwin/lib |
1638
e49c2e6349e4
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
1584
diff
changeset
|
9 #else /* GCC */ |
3161
2965c226e5ed
* s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
Jim Blandy <jimb@redhat.com>
parents:
3097
diff
changeset
|
10 #define LD_SWITCH_SYSTEM -Xlinker -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 #endif /* GCC */ |
1179 | 12 |
13 /* Compile in non-ansi fashion to work around bugs in system header files. */ | |
14 #ifndef __GNUC__ | |
15 #define C_SWITCH_SYSTEM -Xs | |
16 #else /* GCC */ | |
17 #define C_SWITCH_SYSTEM -traditional | |
18 #endif /* GCC */ | |
2815
60f122cfe785
* process.c (wait_reading_process_input): If we're running
Jim Blandy <jimb@redhat.com>
parents:
2741
diff
changeset
|
19 #define const |
2741
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
20 |
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
21 /* Karl Berry writes: |
1d72336294c6
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
Jim Blandy <jimb@redhat.com>
parents:
1638
diff
changeset
|
22 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
|
23 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
|
24 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
|
25 access(2), but in the meantime, some of us need the right behavior. */ |
3162
358923f49f13
* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
Jim Blandy <jimb@redhat.com>
parents:
3161
diff
changeset
|
26 |
358923f49f13
* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
Jim Blandy <jimb@redhat.com>
parents:
3161
diff
changeset
|
27 /* Well, we released Emacs with this change, and fixed a typo, but |
358923f49f13
* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
Jim Blandy <jimb@redhat.com>
parents:
3161
diff
changeset
|
28 people keep saying that it doesn't work, and that the patch is easy |
3413 | 29 to install. Patch number is 100947-02. */ |
3162
358923f49f13
* s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
Jim Blandy <jimb@redhat.com>
parents:
3161
diff
changeset
|
30 #undef SOLARIS_BROKEN_ACCESS |