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 5d720f77a..c978c1104 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -4263,6 +4263,29 @@ AC_ARG_WITH([kerberos5], | |||
4263 | AC_SUBST([GSSLIBS]) | 4263 | AC_SUBST([GSSLIBS]) |
4264 | AC_SUBST([K5LIBS]) | 4264 | AC_SUBST([K5LIBS]) |
4265 | 4265 | ||
4266 | # Check whether user wants systemd support | ||
4267 | SYSTEMD_MSG="no" | ||
4268 | AC_ARG_WITH(systemd, | ||
4269 | [ --with-systemd Enable systemd support], | ||
4270 | [ if test "x$withval" != "xno" ; then | ||
4271 | AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) | ||
4272 | if test "$PKGCONFIG" != "no"; then | ||
4273 | AC_MSG_CHECKING([for libsystemd]) | ||
4274 | if $PKGCONFIG --exists libsystemd; then | ||
4275 | SYSTEMD_CFLAGS=`$PKGCONFIG --cflags libsystemd` | ||
4276 | SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd` | ||
4277 | CPPFLAGS="$CPPFLAGS $SYSTEMD_CFLAGS" | ||
4278 | SSHDLIBS="$SSHDLIBS $SYSTEMD_LIBS" | ||
4279 | AC_MSG_RESULT([yes]) | ||
4280 | AC_DEFINE(HAVE_SYSTEMD, 1, [Define if you want systemd support.]) | ||
4281 | SYSTEMD_MSG="yes" | ||
4282 | else | ||
4283 | AC_MSG_RESULT([no]) | ||
4284 | fi | ||
4285 | fi | ||
4286 | fi ] | ||
4287 | ) | ||
4288 | |||
4266 | # Looking for programs, paths and files | 4289 | # Looking for programs, paths and files |
4267 | 4290 | ||
4268 | PRIVSEP_PATH=/var/empty | 4291 | PRIVSEP_PATH=/var/empty |
@@ -5065,6 +5088,7 @@ echo " libedit support: $LIBEDIT_MSG" | |||
5065 | echo " Solaris process contract support: $SPC_MSG" | 5088 | echo " Solaris process contract support: $SPC_MSG" |
5066 | echo " Solaris project support: $SP_MSG" | 5089 | echo " Solaris project support: $SP_MSG" |
5067 | echo " Solaris privilege support: $SPP_MSG" | 5090 | echo " Solaris privilege support: $SPP_MSG" |
5091 | echo " systemd support: $SYSTEMD_MSG" | ||
5068 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 5092 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
5069 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 5093 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
5070 | echo " BSD Auth support: $BSD_AUTH_MSG" | 5094 | echo " BSD Auth support: $BSD_AUTH_MSG" |