Subject: Re: config: inter-options dependencies ?
To: None <tech-toolchain@netbsd.org, dolecek@ics.muni.cz>
From: Wolfgang Solfrank <ws@tools.de>
List: tech-toolchain
Date: 09/08/1999 17:25:57
Hi,

> is it possible to make config(1) define an option when some other
> option is specified in the passed config file ? I don't see anything
> like that in syssrc/conf/files.
> I'd like, for example, define COMPAT_13 when COMPAT_FREEBSD is defined
> or similar kind of things.

Yes, try something like this:

defopt	COMPAT_FREEBSD : COMPAT_13

However, what doesn't work currently is specifying mutual dependencies.
And while we are at it, another thing is that string valued options will
not work properly if defopt'ed.  I've fixes for both and was meaning
to merge them, but lack of time...  Anyone needing them please bug me :-).

Ciao,
Wolfgang
-- 
ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800