diff --git a/gst/cothreads/Makefile.am b/gst/cothreads/Makefile.am index c57c72cb65..b508b83aa5 100644 --- a/gst/cothreads/Makefile.am +++ b/gst/cothreads/Makefile.am @@ -9,6 +9,7 @@ noinst_LTLIBRARIES = libpth-mctx.la libpth_mctx_la_SOURCES = pth_mctx.c pth_p.h pth_vers.c pth.h pth_acdef.h pth_acmac.h noinst_PROGRAMS = test-pth test-pth-pthreads test-pthreads test-pth-pthreads2 +noinst_HEADERS = linuxthreads-internals.h test_pth_LDADD = libpth-mctx.la test_pth_pthreads_LDADD = libpth-mctx.la -lpthread @@ -17,6 +18,8 @@ test_pth_pthreads2_LDADD = -lpthread libpth-mctx.la BUILT_SOURCES = pth_p.h +EXTRA_DIST = ltmain.sh mkinstalldirs config.guess config.sub install-sh missing + HSRCS = $(srcdir)/pth_debug.c $(srcdir)/pth_errno.c $(srcdir)/pth_mctx.c pth_p.h: $(srcdir)/pth_p.h.in $(HSRCS) diff --git a/gst/cothreads/autogen.sh b/gst/cothreads/autogen.sh index d068813729..c40a42c514 100755 --- a/gst/cothreads/autogen.sh +++ b/gst/cothreads/autogen.sh @@ -175,6 +175,11 @@ automake -a -c || { CONFIGURE_OPT='--enable-maintainer-mode' +# work around some wierd sort of autotools buglet +for i in config.sub config.guess missing ltmain.sh; do + ln -s ../../$i $i +done + test -n "$NOCONFIGURE" && { echo "skipping configure stage for package $package, as requested." echo "autogen.sh done."