configure: add --disable-examples switch

https://bugzilla.gnome.org/show_bug.cgi?id=741678
This commit is contained in:
Sebastian Rasmussen 2014-12-17 20:02:05 +01:00 committed by Tim-Philipp Müller
parent fa4d8db7ea
commit b6e4587afd
2 changed files with 10 additions and 2 deletions

View file

@ -1,14 +1,20 @@
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
if BUILD_EXAMPLES
SUBDIRS_EXAMPLES = examples
else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = \ SUBDIRS = \
gst \ gst \
common \ common \
pkgconfig \ pkgconfig \
docs \ docs \
examples \ $(SUBDIRS_EXAMPLES)
tests tests
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = gst common pkgconfig docs examples tests
EXTRA_DIST = \ EXTRA_DIST = \
ChangeLog autogen.sh depcomp \ ChangeLog autogen.sh depcomp \

View file

@ -87,6 +87,8 @@ AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN AG_GST_ARG_WITH_PACKAGE_ORIGIN
AG_GST_ARG_EXAMPLES
AG_GST_PKG_CONFIG_PATH AG_GST_PKG_CONFIG_PATH
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO], AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],