From owner-freebsd-commit Thu Nov 30 01:50:41 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA12415 for freebsd-commit-outgoing; Thu, 30 Nov 1995 01:50:41 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA12401 for cvs-all-outgoing; Thu, 30 Nov 1995 01:50:36 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA12386 for cvs-usrsbin-outgoing; Thu, 30 Nov 1995 01:50:31 -0800 Received: from skiddaw.elsevier.co.uk (skiddaw.elsevier.co.uk [193.131.222.60]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA12366 ; Thu, 30 Nov 1995 01:50:16 -0800 Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by skiddaw.elsevier.co.uk (8.6.12/8.6.12) with ESMTP id JAA18472; Thu, 30 Nov 1995 09:48:38 GMT Received: from isis by snowdon with SMTP (PP); Thu, 30 Nov 1995 09:45:02 +0000 Received: (from dpr@localhost) by isis (SMI-8.6/8.6.12) id JAA18536; Thu, 30 Nov 1995 09:46:50 GMT From: Paul Richards Message-Id: <199511300946.JAA18536@isis> Subject: Re: cvs commit: src/usr.sbin/config Makefile main.c To: davidg@Root.COM Date: Thu, 30 Nov 1995 09:46:50 +0000 (GMT) Cc: gibbs@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org In-Reply-To: <199511291846.KAA00293@corbin.Root.COM> from "David Greenman" at Nov 29, 95 10:46:28 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-commit@FreeBSD.ORG Precedence: bulk In reply to David Greenman who said > > The other idea is to add an option file for each supported option. Some > people don't like this because it makes adding a new option a little more > difficult (all the options would have to be listed in an options file, and > you need to add a #include plus a #ifdef to each file that uses the option). > The idea is that the option file would have a name like "option_foobar.h" or > something deterministic which would be autogenerated by config. The file > would either have the #define or it would be null (consuming no disk space > and would be relative fast access). This approach allows for fine control > over the kernel options dependency. Sounds good to me. If it makes it harder to add kernel options that's a bonus we gain as a side effect :-) -- Paul Richards. Originative Solutions Ltd. Internet: paul@netcraft.co.uk, http://www.netcraft.co.uk Phone: 0370 462071 (Mobile), +44 1225 447500 (work)