mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
configure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead of duplicating these macros in confi...
Original commit message from CVS: * configure.ac: Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead of duplicating these macros in configure.ac.
This commit is contained in:
parent
c550a25a34
commit
61988a4b0c
2 changed files with 8 additions and 25 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Use AG_GST_ARG_WITH_PLUGINS and AG_GST_ARG_ENABLE_EXTERNAL instead
|
||||||
|
of duplicating these macros in configure.ac.
|
||||||
|
|
||||||
2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* po/hu.po:
|
* po/hu.po:
|
||||||
|
|
27
configure.ac
27
configure.ac
|
@ -124,33 +124,10 @@ GST_PLUGINS_ALL="\
|
||||||
AC_SUBST(GST_PLUGINS_ALL)
|
AC_SUBST(GST_PLUGINS_ALL)
|
||||||
|
|
||||||
GST_PLUGINS_SELECTED=""
|
GST_PLUGINS_SELECTED=""
|
||||||
|
AG_GST_ARG_WITH_PLUGINS
|
||||||
AC_ARG_WITH(plugins,
|
|
||||||
AC_HELP_STRING([--with-plugins],
|
|
||||||
[comma-separated list of plug-ins to compile]),
|
|
||||||
[for i in `echo $withval | tr , ' '`; do
|
|
||||||
if echo $GST_PLUGINS_ALL | grep $i > /dev/null
|
|
||||||
then
|
|
||||||
GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED $i"
|
|
||||||
else
|
|
||||||
echo "plug-in $i not recognized, ignoring..."
|
|
||||||
fi
|
|
||||||
done],
|
|
||||||
[GST_PLUGINS_SELECTED=$GST_PLUGINS_ALL])
|
|
||||||
|
|
||||||
AC_SUBST(GST_PLUGINS_SELECTED)
|
AC_SUBST(GST_PLUGINS_SELECTED)
|
||||||
|
|
||||||
dnl ext plug-ins; plug-ins that have external dependencies
|
AG_GST_ARG_ENABLE_EXTERNAL
|
||||||
AG_GST_CHECK_FEATURE(EXTERNAL, [enable building of plug-ins with external deps],,
|
|
||||||
[HAVE_EXTERNAL=yes], enabled,
|
|
||||||
[
|
|
||||||
AC_MSG_NOTICE(building external plug-ins)
|
|
||||||
BUILD_EXTERNAL="yes"
|
|
||||||
],[
|
|
||||||
AC_MSG_NOTICE(all plug-ins with external dependencies will not be built)
|
|
||||||
BUILD_EXTERNAL="no"
|
|
||||||
])
|
|
||||||
AM_CONDITIONAL(BUILD_EXTERNAL, test "x$BUILD_EXTERNAL" = "xyes")
|
|
||||||
|
|
||||||
dnl *** checks for platform ***
|
dnl *** checks for platform ***
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue