summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3e23e60d6..eac143b4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4496,6 +4496,29 @@ AC_ARG_WITH([kerberos5],
4496AC_SUBST([GSSLIBS]) 4496AC_SUBST([GSSLIBS])
4497AC_SUBST([K5LIBS]) 4497AC_SUBST([K5LIBS])
4498 4498
4499# Check whether user wants systemd support
4500SYSTEMD_MSG="no"
4501AC_ARG_WITH(systemd,
4502 [ --with-systemd Enable systemd support],
4503 [ if test "x$withval" != "xno" ; then
4504 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no])
4505 if test "$PKGCONFIG" != "no"; then
4506 AC_MSG_CHECKING([for libsystemd])
4507 if $PKGCONFIG --exists libsystemd; then
4508 SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd`
4509 SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd`
4510 CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS"
4511 SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS"
4512 AC_MSG_RESULT([yes])
4513 AC_DEFINE(HAVE_SYSTEMD, 1, [Define if you want systemd support.])
4514 SYSTEMD_MSG="yes"
4515 else
4516 AC_MSG_RESULT([no])
4517 fi
4518 fi
4519 fi ]
4520)
4521
4499# Looking for programs, paths and files 4522# Looking for programs, paths and files
4500 4523
4501PRIVSEP_PATH=/var/empty 4524PRIVSEP_PATH=/var/empty
@@ -5303,6 +5326,7 @@ echo " libldns support: $LDNS_MSG"
5303echo " Solaris process contract support: $SPC_MSG" 5326echo " Solaris process contract support: $SPC_MSG"
5304echo " Solaris project support: $SP_MSG" 5327echo " Solaris project support: $SP_MSG"
5305echo " Solaris privilege support: $SPP_MSG" 5328echo " Solaris privilege support: $SPP_MSG"
5329echo " systemd support: $SYSTEMD_MSG"
5306echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 5330echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
5307echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 5331echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
5308echo " BSD Auth support: $BSD_AUTH_MSG" 5332echo " BSD Auth support: $BSD_AUTH_MSG"