comparison src/s/hpux9.h @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children ac2d302a0011
comparison
equal deleted inserted replaced
-1:000000000000 0:376386a54a3c
1 /* Synched up with: FSF 19.31. */
2
3 /* System description file for hpux version 9. */
4
5 #include "hpux8.h"
6
7 #define HPUX9
8
9 /* If Emacs doesn't seem to work when built to use GNU malloc, you
10 probably need to get the latest patches to the HP/UX compiler.
11 See `etc/MACHINES' for more information. */
12 #if 0
13 #define SYSTEM_MALLOC 1
14 #undef GNU_MALLOC
15 #undef REL_ALLOC
16 #endif
17
18 /* cc1: warning: `-g' not supported by this configuration of GCC
19 #### Still needs to be fixed in a more general way... */
20 #if 0
21 #ifdef __GNUC__
22 #undef C_DEBUG_SWITCH
23 #define C_DEBUG_SWITCH
24 #endif
25 #endif
26
27 #ifndef __GNUC__
28 /* Make room for enough symbols, so dispnew.c does not fail. */
29 /* XEmacs: cognot@ensg.u-nancy.fr: C_SWITCH_SYSTEM already defined in hpux8.h,
30 -D_BSD makes hp CC choke on process.c
31 #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD
32 */
33 #undef C_SWITCH_SYSTEM
34 #define C_SWITCH_SYSTEM -Ae -Wp,-H100000
35 /* XEmacs: commented out
36 #else
37 #define C_SWITCH_SYSTEM -D_BSD
38 */
39 #endif
40
41 /* neal@ctd.comsat.com */
42 #define NO_TERMIO
43
44 /* According to ngorelic@speclab.cr.usgs.gov,
45 references to the X11R4 directories in these variables
46 (inherited from hpux8.h)
47 cause the wrong libraries to be found,
48 and the options to specify the X11R5 directories are unnecessary
49 since the R5 files are found without them. */
50 #undef LIB_X11_LIB
51 #undef C_SWITCH_X_SYSTEM
52 #undef LD_SWITCH_X_SYSTEM
53 /* However, HPUX 9 has Motif includes in a strange place.
54 So search that place. These definitions assume that X11R5 is being
55 used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */
56 /* XEmacs change: Change LD_SWITCH_X_DEFAULT to LD_SWITCH_X_SYSTEM.
57 #### Why do we need to make this change? */
58 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2
59 #define LD_SWITCH_X_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
60
61 #ifndef HAVE_LIBXMU
62 /* HP-UX doesn't supply Xmu. */
63 #define LIBXMU
64
65 /* Unfortunately without libXmu we cannot support EditRes. */
66 #define NO_EDITRES
67 #endif
68
69 /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */
70 #undef LIBX11_SYSTEM
71
72 /* XEmacs: apparently rint() is totally broken in HPUX 9. */
73 #undef HAVE_RINT
74