Subject: config(5) ifdef usage (was: CVS commit: src/usr.bin/config)
To: Quentin Garnier <>
From: Bernd Ernesti <>
List: current-users
Date: 11/10/2007 07:54:05
Hi Quentin,

On Fri, Nov 09, 2007 at 11:41:09PM +0000, Quentin Garnier wrote:
> Module Name:	src
> Committed By:	cube
> Date:		Fri Nov  9 23:41:09 UTC 2007
> Modified Files:
> 	src/usr.bin/config: config.5 defs.h scan.l
> Log Message:
> Add support for "ifdef <attribute>" blocks.  It goes like this:
> ifdef <attr> / ifndef <attr>
> elifdef <attr>
> elifndef <attr>
> else
> endif

Hmm, can you give some example about how <attr> can be used right now?
The manpage mentions something about 'define' where I only see a few
in e.g. files.i386.
The other usage is about 'any other statement that implicitely defines
attributes such as device' which I don't know how to use in this context.