(LD_SWITCH_SYSTEM): New definition.
[emacs.git] / src / s / hpux10.h
blob0c399f312943d650385c6dfc067d14bac3b4ba2f
1 #include "hpux9shr.h"
3 #define HPUX10
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
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
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
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