[gobolinux-devel] Use flags specification
Hisham
hisham.hm at gmail.com
Sun Apr 13 04:53:44 NZST 2008
On Sat, Apr 12, 2008 at 11:01 AM, Daniele Maccari <gobo.users at gmail.com> wrote:
> Jonatan Liljedahl wrote:
> > Or something like this:
> >
> > with_gtk1=(
> > "--enable-gtk"
> > "--disable-gtk"
> > )
> >
> > or more self-documenting:
> >
> > useflag_gtk1=(
> > "with=--enable-gtk"
> > "without=--disable-gtk"
> > )
> >
> > Those would be easy parsable by bash itself...
> >
> Sure, the possibilities are infinite :D
True, but all the proposed variations just lighten the cumbersomeness
in a syntactic manner. The problem is not the size of each entry but
the number of entries and the implied maintenance issues. I find the
approach Michael described in his original post to be a good
compromise. And the $with_* variables scheme is especially smart!
-- Hisham
More information about the gobolinux-devel
mailing list