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. */
11 /* dob@inel.gov says HPUX 8.07 needs this. He was using X11R5, I think. */
12 #define LIBX11_SYSTEM -lXext
14 #define LIB_X11_LIB -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lX11
15 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/X11R4
16 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/X11R4
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
22 /* No need to specify roundabout way of linking temacs. */
25 #ifdef HPUX_USE_SHLIBS
26 #define LD_SWITCH_SYSTEM_TEMACS
28 #define LD_SWITCH_SYSTEM_TEMACS -Xlinker -a -Xlinker archive
31 #else /* not __GNUC__ */
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). */
36 #if (defined(hp9000s700) || defined(__hp9000s700))
37 #ifdef HPUX_USE_SHLIBS
38 #define LD_SWITCH_SYSTEM_TEMACS -L/lib/pa1.1
40 #define LD_SWITCH_SYSTEM_TEMACS -a archive -L/lib/pa1.1
42 #else /* not (defined(hp9000s700) || defined(__hp9000s700)) */
43 #ifdef HPUX_USE_SHLIBS
44 #define LD_SWITCH_SYSTEM_TEMACS
46 #define LD_SWITCH_SYSTEM_TEMACS -a archive
48 #endif /* not (defined(hp9000s700) || defined(__hp9000s700)) */
49 #endif /* not __GNUC__ */
51 /* Some hpux 8 machines seem to have TIOCGWINSZ,
52 and none have sioctl.h, so might as well define this. */
55 #if 0 /* autoconf should be detecting the presence or absence of
56 random and srandom now. */
57 /* If you use X11R4 you must define this. If you use
58 X11R5 you must comment this out */
59 /* #define HAVE_RANDOM */
60 #define random foo_random
61 #define srandom foo_srandom
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
70 /* Enable a special hack in XTread_socket. */