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