diff options
author | Colin Watson <cjwatson@debian.org> | 2012-10-31 10:35:38 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2012-10-31 10:35:38 +0000 |
commit | 301aad188299b268452af6b67261336c88f44ab1 (patch) | |
tree | 5ec34d429196f17ea6eb2205ca8f96da32b09dd1 /configure | |
parent | 5cb249b209c170d817471b575b6d105094f137bc (diff) |
* Merge from Ubuntu:
- Add support for registering ConsoleKit sessions on login. (This is
currently enabled only when building for Ubuntu.)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 132 |
1 files changed, 132 insertions, 0 deletions
@@ -735,6 +735,7 @@ with_privsep_user | |||
735 | with_sandbox | 735 | with_sandbox |
736 | with_selinux | 736 | with_selinux |
737 | with_kerberos5 | 737 | with_kerberos5 |
738 | with_consolekit | ||
738 | with_privsep_path | 739 | with_privsep_path |
739 | with_xauth | 740 | with_xauth |
740 | enable_strip | 741 | enable_strip |
@@ -1425,6 +1426,7 @@ Optional Packages: | |||
1425 | --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter) | 1426 | --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter) |
1426 | --with-selinux Enable SELinux support | 1427 | --with-selinux Enable SELinux support |
1427 | --with-kerberos5=PATH Enable Kerberos 5 support | 1428 | --with-kerberos5=PATH Enable Kerberos 5 support |
1429 | --with-consolekit Enable ConsoleKit support | ||
1428 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | 1430 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) |
1429 | --with-xauth=PATH Specify path to xauth program | 1431 | --with-xauth=PATH Specify path to xauth program |
1430 | --with-maildir=/path/to/mail Specify your system mail directory | 1432 | --with-maildir=/path/to/mail Specify your system mail directory |
@@ -15683,6 +15685,135 @@ fi | |||
15683 | fi | 15685 | fi |
15684 | 15686 | ||
15685 | 15687 | ||
15688 | # Check whether user wants ConsoleKit support | ||
15689 | CONSOLEKIT_MSG="no" | ||
15690 | LIBCK_CONNECTOR="" | ||
15691 | |||
15692 | # Check whether --with-consolekit was given. | ||
15693 | if test "${with_consolekit+set}" = set; then : | ||
15694 | withval=$with_consolekit; if test "x$withval" != "xno" ; then | ||
15695 | if test -n "$ac_tool_prefix"; then | ||
15696 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | ||
15697 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | ||
15698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
15699 | $as_echo_n "checking for $ac_word... " >&6; } | ||
15700 | if ${ac_cv_path_PKGCONFIG+:} false; then : | ||
15701 | $as_echo_n "(cached) " >&6 | ||
15702 | else | ||
15703 | case $PKGCONFIG in | ||
15704 | [\\/]* | ?:[\\/]*) | ||
15705 | ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. | ||
15706 | ;; | ||
15707 | *) | ||
15708 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
15709 | for as_dir in $PATH | ||
15710 | do | ||
15711 | IFS=$as_save_IFS | ||
15712 | test -z "$as_dir" && as_dir=. | ||
15713 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
15714 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
15715 | ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
15716 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
15717 | break 2 | ||
15718 | fi | ||
15719 | done | ||
15720 | done | ||
15721 | IFS=$as_save_IFS | ||
15722 | |||
15723 | ;; | ||
15724 | esac | ||
15725 | fi | ||
15726 | PKGCONFIG=$ac_cv_path_PKGCONFIG | ||
15727 | if test -n "$PKGCONFIG"; then | ||
15728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 | ||
15729 | $as_echo "$PKGCONFIG" >&6; } | ||
15730 | else | ||
15731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
15732 | $as_echo "no" >&6; } | ||
15733 | fi | ||
15734 | |||
15735 | |||
15736 | fi | ||
15737 | if test -z "$ac_cv_path_PKGCONFIG"; then | ||
15738 | ac_pt_PKGCONFIG=$PKGCONFIG | ||
15739 | # Extract the first word of "pkg-config", so it can be a program name with args. | ||
15740 | set dummy pkg-config; ac_word=$2 | ||
15741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
15742 | $as_echo_n "checking for $ac_word... " >&6; } | ||
15743 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : | ||
15744 | $as_echo_n "(cached) " >&6 | ||
15745 | else | ||
15746 | case $ac_pt_PKGCONFIG in | ||
15747 | [\\/]* | ?:[\\/]*) | ||
15748 | ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path. | ||
15749 | ;; | ||
15750 | *) | ||
15751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
15752 | for as_dir in $PATH | ||
15753 | do | ||
15754 | IFS=$as_save_IFS | ||
15755 | test -z "$as_dir" && as_dir=. | ||
15756 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
15757 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
15758 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | ||
15759 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
15760 | break 2 | ||
15761 | fi | ||
15762 | done | ||
15763 | done | ||
15764 | IFS=$as_save_IFS | ||
15765 | |||
15766 | ;; | ||
15767 | esac | ||
15768 | fi | ||
15769 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | ||
15770 | if test -n "$ac_pt_PKGCONFIG"; then | ||
15771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 | ||
15772 | $as_echo "$ac_pt_PKGCONFIG" >&6; } | ||
15773 | else | ||
15774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
15775 | $as_echo "no" >&6; } | ||
15776 | fi | ||
15777 | |||
15778 | if test "x$ac_pt_PKGCONFIG" = x; then | ||
15779 | PKGCONFIG="no" | ||
15780 | else | ||
15781 | case $cross_compiling:$ac_tool_warned in | ||
15782 | yes:) | ||
15783 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
15784 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
15785 | ac_tool_warned=yes ;; | ||
15786 | esac | ||
15787 | PKGCONFIG=$ac_pt_PKGCONFIG | ||
15788 | fi | ||
15789 | else | ||
15790 | PKGCONFIG="$ac_cv_path_PKGCONFIG" | ||
15791 | fi | ||
15792 | |||
15793 | if test "$PKGCONFIG" != "no"; then | ||
15794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ck-connector" >&5 | ||
15795 | $as_echo_n "checking for ck-connector... " >&6; } | ||
15796 | if $PKGCONFIG --exists ck-connector; then | ||
15797 | CKCON_CFLAGS=`$PKGCONFIG --cflags ck-connector` | ||
15798 | CKCON_LIBS=`$PKGCONFIG --libs ck-connector` | ||
15799 | CPPFLAGS="$CPPFLAGS $CKCON_CFLAGS" | ||
15800 | SSHDLIBS="$SSHDLIBS $CKCON_LIBS" | ||
15801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
15802 | $as_echo "yes" >&6; } | ||
15803 | |||
15804 | $as_echo "#define USE_CONSOLEKIT 1" >>confdefs.h | ||
15805 | |||
15806 | CONSOLEKIT_MSG="yes" | ||
15807 | else | ||
15808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
15809 | $as_echo "no" >&6; } | ||
15810 | fi | ||
15811 | fi | ||
15812 | fi | ||
15813 | |||
15814 | fi | ||
15815 | |||
15816 | |||
15686 | # Looking for programs, paths and files | 15817 | # Looking for programs, paths and files |
15687 | 15818 | ||
15688 | PRIVSEP_PATH=/var/empty | 15819 | PRIVSEP_PATH=/var/empty |
@@ -18155,6 +18286,7 @@ echo " MD5 password support: $MD5_MSG" | |||
18155 | echo " libedit support: $LIBEDIT_MSG" | 18286 | echo " libedit support: $LIBEDIT_MSG" |
18156 | echo " Solaris process contract support: $SPC_MSG" | 18287 | echo " Solaris process contract support: $SPC_MSG" |
18157 | echo " Solaris project support: $SP_MSG" | 18288 | echo " Solaris project support: $SP_MSG" |
18289 | echo " ConsoleKit support: $CONSOLEKIT_MSG" | ||
18158 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 18290 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
18159 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 18291 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
18160 | echo " BSD Auth support: $BSD_AUTH_MSG" | 18292 | echo " BSD Auth support: $BSD_AUTH_MSG" |