From 0bc672ec72e73dce8750320a563521cf9da056ad Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Mon, 31 Jan 2000 05:55:22 +0000 Subject: [PATCH] Various fixes that collectively allow `make dist` to work. Original commit message from CVS: Various fixes that collectively allow `make dist` to work. --- .gitignore | 1 + acconfig.h | 1 + config.h.in | 1 + configure.in | 16 ++++++---------- test/Makefile.am | 4 +++- test/cothreads/Makefile.am | 2 ++ test/xml/Makefile.am | 2 +- 7 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 5e1312d4cd..52b9d01eb9 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ config.log config.status config.sub configure +gstreamer-[0-9]* gstreamer-config gstreamer.spec libtool diff --git a/acconfig.h b/acconfig.h index 9ac8f17a96..16f46852be 100644 --- a/acconfig.h +++ b/acconfig.h @@ -6,6 +6,7 @@ #undef HAVE_LIBXML #undef HAVE_LIBMMX #undef HAVE_XAUDIO +#undef HAVE_CSSAUTH #undef HAVE_ATOMIC_H diff --git a/config.h.in b/config.h.in index cd80000bc1..8cc2bd5c19 100644 --- a/config.h.in +++ b/config.h.in @@ -14,6 +14,7 @@ #undef HAVE_LIBXML #undef HAVE_LIBMMX #undef HAVE_XAUDIO +#undef HAVE_CSSAUTH #undef HAVE_ATOMIC_H diff --git a/configure.in b/configure.in index 3a7916a8b6..cbd02832fc 100644 --- a/configure.in +++ b/configure.in @@ -66,14 +66,10 @@ AM_CONDITIONAL(HAVE_LIBXML, test "x$HAVE_LIBXML" = "xyes") AC_CHECK_HEADER(mmx.h,[ - AC_DEFINE(HAVE_LIBMMX), []]) -AM_CONDITIONAL(HAVE_LIBMMX, test "x$HAVE_LIBMMX" = "xyes") - -AC_CHECK_HEADER(xaudio/decoder.h,[ - AC_DEFINE(HAVE_XAUDIO) - HAVE_XAUDIO="yes", [] + AC_DEFINE(HAVE_LIBMMX) + HAVE_LIBMMX="yes", [] ]) -AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes") +AM_CONDITIONAL(HAVE_LIBMMX, test "x$HAVE_LIBMMX" = "xyes") AC_CHECK_HEADER(xaudio/decoder.h,[ AC_DEFINE(HAVE_XAUDIO) @@ -109,12 +105,12 @@ dnl check if css.c exists (FIXME) if test -f plugins/dvdsrc/css.c then AC_MSG_RESULT(yes) - HAVE_DECSS="yes" + HAVE_CSSAUTH="yes" else AC_MSG_RESULT(no) - HAVE_DECSS="no" + HAVE_CSSAUTH="no" fi -AM_CONDITIONAL(HAVE_DECSS, test "x$HAVE_DECSS" = "xyes") +AM_CONDITIONAL(HAVE_CSSAUTH, test "x$HAVE_CSSAUTH" = "xyes") AC_SUBST(CFLAGS) diff --git a/test/Makefile.am b/test/Makefile.am index 50c6b26f57..4f940c40ab 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,7 +2,7 @@ bin_PROGRAMS = qtest spectrum record wave mp3 teardown buffer mp3parse \ mpeg2parse mp3play ac3parse ac3play dvdcat fake cobin -SUBDIRS = xml cothreads +SUBDIRS = xml cothreads bindings spectrum_CFLAGS = $(shell gnome-config --cflags gnomeui) spectrum_LDFLAGS = $(shell gnome-config --libs gnomeui) @@ -13,6 +13,8 @@ buffer_SOURCES = buffer.c mem.c teardown_SOURCES = teardown.c mem.c ac3play_SOURCES = ac3play.c mem.c +noinst_HEADERS = mem.h + LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) -I$(top_srcdir) \ diff --git a/test/cothreads/Makefile.am b/test/cothreads/Makefile.am index f60104e51d..6ba1bb88a2 100644 --- a/test/cothreads/Makefile.am +++ b/test/cothreads/Makefile.am @@ -3,3 +3,5 @@ bin_PROGRAMS = test simple test_SOURCES = test.c cothreads.c object.c looper.c simple_SOURCES = simple.c cothreads.c + +noinst_HEADERS = cothreads.h object.h looper.h diff --git a/test/xml/Makefile.am b/test/xml/Makefile.am index 59c91ed895..dcac2c1a8e 100644 --- a/test/xml/Makefile.am +++ b/test/xml/Makefile.am @@ -3,4 +3,4 @@ bin_PROGRAMS = readreg createreg INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(XML_CFLAGS) -I$(top_srcdir) LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS) $(top_srcdir)/gst/libgst.la -EXTRA_DIST = README registry.xml +EXTRA_DIST = README