From 8f514e66341fc75feedb40e51f5d3ffebf0b2918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 17 Nov 2012 10:27:11 +0000 Subject: [PATCH] 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 --- tests/examples/manual/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/examples/manual/Makefile.am b/tests/examples/manual/Makefile.am index 30ac1b41e0..c9d439c9dd 100644 --- a/tests/examples/manual/Makefile.am +++ b/tests/examples/manual/Makefile.am @@ -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)