[...] framework Foundation is required on Darwin to include the base classes (NSAutoreleasePool and NSBundle, for example).
But do you need these classes? On non-Darwin?
If special linker options are needed on Darwin, these should be no problem testing for them in the configure script.