[gdm] Revert "build: move from /var/run to /run, following systemd proposals."



commit 2e9142c61344714bcb09edb548faa7819e267469
Author: Ray Strode <rstrode redhat com>
Date:   Tue Feb 5 00:22:44 2013 -0500

    Revert "build: move from /var/run to /run, following systemd proposals."
    
    This reverts commit dc78ecd69094a743ddb76915ee102b24596b78d7.

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a282232..213c832 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1354,7 +1354,7 @@ AC_ARG_WITH(pid-file,
 if ! test -z "$with_pid_file"; then
    GDM_PID_FILE=$with_pid_file
 else
-   GDM_PID_FILE=/run/gdm.pid
+   GDM_PID_FILE=/var/run/gdm.pid
 fi
 
 AC_SUBST(GDM_PID_FILE)
@@ -1371,7 +1371,7 @@ AC_ARG_WITH(ran-once-marker-directory,
 if ! test -z "$with_ran_once_marker_directory"; then
    GDM_RAN_ONCE_MARKER_DIR=$with_ran_once_marker_directory
 else
-   GDM_RAN_ONCE_MARKER_DIR=/run/gdm
+   GDM_RAN_ONCE_MARKER_DIR=${localstatedir}/run/gdm
 fi
 AC_SUBST(GDM_RAN_ONCE_MARKER_DIR)
 AS_AC_EXPAND(GDM_RAN_ONCE_MARKER_DIR_EXPANDED, $GDM_RAN_ONCE_MARKER_DIR)
@@ -1409,7 +1409,7 @@ AC_ARG_WITH(xauth-dir,
 if ! test -z "$with_xauth_dir"; then
    GDM_XAUTH_DIR=$with_xauth_dir
 else
-   GDM_XAUTH_DIR=/run/gdm
+   GDM_XAUTH_DIR=${localstatedir}/run/gdm
 fi
 
 AC_SUBST(GDM_XAUTH_DIR)
@@ -1425,7 +1425,7 @@ AC_ARG_WITH(screenshot-dir,
 if ! test -z "$with_screenshot_dir"; then
    GDM_SCREENSHOT_DIR=$with_screenshot_dir
 else
-   GDM_SCREENSHOT_DIR=/run/gdm/greeter
+   GDM_SCREENSHOT_DIR=${localstatedir}/run/gdm/greeter
 fi
 
 AC_SUBST(GDM_SCREENSHOT_DIR)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]