configure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.

Original commit message from CVS:
* configure.ac:
Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
We're not in 0.8 times anymore.
This commit is contained in:
Sebastian Dröge 2008-02-19 13:00:14 +00:00
parent 4643cb6d6d
commit 6c2f01c3a3
2 changed files with 6 additions and 19 deletions

View file

@ -1,3 +1,9 @@
2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:
Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
We're not in 0.8 times anymore.
2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com> 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
* libs/gst/check/gstcheck.c: (gst_check_drop_buffers), * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),

View file

@ -132,25 +132,6 @@ AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN AG_GST_ARG_WITH_PACKAGE_ORIGIN
dnl use a cache dir for storing element registry info.
GST_CACHE_DIR=${localstatedir}/cache/gstreamer-$GST_MAJORMINOR
AC_ARG_WITH(cachedir,
AC_HELP_STRING([--with-cachedir],
[specify path to use for plugin and command completion registries]),
[
case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
no) AC_MSG_ERROR(bad value ${withval} for --with-cachedir) ;;
*) GST_CACHE_DIR="${withval}" ;;
esac
],
[:]) dnl Default value
AS_AC_EXPAND(GST_CACHE_DIR, $GST_CACHE_DIR)
AC_DEFINE_UNQUOTED(GST_CACHE_DIR, "$GST_CACHE_DIR", [Location of registry])
AC_MSG_NOTICE(Using $GST_CACHE_DIR as registry cache dir)
dnl building of tests dnl building of tests
AC_ARG_ENABLE(tests, AC_ARG_ENABLE(tests,
AC_HELP_STRING([--disable-tests], [disable building test apps]), AC_HELP_STRING([--disable-tests], [disable building test apps]),