diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 132 |
1 files changed, 132 insertions, 0 deletions
@@ -740,6 +740,7 @@ with_privsep_user | |||
740 | with_sandbox | 740 | with_sandbox |
741 | with_selinux | 741 | with_selinux |
742 | with_kerberos5 | 742 | with_kerberos5 |
743 | with_consolekit | ||
743 | with_privsep_path | 744 | with_privsep_path |
744 | with_xauth | 745 | with_xauth |
745 | enable_strip | 746 | enable_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 | ||
17221 | CONSOLEKIT_MSG="no" | ||
17222 | LIBCK_CONNECTOR="" | ||
17223 | |||
17224 | # Check whether --with-consolekit was given. | ||
17225 | if 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. | ||
17229 | set 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; } | ||
17232 | if ${ac_cv_path_PKGCONFIG+:} false; then : | ||
17233 | $as_echo_n "(cached) " >&6 | ||
17234 | else | ||
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 | ||
17241 | for as_dir in $PATH | ||
17242 | do | ||
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 | ||
17251 | done | ||
17252 | done | ||
17253 | IFS=$as_save_IFS | ||
17254 | |||
17255 | ;; | ||
17256 | esac | ||
17257 | fi | ||
17258 | PKGCONFIG=$ac_cv_path_PKGCONFIG | ||
17259 | if test -n "$PKGCONFIG"; then | ||
17260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 | ||
17261 | $as_echo "$PKGCONFIG" >&6; } | ||
17262 | else | ||
17263 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
17264 | $as_echo "no" >&6; } | ||
17265 | fi | ||
17266 | |||
17267 | |||
17268 | fi | ||
17269 | if 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. | ||
17272 | set 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; } | ||
17275 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : | ||
17276 | $as_echo_n "(cached) " >&6 | ||
17277 | else | ||
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 | ||
17284 | for as_dir in $PATH | ||
17285 | do | ||
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 | ||
17294 | done | ||
17295 | done | ||
17296 | IFS=$as_save_IFS | ||
17297 | |||
17298 | ;; | ||
17299 | esac | ||
17300 | fi | ||
17301 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | ||
17302 | if 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; } | ||
17305 | else | ||
17306 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
17307 | $as_echo "no" >&6; } | ||
17308 | fi | ||
17309 | |||
17310 | if test "x$ac_pt_PKGCONFIG" = x; then | ||
17311 | PKGCONFIG="no" | ||
17312 | else | ||
17313 | case $cross_compiling:$ac_tool_warned in | ||
17314 | yes:) | ||
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;} | ||
17317 | ac_tool_warned=yes ;; | ||
17318 | esac | ||
17319 | PKGCONFIG=$ac_pt_PKGCONFIG | ||
17320 | fi | ||
17321 | else | ||
17322 | PKGCONFIG="$ac_cv_path_PKGCONFIG" | ||
17323 | fi | ||
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 | |||
17346 | fi | ||
17347 | |||
17348 | |||
17218 | # Looking for programs, paths and files | 17349 | # Looking for programs, paths and files |
17219 | 17350 | ||
17220 | PRIVSEP_PATH=/var/empty | 17351 | PRIVSEP_PATH=/var/empty |
@@ -19744,6 +19875,7 @@ echo " MD5 password support: $MD5_MSG" | |||
19744 | echo " libedit support: $LIBEDIT_MSG" | 19875 | echo " libedit support: $LIBEDIT_MSG" |
19745 | echo " Solaris process contract support: $SPC_MSG" | 19876 | echo " Solaris process contract support: $SPC_MSG" |
19746 | echo " Solaris project support: $SP_MSG" | 19877 | echo " Solaris project support: $SP_MSG" |
19878 | echo " ConsoleKit support: $CONSOLEKIT_MSG" | ||
19747 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 19879 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
19748 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 19880 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
19749 | echo " BSD Auth support: $BSD_AUTH_MSG" | 19881 | echo " BSD Auth support: $BSD_AUTH_MSG" |