-noinst_PROGRAMS = test-cleanup
+noinst_PROGRAMS = test-cleanup test-reuse
INCLUDES = -I$(top_srcdir) -I$(srcdir)
$(GST_LIBS) \
$(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
+if HAVE_CHECK
+SUBDIRS_CHECK = check
+else
+SUBDIRS_CHECK =
+endif
+
+SUBDIRS = \
+ $(SUBDIRS_CHECK)
+
+DIST_SUBDIRS = \
+ check