Lines 254-260
Link Here
|
254 |
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), |
254 |
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), |
255 |
[has_systemdsystemunitdir=$with_systemdsystemunitdir], |
255 |
[has_systemdsystemunitdir=$with_systemdsystemunitdir], |
256 |
[has_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) |
256 |
[has_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)]) |
257 |
AC_DEFINE(HAVE_SYSTEMD,1,[Build systemd code]) |
|
|
258 |
AC_SUBST([systemdsystemunitdir], [$has_systemdsystemunitdir]) |
257 |
AC_SUBST([systemdsystemunitdir], [$has_systemdsystemunitdir]) |
259 |
fi |
258 |
fi |
260 |
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$has_systemdsystemunitdir"]) |
259 |
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$has_systemdsystemunitdir"]) |
Lines 267-272
Link Here
|
267 |
AM_CONDITIONAL(ENABLE_OFFLINE_UPDATE, [test x$enable_systemd = xyes -a x$enable_offline_update = xyes]) |
266 |
AM_CONDITIONAL(ENABLE_OFFLINE_UPDATE, [test x$enable_systemd = xyes -a x$enable_offline_update = xyes]) |
268 |
|
267 |
|
269 |
dnl --------------------------------------------------------------------------- |
268 |
dnl --------------------------------------------------------------------------- |
|
|
269 |
dnl - Use elogind instead of systemd-login |
270 |
dnl --------------------------------------------------------------------------- |
271 |
AC_ARG_ENABLE(elogind, AS_HELP_STRING([--enable-elogind],[enable elogind session tracker]), |
272 |
enable_elogind=$enableval,enable_elogind=no) |
273 |
if test x$enable_elogind = xyes; then |
274 |
PKG_CHECK_MODULES(ELOGIND, [libelogind >= 229.4], [have_elogind=yes], [have_elogind=no]) |
275 |
fi |
276 |
|
277 |
dnl --------------------------------------------------------------------------- |
278 |
dnl --- Is systemd/sd-login.h, either from systemd or elogind, available? |
279 |
dnl --------------------------------------------------------------------------- |
280 |
if test "x$have_systemd" != "xno" -o "x$have_elogind" != "xno" ; then |
281 |
AC_DEFINE(HAVE_SYSTEMD_SD_LOGIN_H,1,[Build systemd-login code]) |
282 |
fi |
283 |
|
284 |
dnl --------------------------------------------------------------------------- |
270 |
dnl - Generate man pages ? (default enabled) |
285 |
dnl - Generate man pages ? (default enabled) |
271 |
dnl --------------------------------------------------------------------------- |
286 |
dnl --------------------------------------------------------------------------- |
272 |
AC_ARG_ENABLE(man_pages, AS_HELP_STRING([--disable-man-pages],[Disable man pages generation]), enable_man_pages=$enableval) |
287 |
AC_ARG_ENABLE(man_pages, AS_HELP_STRING([--disable-man-pages],[Disable man pages generation]), enable_man_pages=$enableval) |
Lines 629-634
Link Here
|
629 |
cflags: ${CFLAGS} |
644 |
cflags: ${CFLAGS} |
630 |
cppflags: ${CPPFLAGS} |
645 |
cppflags: ${CPPFLAGS} |
631 |
Able to run locally: ${enable_local} |
646 |
Able to run locally: ${enable_local} |
|
|
647 |
Use elogind: ${enable_elogind} |
632 |
Use systemd: ${enable_systemd} |
648 |
Use systemd: ${enable_systemd} |
633 |
Enable offline update: ${enable_offline_update} |
649 |
Enable offline update: ${enable_offline_update} |
634 |
Networking stacks: ${networking_apis} |
650 |
Networking stacks: ${networking_apis} |