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 3b30736b3..483a9038c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4389,6 +4389,29 @@ AC_ARG_WITH([kerberos5],
4389AC_SUBST([GSSLIBS]) 4389AC_SUBST([GSSLIBS])
4390AC_SUBST([K5LIBS]) 4390AC_SUBST([K5LIBS])
4391 4391
4392# Check whether user wants systemd support
4393SYSTEMD_MSG="no"
4394AC_ARG_WITH(systemd,
4395 [ --with-systemd Enable systemd support],
4396 [ if test "x$withval" != "xno" ; then
4397 AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no])
4398 if test "$PKGCONFIG" != "no"; then
4399 AC_MSG_CHECKING([for libsystemd])
4400 if $PKGCONFIG --exists libsystemd; then
4401 SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd`
4402 SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd`
4403 CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS"
4404 SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS"
4405 AC_MSG_RESULT([yes])
4406 AC_DEFINE(HAVE_SYSTEMD, 1, [Define if you want systemd support.])
4407 SYSTEMD_MSG="yes"
4408 else
4409 AC_MSG_RESULT([no])
4410 fi
4411 fi
4412 fi ]
4413)
4414
4392# Looking for programs, paths and files 4415# Looking for programs, paths and files
4393 4416
4394PRIVSEP_PATH=/var/empty 4417PRIVSEP_PATH=/var/empty
@@ -5196,6 +5219,7 @@ echo " libldns support: $LDNS_MSG"
5196echo " Solaris process contract support: $SPC_MSG" 5219echo " Solaris process contract support: $SPC_MSG"
5197echo " Solaris project support: $SP_MSG" 5220echo " Solaris project support: $SP_MSG"
5198echo " Solaris privilege support: $SPP_MSG" 5221echo " Solaris privilege support: $SPP_MSG"
5222echo " systemd support: $SYSTEMD_MSG"
5199echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 5223echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
5200echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 5224echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
5201echo " BSD Auth support: $BSD_AUTH_MSG" 5225echo " BSD Auth support: $BSD_AUTH_MSG"