From 3f5cdf20cd65173cc36f765ebe68134299c9cbc8 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 16 Jul 2012 11:13:32 +0200 Subject: [PATCH] configure: default tmpfile dir in PREFIX/lib/tmpfiles.d SYSCONFDIR (the /etc) contains overrides to system-wide settings. System-wide settings are in PREFIX/lib/tmpfiles.d by default --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index e54efd300..ca71fdb0a 100755 --- a/configure +++ b/configure @@ -1613,7 +1613,7 @@ Optional Packages: systemd service files in DIR --with-tmpfilesdir=DIR install configuration files for management of volatile files and directories in DIR - [[SYSCONFDIR/tmpfiles.d]] + [[PREFIX/lib/tmpfiles.d]] --with-dmeventd-pidfile=PATH dmeventd pidfile [[PID_DIR/dmeventd.pid]] --with-dmeventd-path=PATH @@ -9925,7 +9925,7 @@ fi if test "${with_tmpfilesdir+set}" = set; then : withval=$with_tmpfilesdir; tmpfilesdir=$withval else - tmpfilesdir='${sysconfdir}/tmpfiles.d' + tmpfilesdir='${prefix}/lib/tmpfiles.d' fi ################################################################################ diff --git a/configure.in b/configure.in index 6c273245f..8bf0c4e3c 100644 --- a/configure.in +++ b/configure.in @@ -1280,8 +1280,8 @@ fi ################################################################################ AC_ARG_WITH(tmpfilesdir, AC_HELP_STRING([--with-tmpfilesdir=DIR], - [install configuration files for management of volatile files and directories in DIR [[SYSCONFDIR/tmpfiles.d]]]), - tmpfilesdir=$withval, tmpfilesdir='${sysconfdir}/tmpfiles.d') + [install configuration files for management of volatile files and directories in DIR [[PREFIX/lib/tmpfiles.d]]]), + tmpfilesdir=$withval, tmpfilesdir='${prefix}/lib/tmpfiles.d') ################################################################################ dnl -- Ensure additional headers required if test x$READLINE = xyes; then -- 2.43.5