Remove #include <gnome.h> from some tests which don't actually need it, and make the other tests and the autoplug exa...

Original commit message from CVS:
Remove #include <gnome.h> from some tests which don't actually need it,
and make the other tests and the autoplug example only compile if gnome
headers are present.
This commit is contained in:
Richard Boulton 2001-04-25 11:49:38 +00:00
parent 6ac86486a8
commit 0bf1a380cc
5 changed files with 28 additions and 9 deletions

View file

@ -1,4 +1,11 @@
SUBDIRS = autoplug \
if HAVE_GNOME
GNOME_SUBDS = autoplug
else
GNOME_SUBDS =
endif
SUBDIRS = $(GNOME_SUBDS) \
helloworld helloworld2 \
queue queue2 queue3 queue4 \
launch thread xml plugins typefind

View file

@ -1,10 +1,17 @@
# FIXME FIXME
noinst_PROGRAMS = qtest spectrum record wave mp3 teardown buffer mp3parse \
mpeg2parse mp1parse mp3play ac3parse ac3play dvdcat fake cobin videotest \
aviparse vidcapture avi2mpg mp2tomp1 mp1tomp1 pipetest \
vidcapture2 mp2toavi mp3tovorbis mpeg2parse2 xmmstest videotest2 \
mp3mad video2mp1 dvshow dv2mp1
if HAVE_GNOME
GNOME_PROGS = spectrum wave mpeg2parse mp1parse videotest aviparse \
mpeg2parse2 videotest2 video2mp1 dvshow dv2mp1
else
GNOME_PROGS =
endif
noinst_PROGRAMS = qtest $(GNOME_PROGS) record mp3 teardown buffer mp3parse \
mp3play ac3parse ac3play dvdcat fake cobin \
vidcapture avi2mpg mp2tomp1 mp1tomp1 pipetest \
vidcapture2 mp2toavi mp3tovorbis xmmstest \
mp3mad
SUBDIRS = xml bindings

View file

@ -1,4 +1,3 @@
#include <gnome.h>
#include <gst/gst.h>
extern gboolean _gst_plugin_spew;

View file

@ -1,4 +1,3 @@
#include <gnome.h>
#include <gst/gst.h>
extern gboolean _gst_plugin_spew;

View file

@ -1,4 +1,11 @@
SUBDIRS = autoplug \
if HAVE_GNOME
GNOME_SUBDS = autoplug
else
GNOME_SUBDS =
endif
SUBDIRS = $(GNOME_SUBDS) \
helloworld helloworld2 \
queue queue2 queue3 queue4 \
launch thread xml plugins typefind