XEmacs 21.2-b1
[chise/xemacs-chise.git.1] / src / s / hpux9.h
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 #ifdef __hp9000s300
35 #define C_SWITCH_SYSTEM "-Aa -D_HPUX_SOURCE"
36 #else
37 #define C_SWITCH_SYSTEM "-Ae -Wp,-H100000 +Olibcalls"
38 #endif
39 /* XEmacs: commented out
40 #else
41 #define C_SWITCH_SYSTEM "-D_BSD"
42 */
43 #endif
44
45 /* XEmacs: apparently rint() is totally broken in HPUX 9. */
46 #undef HAVE_RINT
47
48 /* XEmacs: avoid using -lcurses, to make the binary portable from 9.X to 10.X */
49 #undef LIBS_TERMCAP
50 #define LIBS_TERMCAP "-ltermcap"
51
52 /* mrb */
53 #undef LD_SWITCH_SYSTEM