chiark / gitweb /
Prep v239: 73-seat-late.rules is now built from 73-seat-late.rules.m4
authorSven Eden <yamakuzure@gmx.net>
Tue, 14 Aug 2018 16:21:43 +0000 (18:21 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
pwx
src/login/73-seat-late.rules.m4 [moved from src/login/73-seat-late.rules.in with 70% similarity]

diff --git a/pwx b/pwx
index e2a28187a4904b089ace59d3ec65834799a2967b..2bee2d8292d4cfb3bfdfd6ac7db3a5ca75aca306 160000 (submodule)
--- a/pwx
+++ b/pwx
@@ -1 +1 @@
-Subproject commit e2a28187a4904b089ace59d3ec65834799a2967b
+Subproject commit 2bee2d8292d4cfb3bfdfd6ac7db3a5ca75aca306
similarity index 70%
rename from src/login/73-seat-late.rules.in
rename to src/login/73-seat-late.rules.m4
index 5244e8a3d1d76065d9419f71748df482430fe270..c3487d25f5761ba3409329ff1bdfbb15262eaa4b 100644 (file)
@@ -1,8 +1,8 @@
 #  SPDX-License-Identifier: LGPL-2.1+
 #
-#  This file is part of systemd.
+#  This file is part of elogind.
 #
-#  systemd is free software; you can redistribute it and/or modify it
+#  elogind is free software; you can redistribute it and/or modify it
 #  under the terms of the GNU Lesser General Public License as published by
 #  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
@@ -13,11 +13,14 @@ ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="sea
 ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
 
 ENV{ID_SEAT}!="", TAG+="$env{ID_SEAT}"
-
 #if 0 /// elogind uses its own uaccess replacement command
-# TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"
+# m4_ifdef(`HAVE_ACL',``
+# TAG=="uaccess", ENV{MAJOR}!="", RUN{builtin}+="uaccess"''
+# )m4_dnl
 #else
-TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="@rootlibexecdir@/elogind-uaccess-command %N $env{ID_SEAT}"
+m4_ifdef(`HAVE_ACL',``
+TAG=="uaccess", ENV{MAJOR}!="", RUN{program}+="@rootlibexecdir@/elogind-uaccess-command %N $env{ID_SEAT}"''
+)m4_dnl
 #endif // 0
 
 LABEL="seat_late_end"