summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-10-31 10:35:38 +0000
committerColin Watson <cjwatson@debian.org>2012-10-31 10:35:38 +0000
commit301aad188299b268452af6b67261336c88f44ab1 (patch)
tree5ec34d429196f17ea6eb2205ca8f96da32b09dd1 /configure
parent5cb249b209c170d817471b575b6d105094f137bc (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-xconfigure132
1 files changed, 132 insertions, 0 deletions
diff --git a/configure b/configure
index 5e473371d..2f249c936 100755
--- a/configure
+++ b/configure
@@ -735,6 +735,7 @@ with_privsep_user
735with_sandbox 735with_sandbox
736with_selinux 736with_selinux
737with_kerberos5 737with_kerberos5
738with_consolekit
738with_privsep_path 739with_privsep_path
739with_xauth 740with_xauth
740enable_strip 741enable_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
15683fi 15685fi
15684 15686
15685 15687
15688# Check whether user wants ConsoleKit support
15689CONSOLEKIT_MSG="no"
15690LIBCK_CONNECTOR=""
15691
15692# Check whether --with-consolekit was given.
15693if 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.
15697set 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; }
15700if ${ac_cv_path_PKGCONFIG+:} false; then :
15701 $as_echo_n "(cached) " >&6
15702else
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
15709for as_dir in $PATH
15710do
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
15719done
15720 done
15721IFS=$as_save_IFS
15722
15723 ;;
15724esac
15725fi
15726PKGCONFIG=$ac_cv_path_PKGCONFIG
15727if test -n "$PKGCONFIG"; then
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
15729$as_echo "$PKGCONFIG" >&6; }
15730else
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15732$as_echo "no" >&6; }
15733fi
15734
15735
15736fi
15737if 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.
15740set 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; }
15743if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
15744 $as_echo_n "(cached) " >&6
15745else
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
15752for as_dir in $PATH
15753do
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
15762done
15763 done
15764IFS=$as_save_IFS
15765
15766 ;;
15767esac
15768fi
15769ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
15770if 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; }
15773else
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15775$as_echo "no" >&6; }
15776fi
15777
15778 if test "x$ac_pt_PKGCONFIG" = x; then
15779 PKGCONFIG="no"
15780 else
15781 case $cross_compiling:$ac_tool_warned in
15782yes:)
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;}
15785ac_tool_warned=yes ;;
15786esac
15787 PKGCONFIG=$ac_pt_PKGCONFIG
15788 fi
15789else
15790 PKGCONFIG="$ac_cv_path_PKGCONFIG"
15791fi
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
15814fi
15815
15816
15686# Looking for programs, paths and files 15817# Looking for programs, paths and files
15687 15818
15688PRIVSEP_PATH=/var/empty 15819PRIVSEP_PATH=/var/empty
@@ -18155,6 +18286,7 @@ echo " MD5 password support: $MD5_MSG"
18155echo " libedit support: $LIBEDIT_MSG" 18286echo " libedit support: $LIBEDIT_MSG"
18156echo " Solaris process contract support: $SPC_MSG" 18287echo " Solaris process contract support: $SPC_MSG"
18157echo " Solaris project support: $SP_MSG" 18288echo " Solaris project support: $SP_MSG"
18289echo " ConsoleKit support: $CONSOLEKIT_MSG"
18158echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 18290echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
18159echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 18291echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
18160echo " BSD Auth support: $BSD_AUTH_MSG" 18292echo " BSD Auth support: $BSD_AUTH_MSG"