summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-02-11 15:54:42 +0100
committerStef Walter <stefw@gnome.org>2013-02-18 15:45:10 +0100
commit268a3a8a829a51c1d787bfabbc43cadf2175f741 (patch)
treed198b9eaa56feb30b3359c41eca94badf4623166 /configure.ac
parent865b7079f40be160a5c435aeb14a7e77bbe0346e (diff)
Use a private cache directory for temp files
Instead of using /tmp use our own personal cache directory for temporary files. We set the TMPDIR environment variable. This is consumed by g_get_tmp_dir() and in adcli. https://bugs.freedesktop.org/show_bug.cgi?id=60404
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ce89b60..037311c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -307,6 +307,9 @@ AC_SUBST(GENHTML)
privatedir='${libdir}/realmd'
AC_SUBST(privatedir)
+cachedir='${localstatedir}/cache/realmd'
+AC_SUBST(cachedir)
+
AC_CONFIG_FILES([
Makefile
build/Makefile