Mercurial > emacs
annotate src/s/hpux8.h @ 31383:860d7ac182e3
(vc-rcs-show-log-entry): New function.
(vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
(vc-rcs-register): If there is no RCS subdir, ask the
user whether to create one.
(vc-rcs-state-heuristic): Use
file-ownership-preserved-p.
(vc-rcs-checkout): Remove the error-handling for missing-rcs.
(vc-rcs-state-heuristic): Don't use file-writable-p.
(vc-rcs-print-log): Insert in the current buffer.
(vc-rcs-diff): Insert in the current buffer and remove unused arg
CMP.
(vc-rcs-workfile-unchanged-p): Use vc-do-command
instead of vc-simple-command.
(vc-rcs-fetch-master-state): Removed check for unlocked-changes to
avoid doing a diff when opening a file.
(vc-rcs-state): Added check for unlocked-changes.
(vc-rcs-header): Escape Id.
(vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
(vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
version.
(vc-rcs-state-heuristic): Use file-writable-p instead
of comparing userids.
(vc-rcs-fetch-master-state): Handle the case where rcs is missing.
Simplify the logic by eliminating unreachable code.
(vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
just do a recursive call if we need to retry.
(vc-rcs-checkout): Handle the case where rcs is missing by making
the buffer read-write if requested and re-signalling the error.
(vc-rcs-find-most-recent-rev): New function. The code
derives from the old vc-parse-buffer but uses the revision number
rather than the date (much easier to compare robustly).
(vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
locking-user more directly. Check strict locking and set
checkout-model appropriately.
(vc-rcs-parse-locks): Remove.
(vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
(vc-rcs-system-release): Use with-current-buffer and
vc-parse-buffer.
(vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
Merge in code
from vc-rcs-hooks.el. Don't require 'vc anymore.
(vc-rcs-responsible-p): Use expand-file-name instead of concat and
file-directory-p instead of file-exists-p.
(vc-rcs-exists): Remove.
(vc-rcs-header): New var.
Update Copyright.
(vc-rcs-rename-file): New function.
(vc-rcs-diff): Remove unused `backend' variable.
(vc-rcs-clear-headers): New function; code moved here
from vc-clear-headers in vc.el.
(tail): Provide vc-rcs and remove vc-rcs-logentry-check.
(vc-rcs-register): Parse command output to find master
file name and workfile version.
(vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
Require vc and vc-rcs-hooks.
(vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
(vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
(vc-release-greater-or-equal-p): Move from vc.
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
(vc-rcs-checkout): Add a missing `new-version' argument in the
call to vc-rcs-latest-on-branch-p. Hopefully that was the right
one.
(vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
Updated everything to use `vc-checkout-model'.
(vc-rcs-backend-release-p): function added. other
stuff updated to reference this function instead of the old
`vc-backend-release-p'.
(vc-rcs-logentry-check): Function added.
(vc-rcs-checkin, vc-rcs-previous-version)
(vc-rcs-checkout): Name space cleaned up. No more revision number
crunching function names that are not prefixed with vc-rcs.
(vc-rcs-checkout-model): Function added. References to
`vc-checkout-model' replaced.
(vc-rcs-admin): Added the query-only option as
required by the vc.el file.
(vc-rcs-exists): Function added.
(vc-*-checkout):
Use with-temp-file instead of /bin/sh. Merged from mainline
(vc-rcs-latest-on-branch-p): Moved to vc-rcs-hooks.el.
(vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
(vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
(vc-rcs-previous-version): Functions added.
(vc-rcs-diff): Function added.
(vc-rcs-checkout) Bug (typo) found and fixed.
(vc-rcs-register-switches) Variable `vc-rcs-register-switches' added.
Require vc when compiling.
(vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
(vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
(vc-rcs-checkin): New functions (code from vc.el).
(vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
Doc fix.
(vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
(vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
(vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
from vc.el.
(vc-rcs-system-release):
Renamed from vc-rcs-backend-release.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 04 Sep 2000 19:47:43 +0000 |
parents | fbda8510ca84 |
children | 223cc183a020 |
rev | line source |
---|---|
456 | 1 /* system description file for hpux version 8. |
2 This contains changes that were suggested "for the hp700". | |
3 They were not needed for the 800. | |
4 Our conjecture that they are needed for hpux version 8, | |
5 which is what runs on the 700. */ | |
6 | |
7 #include "hpux.h" | |
8 | |
620 | 9 #define HPUX8 |
10 | |
3228
8199b2047076
(LIBX11_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3202
diff
changeset
|
11 /* dob@inel.gov says HPUX 8.07 needs this. He was using X11R5, I think. */ |
8199b2047076
(LIBX11_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3202
diff
changeset
|
12 #define LIBX11_SYSTEM -lXext |
8199b2047076
(LIBX11_SYSTEM): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
3202
diff
changeset
|
13 |
3149
a4aaad84ad72
* s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
Jim Blandy <jimb@redhat.com>
parents:
3131
diff
changeset
|
14 #define LIB_X11_LIB -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lX11 |
4545
7642b50e5bb8
(C_SWITCH_X_SYSTEM): Define instead of C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
4301
diff
changeset
|
15 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/X11R4 |
7724
1b7a7e2fc4df
(LD_SWITCH_SYSTEM): Delete the -L options.
Richard M. Stallman <rms@gnu.org>
parents:
7689
diff
changeset
|
16 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/X11R4 |
456 | 17 |
1814
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
18 /* Don't use shared libraries. unexec doesn't handle them. |
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
19 Note GCC automatically passes -a archive to ld, and it has its own |
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
20 conflicting -a. */ |
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
21 #ifdef __GNUC__ |
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
22 /* No need to specify roundabout way of linking temacs. */ |
e8a0d6a1b36a
[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents:
620
diff
changeset
|
23 #define ORDINARY_LINK |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
24 |
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
25 #ifdef HPUX_USE_SHLIBS |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
26 #define LD_SWITCH_SYSTEM_TEMACS |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
27 #else |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
28 #define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive |
5037
0bcb829bd1a3
(LD_SWITCH_SYSTEM) [hp9000s700]: Add -L/lib/pa1.1.
Richard M. Stallman <rms@gnu.org>
parents:
4578
diff
changeset
|
29 #endif |
2284
bba90ce247b0
* s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents:
1814
diff
changeset
|
30 |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
31 #else /* not __GNUC__ */ |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
32 /* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM" |
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
33 is used in configure's $ac_link to do various autoconf checks. |
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
34 Since we only need -a when unexec'ing, only pass in -a to |
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
35 "ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */ |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
36 #if (defined(hp9000s700) || defined(__hp9000s700)) |
7653
ff5fcf65ceaa
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Richard M. Stallman <rms@gnu.org>
parents:
5759
diff
changeset
|
37 #ifdef HPUX_USE_SHLIBS |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
38 #define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1 |
7653
ff5fcf65ceaa
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Richard M. Stallman <rms@gnu.org>
parents:
5759
diff
changeset
|
39 #else |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
40 #define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1 |
4301
6e8bb94d94c5
(OLDXMENU_OPTIONS): Definition deleted.
Richard M. Stallman <rms@gnu.org>
parents:
3964
diff
changeset
|
41 #endif |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
42 #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */ |
7653
ff5fcf65ceaa
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Richard M. Stallman <rms@gnu.org>
parents:
5759
diff
changeset
|
43 #ifdef HPUX_USE_SHLIBS |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
44 #define LD_SWITCH_SYSTEM_TEMACS |
7653
ff5fcf65ceaa
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Richard M. Stallman <rms@gnu.org>
parents:
5759
diff
changeset
|
45 #else |
18995
fbda8510ca84
(LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
7724
diff
changeset
|
46 #define LD_SWITCH_SYSTEM_TEMACS -a archive |
7653
ff5fcf65ceaa
(LD_SWITCH_SYSTEM): Add conditionals for HPUX_USE_SHLIBS.
Richard M. Stallman <rms@gnu.org>
parents:
5759
diff
changeset
|
47 #endif |
7689
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
48 #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */ |
48867d3871d5
(LD_SWITCH_SYSTEM): Put back -Xlinker for GCC.
Richard M. Stallman <rms@gnu.org>
parents:
7653
diff
changeset
|
49 #endif /* not __GNUC__ */ |
3004
96a9c2369a0d
* s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents:
2284
diff
changeset
|
50 |
96a9c2369a0d
* s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents:
2284
diff
changeset
|
51 /* Some hpux 8 machines seem to have TIOCGWINSZ, |
96a9c2369a0d
* s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents:
2284
diff
changeset
|
52 and none have sioctl.h, so might as well define this. */ |
96a9c2369a0d
* s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents:
2284
diff
changeset
|
53 #define NO_SIOCTL_H |
3125
4f552542504b
(LD_SWITCH_SYSTEM) [__GNUC__]: Add -static.
Richard M. Stallman <rms@gnu.org>
parents:
3004
diff
changeset
|
54 |
3964
c4696ff3b067
* s/hpux8.h (random, srandom): No need to define these to be
Jim Blandy <jimb@redhat.com>
parents:
3438
diff
changeset
|
55 #if 0 /* autoconf should be detecting the presence or absence of |
c4696ff3b067
* s/hpux8.h (random, srandom): No need to define these to be
Jim Blandy <jimb@redhat.com>
parents:
3438
diff
changeset
|
56 random and srandom now. */ |
3202
dda1a74daff6
* s/hpux8.h: Don't define HAVE_RANDOM.
Jim Blandy <jimb@redhat.com>
parents:
3149
diff
changeset
|
57 /* If you use X11R4 you must define this. If you use |
dda1a74daff6
* s/hpux8.h: Don't define HAVE_RANDOM.
Jim Blandy <jimb@redhat.com>
parents:
3149
diff
changeset
|
58 X11R5 you must comment this out */ |
dda1a74daff6
* s/hpux8.h: Don't define HAVE_RANDOM.
Jim Blandy <jimb@redhat.com>
parents:
3149
diff
changeset
|
59 /* #define HAVE_RANDOM */ |
3438
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
60 #define random foo_random |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
61 #define srandom foo_srandom |
3964
c4696ff3b067
* s/hpux8.h (random, srandom): No need to define these to be
Jim Blandy <jimb@redhat.com>
parents:
3438
diff
changeset
|
62 #endif |
3438
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
63 |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
64 #if 0 /* This seems to be spurious. */ |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
65 /* "X11R5" on hpux8 doesn't have this function, which is supposed to exist |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
66 in X11R5. Maybe things will work if we just don't call it. */ |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
67 #define NO_XRM_SET_DATABASE |
9c90be4edcc5
(C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents:
3249
diff
changeset
|
68 #endif |
5759 | 69 |
70 /* Enable a special hack in XTread_socket. */ | |
71 #define X_IO_BUG |