0
|
1 /* Synched up with: FSF 19.31. */
|
|
2
|
|
3 /* system description file for hpux version 8.
|
|
4 This contains changes that were suggested "for the hp700".
|
|
5 They were not needed for the 800.
|
|
6 Our conjecture that they are needed for hpux version 8,
|
|
7 which is what runs on the 700. */
|
|
8
|
|
9 /* XEmacs change -- suggested by hamish@bnr.ca */
|
|
10 #define DONT_DEFINE_NO_REMAP /* `static' hack not needed */
|
|
11
|
|
12 #include "hpux.h"
|
|
13
|
|
14 #define HPUX8
|
|
15
|
|
16 /* XEmacs change -- suggested by hamish@bnr.ca */
|
|
17 #undef HPUX_PRE_8_0
|
|
18
|
|
19 /* XEmacs change -- Ugly, nasty kludge to prevent X11R4 Xos.h from
|
|
20 redefining struct timeval and struct timezone. */
|
|
21 #define __TIMEVAL__
|
|
22
|
|
23 #if 0 /* RMSmacs */
|
|
24 /* #### It appears that the FSF version of hpux8.h handles both
|
|
25 R4 and R5, while the XEmacs one handles only R4. Someone
|
|
26 fix this up. */
|
|
27
|
|
28 /* dob@inel.gov says HPUX 8.07 needs this. He was using X11R5, I think. */
|
163
|
29 #define LIBX11_SYSTEM "-lXext"
|
0
|
30
|
163
|
31 #define LIB_X11_LIB "-L/usr/lib/X11R5 -L/usr/lib/X11R4 -lX11"
|
|
32 #define C_SWITCH_X_SYSTEM "-I/usr/include/X11R5 -I/usr/include/X11R4"
|
|
33 #define LD_SWITCH_X_DEFAULT "-L/usr/lib/X11R5 -L/usr/lib/X11R4"
|
0
|
34 #endif
|
|
35
|
|
36 /* XEmacs change -- changed LIBX11_SYSTEM and C_SWITCH_X_SYSTEM */
|
163
|
37 #define C_SWITCH_X_SYSTEM "-I/usr/include/X11R4 -I/usr/include/Motif1.1"
|
|
38 #define LD_SWITCH_X_SYSTEM "-L/usr/lib/X11R4 -L/usr/lib/Motif1.1"
|
0
|
39
|
|
40 /* Don't use shared libraries. unexec doesn't handle them.
|
|
41 Note GCC automatically passes -a archive to ld, and it has its own
|
|
42 conflicting -a. */
|
|
43 #ifdef __GNUC__
|
|
44 /* No need to specify roundabout way of linking temacs. */
|
|
45 #define ORDINARY_LINK
|
|
46
|
|
47 #ifdef HPUX_USE_SHLIBS
|
|
48 #define LD_SWITCH_SYSTEM
|
|
49 #else
|
163
|
50 #define LD_SWITCH_SYSTEM "-Xlinker -a -Xlinker archive"
|
0
|
51 #endif
|
|
52
|
|
53 #else /* not __GNUC__ */
|
|
54
|
|
55 #if (defined(hp9000s700) || defined(__hp9000s700))
|
|
56 #ifdef HPUX_USE_SHLIBS
|
163
|
57 #define LD_SWITCH_SYSTEM "-L/lib/pa1.1"
|
0
|
58 #else
|
163
|
59 #define LD_SWITCH_SYSTEM "-a archive -L/lib/pa1.1"
|
0
|
60 #endif
|
|
61 #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
|
|
62 #ifdef HPUX_USE_SHLIBS
|
|
63 #define LD_SWITCH_SYSTEM
|
|
64 #else
|
163
|
65 #define LD_SWITCH_SYSTEM "-a archive"
|
0
|
66 #endif
|
|
67 #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
|
|
68
|
|
69 #endif /* not __GNUC__ */
|
|
70
|
|
71 /* XEmacs change */
|
|
72 #ifndef __GNUC__
|
163
|
73 #define C_SWITCH_SYSTEM "-Aa -D_HPUX_SOURCE"
|
0
|
74 #endif
|
|
75
|
|
76 /* Some hpux 8 machines seem to have TIOCGWINSZ,
|
|
77 and none have sioctl.h, so might as well define this. */
|
|
78 #define NO_SIOCTL_H
|
|
79
|
|
80 #if 0 /* autoconf should be detecting the presence or absence of
|
|
81 random and srandom now. */
|
|
82 /* If you use X11R4 you must define this. If you use
|
|
83 X11R5 you must comment this out */
|
|
84 /* #define HAVE_RANDOM */
|
|
85 #define random foo_random
|
|
86 #define srandom foo_srandom
|
|
87 #endif
|
|
88
|
|
89 #if 0 /* This seems to be spurious. */
|
|
90 /* "X11R5" on hpux8 doesn't have this function, which is supposed to exist
|
|
91 in X11R5. Maybe things will work if we just don't call it. */
|
|
92 #define NO_XRM_SET_DATABASE
|
|
93 #endif
|
|
94
|
|
95 /* Enable a special hack in XTread_socket. */
|
|
96 /* XEmacs change: we don't use this. */
|
|
97 #if 0
|
|
98 #define X_IO_BUG
|
|
99 #endif
|