Lines 122-128
AM_CONDITIONAL(ENABLE_SYSTEMD_INTEGRATION, [test "$enable_systemd_integration" =
Link Here
|
122 |
|
122 |
|
123 |
if test x$enable_systemd_integration = xyes; then |
123 |
if test x$enable_systemd_integration = xyes; then |
124 |
AC_DEFINE(PLY_ENABLE_SYSTEMD_INTEGRATION, 1, [Coordinate boot up with systemd]) |
124 |
AC_DEFINE(PLY_ENABLE_SYSTEMD_INTEGRATION, 1, [Coordinate boot up with systemd]) |
125 |
SYSTEMD_UNIT_DIR=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) |
125 |
AC_ARG_WITH([systemdunitdir], AC_HELP_STRING([--with-systemdunitdir=DIR], |
|
|
126 |
[path to systemd service directory]), [path_systemdunit=${withval}], |
127 |
[path_systemdunit="`$PKG_CONFIG --variable=systemdsystemunitdir systemd`"]) |
128 |
if (test -n "${path_systemdunit}"); then |
129 |
SYSTEMD_UNIT_DIR="${path_systemdunit}" |
130 |
fi |
126 |
AC_SUBST(SYSTEMD_UNIT_DIR) |
131 |
AC_SUBST(SYSTEMD_UNIT_DIR) |
127 |
fi |
132 |
fi |
128 |
|
133 |
|