default location for configdir is now set to the build dir if plugin-builddir is...
authorAndy Wingo <wingo@pobox.com>
Tue, 2 Oct 2001 06:01:49 +0000 (06:01 +0000)
committerAndy Wingo <wingo@pobox.com>
Tue, 2 Oct 2001 06:01:49 +0000 (06:01 +0000)
Original commit message from CVS:
default location for configdir is now set to the build dir if plugin-builddir is
enabled

configure.base

index fdfdade..47065d5 100644 (file)
@@ -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