examples: don't compile testrtpool example if pthreads are not available like on win32

Based on patch by: italarab@gmail.com

https://bugzilla.gnome.org/show_bug.cgi?id=688511
This commit is contained in:
Tim-Philipp Müller 2012-11-17 10:27:11 +00:00
parent 45bd1c19cf
commit 8f514e6634

View file

@ -40,7 +40,6 @@ EXAMPLES = \
appsink \ appsink \
dynformat \ dynformat \
effectswitch \ effectswitch \
testrtpool \
norebuffer \ norebuffer \
playbin \ playbin \
decodebin \ decodebin \
@ -61,11 +60,15 @@ BUILT_SOURCES = \
appsink.c \ appsink.c \
dynformat.c \ dynformat.c \
effectswitch.c \ effectswitch.c \
testrtpool.c \
norebuffer.c \ norebuffer.c \
playbin.c decodebin.c \ playbin.c decodebin.c \
playsink.c playsink.c
if HAVE_PTHREAD
BUILT_SOURCES += testrtpool.c
EXAMPLES += testrtpool
endif
CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES) CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES)
AM_CFLAGS = $(GST_OBJ_CFLAGS) AM_CFLAGS = $(GST_OBJ_CFLAGS)