GNOME Bugzilla – Bug 357593
Generated gst-element-check.m4 installed from $(srcdir)
Last modified: 2006-09-27 10:14:02 UTC
Please describe the problem:
Today I tried to build gstreamer from CVS rather than the released tar files for the first time. This failed when it tried to installgst-element-check.m4, since it tried to copy it from $(srcdir). But since this is a generated file, it was only present in $(top_builddir). The reason it works with the released tar files is that gst-element-check.m4 (and also gstreamer.spec) are included in the tar file eventhough they are really generated files... This is probably also why make distcheck did not pick up on this.
Steps to reproduce:
1. Retrieve a fresh copy of gstreamer.
2. Run configure in another build directory than the source directory.
It tries to copy $(srcdir)/gst-element-check.m4 which does not exists.
The gst-element-check.m4 in $(top_builddir) should be used.
Does this happen every time?
Created attachment 73356 [details] [review]
Install gst-element-check.m4 from the build directory
2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Peter Kjellerstedt <pkj at axis com>
gst-element-check.m4 is generated and should therefore be
copied from the build dir rather than the source dir (#357593).
We haven't noticed this so far because we were disting it as
well, so don't dist this file any longer.
Also removed gst-element-check.m4 from EXTRA_DIST while at it.