0
|
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
|
2
|
34 # ifdef __hp9000s300
|
|
35 # define C_SWITCH_SYSTEM -Aa -D_HPUX_SOURCE
|
|
36 # else
|
|
37 # define C_SWITCH_SYSTEM -Ae -Wp,-H100000
|
|
38 # endif
|
0
|
39 /* XEmacs: commented out
|
|
40 #else
|
|
41 #define C_SWITCH_SYSTEM -D_BSD
|
|
42 */
|
|
43 #endif
|
|
44
|
|
45 /* neal@ctd.comsat.com */
|
|
46 #define NO_TERMIO
|
|
47
|
|
48 /* According to ngorelic@speclab.cr.usgs.gov,
|
|
49 references to the X11R4 directories in these variables
|
|
50 (inherited from hpux8.h)
|
|
51 cause the wrong libraries to be found,
|
|
52 and the options to specify the X11R5 directories are unnecessary
|
|
53 since the R5 files are found without them. */
|
|
54 #undef LIB_X11_LIB
|
|
55 #undef C_SWITCH_X_SYSTEM
|
|
56 #undef LD_SWITCH_X_SYSTEM
|
|
57 /* However, HPUX 9 has Motif includes in a strange place.
|
|
58 So search that place. These definitions assume that X11R5 is being
|
|
59 used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */
|
|
60 /* XEmacs change: Change LD_SWITCH_X_DEFAULT to LD_SWITCH_X_SYSTEM.
|
|
61 #### Why do we need to make this change? */
|
|
62 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2
|
|
63 #define LD_SWITCH_X_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
|
|
64
|
|
65 #ifndef HAVE_LIBXMU
|
|
66 /* HP-UX doesn't supply Xmu. */
|
|
67 #define LIBXMU
|
|
68
|
|
69 /* Unfortunately without libXmu we cannot support EditRes. */
|
|
70 #define NO_EDITRES
|
|
71 #endif
|
|
72
|
|
73 /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */
|
|
74 #undef LIBX11_SYSTEM
|
|
75
|
|
76 /* XEmacs: apparently rint() is totally broken in HPUX 9. */
|
|
77 #undef HAVE_RINT
|
|
78
|
2
|
79 /* XEmacs addition */
|
|
80 #ifndef OBJECTS_SYSTEM
|
|
81 #define OBJECTS_SYSTEM strcat.o
|
|
82 #endif
|