Sync to HEAD
[bpt/emacs.git] / src / s / hpux9.h
index f6e81cd..7562c6a 100644 (file)
@@ -30,7 +30,7 @@
 #endif
 
 /* According to ngorelic@speclab.cr.usgs.gov,
-   references to the X11R4 directoriess in these variables
+   references to the X11R4 directories in these variables
    (inherited from hpux8.h)
    cause the wrong libraries to be found,
    and the options to specify the X11R5 directories are unnecessary
 /* However, HPUX 9 has Motif includes in a strange place.
    So search that place.  These definitions assume that X11R5 is being
    used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead.  */
-#define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2
-#define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
+/* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs
+   are needed to find the Xmu and Xaw libraries.  */
+#define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2
+#define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2
 
 #ifndef HAVE_LIBXMU
 /* HP-UX doesn't supply Xmu.  */
 #define LIBXMU
 
-/* Unfortunately without libXmu we cannot support EditRes.  */
-#define NO_EDITRES
 #endif
 
+/* Assar Westerlund <assar@sics.se> says this is necessary for
+   HP-UX 10.20, and that it works for HP-UX 0 as well.  */
+#define NO_EDITRES
+
 /* zoo@armadillo.com says we don't need -lXext in HPUX 9.  */
 #undef LIBX11_SYSTEM
+
+/* Tested in getloadavg.c.  */
+#define HAVE_PSTAT_GETDYNAMIC
+
+/* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines
+   has a broken `rint' in some library versions including math library
+   version number A.09.05.
+
+   You can fix the math library by installing patch number PHSS_4630.
+   But we can fix it more reliably for Emacs like this. */
+#undef HAVE_RINT
+
+
+/* arch-tag: 0a5e9f05-012c-4962-a222-a7a3a7fe0ab7
+   (do not change this comment) */