summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure132
1 files changed, 132 insertions, 0 deletions
diff --git a/configure b/configure
index ceb1b5d6d..78bbcd008 100755
--- a/configure
+++ b/configure
@@ -738,6 +738,7 @@ with_privsep_user
738with_sandbox 738with_sandbox
739with_selinux 739with_selinux
740with_kerberos5 740with_kerberos5
741with_consolekit
741with_privsep_path 742with_privsep_path
742with_xauth 743with_xauth
743enable_strip 744enable_strip
@@ -1428,6 +1429,7 @@ Optional Packages:
1428 --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter) 1429 --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter)
1429 --with-selinux Enable SELinux support 1430 --with-selinux Enable SELinux support
1430 --with-kerberos5=PATH Enable Kerberos 5 support 1431 --with-kerberos5=PATH Enable Kerberos 5 support
1432 --with-consolekit Enable ConsoleKit support
1431 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 1433 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
1432 --with-xauth=PATH Specify path to xauth program 1434 --with-xauth=PATH Specify path to xauth program
1433 --with-maildir=/path/to/mail Specify your system mail directory 1435 --with-maildir=/path/to/mail Specify your system mail directory
@@ -16375,6 +16377,135 @@ fi
16375 16377
16376 16378
16377 16379
16380# Check whether user wants ConsoleKit support
16381CONSOLEKIT_MSG="no"
16382LIBCK_CONNECTOR=""
16383
16384# Check whether --with-consolekit was given.
16385if test "${with_consolekit+set}" = set; then :
16386 withval=$with_consolekit; if test "x$withval" != "xno" ; then
16387 if test -n "$ac_tool_prefix"; then
16388 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16389set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16391$as_echo_n "checking for $ac_word... " >&6; }
16392if ${ac_cv_path_PKGCONFIG+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394else
16395 case $PKGCONFIG in
16396 [\\/]* | ?:[\\/]*)
16397 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
16398 ;;
16399 *)
16400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16401for as_dir in $PATH
16402do
16403 IFS=$as_save_IFS
16404 test -z "$as_dir" && as_dir=.
16405 for ac_exec_ext in '' $ac_executable_extensions; do
16406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16407 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
16408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16409 break 2
16410 fi
16411done
16412 done
16413IFS=$as_save_IFS
16414
16415 ;;
16416esac
16417fi
16418PKGCONFIG=$ac_cv_path_PKGCONFIG
16419if test -n "$PKGCONFIG"; then
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
16421$as_echo "$PKGCONFIG" >&6; }
16422else
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16424$as_echo "no" >&6; }
16425fi
16426
16427
16428fi
16429if test -z "$ac_cv_path_PKGCONFIG"; then
16430 ac_pt_PKGCONFIG=$PKGCONFIG
16431 # Extract the first word of "pkg-config", so it can be a program name with args.
16432set dummy pkg-config; ac_word=$2
16433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16434$as_echo_n "checking for $ac_word... " >&6; }
16435if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
16436 $as_echo_n "(cached) " >&6
16437else
16438 case $ac_pt_PKGCONFIG in
16439 [\\/]* | ?:[\\/]*)
16440 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
16441 ;;
16442 *)
16443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16444for as_dir in $PATH
16445do
16446 IFS=$as_save_IFS
16447 test -z "$as_dir" && as_dir=.
16448 for ac_exec_ext in '' $ac_executable_extensions; do
16449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16450 ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
16451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16452 break 2
16453 fi
16454done
16455 done
16456IFS=$as_save_IFS
16457
16458 ;;
16459esac
16460fi
16461ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
16462if test -n "$ac_pt_PKGCONFIG"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
16464$as_echo "$ac_pt_PKGCONFIG" >&6; }
16465else
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467$as_echo "no" >&6; }
16468fi
16469
16470 if test "x$ac_pt_PKGCONFIG" = x; then
16471 PKGCONFIG="no"
16472 else
16473 case $cross_compiling:$ac_tool_warned in
16474yes:)
16475{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16476$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16477ac_tool_warned=yes ;;
16478esac
16479 PKGCONFIG=$ac_pt_PKGCONFIG
16480 fi
16481else
16482 PKGCONFIG="$ac_cv_path_PKGCONFIG"
16483fi
16484
16485 if test "$PKGCONFIG" != "no"; then
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ck-connector" >&5
16487$as_echo_n "checking for ck-connector... " >&6; }
16488 if $PKGCONFIG --exists ck-connector; then
16489 CKCON_CFLAGS=`$PKGCONFIG --cflags ck-connector`
16490 CKCON_LIBS=`$PKGCONFIG --libs ck-connector`
16491 CPPFLAGS="$CPPFLAGS $CKCON_CFLAGS"
16492 SSHDLIBS="$SSHDLIBS $CKCON_LIBS"
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16494$as_echo "yes" >&6; }
16495
16496$as_echo "#define USE_CONSOLEKIT 1" >>confdefs.h
16497
16498 CONSOLEKIT_MSG="yes"
16499 else
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16501$as_echo "no" >&6; }
16502 fi
16503 fi
16504 fi
16505
16506fi
16507
16508
16378# Looking for programs, paths and files 16509# Looking for programs, paths and files
16379 16510
16380PRIVSEP_PATH=/var/empty 16511PRIVSEP_PATH=/var/empty
@@ -18902,6 +19033,7 @@ echo " MD5 password support: $MD5_MSG"
18902echo " libedit support: $LIBEDIT_MSG" 19033echo " libedit support: $LIBEDIT_MSG"
18903echo " Solaris process contract support: $SPC_MSG" 19034echo " Solaris process contract support: $SPC_MSG"
18904echo " Solaris project support: $SP_MSG" 19035echo " Solaris project support: $SP_MSG"
19036echo " ConsoleKit support: $CONSOLEKIT_MSG"
18905echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 19037echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
18906echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 19038echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
18907echo " BSD Auth support: $BSD_AUTH_MSG" 19039echo " BSD Auth support: $BSD_AUTH_MSG"