]> code.delx.au - gnu-emacs/blobdiff - src/s/hpux9.h
(LIBS_SYSTEM): Define this.
[gnu-emacs] / src / s / hpux9.h
index ff70944aa4215340ee87a3897017dd1e497c7670..6ad1cf0c423a516c9083f0fe2894a2443662a55b 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
 #undef C_SWITCH_X_SYSTEM
 #undef LD_SWITCH_X_DEFAULT
 /* However, HPUX 9 has Motif includes in a strange place.
-   So search that place.  */
-#define C_SWITCH_X_SYSTEM -I/usr/include/Motif1.2
-#define LD_SWITCH_X_DEFAULT -L/usr/lib/Motif1.2
+   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
+
+#ifndef HAVE_LIBXMU
+/* HP-UX doesn't supply Xmu.  */
+#define LIBXMU
+
+/* Unfortunately without libXmu we cannot support EditRes.  */
+#define NO_EDITRES
+#endif
+
+/* zoo@armadillo.com says we don't need -lXext in HPUX 9.  */
+#undef LIBX11_SYSTEM