On Sun, Apr 27, 2008 at 08:27:33PM -0300, Tiago Bortoletto Vaz wrote:
> On Sun, Apr 27, 2008 at 11:12:05PM +0100, Alex Owen wrote:
> > Can we AND and OR these conditions.
> > 
> > 
> > I guess OR is like this:
> > 
> > #if ARCHITECTURE amd64
> > #include <stuff>
> > #endif
> > #if MODE ubuntu
> > #include <stuff>
> > #endif
> 
> This works.
> 
> > Does nesting the if's work too?  to AND the conditions like this:
> > 
> > #if ARCHITECTURE amd64
> > #if MODE ubuntu
> > some-ubuntu-amd46-package
> > #endif
> > #endif
> 
> This doesn't work (yet). Maybe Chris is working on this, not sure.

What exactly is the proposed syntax?

cpp's syntax does not allow string values to variables.
And if we don't want to use cpp's syntax, we might as well using '#' for
anything other than a comment.

Also: should it be possible to use any environment variable, or just one
from a pre-selected list?

-- 
               Tzafrir Cohen
icq#16849755              jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to