WIP: Check and use an Objective C compiler on macOS

Emmanuele Bassi requested to merge objc-check into master

When using Autotools.

We're already implicitly doing so, by using -xobjective-c, but we should simply use .m files and check if we have an Objective C compiler available (which almost certainly is the case, on macOS), without having a hard dependency on it.

Merge request reports