1 /* Synched up with: FSF 19.31. */
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. */
9 /* XEmacs change -- suggested by hamish@bnr.ca */
10 #define DONT_DEFINE_NO_REMAP /* `static' hack not needed */
16 /* XEmacs change -- suggested by hamish@bnr.ca */
19 /* XEmacs change -- Ugly, nasty kludge to prevent X11R4 Xos.h from
20 redefining struct timeval and struct timezone. */
23 /* Don't use shared libraries. unexec doesn't handle them.
24 Note GCC automatically passes -a archive to ld, and it has its own
27 /* No need to specify roundabout way of linking temacs. */
30 #ifdef HPUX_USE_SHLIBS
31 #define LD_SWITCH_SYSTEM
33 #define LD_SWITCH_SYSTEM "-Xlinker -a -Xlinker archive"
36 #else /* not __GNUC__ */
38 #if (defined(hp9000s700) || defined(__hp9000s700))
39 #ifdef HPUX_USE_SHLIBS
40 #define LD_SWITCH_SYSTEM "-L/lib/pa1.1"
42 #define LD_SWITCH_SYSTEM "-a archive -L/lib/pa1.1"
44 #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
45 #ifdef HPUX_USE_SHLIBS
46 #define LD_SWITCH_SYSTEM
48 #define LD_SWITCH_SYSTEM "-a archive"
50 #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
52 #endif /* not __GNUC__ */
56 #define C_SWITCH_SYSTEM "-Aa -D_HPUX_SOURCE"
59 /* Some hpux 8 machines seem to have TIOCGWINSZ,
60 and none have sioctl.h, so might as well define this. */
63 #if 0 /* autoconf should be detecting the presence or absence of
64 random and srandom now. */
65 /* If you use X11R4 you must define this. If you use
66 X11R5 you must comment this out */
67 /* #define HAVE_RANDOM */
68 #define random foo_random
69 #define srandom foo_srandom
72 #if 0 /* This seems to be spurious. */
73 /* "X11R5" on hpux8 doesn't have this function, which is supposed to exist
74 in X11R5. Maybe things will work if we just don't call it. */
75 #define NO_XRM_SET_DATABASE
78 /* Enable a special hack in XTread_socket. */
79 /* XEmacs change: we don't use this. */