]> code.delx.au - gnu-emacs/blobdiff - src/s/esix5r4.h
(LIBS_SYSTEM): Define this.
[gnu-emacs] / src / s / esix5r4.h
index 124c9fa8b88d503b1d13d6672133f20acc344d44..d8cf0184f3a4a037412c3b6a2d8e21fe3b6b6a2d 100644 (file)
@@ -1,10 +1,24 @@
 /* Definitions for ESIX System V 4.0.4, a variant of V.4 for the 386.  */
+/* Redone by zircon!joe@uunet.uu.net (Joe Kelsey).  */
 
 #include "usg5-4.h"
 
-#define LIB_X11_LIB -lsocket -lc -lX11
-#undef LIB_STANDARD
-#define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
+#define SYSTEM_MALLOC 1
+#if defined (HAVE_XFREE386)
+# undef LIB_STANDARD
+# define LIB_STANDARD -lc
+#else
+# define LIB_X11_LIB -lsocket -lc -lX11
+# undef LIB_STANDARD
+# ifdef ORDINARY_LINK
+#   define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a
+# else
+#   define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
+# endif
 
 /* Resolve BSD string functions in X Window library from libucb.a.  */
-#define BSTRING
+# define BSTRING
+
+/* zircon!joe says this makes X windows work.  */
+# define BROKEN_FIONREAD
+#endif