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 5a9db2d05..57b68e256 100755
--- a/configure
+++ b/configure
@@ -740,6 +740,7 @@ with_privsep_user
740with_sandbox 740with_sandbox
741with_selinux 741with_selinux
742with_kerberos5 742with_kerberos5
743with_consolekit
743with_privsep_path 744with_privsep_path
744with_xauth 745with_xauth
745enable_strip 746enable_strip
@@ -1432,6 +1433,7 @@ Optional Packages:
1432 --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter, capsicum) 1433 --with-sandbox=style Specify privilege separation sandbox (no, darwin, rlimit, systrace, seccomp_filter, capsicum)
1433 --with-selinux Enable SELinux support 1434 --with-selinux Enable SELinux support
1434 --with-kerberos5=PATH Enable Kerberos 5 support 1435 --with-kerberos5=PATH Enable Kerberos 5 support
1436 --with-consolekit Enable ConsoleKit support
1435 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 1437 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
1436 --with-xauth=PATH Specify path to xauth program 1438 --with-xauth=PATH Specify path to xauth program
1437 --with-maildir=/path/to/mail Specify your system mail directory 1439 --with-maildir=/path/to/mail Specify your system mail directory
@@ -17215,6 +17217,135 @@ fi
17215 17217
17216 17218
17217 17219
17220# Check whether user wants ConsoleKit support
17221CONSOLEKIT_MSG="no"
17222LIBCK_CONNECTOR=""
17223
17224# Check whether --with-consolekit was given.
17225if test "${with_consolekit+set}" = set; then :
17226 withval=$with_consolekit; if test "x$withval" != "xno" ; then
17227 if test -n "$ac_tool_prefix"; then
17228 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17229set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17231$as_echo_n "checking for $ac_word... " >&6; }
17232if ${ac_cv_path_PKGCONFIG+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234else
17235 case $PKGCONFIG in
17236 [\\/]* | ?:[\\/]*)
17237 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
17238 ;;
17239 *)
17240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17241for as_dir in $PATH
17242do
17243 IFS=$as_save_IFS
17244 test -z "$as_dir" && as_dir=.
17245 for ac_exec_ext in '' $ac_executable_extensions; do
17246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17247 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
17248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17249 break 2
17250 fi
17251done
17252 done
17253IFS=$as_save_IFS
17254
17255 ;;
17256esac
17257fi
17258PKGCONFIG=$ac_cv_path_PKGCONFIG
17259if test -n "$PKGCONFIG"; then
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
17261$as_echo "$PKGCONFIG" >&6; }
17262else
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17264$as_echo "no" >&6; }
17265fi
17266
17267
17268fi
17269if test -z "$ac_cv_path_PKGCONFIG"; then
17270 ac_pt_PKGCONFIG=$PKGCONFIG
17271 # Extract the first word of "pkg-config", so it can be a program name with args.
17272set dummy pkg-config; ac_word=$2
17273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17274$as_echo_n "checking for $ac_word... " >&6; }
17275if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277else
17278 case $ac_pt_PKGCONFIG in
17279 [\\/]* | ?:[\\/]*)
17280 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
17281 ;;
17282 *)
17283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17284for as_dir in $PATH
17285do
17286 IFS=$as_save_IFS
17287 test -z "$as_dir" && as_dir=.
17288 for ac_exec_ext in '' $ac_executable_extensions; do
17289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17290 ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
17291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17292 break 2
17293 fi
17294done
17295 done
17296IFS=$as_save_IFS
17297
17298 ;;
17299esac
17300fi
17301ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG
17302if test -n "$ac_pt_PKGCONFIG"; then
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
17304$as_echo "$ac_pt_PKGCONFIG" >&6; }
17305else
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307$as_echo "no" >&6; }
17308fi
17309
17310 if test "x$ac_pt_PKGCONFIG" = x; then
17311 PKGCONFIG="no"
17312 else
17313 case $cross_compiling:$ac_tool_warned in
17314yes:)
17315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17317ac_tool_warned=yes ;;
17318esac
17319 PKGCONFIG=$ac_pt_PKGCONFIG
17320 fi
17321else
17322 PKGCONFIG="$ac_cv_path_PKGCONFIG"
17323fi
17324
17325 if test "$PKGCONFIG" != "no"; then
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ck-connector" >&5
17327$as_echo_n "checking for ck-connector... " >&6; }
17328 if $PKGCONFIG --exists ck-connector; then
17329 CKCON_CFLAGS=`$PKGCONFIG --cflags ck-connector`
17330 CKCON_LIBS=`$PKGCONFIG --libs ck-connector`
17331 CPPFLAGS="$CPPFLAGS $CKCON_CFLAGS"
17332 SSHDLIBS="$SSHDLIBS $CKCON_LIBS"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17334$as_echo "yes" >&6; }
17335
17336$as_echo "#define USE_CONSOLEKIT 1" >>confdefs.h
17337
17338 CONSOLEKIT_MSG="yes"
17339 else
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17341$as_echo "no" >&6; }
17342 fi
17343 fi
17344 fi
17345
17346fi
17347
17348
17218# Looking for programs, paths and files 17349# Looking for programs, paths and files
17219 17350
17220PRIVSEP_PATH=/var/empty 17351PRIVSEP_PATH=/var/empty
@@ -19744,6 +19875,7 @@ echo " MD5 password support: $MD5_MSG"
19744echo " libedit support: $LIBEDIT_MSG" 19875echo " libedit support: $LIBEDIT_MSG"
19745echo " Solaris process contract support: $SPC_MSG" 19876echo " Solaris process contract support: $SPC_MSG"
19746echo " Solaris project support: $SP_MSG" 19877echo " Solaris project support: $SP_MSG"
19878echo " ConsoleKit support: $CONSOLEKIT_MSG"
19747echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 19879echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
19748echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 19880echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
19749echo " BSD Auth support: $BSD_AUTH_MSG" 19881echo " BSD Auth support: $BSD_AUTH_MSG"