Fix rules for --with-<flavor> in configure.in

no flags: build all detected flavors
--with-foo: build only flavor foo, even if other flavors could be built
--without-foo: build all detected flavors except foo
--with-foo --without-bar: just as if only --with-foo were supplied