home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / e20313sr.zip / emacs / 20.3.1 / src / s / hpux10.h < prev    next >
C/C++ Source or Header  |  1999-06-27  |  1KB  |  40 lines

  1. #include "hpux9shr.h"
  2.  
  3. #define HPUX10
  4.  
  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
  15.  
  16. /* AlainF 20-Jul-1996 says this is right.  */
  17. #undef KERNEL_FILE
  18. #define KERNEL_FILE "/stand/vmunix"
  19.  
  20. #ifdef LIBS_SYSTEM
  21. #undef LIBS_SYSTEM
  22. #endif
  23. #ifdef HPUX_NET
  24. #define LIBS_SYSTEM -ln -l:libdld.sl
  25. #else
  26. #define LIBS_SYSTEM -l:libdld.sl
  27. #endif
  28.  
  29. /* Make sure we get select from libc rather than from libcurses
  30.    because libcurses on HPUX 10.10 has a broken version of select.
  31.    We used to use -lc -lcurses, but this may be cleaner.  */
  32. #define LIBS_TERMCAP -ltermcap
  33.  
  34. #undef C_SWITCH_X_SYSTEM
  35. #undef LD_SWITCH_X_DEFAULT
  36. /* However, HPUX 10 puts Xaw and Xmu in a strange place
  37.    (if you install them at all).  So search that place.  */
  38. #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2 -I/usr/contrib/X11R5/include
  39. #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib
  40.