From: Cristian Rodríguez Date: Sat, 13 Apr 2013 19:16:05 +0000 (-0300) Subject: configure: Use pkgconfig to determine the systemd unit dir location X-Git-Tag: 0.9.0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de67b2d021f0f3cbc65feec5f7903bd4e94605dd;p=thirdparty%2Fplymouth.git configure: Use pkgconfig to determine the systemd unit dir location Don't assume it's in /lib/systemd/system --- diff --git a/configure.ac b/configure.ac index 7154aaf1..b14bbd2e 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