meson: Derive defines from header/function names
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Dec 2016 03:30:22 +0000 (09:00 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Dec 2016 18:21:36 +0000 (23:51 +0530)
commit97f39cae6367390a7d3a216f851ab5946b61b329
treed7b6c1f95c2e11a25d4150665b12aba7e18a416f
parent2cc2fd7b771adab206cea7f574aaf745f5416782
meson: Derive defines from header/function names

This is what Autoconf already does for us, so just do this. Avoids
people making typos while adding header or function checks. Because we
use a config.h.meson, such typos won't even be noticed.

Also, starting from Meson 0.36.0, the XCode 8 workaround that we use for
clock_gettime is no longer needed.
meson.build
plugins/tracers/meson.build