From owner-cvs-sys Sat Dec 7 12:20:57 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA09007 for cvs-sys-outgoing; Sat, 7 Dec 1996 12:20:57 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA08991; Sat, 7 Dec 1996 12:20:50 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id HAA02514; Sun, 8 Dec 1996 07:16:51 +1100 Date: Sun, 8 Dec 1996 07:16:51 +1100 From: Bruce Evans Message-Id: <199612072016.HAA02514@godzilla.zeta.org.au> To: peter@spinner.dialix.com, wollman@lcs.mit.edu Subject: Re: cvs commit: src/sys/i386/include endian.h Cc: bde@zeta.org.au, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, dyson@freebsd.org, toor@dyson.iquest.net Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> I would also like to see all "unrecognised" options go into opt_global.h >I believe that this is a really, really bad idea. Sometimes, it is >necessary to create an option with the specific intent that the >programmer will be able to enable/disable it on a file-by-file basis >by tweaking the Makefile and/or compiler command line. DIAGNOSTIC is >the prime example of this sort of option---most of the time you >/don't/ want it to be on in a part of the kernel other than what >you're working on, and you'll probably do something like `make CC="cc >-DDIAGNOSTIC"' to ensure that this is so. This would still work because DIAGNOSTIC would be not be "unrecognised" if it is not configured. Turning off options that are usually on is harder. Bruce