changeset 2413:b477af00fb87

[USG5_4]: Alternate defining of LIBS_SYSTEM, LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.
author Richard M. Stallman <rms@gnu.org>
date Mon, 29 Mar 1993 01:41:58 +0000
parents b3ea1323d6d1
children 9994dd2e75c9
files src/m/delta88k.h
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/delta88k.h	Sun Mar 28 22:56:29 1993 +0000
+++ b/src/m/delta88k.h	Mon Mar 29 01:41:58 1993 +0000
@@ -143,7 +143,11 @@
  * we have the wrong name for networking libs
  */
 #undef LIBX11_SYSTEM
+#ifdef USG5_4
+#define LIBX11_SYSTEM -lX11
+#else
 #define LIBX11_SYSTEM -lnsl -lbsd
+#endif /* USG5_4 */
 
 /* 
  * we have Berkeley style <sys/time.h>
@@ -160,8 +164,20 @@
  */
 #define USE_UTIME
 
+#ifdef USG5_4
+#define LIBS_SYSTEM -lsocket -lnsl 
+#else
 #define LIBS_SYSTEM -lbsd -lg
+#endif /* USG5_4 */
 
 #define NEED_TERMIOS
 
 #define NO_SIOCTL_H
+
+#ifdef USG5_4
+#ifdef HAVE_X_WINDOWS
+#define HAVE_RANDOM
+#else
+#undef BSTRING
+#endif /* HAVE_X_WINDOWS */
+#endif /* USG5_4 */