annotate src/s/hpux9.h @ 2:ac2d302a0011 r19-15b2

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