check: Have autotools generate internal-check.h
authorSebastian Rasmussen <sebras@hotmail.com>
Sun, 14 Dec 2014 11:54:32 +0000 (12:54 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 16 Dec 2014 15:32:39 +0000 (16:32 +0100)
commit0b09573bbec99a2474d5ff41e2cf1be8147ecd60
treec31122d36ffd6a0fd54afb60e4410bde4ebcca80
parenta8d665303757db75da32aebbd2a5d9716e9c528a
check: Have autotools generate internal-check.h

Previously GStreamer got access to the libcheck interface by including
libs/gst/check/check.h which in turn included internal-check.h in the
same directory. internal-check.h was generated by copying
libs/gst/check/libcheck/check.h which in turn was generated from
check.h.in in the same directory. In this case generating
libs/gst/check/libcheck/check.h is unnecessary, in addition this file
was accidentally distributed in generated project tarballs.

Now libs/gst/check/internal-check.h is generated directly from
libs/gst/check/libcheck/check.h.in by configure. This means that the
libcheck source must include internal-check.h instead of the previously
generated libs/gst/check/libcheck/check.h. However the unnecessary
intermediate step is now skipped.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741359
configure.ac
libs/gst/check/Makefile.am
libs/gst/check/libcheck/Makefile.am
libs/gst/check/libcheck/check.c
libs/gst/check/libcheck/check_log.c
libs/gst/check/libcheck/check_msg.c
libs/gst/check/libcheck/check_pack.c
libs/gst/check/libcheck/check_print.c
libs/gst/check/libcheck/check_run.c
libs/gst/check/libcheck/check_str.c