Add arch taglines
[bpt/emacs.git] / src / s / hpux8.h
CommitLineData
20c428fd
JB
1/* system description file for hpux version 8.
2 This contains changes that were suggested "for the hp700".
3 They were not needed for the 800.
4 Our conjecture that they are needed for hpux version 8,
5 which is what runs on the 700. */
6
d4327fec
JB
7#define HPUX8
8
6d18dc40
RS
9#include "hpux.h"
10
077cc1d5
RS
11/* dob@inel.gov says HPUX 8.07 needs this. He was using X11R5, I think. */
12#define LIBX11_SYSTEM -lXext
13
c12710e9 14#define LIB_X11_LIB -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lX11
31ba73cb 15#define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/X11R4
88ae6b1a 16#define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/X11R4
20c428fd 17
baacd422
RS
18/* Don't use shared libraries. unexec doesn't handle them.
19 Note GCC automatically passes -a archive to ld, and it has its own
20 conflicting -a. */
21#ifdef __GNUC__
baacd422
RS
22/* No need to specify roundabout way of linking temacs. */
23#define ORDINARY_LINK
235c56d4
RS
24
25#ifdef HPUX_USE_SHLIBS
f3216838 26#define LD_SWITCH_SYSTEM_TEMACS
235c56d4 27#else
f3216838 28#define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive
dd0a39d6 29#endif
055e9517 30
235c56d4 31#else /* not __GNUC__ */
f3216838
RS
32/* Note, -a only works for hpux ld, not cc. And "cc LD_SWITCH_SYSTEM"
33 is used in configure's $ac_link to do various autoconf checks.
34 Since we only need -a when unexec'ing, only pass in -a to
35 "ld temacs" (ghazi@caip.rutgers.edu 7/10/97). */
235c56d4 36#if (defined(hp9000s700) || defined(__hp9000s700))
afce6ded 37#ifdef HPUX_USE_SHLIBS
f3216838 38#define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1
afce6ded 39#else
f3216838 40#define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1
afce6ded 41#endif
235c56d4 42#else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
afce6ded 43#ifdef HPUX_USE_SHLIBS
f3216838 44#define LD_SWITCH_SYSTEM_TEMACS
afce6ded 45#else
f3216838 46#define LD_SWITCH_SYSTEM_TEMACS -a archive
ed4c1005 47#endif
235c56d4
RS
48#endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
49#endif /* not __GNUC__ */
2cb20a51
JB
50
51/* Some hpux 8 machines seem to have TIOCGWINSZ,
52 and none have sioctl.h, so might as well define this. */
53#define NO_SIOCTL_H
b231f8a7 54
177c0ea7 55#if 0 /* autoconf should be detecting the presence or absence of
164aeafe 56 random and srandom now. */
34aab307
JB
57/* If you use X11R4 you must define this. If you use
58 X11R5 you must comment this out */
59/* #define HAVE_RANDOM */
22ff8740
RS
60#define random foo_random
61#define srandom foo_srandom
164aeafe 62#endif
22ff8740
RS
63
64#if 0 /* This seems to be spurious. */
65/* "X11R5" on hpux8 doesn't have this function, which is supposed to exist
66 in X11R5. Maybe things will work if we just don't call it. */
67#define NO_XRM_SET_DATABASE
68#endif
03ef6685
RS
69
70/* Enable a special hack in XTread_socket. */
71#define X_IO_BUG
ab5796a9
MB
72
73/* arch-tag: 25fafe5c-b26c-43ab-8144-1629d59207ee
74 (do not change this comment) */