[Exherbo-dev] default_src_configure extras

Ciaran McCreesh ciaran.mccreesh at blueyonder.co.uk
Mon Feb 4 03:32:07 GMT 2008


We have a lot of src_configures that just do econf $(option_enable
blah ) or econf --blah. Perhaps we should make default_src_configure a
bit smarter?

default_src_configure() {
    econf \
        ${DEFAULT_SRC_CONFIGURE_PARAMS} \
        $(for s in ${DEFAULT_SRC_CONFIGURE_OPTION_ENABLES} ; do \
            $(option_enable $s ) ; \
        done )
}

Both vars would be set in global scope, and so must be metadata
invariant, hence the OPTION_ENABLES var.

Worthwhile?

-- 
Ciaran McCreesh



More information about the Exherbo-dev mailing list