diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2016-05-31 16:56:26 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-08 11:23:38 +0300 |
commit | 53d2e8c9772eac2769d7ebec016b1c6e1748b9a4 (patch) | |
tree | 2ac04dc1d7a03a1ff77183072256fff1b48e377f /configure.ac | |
parent | 528fbfe7c10fa63142a42d3f62dcd9d694527a17 (diff) |
leaks tracer: log alive objects when receiving SIGUSR1
We don't want to automatically catch signals so use an env variable to
enable this feature.
https://bugzilla.gnome.org/show_bug.cgi?id=767857
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dc601dde3..97997928f 100644 --- a/configure.ac +++ b/configure.ac @@ -719,6 +719,13 @@ fi AC_SUBST(GST_HAVE_POSIX_TIMERS_DEFINE) AM_CONDITIONAL(GST_HAVE_POSIX_TIMERS, test "$gst_cv_posix_timers" = "yes") +dnl Check for posix signals +AC_CHECK_FUNC(signal, [ + AC_CHECK_HEADERS([signal.h], [ + AC_DEFINE(HAVE_POSIX_SIGNALS,1,[Have posix signals]) + ], [], []) +]) + AC_CACHE_CHECK(for monotonic clock, gst_cv_monotonic_clock, AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> |