[gobolinux-devel] Use flags specification
Daniele Maccari
gobo.users at gmail.com
Sun Apr 13 02:01:43 NZST 2008
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
I proposed the single array to be more concise and don't fill the recipe
with "with_<this>" and "with_<that>" arrays. Anyway the important thing
is to let useflags override configure.
> And as said in previous post, we also need a not_using_<flag>() function
> for more complex cases.
What would you use that for? Wouldn't pre_* and post_* hooks be enough
for standard behaviour?
More information about the gobolinux-devel
mailing list