mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
make GST_CONFIG_DIR work with sysconfdir
Original commit message from CVS: make GST_CONFIG_DIR work with sysconfdir
This commit is contained in:
parent
748e280850
commit
87ad51d894
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,7 @@ dnl default to building registry in the source tree if we are enabling plugin bu
|
|||
if test "x$PLUGINS_USE_BUILDDIR" = "xyes"; then
|
||||
GST_CONFIG_DIR=`pwd`
|
||||
else
|
||||
GST_CONFIG_DIR=/etc/gstreamer
|
||||
GST_CONFIG_DIR=${sysconfdir}/gstreamer
|
||||
fi
|
||||
AC_ARG_WITH(configdir,
|
||||
AC_HELP_STRING([--with-configdir][specify path to use for plugin and command completion registries]),
|
||||
|
@ -215,6 +215,8 @@ AC_HELP_STRING([--with-configdir][specify path to use for plugin and command com
|
|||
esac],
|
||||
[:]) dnl Default value
|
||||
|
||||
AS_AC_EXPAND(GST_CONFIG_DIR, $GST_CONFIG_DIR)
|
||||
AC_MSG_NOTICE(Using $GST_CONFIG_DIR as configuration dir)
|
||||
AC_ARG_ENABLE(tests,
|
||||
AC_HELP_STRING([--disable-tests][disable building test apps]),
|
||||
[case "${enableval}" in
|
||||
|
|
Loading…
Reference in a new issue