Subject: CVS commit: src/usr.bin/config
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 05/25/2006 22:28:38
Module Name:	src
Committed By:	cube
Date:		Thu May 25 22:28:38 UTC 2006

Modified Files:
	src/usr.bin/config: defs.h gram.y main.c mkheaders.c scan.l

Log Message:
Introduce two new statements:

    obsolete defflag <option> [, <option> [, ...]]
    obsolete defparam <option> [, <option> [, ...]]

The two statements actually do the same thing (there could be only one),
but it makes things less cryptic that way.  The optional ": deps" part of
a 'defflag' or 'defparam' still has to be dropped when it gets obsoleted.

When the user has 'options OBSOLETE_OPTION' in his configuration file, it
is ignored (that is, opt_*.h files are generated as if it wasn't there),
and the user gets a warning about it.

Bump version to 20060525.

When someone first uses that syntax in the tree, a "version 20060525"
statement should be added before its occurrence, preferably at the top
of sys/conf/files.

Suggested by Matt Thomas a few months ago.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/usr.bin/config/defs.h
cvs rdiff -r1.5 -r1.6 src/usr.bin/config/gram.y
cvs rdiff -r1.12 -r1.13 src/usr.bin/config/main.c
cvs rdiff -r1.4 -r1.5 src/usr.bin/config/mkheaders.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/config/scan.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.