tests: don't build examples if --disable-examples was passed to configure

This commit is contained in:
Tim-Philipp Müller 2009-05-05 13:19:19 +01:00
parent 325841a4bb
commit 356e863c9c

View File

@ -1,5 +1,5 @@
if HAVE_GST_CHECK if HAVE_GST_CHECK
SUBDIRS_CHECK = check SUBDIRS_CHECK = check files
else else
SUBDIRS_CHECK = SUBDIRS_CHECK =
endif endif
@ -10,7 +10,13 @@ else
SUBDIRS_ICLES = SUBDIRS_ICLES =
endif endif
SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) examples files if BUILD_EXAMPLES
SUBDIR_EXAMPLES = examples
else
SUBDIR_EXAMPLES =
endif
SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_ICLES) $(SUBDIR_EXAMPLES)
DIST_SUBDIRS = check icles examples files DIST_SUBDIRS = check icles examples files