annotate src/s/hpux8.h @ 4132:e0345afdf64e

* term/x-win.el: Include (invocation-name) in the error messages which might occur during startup. * term/x-win.el: Make the `-rn NAME' option specify a resource name, as documented, and not a resource database string. Make `-name NAME' act like `-rn NAME' and also set the name of the initial frame. (command-switch-alist): Process the `-rn' and `-name' options using the x-handle-name-rn-switch function. (x-handle-name-rn-switch): New function, which sets the x-resource-name variable. (opening connection): Make sure x-resource-name is valid. If it's not a string, set it to (invocation-name), with any periods or asterisks changed to hyphens. * term/x-win.el: Make the `-xrm STRING' option specify a resource database string. `-rn' used to behave this way. (command-switch-alist): Process the `-xrm' switch using x-handle-xrm-switch. (x-handle-xrm-switch): Renamed from x-handle-rn-switch; this function does the right thing for `-xrm', not for `-rn'. * term/x-win.el: Recognize affirmative values for reverseVideo properly. Include "on" in the list of recognized values.
author Jim Blandy <jimb@redhat.com>
date Sun, 18 Jul 1993 06:21:42 +0000
parents c4696ff3b067
children 6e8bb94d94c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* system description file for hpux version 8.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 This contains changes that were suggested "for the hp700".
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 They were not needed for the 800.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 Our conjecture that they are needed for hpux version 8,
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 which is what runs on the 700. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 #include "hpux.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8
620
88a29c720fa7 entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
9 #define HPUX8
88a29c720fa7 entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
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
3438
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
15 #define C_SWITCH_SYSTEM -I/usr/include/X11R5 -I/usr/include/X11R4
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16
1814
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
17 /* 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
18 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
19 conflicting -a. */
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
20 #ifdef __GNUC__
3149
a4aaad84ad72 * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
Jim Blandy <jimb@redhat.com>
parents: 3131
diff changeset
21 #define LD_SWITCH_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/X11R4 -Xlinker -a -Xlinker archive
1814
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
22
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
23 /* 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
24 #define ORDINARY_LINK
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
25 #else
3149
a4aaad84ad72 * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
Jim Blandy <jimb@redhat.com>
parents: 3131
diff changeset
26 #define LD_SWITCH_SYSTEM -a archive -L/usr/lib/X11R5 -L/usr/lib/X11R4
1814
e8a0d6a1b36a [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
Richard M. Stallman <rms@gnu.org>
parents: 620
diff changeset
27 #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
28
bba90ce247b0 * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents: 1814
diff changeset
29 /* Specify compiler options for compiling oldXMenu. */
3249
b47c0a6be84b (OLDXMENU_OPTIONS): Add quotations.
Richard M. Stallman <rms@gnu.org>
parents: 3228
diff changeset
30 #define OLDXMENU_OPTIONS CFLAGS="-I/usr/include/X11R5 -I/usr/include/X11R4"
3004
96a9c2369a0d * s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents: 2284
diff changeset
31
96a9c2369a0d * s-hpux8.h (NO_SIOCTL_H): Defined.
Jim Blandy <jimb@redhat.com>
parents: 2284
diff changeset
32 /* 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
33 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
34 #define NO_SIOCTL_H
3125
4f552542504b (LD_SWITCH_SYSTEM) [__GNUC__]: Add -static.
Richard M. Stallman <rms@gnu.org>
parents: 3004
diff changeset
35
3964
c4696ff3b067 * s/hpux8.h (random, srandom): No need to define these to be
Jim Blandy <jimb@redhat.com>
parents: 3438
diff changeset
36 #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
37 random and srandom now. */
3202
dda1a74daff6 * s/hpux8.h: Don't define HAVE_RANDOM.
Jim Blandy <jimb@redhat.com>
parents: 3149
diff changeset
38 /* 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
39 X11R5 you must comment this out */
dda1a74daff6 * s/hpux8.h: Don't define HAVE_RANDOM.
Jim Blandy <jimb@redhat.com>
parents: 3149
diff changeset
40 /* #define HAVE_RANDOM */
3438
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
41 #define random foo_random
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
42 #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
43 #endif
3438
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
44
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
45 #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
46 /* "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
47 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
48 #define NO_XRM_SET_DATABASE
9c90be4edcc5 (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
Richard M. Stallman <rms@gnu.org>
parents: 3249
diff changeset
49 #endif