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 ce16e7758..de140f578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4526,6 +4526,29 @@ AC_ARG_WITH([kerberos5],
4526AC_SUBST([GSSLIBS]) 4526AC_SUBST([GSSLIBS])
4527AC_SUBST([K5LIBS]) 4527AC_SUBST([K5LIBS])
4528 4528
4529# Check whether user wants systemd support
4530SYSTEMD_MSG="no"
4531AC_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
4531PRIVSEP_PATH=/var/empty 4554PRIVSEP_PATH=/var/empty
@@ -5332,6 +5355,7 @@ echo " libldns support: $LDNS_MSG"
5332echo " Solaris process contract support: $SPC_MSG" 5355echo " Solaris process contract support: $SPC_MSG"
5333echo " Solaris project support: $SP_MSG" 5356echo " Solaris project support: $SP_MSG"
5334echo " Solaris privilege support: $SPP_MSG" 5357echo " Solaris privilege support: $SPP_MSG"
5358echo " systemd support: $SYSTEMD_MSG"
5335echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 5359echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
5336echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 5360echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
5337echo " BSD Auth support: $BSD_AUTH_MSG" 5361echo " BSD Auth support: $BSD_AUTH_MSG"