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

  1. /* System description file for hpux version 9.  */
  2.  
  3. #include "hpux8.h"
  4.  
  5. #define HPUX9
  6.  
  7. /* If Emacs doesn't seem to work when built to use GNU malloc, you
  8.    probably need to get the latest patches to the HP/UX compiler.
  9.    See `etc/MACHINES' for more information.  */
  10. #if 0
  11. #define SYSTEM_MALLOC 1
  12. #undef GNU_MALLOC
  13. #undef REL_ALLOC
  14. #endif
  15.  
  16. #ifndef __GNUC__
  17. /* Make room for enough symbols, so dispnew.c does not fail.  */
  18. #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD
  19. #else
  20. #define C_SWITCH_SYSTEM -D_BSD
  21. #endif
  22.  
  23. #if 0 /* These definitions run into a bug in hpux
  24.      whereby trying to disable the vdsusp character has no effect.
  25.      supposedly there is no particular need for this.  */
  26. /* neal@ctd.comsat.com */
  27. #undef HAVE_TERMIO
  28. #define HAVE_TERMIOS
  29. #define NO_TERMIO
  30. #endif
  31.  
  32. /* According to ngorelic@speclab.cr.usgs.gov,
  33.    references to the X11R4 directories in these variables
  34.    (inherited from hpux8.h)
  35.    cause the wrong libraries to be found,
  36.    and the options to specify the X11R5 directories are unnecessary
  37.    since the R5 files are found without them.  */
  38. #undef LIB_X11_LIB
  39. #undef C_SWITCH_X_SYSTEM
  40. #undef LD_SWITCH_X_DEFAULT
  41. /* However, HPUX 9 has Motif includes in a strange place.
  42.    So search that place.  These definitions assume that X11R5 is being
  43.    used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead.  */
  44. /* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs
  45.    are needed to find the Xmu and Xaw libraries.  */
  46. #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2
  47. #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2
  48.  
  49. #ifndef HAVE_LIBXMU
  50. /* HP-UX doesn't supply Xmu.  */
  51. #define LIBXMU
  52.  
  53. /* Unfortunately without libXmu we cannot support EditRes.  */
  54. #define NO_EDITRES
  55. #endif
  56.  
  57. /* zoo@armadillo.com says we don't need -lXext in HPUX 9.  */
  58. #undef LIBX11_SYSTEM
  59.  
  60. /* Tested in getloadavg.c.  */
  61. #define HAVE_PSTAT_GETDYNAMIC
  62.  
  63. /* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines
  64.    has a broken `rint' in some library versions including math library
  65.    version number A.09.05.
  66.  
  67.    You can fix the math library by installing patch number PHSS_4630.
  68.    But we can fix it more reliably for Emacs like this. */
  69. #undef HAVE_RINT
  70.  
  71.  
  72.