diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ce16e7758..de140f578 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -4526,6 +4526,29 @@ AC_ARG_WITH([kerberos5], | |||
4526 | AC_SUBST([GSSLIBS]) | 4526 | AC_SUBST([GSSLIBS]) |
4527 | AC_SUBST([K5LIBS]) | 4527 | AC_SUBST([K5LIBS]) |
4528 | 4528 | ||
4529 | # Check whether user wants systemd support | ||
4530 | SYSTEMD_MSG="no" | ||
4531 | AC_ARG_WITH(systemd, | ||
4532 | [ --with-systemd Enable systemd support], | ||
4533 | [ if test "x$withval" != "xno" ; then | ||
4534 | AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) | ||
4535 | if test "$PKGCONFIG" != "no"; then | ||
4536 | AC_MSG_CHECKING([for libsystemd]) | ||
4537 | if $PKGCONFIG --exists libsystemd; then | ||
4538 | SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd` | ||
4539 | SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd` | ||
4540 | CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS" | ||
4541 | SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS" | ||
4542 | AC_MSG_RESULT([yes]) | ||
4543 | AC_DEFINE(HAVE_SYSTEMD, 1, [Define if you want systemd support.]) | ||
4544 | SYSTEMD_MSG="yes" | ||
4545 | else | ||
4546 | AC_MSG_RESULT([no]) | ||
4547 | fi | ||
4548 | fi | ||
4549 | fi ] | ||
4550 | ) | ||
4551 | |||
4529 | # Looking for programs, paths and files | 4552 | # Looking for programs, paths and files |
4530 | 4553 | ||
4531 | PRIVSEP_PATH=/var/empty | 4554 | PRIVSEP_PATH=/var/empty |
@@ -5332,6 +5355,7 @@ echo " libldns support: $LDNS_MSG" | |||
5332 | echo " Solaris process contract support: $SPC_MSG" | 5355 | echo " Solaris process contract support: $SPC_MSG" |
5333 | echo " Solaris project support: $SP_MSG" | 5356 | echo " Solaris project support: $SP_MSG" |
5334 | echo " Solaris privilege support: $SPP_MSG" | 5357 | echo " Solaris privilege support: $SPP_MSG" |
5358 | echo " systemd support: $SYSTEMD_MSG" | ||
5335 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 5359 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
5336 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 5360 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
5337 | echo " BSD Auth support: $BSD_AUTH_MSG" | 5361 | echo " BSD Auth support: $BSD_AUTH_MSG" |