From 2ee27e3b1fbca563cc5402463bac8c840f5b79a5 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 2 Oct 2001 06:01:49 +0000 Subject: [PATCH] default location for configdir is now set to the build dir if plugin-builddir is enabled Original commit message from CVS: default location for configdir is now set to the build dir if plugin-builddir is enabled --- configure.base | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.base b/configure.base index fdfdade92c..47065d5d72 100644 --- a/configure.base +++ b/configure.base @@ -797,8 +797,12 @@ AC_ARG_ENABLE(profiling, esac], [USE_PROFILING=no]) dnl Default value -dnl Default value -GST_CONFIG_DIR=/etc/gstreamer +dnl default to building registry in the source tree if we are enabling plugin build dir +if test "x$PLUGINS_USE_BUILDDIR" = xyes; then + GST_CONFIG_DIR=$builddir +else + GST_CONFIG_DIR=/etc/gstreamer +fi AC_ARG_WITH(configdir, [ --with-configdir specify path to use for configdir], [case "${withval}" in