15425
|
1 #include "hpux9shr.h"
|
|
2
|
15457
|
3 #define HPUX10
|
|
4
|
15425
|
5 /* We have to go this route, rather than hpux9's approach of renaming the
|
|
6 functions via macros. The system's stdlib.h has fully prototyped
|
|
7 declarations, which yields a conflicting definition of srand48; it
|
|
8 tries to redeclare what was once srandom to be srand48. So we go
|
|
9 with HAVE_LRAND48 being defined. */
|
|
10 #undef srandom
|
|
11 #undef srand48
|
|
12 #undef HAVE_RANDOM
|
|
13 #define HPUX10
|
|
14 #define FORCE_ALLOCA_H
|
15426
|
15
|
|
16 #ifdef LIBS_SYSTEM
|
|
17 #undef LIBS_SYSTEM
|
|
18 #endif
|
|
19 #ifdef HPUX_NET
|
|
20 #define LIBS_SYSTEM -ln -l:libdld.sl
|
|
21 #else
|
|
22 #define LIBS_SYSTEM -l:libdld.sl
|
|
23 #endif
|
15708
|
24
|
|
25 /* Make sure we get select from libc rather than from libcurses
|
|
26 because libcurses on HPUX 10.10 has a broken version of select. */
|
|
27 #define LIBS_TERMCAP -lc -lcurses
|
15811
|
28
|
|
29 #undef C_SWITCH_X_SYSTEM
|
|
30 #undef LD_SWITCH_X_DEFAULT
|
|
31 /* However, HPUX 10 puts Xaw and Xmu in a strange place
|
|
32 (if you install them at all). So search that place. */
|
|
33 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2 -I/usr/contrib/X11R5/include
|
|
34 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib
|