Commit | Line | Data |
---|---|---|
c1f4f81a | 1 | /* System description file for hpux version 9. */ |
7bca6845 JB |
2 | |
3 | #include "hpux8.h" | |
4 | ||
5 | #define HPUX9 | |
6 | ||
869fcb70 JB |
7 | /* If Emacs doesn't seem to work when built to use GNU malloc, you |
8 | probably need to get the latest patches to the HP/UX compiler. | |
9 | See `etc/MACHINES' for more information. */ | |
f478c160 | 10 | #if 0 |
7bca6845 JB |
11 | #define SYSTEM_MALLOC 1 |
12 | #undef GNU_MALLOC | |
13 | #undef REL_ALLOC | |
f478c160 | 14 | #endif |
ad8b9400 | 15 | |
ed8f1660 | 16 | #ifndef __GNUC__ |
ad8b9400 | 17 | /* Make room for enough symbols, so dispnew.c does not fail. */ |
50ca2717 | 18 | #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD |
930c87d7 RS |
19 | #else |
20 | #define C_SWITCH_SYSTEM -D_BSD | |
ed8f1660 | 21 | #endif |
5568392f | 22 | |
7a6dde27 RS |
23 | #if 0 /* These definitions run into a bug in hpux |
24 | whereby trying to disable the vdsusp character has no effect. | |
25 | supposedly there is no particular need for this. */ | |
5568392f RS |
26 | /* neal@ctd.comsat.com */ |
27 | #undef HAVE_TERMIO | |
28 | #define HAVE_TERMIOS | |
29 | #define NO_TERMIO | |
7a6dde27 | 30 | #endif |
0dee0e2d RS |
31 | |
32 | /* According to ngorelic@speclab.cr.usgs.gov, | |
8e6208c5 | 33 | references to the X11R4 directories in these variables |
0dee0e2d RS |
34 | (inherited from hpux8.h) |
35 | cause the wrong libraries to be found, | |
36 | and the options to specify the X11R5 directories are unnecessary | |
37 | since the R5 files are found without them. */ | |
38 | #undef LIB_X11_LIB | |
39 | #undef C_SWITCH_X_SYSTEM | |
40 | #undef LD_SWITCH_X_DEFAULT | |
8101ff7f | 41 | /* However, HPUX 9 has Motif includes in a strange place. |
a699ec6d RS |
42 | So search that place. These definitions assume that X11R5 is being |
43 | used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */ | |
024dfb8c RS |
44 | /* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs |
45 | are needed to find the Xmu and Xaw libraries. */ | |
46 | #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2 | |
47 | #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2 | |
a699ec6d | 48 | |
d595ec09 | 49 | #ifndef HAVE_LIBXMU |
b985297a | 50 | /* HP-UX doesn't supply Xmu. */ |
a699ec6d | 51 | #define LIBXMU |
b985297a | 52 | |
d595ec09 | 53 | #endif |
8a822d6a | 54 | |
44cd3ae5 GM |
55 | /* Assar Westerlund <assar@sics.se> says this is necessary for |
56 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ | |
57 | #define NO_EDITRES | |
58 | ||
8a822d6a RS |
59 | /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */ |
60 | #undef LIBX11_SYSTEM | |
93b649d3 RS |
61 | |
62 | /* Tested in getloadavg.c. */ | |
63 | #define HAVE_PSTAT_GETDYNAMIC | |
994de0ac RS |
64 | |
65 | /* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines | |
66 | has a broken `rint' in some library versions including math library | |
67 | version number A.09.05. | |
68 | ||
69 | You can fix the math library by installing patch number PHSS_4630. | |
70 | But we can fix it more reliably for Emacs like this. */ | |
71 | #undef HAVE_RINT | |
72 | ||
73 | ||
6b61353c KH |
74 | /* arch-tag: 0a5e9f05-012c-4962-a222-a7a3a7fe0ab7 |
75 | (do not change this comment) */ |