added --disable-plugins option; useful if you are making the switch to gst-plugins

Original commit message from CVS:
added --disable-plugins option; useful if you are making the switch to
gst-plugins
This commit is contained in:
Andy Wingo 2001-12-23 05:59:38 +00:00
parent 7aa5885df5
commit 6bb3f78a0c
2 changed files with 16 additions and 10 deletions

View file

@ -33,7 +33,13 @@ else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = include gst libs plugins tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
if BUILD_PLUGINS
SUBDIRS_PLUGINS = plugins
else
SUBDIRS_PLUGINS =
endif
SUBDIRS = include gst libs $(SUBDIRS_PLUGINS) tools $(SUBDIRS_TESTS) $(SUBDIRS_EXAMPLES) \
$(SUBDIRS_LGG) $(SUBDIRS_DOCS)
# These are all the possible subdirs

View file

@ -593,15 +593,6 @@ GST_CHECK_FEATURE(LIBGHTTP, [libghttp plugins], gsthttpsrc, [
AC_SUBST(GST_HTTPSRC_GET_TYPE)
])
dnl thomas : adding an arts check taken from xine with it's own .m4
dnl FIXME: put this higher up
dnl AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
dnl also define ARTS_MCOPFLAGS
dnl ARTS_MCOPFLAGS="$ARTS_CFLAGS"
dnl AC_SUBST(ARTS_MCOPFLAGS)
dnl Check for libglade with gnome support; no libglade for glib2.0
HAVE_LIBGLADE_GNOME="no"
if test x$USE_GLIB2 = xyes; then
@ -690,6 +681,15 @@ dnl ######################################################################
dnl # Check command line parameters, and set shell variables accordingly #
dnl ######################################################################
AC_ARG_ENABLE(plugins, AC_HELP_STRING([--enable-plugins],[enable plugin building]),
[case "${enableval}" in
yes) BUILD_PLUGINS=yes ;;
no) BUILD_PLUGINS=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-plugins) ;;
esac],
[BUILD_PLUGINS=yes])
AM_CONDITIONAL(BUILD_PLUGINS, test $BUILD_PLUGINS = "yes")
AC_ARG_ENABLE(libmmx,
[ --enable-libmmx use libmmx, if available],
[case "${enableval}" in