diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-21 09:00:22 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-21 23:51:36 +0530 |
commit | 97f39cae6367390a7d3a216f851ab5946b61b329 (patch) | |
tree | d7b6c1f95c2e11a25d4150665b12aba7e18a416f /plugins | |
parent | 2cc2fd7b771adab206cea7f574aaf745f5416782 (diff) |
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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/tracers/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tracers/meson.build b/plugins/tracers/meson.build index 76adb0b2a..5227a1afa 100644 --- a/plugins/tracers/meson.build +++ b/plugins/tracers/meson.build @@ -9,7 +9,7 @@ if not disable_gst_debug gst_tracers_sources += ['gstlog.c'] endif -if have_getrusage +if cdata.has('HAVE_GETRUSAGE') gst_tracers_sources += ['gstrusage.c'] endif |