[PATCH 2/2] Use pkgconfig to determine the systemd unit dir location
Cristian Rodríguez
crrodriguez at opensuse.org
Sat Apr 13 12:16:05 PDT 2013
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7154aaf..b14bbd2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -256,7 +256,7 @@ AM_CONDITIONAL(ENABLE_SYSTEMD_INTEGRATION, [test "$enable_systemd_integration" =
if test x$enable_systemd_integration = xyes; then
AC_DEFINE(PLY_ENABLE_SYSTEMD_INTEGRATION, 1, [Coordinate boot up with systemd])
- SYSTEMD_UNIT_DIR=/lib/systemd/system
+ SYSTEMD_UNIT_DIR=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
AC_SUBST(SYSTEMD_UNIT_DIR)
fi
--
1.8.1.4
More information about the plymouth
mailing list