Subject: Re: Problem with make and signal.h
To: Alan Barrett <apb@cequrux.com>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 04/09/2003 02:43:07
On Sun, Apr 06, 2003 at 06:17:10PM +0200, Alan Barrett wrote:
  | On Sun, 06 Apr 2003, Manuel Bouyer wrote:
  | > You should use -E only if you really know what you're doing.
  | 
  | But many non-experts seem to use expert mode, and then complain when
  | they mess it up.  Perhaps this patch would help?

Good idea.   I'll look at doing something like this "soon" (when I get
some free time).


  | 
  | --- build.sh	14 Mar 2003 05:22:50 -0000	1.95
  | +++ build.sh	6 Apr 2003 16:15:26 -0000
  | @@ -57,6 +57,9 @@
  |  ERROR: $@
  |  *** BUILD ABORTED ***
  |  ERRORMESSAGE
  | +	if ${do_expertmode:-false} ; then
  | +	    echo >&2 "*** You used expert mode (-E).  Are you really an expert?"
  | +	fi
  |  	kill $toppid		# in case we were invoked from a subshell
  |  	exit 1
  |  }
  | @@ -266,7 +269,8 @@
  |      -a arch	Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
  |      -B buildId	Set BUILDID to buildId
  |      -D dest	Set DESTDIR to dest
  | -    -E		Set "expert" mode; disables some DESTDIR checks
  | +    -E		Set "expert" mode; disables some DESTDIR checks.
  | +		Should not be used by non-experts.
  |      -j njob	Run up to njob jobs in parallel; see make(1)
  |      -M obj	Set obj root directory to obj (sets MAKEOBJDIRPREFIX)
  |      -m mach	Set MACHINE to mach (not required if NetBSD native)
  | 
  | 
  | --apb (Alan Barrett)