annotate src/s/hpux10.h @ 51421:79dc5a8eacfe

(comint-move-point-for-output): Renamed from comint-scroll-to-bottom-on-output. Old name is alias. Doc fix. All uses changed. (comint-scroll-show-maximum-output): Doc fix. (comint-exec-1): Don't use directory-sep-char. (comint-dynamic-complete-as-filename): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Tue, 03 Jun 2003 11:06:42 +0000
parents 2d5ba0c9dd66
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "hpux9shr.h"
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
15457
1993f23c4bfe (HPUX10): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 15426
diff changeset
3 #define HPUX10
1993f23c4bfe (HPUX10): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 15426
diff changeset
4
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 /* We have to go this route, rather than hpux9's approach of renaming the
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 functions via macros. The system's stdlib.h has fully prototyped
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 declarations, which yields a conflicting definition of srand48; it
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 tries to redeclare what was once srandom to be srand48. So we go
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 with HAVE_LRAND48 being defined. */
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 #undef srandom
41850
792538769b27 (random): Add undef.
Richard M. Stallman <rms@gnu.org>
parents: 34693
diff changeset
11 #undef random
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 #undef HAVE_RANDOM
41850
792538769b27 (random): Add undef.
Richard M. Stallman <rms@gnu.org>
parents: 34693
diff changeset
13
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 #define FORCE_ALLOCA_H
15426
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
15
16341
d7c001f4e79f (KERNEL_FILE): Redefine it here.
Richard M. Stallman <rms@gnu.org>
parents: 15811
diff changeset
16 /* AlainF 20-Jul-1996 says this is right. */
d7c001f4e79f (KERNEL_FILE): Redefine it here.
Richard M. Stallman <rms@gnu.org>
parents: 15811
diff changeset
17 #undef KERNEL_FILE
d7c001f4e79f (KERNEL_FILE): Redefine it here.
Richard M. Stallman <rms@gnu.org>
parents: 15811
diff changeset
18 #define KERNEL_FILE "/stand/vmunix"
d7c001f4e79f (KERNEL_FILE): Redefine it here.
Richard M. Stallman <rms@gnu.org>
parents: 15811
diff changeset
19
15426
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
20 #ifdef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
21 #undef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
22 #endif
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
23 #ifdef HPUX_NET
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
24 #define LIBS_SYSTEM -ln -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
25 #else
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
26 #define LIBS_SYSTEM -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
27 #endif
15708
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
28
27667
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
29 /* Rainer Malzbender <rainer@displaytech.com> says definining
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
30 HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
31 using GCC. */
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
32
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
33 #ifndef HAVE_XRMSETDATABASE
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
34 #define HAVE_XRMSETDATABASE
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
35 #endif
2f9062a74f0e (HAVE_XRMSETDATABASE): Define if not already defined.
Gerd Moellmann <gerd@gnu.org>
parents: 18390
diff changeset
36
15708
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
37 /* Make sure we get select from libc rather than from libcurses
18390
7c853eb6ad19 (LIBS_TERMCAP): Use -ltermcap instead of -lc.
Richard M. Stallman <rms@gnu.org>
parents: 16341
diff changeset
38 because libcurses on HPUX 10.10 has a broken version of select.
7c853eb6ad19 (LIBS_TERMCAP): Use -ltermcap instead of -lc.
Richard M. Stallman <rms@gnu.org>
parents: 16341
diff changeset
39 We used to use -lc -lcurses, but this may be cleaner. */
7c853eb6ad19 (LIBS_TERMCAP): Use -ltermcap instead of -lc.
Richard M. Stallman <rms@gnu.org>
parents: 16341
diff changeset
40 #define LIBS_TERMCAP -ltermcap
15811
08e349d3fa14 (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents: 15708
diff changeset
41
08e349d3fa14 (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents: 15708
diff changeset
42 #undef C_SWITCH_X_SYSTEM
08e349d3fa14 (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents: 15708
diff changeset
43 #undef LD_SWITCH_X_DEFAULT
08e349d3fa14 (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents: 15708
diff changeset
44 /* However, HPUX 10 puts Xaw and Xmu in a strange place
08e349d3fa14 (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
Richard M. Stallman <rms@gnu.org>
parents: 15708
diff changeset
45 (if you install them at all). So search that place. */
33406
9e7e6fdddf0b (C_SWITCH_X_SYSTEM): Include -I/usr/include/X11R6 and
Kenichi Handa <handa@m17n.org>
parents: 27667
diff changeset
46 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include
9e7e6fdddf0b (C_SWITCH_X_SYSTEM): Include -I/usr/include/X11R6 and
Kenichi Handa <handa@m17n.org>
parents: 27667
diff changeset
47 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R6 -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib
34683
9086eef12291 (_FILE_OFFSET_BITS): Undef again.
Gerd Moellmann <gerd@gnu.org>
parents: 34429
diff changeset
48
34693
504b055496a6 comment
Dave Love <fx@gnu.org>
parents: 34683
diff changeset
49 /* 2000-11-21: Temporarily disable Unix 98 large file support found by
504b055496a6 comment
Dave Love <fx@gnu.org>
parents: 34683
diff changeset
50 configure. It fails on HPUX 11, at least, because it enables
504b055496a6 comment
Dave Love <fx@gnu.org>
parents: 34683
diff changeset
51 header sections which lose when `static' is defined away, as it is
504b055496a6 comment
Dave Love <fx@gnu.org>
parents: 34683
diff changeset
52 on HP-UX. (You get duplicate symbol errors on linking). */
34683
9086eef12291 (_FILE_OFFSET_BITS): Undef again.
Gerd Moellmann <gerd@gnu.org>
parents: 34429
diff changeset
53
9086eef12291 (_FILE_OFFSET_BITS): Undef again.
Gerd Moellmann <gerd@gnu.org>
parents: 34429
diff changeset
54 #undef _FILE_OFFSET_BITS
46832
3e86025ff134 (C_SWITCH_SYSTEM): #undef it.
Richard M. Stallman <rms@gnu.org>
parents: 41909
diff changeset
55
3e86025ff134 (C_SWITCH_SYSTEM): #undef it.
Richard M. Stallman <rms@gnu.org>
parents: 41909
diff changeset
56 /* Don't define _BSD */
3e86025ff134 (C_SWITCH_SYSTEM): #undef it.
Richard M. Stallman <rms@gnu.org>
parents: 41909
diff changeset
57 #undef C_SWITCH_SYSTEM
48166
f4093f55e9c2 (POLLING_PROBLEM_IN_SELECT): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 46832
diff changeset
58
49892
2d5ba0c9dd66 (POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not
Juanma Barranquero <lekktu@gmail.com>
parents: 48166
diff changeset
59 /* HP-UX 10.10 seem to have problems with signals coming in
2d5ba0c9dd66 (POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not
Juanma Barranquero <lekktu@gmail.com>
parents: 48166
diff changeset
60 Causes "poll: interrupted system call" messages when Emacs is run
2d5ba0c9dd66 (POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not
Juanma Barranquero <lekktu@gmail.com>
parents: 48166
diff changeset
61 in an X window (see process.c) */
2d5ba0c9dd66 (POLLING_PROBLEM_IN_SELECT): Define POLL_INTERRUPTED_SYS_CALL, not
Juanma Barranquero <lekktu@gmail.com>
parents: 48166
diff changeset
62 #define POLL_INTERRUPTED_SYS_CALL