Add support for --with-storagedir to configure
This is needed for correctly setting the default storage directory for Debian builds.
This commit is contained in:
parent
d186cf95a9
commit
f3d851d198
|
@ -91,6 +91,11 @@ AC_ARG_WITH([recordingsdir],
|
||||||
AC_SUBST(recordingsdir)
|
AC_SUBST(recordingsdir)
|
||||||
AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to put recording files])
|
AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to put recording files])
|
||||||
|
|
||||||
|
AC_ARG_WITH([storagedir],
|
||||||
|
[AS_HELP_STRING([--with-storagedir=DIR], [Put storage files into this location (default: $prefix/storage)])], [storagedir="$withval"], [storagedir="$prefix/storage"])
|
||||||
|
AC_SUBST(storagedir)
|
||||||
|
AC_DEFINE_UNQUOTED([SWITCH_STORAGE_DIR],"${storagedir}",[where to put storage files])
|
||||||
|
|
||||||
if test "$sysconfdir" = "\${prefix}/etc" ; then
|
if test "$sysconfdir" = "\${prefix}/etc" ; then
|
||||||
confdir="$prefix/conf"
|
confdir="$prefix/conf"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue