"Randy.Dunlap" wrote:
> 
> Is there a simple, clean way to assign one tristate value to
> another one?  Instead of having to do something like:
> 
>     if [ "$CONFIG_PARPORT_PC" = "y" ]; then
>         define_tristate CONFIG_PARPORT_PC_CML1 y
>     else
>         if [ "$CONFIG_PARPORT_PC" = "m" ]; then
>            define_tristate CONFIG_PARPORT_PC_CML1 m
>         fi
>    fi

Not AFAICT.  This is one case where the language spec forbids a useful
construct that mostly works.

Greg.
-- 
the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down.     - Roger Sandall, The Age, 28Sep2001.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to