On 7 December 2011 07:47, Andrzej Zaborowski <balr...@gmail.com> wrote: > Cocoa can only be enabled on Darwin, and is enabled by default too, > making --enable-cocoa redundant, with no way to disable Cocoa. It > also interfered with SDL support in a way that was dependent on > the order of commandline switches.
For these --enable/disable pairs I quite like the pattern where * default is "probe and use if available" * --enable-foo is "use foo, fail configure if not available" * --disable-foo is "don't use foo" (--enable-sdl/--disable-sdl work like this, for instance). [cf the comment in configure at line 100.] Incidentally, is it "Cocoa" or "COCOA" ? -- PMM