]> sourceware.org Git - lvm2.git/commitdiff
configure: default tmpfile dir in PREFIX/lib/tmpfiles.d
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 16 Jul 2012 09:13:32 +0000 (11:13 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 16 Jul 2012 09:17:02 +0000 (11:17 +0200)
SYSCONFDIR (the /etc) contains overrides to system-wide settings.
System-wide settings are in PREFIX/lib/tmpfiles.d by default

configure
configure.in

index e54efd3007926ffcbc54caa4f12cd84d6159a6ff..ca71fdb0a540b9e406e6f0be998f259d9c448bf2 100755 (executable)
--- 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
 
 ################################################################################
index 6c273245fbbdde62213b73657ac685442e651897..8bf0c4e3cfdbaf8a40320cd9fc122652865b7ca9 100644 (file)
@@ -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
This page took 0.040976 seconds and 5 git commands to generate.