(terminal-composition-base-character-p): New
[bpt/emacs.git] / src / s / hpux10.h
1 /* System description file for hpux version 10.
2 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3 2008 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
21 #include "hpux9shr.h"
22
23 #define HPUX10
24
25 /* We have to go this route, rather than hpux9's approach of renaming the
26 functions via macros. The system's stdlib.h has fully prototyped
27 declarations, which yields a conflicting definition of srand48; it
28 tries to redeclare what was once srandom to be srand48. So we go
29 with HAVE_LRAND48 being defined. */
30 #undef srandom
31 #undef random
32 #undef HAVE_RANDOM
33
34 #define FORCE_ALLOCA_H
35
36 /* AlainF 20-Jul-1996 says this is right. */
37 #undef KERNEL_FILE
38 #define KERNEL_FILE "/stand/vmunix"
39
40 #ifdef LIBS_SYSTEM
41 #undef LIBS_SYSTEM
42 #endif
43 #ifdef HPUX_NET
44 #define LIBS_SYSTEM -ln -l:libdld.sl
45 #else
46 #define LIBS_SYSTEM -l:libdld.sl
47 #endif
48
49 /* Rainer Malzbender <rainer@displaytech.com> says definining
50 HAVE_XRMSETDATABASE allows Emacs to compile on HP-UX 10.20
51 using GCC. */
52
53 #ifndef HAVE_XRMSETDATABASE
54 #define HAVE_XRMSETDATABASE
55 #endif
56
57 /* Make sure we get select from libc rather than from libcurses
58 because libcurses on HPUX 10.10 has a broken version of select.
59 We used to use -lc -lcurses, but this may be cleaner. */
60 #define LIBS_TERMCAP -ltermcap
61
62 #undef C_SWITCH_X_SYSTEM
63 #undef LD_SWITCH_X_DEFAULT
64 /* However, HPUX 10 puts Xaw and Xmu in a strange place
65 (if you install them at all). So search that place. */
66 #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
67 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R6 -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib
68
69 /* 2000-11-21: Temporarily disable Unix 98 large file support found by
70 configure. It fails on HPUX 11, at least, because it enables
71 header sections which lose when `static' is defined away, as it is
72 on HP-UX. (You get duplicate symbol errors on linking). */
73
74 #undef _FILE_OFFSET_BITS
75
76 /* Don't define _BSD */
77 #undef C_SWITCH_SYSTEM
78
79 /* HP-UX 10.10 seem to have problems with signals coming in
80 Causes "poll: interrupted system call" messages when Emacs is run
81 in an X window (see process.c) */
82 #define POLL_INTERRUPTED_SYS_CALL
83
84 /* arch-tag: 1b95d569-a3c1-4fb0-8f69-fef264c17c24
85 (do not change this comment) */