https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48626
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #5) > (In reply to Eric Gallager from comment #4) > > (In reply to Eric Gallager from comment #3) > > .... detecting things > > automatically instead of requiring additional flags; I'm not quite sure how > > to go about making this one automatic now that boehm-gc is no longer > > in-tree, though. detecting automatically (i.e. if the library is in one of the default search paths) != building automatically (e.g. when it was in tree, it would be built if objc was configured). So, in this instance, you could default --enable-objc-gc "on" for darwin, if the configure machinery [for objc-gc] can cope gracefully with the library being present or absent.