libcheck: Update the compatibility code and checks
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 9 Dec 2016 09:48:11 +0000 (15:18 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Fri, 9 Dec 2016 10:01:01 +0000 (15:31 +0530)
commitd8e8e92176bb7a88961ca125081b46ab59a59b19
tree861b395c4c302ffb00974d4fba534d925ca71414
parenteb1f861012b6f9972b17f3a1c16de09302feb3df
libcheck: Update the compatibility code and checks

This brings us up-to-speed with the latest compatibility code from upstream
check git. For completeness, we do all the checks that upstream check does, but
we skip the snprintf/vsnprintf code because it's not straightforward (involves
running code and that is bad for cross-compilation) and not necessary for the
platforms we support anyway.

If someone really wants this, they can uncomment this and copy the relevant
checks from the check git repository.

https://bugzilla.gnome.org/show_bug.cgi?id=775870
20 files changed:
config.h.meson
libs/gst/check/libcheck/Makefile.am
libs/gst/check/libcheck/libcompat/alarm.c
libs/gst/check/libcheck/libcompat/clock_gettime.c
libs/gst/check/libcheck/libcompat/getline.c [new file with mode: 0644]
libs/gst/check/libcheck/libcompat/gettimeofday.c [new file with mode: 0644]
libs/gst/check/libcheck/libcompat/libcompat.c
libs/gst/check/libcheck/libcompat/libcompat.h
libs/gst/check/libcheck/libcompat/localtime_r.c
libs/gst/check/libcheck/libcompat/malloc.c [new file with mode: 0644]
libs/gst/check/libcheck/libcompat/realloc.c [new file with mode: 0644]
libs/gst/check/libcheck/libcompat/strdup.c [new file with mode: 0644]
libs/gst/check/libcheck/libcompat/strsignal.c
libs/gst/check/libcheck/libcompat/timer_create.c
libs/gst/check/libcheck/libcompat/timer_delete.c
libs/gst/check/libcheck/libcompat/timer_settime.c
libs/gst/check/libcheck/meson.build
libs/gst/check/meson.build
m4/check-checks.m4
meson.build