summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2001-10-02 06:01:49 +0000
committerAndy Wingo <wingo@pobox.com>2001-10-02 06:01:49 +0000
commit2ee27e3b1fbca563cc5402463bac8c840f5b79a5 (patch)
treef4a02679313364eb392c02350c15882d7d140963
parentb213eab345d0dcce33385a5e38c9b5b6c42e8e03 (diff)
downloadgstreamer-2ee27e3b1fbca563cc5402463bac8c840f5b79a5.tar.gz
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
-rw-r--r--configure.base8
1 files 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