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 a92425dbc..9d89bc351 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -4376,6 +4376,29 @@ AC_ARG_WITH([kerberos5], | |||
4376 | AC_SUBST([GSSLIBS]) | 4376 | AC_SUBST([GSSLIBS]) |
4377 | AC_SUBST([K5LIBS]) | 4377 | AC_SUBST([K5LIBS]) |
4378 | 4378 | ||
4379 | # Check whether user wants systemd support | ||
4380 | SYSTEMD_MSG="no" | ||
4381 | AC_ARG_WITH(systemd, | ||
4382 | [ --with-systemd Enable systemd support], | ||
4383 | [ if test "x$withval" != "xno" ; then | ||
4384 | AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) | ||
4385 | if test "$PKGCONFIG" != "no"; then | ||
4386 | AC_MSG_CHECKING([for libsystemd]) | ||
4387 | if $PKGCONFIG --exists libsystemd; then | ||
4388 | SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd` | ||
4389 | SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd` | ||
4390 | CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS" | ||
4391 | SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS" | ||
4392 | AC_MSG_RESULT([yes]) | ||
4393 | AC_DEFINE(HAVE_SYSTEMD, 1, [Define if you want systemd support.]) | ||
4394 | SYSTEMD_MSG="yes" | ||
4395 | else | ||
4396 | AC_MSG_RESULT([no]) | ||
4397 | fi | ||
4398 | fi | ||
4399 | fi ] | ||
4400 | ) | ||
4401 | |||
4379 | # Looking for programs, paths and files | 4402 | # Looking for programs, paths and files |
4380 | 4403 | ||
4381 | PRIVSEP_PATH=/var/empty | 4404 | PRIVSEP_PATH=/var/empty |
@@ -5180,6 +5203,7 @@ echo " libldns support: $LDNS_MSG" | |||
5180 | echo " Solaris process contract support: $SPC_MSG" | 5203 | echo " Solaris process contract support: $SPC_MSG" |
5181 | echo " Solaris project support: $SP_MSG" | 5204 | echo " Solaris project support: $SP_MSG" |
5182 | echo " Solaris privilege support: $SPP_MSG" | 5205 | echo " Solaris privilege support: $SPP_MSG" |
5206 | echo " systemd support: $SYSTEMD_MSG" | ||
5183 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 5207 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
5184 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 5208 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
5185 | echo " BSD Auth support: $BSD_AUTH_MSG" | 5209 | echo " BSD Auth support: $BSD_AUTH_MSG" |