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? _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
- [gobolinux-devel] Use flags specification Michael Homer
- Re: [gobolinux-devel] Use flags specification Jonatan Liljedahl
- Re: [gobolinux-devel] Use flags specification Jonatan Liljedahl
- Re: [gobolinux-devel] Use flags specificati... Michael Homer
- Re: [gobolinux-devel] Use flags specification Daniele Maccari
- Re: [gobolinux-devel] Use flags specificati... Jonatan Liljedahl
- Re: [gobolinux-devel] Use flags specifi... Daniele Maccari
- Re: [gobolinux-devel] Use flags sp... Jonatan Liljedahl
- Re: [gobolinux-devel] Use flag... Daniele Maccari
- Re: [gobolinux-devel] Use flags sp... Hisham
- Re: [gobolinux-devel] Use flag... Daniele Maccari
- Re: [gobolinux-devel] Use ... Hisham
- Re: [gobolinux-devel] Use ... Daniele Maccari
- Re: [gobolinux-devel] Use ... Michael Homer
- Re: [gobolinux-devel] Use ... Daniele Maccari
- Re: [gobolinux-devel] Use ... Jonatan Liljedahl
- Re: [gobolinux-devel] Use ... Michael Homer