On Wed, Nov 23, 2016 at 02:05:30PM +0100, Dmitrij D. Czarkoff wrote: > Antoine Jacoutot <ajacou...@bsdfrog.org> wrote: > > >> +.if ${FLAVOR:L:Mlite} > >> +TOGGLE = disable > >> +.else > >> +TOGGLE = enable > > > >Why using a variable for this? > >Wouldn't this work? > > > >.if ${FLAVOR:L:Mlite} > >CONFIGURE_ARGS += --disable-foo \ > > --disable-bar > >... > > Separate variable is supposed to allow a single list of flags, so that I would > not need to sync lists if changes are necessary.
--enable-foo needs to be explicitely set when the dependency is found by configure? -- Antoine