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 b4a91de1be
commit 82c7b2da51

View file

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