diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4d55c46fc..cd6acaf9f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -4188,6 +4188,30 @@ AC_ARG_WITH([kerberos5], | |||
4188 | AC_SUBST([GSSLIBS]) | 4188 | AC_SUBST([GSSLIBS]) |
4189 | AC_SUBST([K5LIBS]) | 4189 | AC_SUBST([K5LIBS]) |
4190 | 4190 | ||
4191 | # Check whether user wants ConsoleKit support | ||
4192 | CONSOLEKIT_MSG="no" | ||
4193 | LIBCK_CONNECTOR="" | ||
4194 | AC_ARG_WITH(consolekit, | ||
4195 | [ --with-consolekit Enable ConsoleKit support], | ||
4196 | [ if test "x$withval" != "xno" ; then | ||
4197 | AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) | ||
4198 | if test "$PKGCONFIG" != "no"; then | ||
4199 | AC_MSG_CHECKING([for ck-connector]) | ||
4200 | if $PKGCONFIG --exists ck-connector; then | ||
4201 | CKCON_CFLAGS=`$PKGCONFIG --cflags ck-connector` | ||
4202 | CKCON_LIBS=`$PKGCONFIG --libs ck-connector` | ||
4203 | CPPFLAGS="$CPPFLAGS $CKCON_CFLAGS" | ||
4204 | SSHDLIBS="$SSHDLIBS $CKCON_LIBS" | ||
4205 | AC_MSG_RESULT([yes]) | ||
4206 | AC_DEFINE(USE_CONSOLEKIT, 1, [Define if you want ConsoleKit support.]) | ||
4207 | CONSOLEKIT_MSG="yes" | ||
4208 | else | ||
4209 | AC_MSG_RESULT([no]) | ||
4210 | fi | ||
4211 | fi | ||
4212 | fi ] | ||
4213 | ) | ||
4214 | |||
4191 | # Looking for programs, paths and files | 4215 | # Looking for programs, paths and files |
4192 | 4216 | ||
4193 | PRIVSEP_PATH=/var/empty | 4217 | PRIVSEP_PATH=/var/empty |
@@ -4989,6 +5013,7 @@ echo " MD5 password support: $MD5_MSG" | |||
4989 | echo " libedit support: $LIBEDIT_MSG" | 5013 | echo " libedit support: $LIBEDIT_MSG" |
4990 | echo " Solaris process contract support: $SPC_MSG" | 5014 | echo " Solaris process contract support: $SPC_MSG" |
4991 | echo " Solaris project support: $SP_MSG" | 5015 | echo " Solaris project support: $SP_MSG" |
5016 | echo " ConsoleKit support: $CONSOLEKIT_MSG" | ||
4992 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 5017 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
4993 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 5018 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
4994 | echo " BSD Auth support: $BSD_AUTH_MSG" | 5019 | echo " BSD Auth support: $BSD_AUTH_MSG" |