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 4c1a6589e..d7d500a33 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -3841,6 +3841,30 @@ AC_ARG_WITH([kerberos5], | |||
3841 | AC_SUBST([GSSLIBS]) | 3841 | AC_SUBST([GSSLIBS]) |
3842 | AC_SUBST([K5LIBS]) | 3842 | AC_SUBST([K5LIBS]) |
3843 | 3843 | ||
3844 | # Check whether user wants ConsoleKit support | ||
3845 | CONSOLEKIT_MSG="no" | ||
3846 | LIBCK_CONNECTOR="" | ||
3847 | AC_ARG_WITH(consolekit, | ||
3848 | [ --with-consolekit Enable ConsoleKit support], | ||
3849 | [ if test "x$withval" != "xno" ; then | ||
3850 | AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no]) | ||
3851 | if test "$PKGCONFIG" != "no"; then | ||
3852 | AC_MSG_CHECKING([for ck-connector]) | ||
3853 | if $PKGCONFIG --exists ck-connector; then | ||
3854 | CKCON_CFLAGS=`$PKGCONFIG --cflags ck-connector` | ||
3855 | CKCON_LIBS=`$PKGCONFIG --libs ck-connector` | ||
3856 | CPPFLAGS="$CPPFLAGS $CKCON_CFLAGS" | ||
3857 | SSHDLIBS="$SSHDLIBS $CKCON_LIBS" | ||
3858 | AC_MSG_RESULT([yes]) | ||
3859 | AC_DEFINE(USE_CONSOLEKIT, 1, [Define if you want ConsoleKit support.]) | ||
3860 | CONSOLEKIT_MSG="yes" | ||
3861 | else | ||
3862 | AC_MSG_RESULT([no]) | ||
3863 | fi | ||
3864 | fi | ||
3865 | fi ] | ||
3866 | ) | ||
3867 | |||
3844 | # Looking for programs, paths and files | 3868 | # Looking for programs, paths and files |
3845 | 3869 | ||
3846 | PRIVSEP_PATH=/var/empty | 3870 | PRIVSEP_PATH=/var/empty |
@@ -4641,6 +4665,7 @@ echo " MD5 password support: $MD5_MSG" | |||
4641 | echo " libedit support: $LIBEDIT_MSG" | 4665 | echo " libedit support: $LIBEDIT_MSG" |
4642 | echo " Solaris process contract support: $SPC_MSG" | 4666 | echo " Solaris process contract support: $SPC_MSG" |
4643 | echo " Solaris project support: $SP_MSG" | 4667 | echo " Solaris project support: $SP_MSG" |
4668 | echo " ConsoleKit support: $CONSOLEKIT_MSG" | ||
4644 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 4669 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
4645 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 4670 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
4646 | echo " BSD Auth support: $BSD_AUTH_MSG" | 4671 | echo " BSD Auth support: $BSD_AUTH_MSG" |