$NetBSD: patch-bs,v 1.2 2005/05/29 14:38:33 wiz Exp $

--- progs/glush/config.h.orig	1997-11-05 21:43:59.000000000 +0100
+++ progs/glush/config.h
@@ -38,7 +38,7 @@
  *		Note that some machines eg. rs6000 have a vfork, but not
  *		with the berkeley semantics, so we cannot use it there either.
  */
-#undef VFORK
+#define VFORK
 
 /*
  * BSDJOBS	You have BSD-style job control (both process groups and
@@ -51,14 +51,14 @@
  *		Note: POSIX systems should not define this unless they
  *		have sigvec() and friends (ie: 4.3BSD-RENO, HP-UX).
  */
-#undef BSDSIGS
+#define BSDSIGS
 
 /*
  * BSDTIMES	You have BSD-style process time stuff (like rusage)
  *		This may or may not be true.  For example, Apple Unix
  *		(OREO) has BSDJOBS and BSDSIGS but not BSDTIMES.
  */
-#undef BSDTIMES
+#define BSDTIMES
 
 /*
  * BSDLIMIT	You have BSD-style resource limit stuff (getrlimit/setrlimit)
@@ -69,7 +69,7 @@
  * BSDNICE	Your system uses setpriority() instead of nice, to
  *		change a processes scheduling priority
  */
-#undef BSDNICE
+#define BSDNICE
 
 /*
  * TERMIO	You have struct termio instead of struct sgttyb.
@@ -83,10 +83,10 @@
  * SYSVREL	Your machine is SYSV based (HPUX, A/UX)
  *		NOTE: don't do this if you are on a Pyramid -- tcsh is
  *		built in a BSD universe.
- *		Set SYSVREL to 1, 2, or 3, depending the version of System V
+ *		Set SYSVREL to 1, 2, 3, or 4, depending the version of System V
  *		you are running. Or set it to 0 if you are not SYSV based
  */
-#define SYSVREL	4
+#define SYSVREL	0
 
 /*
  * YPBUGS	Work around Sun YP bugs that cause expansion of ~username
@@ -106,47 +106,16 @@
 #define HAVEDUP2
 
 /*
- * HAVEUTMPX	Define if you have extended utmp (utmpx).
- *		(common for svr4 systems)
- */
-#define HAVEUTMPX
-
-/*
  * UTHOST	Does the utmp file have a host field?
  */
-#ifdef HAVEUTMPX
-# define UTHOST
-#else
-# undef UTHOST
-#endif /* HAVEUTMPX */
+#define UTHOST
 
 /*
  * DIRENT	Your system has <dirent.h> instead of <sys/dir.h>
  */
 #define DIRENT
-
-/*
- * ECHO_STYLE	Optionally change the behavior of the builtin echo
- *		BOTH_ECHO: Support both bsd options (-n) and sysv escapes (\nnn)
- *		BSD_ECHO:  Support only -n
- *		SYSV_ECHO: Support only sysv escapes (\nnn)
- *		NONE_ECHO: Pure echo.
- */
-#define ECHO_STYLE BSD_ECHO	/* BSD options only */
-
 /****************** local defines *********************/
-#ifndef BSDTIMES
-# define NEEDgethostname
-#endif
-/*
- * Shadow passwd file
- */
-#define PW_SHADOW
-
-#define SOLARIS2 23
-
 /****************** configurable hacks ****************/
 /* have been moved to config_f.h */
 #include "config_f.h"
-
 #endif /* _h_config */
