diff options
author | Colin Watson <cjwatson@debian.org> | 2008-07-22 19:45:18 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-07-22 19:45:18 +0000 |
commit | 137d76ba65883aa8143af1fcad83b57e7badef0c (patch) | |
tree | f426e804bb5248ceafedfab7bb78ae6e6752942c /configure | |
parent | dac7d049dad31f5f84d421d4eb628a7e13f977d7 (diff) | |
parent | ef94e5613d37bcbf880f21ee6094e4b1c7683a4c (diff) |
* New upstream release (closes: #474301). Important changes not previously
backported to 4.7p1:
- 4.9/4.9p1 (http://www.openssh.com/txt/release-4.9):
+ Added chroot(2) support for sshd(8), controlled by a new option
"ChrootDirectory" (closes: #139047, LP: #24777).
+ Linked sftp-server(8) into sshd(8). The internal sftp server is used
when the command "internal-sftp" is specified in a Subsystem or
ForceCommand declaration. When used with ChrootDirectory, the
internal sftp server requires no special configuration of files
inside the chroot environment.
+ Added a protocol extension method "posix-rename@openssh.com" for
sftp-server(8) to perform POSIX atomic rename() operations; sftp(1)
prefers this if available (closes: #308561).
+ Removed the fixed limit of 100 file handles in sftp-server(8).
+ ssh(8) will now skip generation of SSH protocol 1 ephemeral server
keys when in inetd mode and protocol 2 connections are negotiated.
This speeds up protocol 2 connections to inetd-mode servers that
also allow Protocol 1.
+ Accept the PermitRootLogin directive in a sshd_config(5) Match
block. Allows for, e.g. permitting root only from the local network.
+ Reworked sftp(1) argument splitting and escaping to be more
internally consistent (i.e. between sftp commands) and more
consistent with sh(1). Please note that this will change the
interpretation of some quoted strings, especially those with
embedded backslash escape sequences.
+ Support "Banner=none" in sshd_config(5) to disable sending of a
pre-login banner (e.g. in a Match block).
+ ssh(1) ProxyCommands are now executed with $SHELL rather than
/bin/sh.
+ ssh(1)'s ConnectTimeout option is now applied to both the TCP
connection and the SSH banner exchange (previously it just covered
the TCP connection). This allows callers of ssh(1) to better detect
and deal with stuck servers that accept a TCP connection but don't
progress the protocol, and also makes ConnectTimeout useful for
connections via a ProxyCommand.
+ scp(1) incorrectly reported "stalled" on slow copies (closes:
#140828).
+ scp(1) date underflow for timestamps before epoch.
+ ssh(1) used the obsolete SIG DNS RRtype for host keys in DNS,
instead of the current standard RRSIG.
+ Correctly drain ACKs when a sftp(1) upload write fails midway,
avoids a fatal() exit from what should be a recoverable condition.
+ Fixed ssh-keygen(1) selective host key hashing (i.e. "ssh-keygen -HF
hostname") to not include any IP address in the data to be hashed.
+ Make ssh(1) skip listening on the IPv6 wildcard address when a
binding address of 0.0.0.0 is used against an old SSH server that
does not support the RFC4254 syntax for wildcard bind addresses.
+ Enable IPV6_V6ONLY socket option on sshd(8) listen socket, as is
already done for X11/TCP forwarding sockets (closes: #439661).
+ Fix FD leak that could hang a ssh(1) connection multiplexing master.
+ Make ssh(1) -q option documentation consistent with reality.
+ Fixed sshd(8) PAM support not calling pam_session_close(), or
failing to call it with root privileges (closes: #372680).
+ Fix activation of OpenSSL engine support when requested in configure
(LP: #119295).
- 5.1/5.1p1 (http://www.openssh.com/txt/release-5.1):
+ Introduce experimental SSH Fingerprint ASCII Visualisation to ssh(1)
and ssh-keygen(1). Visual fingerprint display is controlled by a new
ssh_config(5) option "VisualHostKey". The intent is to render SSH
host keys in a visual form that is amenable to easy recall and
rejection of changed host keys.
+ sshd_config(5) now supports CIDR address/masklen matching in "Match
address" blocks, with a fallback to classic wildcard matching.
+ sshd(8) now supports CIDR matching in ~/.ssh/authorized_keys
from="..." restrictions, also with a fallback to classic wildcard
matching.
+ Added an extended test mode (-T) to sshd(8) to request that it write
its effective configuration to stdout and exit. Extended test mode
also supports the specification of connection parameters (username,
source address and hostname) to test the application of
sshd_config(5) Match rules.
+ ssh(1) now prints the number of bytes transferred and the overall
connection throughput for SSH protocol 2 sessions when in verbose
mode (previously these statistics were displayed for protocol 1
connections only).
+ sftp-server(8) now supports extension methods statvfs@openssh.com
and fstatvfs@openssh.com that implement statvfs(2)-like operations.
+ sftp(1) now has a "df" command to the sftp client that uses the
statvfs@openssh.com to produce a df(1)-like display of filesystem
space and inode utilisation (requires statvfs@openssh.com support on
the server).
+ Added a MaxSessions option to sshd_config(5) to allow control of the
number of multiplexed sessions supported over a single TCP
connection. This allows increasing the number of allowed sessions
above the previous default of 10, disabling connection multiplexing
(MaxSessions=1) or disallowing login/shell/subsystem sessions
entirely (MaxSessions=0).
+ Added a no-more-sessions@openssh.com global request extension that
is sent from ssh(1) to sshd(8) when the client knows that it will
never request another session (i.e. when session multiplexing is
disabled). This allows a server to disallow further session requests
and terminate the session in cases where the client has been
hijacked.
+ ssh-keygen(1) now supports the use of the -l option in combination
with -F to search for a host in ~/.ssh/known_hosts and display its
fingerprint.
+ ssh-keyscan(1) now defaults to "rsa" (protocol 2) keys, instead of
"rsa1".
+ Added an AllowAgentForwarding option to sshd_config(8) to control
whether authentication agent forwarding is permitted. Note that this
is a loose control, as a client may install their own unofficial
forwarder.
+ ssh(1) and sshd(8): avoid unnecessary malloc/copy/free when
receiving network data, resulting in a ~10% speedup.
+ ssh(1) and sshd(8) will now try additional addresses when connecting
to a port forward destination whose DNS name resolves to more than
one address. The previous behaviour was to try the only first
address and give up if that failed.
+ ssh(1) and sshd(8) now support signalling that channels are
half-closed for writing, through a channel protocol extension
notification "eow@openssh.com". This allows propagation of closed
file descriptors, so that commands such as "ssh -2 localhost od
/bin/ls | true" do not send unnecessary data over the wire.
+ sshd(8): increased the default size of ssh protocol 1 ephemeral keys
from 768 to 1024 bits.
+ When ssh(1) has been requested to fork after authentication ("ssh
-f") with ExitOnForwardFailure enabled, delay the fork until after
replies for any -R forwards have been seen. Allows for robust
detection of -R forward failure when using -f.
+ "Match group" blocks in sshd_config(5) now support negation of
groups. E.g. "Match group staff,!guests".
+ sftp(1) and sftp-server(8) now allow chmod-like operations to set
set[ug]id/sticky bits.
+ The MaxAuthTries option is now permitted in sshd_config(5) match
blocks.
+ Multiplexed ssh(1) sessions now support a subset of the ~ escapes
that are available to a primary connection.
+ ssh(1) connection multiplexing will now fall back to creating a new
connection in most error cases (closes: #352830).
+ Make ssh(1) deal more gracefully with channel requests that fail.
Previously it would optimistically assume that requests would always
succeed, which could cause hangs if they did not (e.g. when the
server runs out of file descriptors).
+ ssh(1) now reports multiplexing errors via the multiplex slave's
stderr where possible (subject to LogLevel in the mux master).
+ Prevent sshd(8) from erroneously applying public key restrictions
leaned from ~/.ssh/authorized_keys to other authentication methods
when public key authentication subsequently fails (LP: #161047).
+ Fixed an UMAC alignment problem that manifested on Itanium
platforms.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 561 |
1 files changed, 527 insertions, 34 deletions
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.383 . | 2 | # From configure.ac Revision: 1.409 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
@@ -723,6 +723,7 @@ MANTYPE | |||
723 | mansubdir | 723 | mansubdir |
724 | user_path | 724 | user_path |
725 | piddir | 725 | piddir |
726 | TEST_SSH_IPV6 | ||
726 | LIBOBJS | 727 | LIBOBJS |
727 | LTLIBOBJS' | 728 | LTLIBOBJS' |
728 | ac_subst_files='' | 729 | ac_subst_files='' |
@@ -1324,6 +1325,7 @@ Optional Features: | |||
1324 | Optional Packages: | 1325 | Optional Packages: |
1325 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1326 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1326 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1327 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1328 | --without-stackprotect Don't use compiler's stack protection | ||
1327 | --without-rpath Disable auto-added -R linker paths | 1329 | --without-rpath Disable auto-added -R linker paths |
1328 | --with-cflags Specify additional flags to pass to compiler | 1330 | --with-cflags Specify additional flags to pass to compiler |
1329 | --with-cppflags Specify additional flags to pass to preprocessor | 1331 | --with-cppflags Specify additional flags to pass to preprocessor |
@@ -1349,7 +1351,7 @@ Optional Packages: | |||
1349 | --with-privsep-user=user Specify non-privileged user for privilege separation | 1351 | --with-privsep-user=user Specify non-privileged user for privilege separation |
1350 | --with-sectok Enable smartcard support using libsectok | 1352 | --with-sectok Enable smartcard support using libsectok |
1351 | --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) | 1353 | --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) |
1352 | --with-selinux Enable SELinux support | 1354 | --with-selinux Enable SELinux support |
1353 | --with-kerberos5=PATH Enable Kerberos 5 support | 1355 | --with-kerberos5=PATH Enable Kerberos 5 support |
1354 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | 1356 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) |
1355 | --with-xauth=PATH Specify path to xauth program | 1357 | --with-xauth=PATH Specify path to xauth program |
@@ -5383,6 +5385,17 @@ if test $ac_cv_have_decl_LLONG_MAX = yes; then | |||
5383 | fi | 5385 | fi |
5384 | 5386 | ||
5385 | 5387 | ||
5388 | use_stack_protector=1 | ||
5389 | |||
5390 | # Check whether --with-stackprotect was given. | ||
5391 | if test "${with_stackprotect+set}" = set; then | ||
5392 | withval=$with_stackprotect; | ||
5393 | if test "x$withval" = "xno"; then | ||
5394 | use_stack_protector=0 | ||
5395 | fi | ||
5396 | fi | ||
5397 | |||
5398 | |||
5386 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 5399 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
5387 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" | 5400 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
5388 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` | 5401 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` |
@@ -5393,11 +5406,175 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | |||
5393 | no_attrib_nonnull=1 | 5406 | no_attrib_nonnull=1 |
5394 | ;; | 5407 | ;; |
5395 | 2.*) no_attrib_nonnull=1 ;; | 5408 | 2.*) no_attrib_nonnull=1 ;; |
5396 | 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; | 5409 | 3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;; |
5397 | 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; | 5410 | 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security" ;; |
5398 | *) ;; | 5411 | *) ;; |
5399 | esac | 5412 | esac |
5400 | 5413 | ||
5414 | { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5 | ||
5415 | echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; } | ||
5416 | saved_CFLAGS="$CFLAGS" | ||
5417 | CFLAGS="$CFLAGS -fno-builtin-memset" | ||
5418 | cat >conftest.$ac_ext <<_ACEOF | ||
5419 | /* confdefs.h. */ | ||
5420 | _ACEOF | ||
5421 | cat confdefs.h >>conftest.$ac_ext | ||
5422 | cat >>conftest.$ac_ext <<_ACEOF | ||
5423 | /* end confdefs.h. */ | ||
5424 | |||
5425 | #include <string.h> | ||
5426 | int main(void){char b[10]; memset(b, 0, sizeof(b));} | ||
5427 | |||
5428 | _ACEOF | ||
5429 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5430 | if { (ac_try="$ac_link" | ||
5431 | case "(($ac_try" in | ||
5432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5433 | *) ac_try_echo=$ac_try;; | ||
5434 | esac | ||
5435 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5436 | (eval "$ac_link") 2>conftest.er1 | ||
5437 | ac_status=$? | ||
5438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5439 | rm -f conftest.er1 | ||
5440 | cat conftest.err >&5 | ||
5441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5442 | (exit $ac_status); } && { | ||
5443 | test -z "$ac_c_werror_flag" || | ||
5444 | test ! -s conftest.err | ||
5445 | } && test -s conftest$ac_exeext && | ||
5446 | $as_test_x conftest$ac_exeext; then | ||
5447 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5448 | echo "${ECHO_T}yes" >&6; } | ||
5449 | else | ||
5450 | echo "$as_me: failed program was:" >&5 | ||
5451 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5452 | |||
5453 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5454 | echo "${ECHO_T}no" >&6; } | ||
5455 | CFLAGS="$saved_CFLAGS" | ||
5456 | |||
5457 | fi | ||
5458 | |||
5459 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5460 | conftest$ac_exeext conftest.$ac_ext | ||
5461 | |||
5462 | # -fstack-protector-all doesn't always work for some GCC versions | ||
5463 | # and/or platforms, so we test if we can. If it's not supported | ||
5464 | # on a give platform gcc will emit a warning so we use -Werror. | ||
5465 | if test "x$use_stack_protector" = "x1"; then | ||
5466 | for t in -fstack-protector-all -fstack-protector; do | ||
5467 | { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 | ||
5468 | echo $ECHO_N "checking if $CC supports $t... $ECHO_C" >&6; } | ||
5469 | saved_CFLAGS="$CFLAGS" | ||
5470 | saved_LDFLAGS="$LDFLAGS" | ||
5471 | CFLAGS="$CFLAGS $t -Werror" | ||
5472 | LDFLAGS="$LDFLAGS $t -Werror" | ||
5473 | cat >conftest.$ac_ext <<_ACEOF | ||
5474 | /* confdefs.h. */ | ||
5475 | _ACEOF | ||
5476 | cat confdefs.h >>conftest.$ac_ext | ||
5477 | cat >>conftest.$ac_ext <<_ACEOF | ||
5478 | /* end confdefs.h. */ | ||
5479 | |||
5480 | #include <stdlib.h> | ||
5481 | int main(void){return 0;} | ||
5482 | |||
5483 | _ACEOF | ||
5484 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5485 | if { (ac_try="$ac_link" | ||
5486 | case "(($ac_try" in | ||
5487 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5488 | *) ac_try_echo=$ac_try;; | ||
5489 | esac | ||
5490 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5491 | (eval "$ac_link") 2>conftest.er1 | ||
5492 | ac_status=$? | ||
5493 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5494 | rm -f conftest.er1 | ||
5495 | cat conftest.err >&5 | ||
5496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5497 | (exit $ac_status); } && { | ||
5498 | test -z "$ac_c_werror_flag" || | ||
5499 | test ! -s conftest.err | ||
5500 | } && test -s conftest$ac_exeext && | ||
5501 | $as_test_x conftest$ac_exeext; then | ||
5502 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5503 | echo "${ECHO_T}yes" >&6; } | ||
5504 | CFLAGS="$saved_CFLAGS $t" | ||
5505 | LDFLAGS="$saved_LDFLAGS $t" | ||
5506 | { echo "$as_me:$LINENO: checking if $t works" >&5 | ||
5507 | echo $ECHO_N "checking if $t works... $ECHO_C" >&6; } | ||
5508 | if test "$cross_compiling" = yes; then | ||
5509 | { echo "$as_me:$LINENO: WARNING: cross compiling: cannot test" >&5 | ||
5510 | echo "$as_me: WARNING: cross compiling: cannot test" >&2;} | ||
5511 | break | ||
5512 | |||
5513 | else | ||
5514 | cat >conftest.$ac_ext <<_ACEOF | ||
5515 | /* confdefs.h. */ | ||
5516 | _ACEOF | ||
5517 | cat confdefs.h >>conftest.$ac_ext | ||
5518 | cat >>conftest.$ac_ext <<_ACEOF | ||
5519 | /* end confdefs.h. */ | ||
5520 | |||
5521 | #include <stdlib.h> | ||
5522 | int main(void){exit(0);} | ||
5523 | |||
5524 | _ACEOF | ||
5525 | rm -f conftest$ac_exeext | ||
5526 | if { (ac_try="$ac_link" | ||
5527 | case "(($ac_try" in | ||
5528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5529 | *) ac_try_echo=$ac_try;; | ||
5530 | esac | ||
5531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5532 | (eval "$ac_link") 2>&5 | ||
5533 | ac_status=$? | ||
5534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5535 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
5536 | { (case "(($ac_try" in | ||
5537 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5538 | *) ac_try_echo=$ac_try;; | ||
5539 | esac | ||
5540 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5541 | (eval "$ac_try") 2>&5 | ||
5542 | ac_status=$? | ||
5543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5544 | (exit $ac_status); }; }; then | ||
5545 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5546 | echo "${ECHO_T}yes" >&6; } | ||
5547 | break | ||
5548 | else | ||
5549 | echo "$as_me: program exited with status $ac_status" >&5 | ||
5550 | echo "$as_me: failed program was:" >&5 | ||
5551 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5552 | |||
5553 | ( exit $ac_status ) | ||
5554 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5555 | echo "${ECHO_T}no" >&6; } | ||
5556 | fi | ||
5557 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
5558 | fi | ||
5559 | |||
5560 | |||
5561 | |||
5562 | else | ||
5563 | echo "$as_me: failed program was:" >&5 | ||
5564 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5565 | |||
5566 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5567 | echo "${ECHO_T}no" >&6; } | ||
5568 | |||
5569 | fi | ||
5570 | |||
5571 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
5572 | conftest$ac_exeext conftest.$ac_ext | ||
5573 | CFLAGS="$saved_CFLAGS" | ||
5574 | LDFLAGS="$saved_LDFLAGS" | ||
5575 | done | ||
5576 | fi | ||
5577 | |||
5401 | if test -z "$have_llong_max"; then | 5578 | if test -z "$have_llong_max"; then |
5402 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes | 5579 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes |
5403 | unset ac_cv_have_decl_LLONG_MAX | 5580 | unset ac_cv_have_decl_LLONG_MAX |
@@ -5614,6 +5791,9 @@ fi | |||
5614 | 5791 | ||
5615 | 5792 | ||
5616 | 5793 | ||
5794 | |||
5795 | |||
5796 | |||
5617 | for ac_header in \ | 5797 | for ac_header in \ |
5618 | bstring.h \ | 5798 | bstring.h \ |
5619 | crypt.h \ | 5799 | crypt.h \ |
@@ -5653,7 +5833,9 @@ for ac_header in \ | |||
5653 | sys/cdefs.h \ | 5833 | sys/cdefs.h \ |
5654 | sys/dir.h \ | 5834 | sys/dir.h \ |
5655 | sys/mman.h \ | 5835 | sys/mman.h \ |
5836 | sys/mount.h \ | ||
5656 | sys/ndir.h \ | 5837 | sys/ndir.h \ |
5838 | sys/poll.h \ | ||
5657 | sys/prctl.h \ | 5839 | sys/prctl.h \ |
5658 | sys/pstat.h \ | 5840 | sys/pstat.h \ |
5659 | sys/select.h \ | 5841 | sys/select.h \ |
@@ -5661,6 +5843,7 @@ for ac_header in \ | |||
5661 | sys/stream.h \ | 5843 | sys/stream.h \ |
5662 | sys/stropts.h \ | 5844 | sys/stropts.h \ |
5663 | sys/strtio.h \ | 5845 | sys/strtio.h \ |
5846 | sys/statvfs.h \ | ||
5664 | sys/sysmacros.h \ | 5847 | sys/sysmacros.h \ |
5665 | sys/time.h \ | 5848 | sys/time.h \ |
5666 | sys/timers.h \ | 5849 | sys/timers.h \ |
@@ -6761,7 +6944,8 @@ fi | |||
6761 | 6944 | ||
6762 | 6945 | ||
6763 | 6946 | ||
6764 | for ac_func in setauthdb | 6947 | |
6948 | for ac_func in getgrset setauthdb | ||
6765 | do | 6949 | do |
6766 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6950 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6767 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6951 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -7094,6 +7278,11 @@ _ACEOF | |||
7094 | _ACEOF | 7278 | _ACEOF |
7095 | 7279 | ||
7096 | 7280 | ||
7281 | cat >>confdefs.h <<\_ACEOF | ||
7282 | #define BROKEN_GLOB 1 | ||
7283 | _ACEOF | ||
7284 | |||
7285 | |||
7097 | cat >>confdefs.h <<_ACEOF | 7286 | cat >>confdefs.h <<_ACEOF |
7098 | #define BIND_8_COMPAT 1 | 7287 | #define BIND_8_COMPAT 1 |
7099 | _ACEOF | 7288 | _ACEOF |
@@ -7113,6 +7302,71 @@ cat >>confdefs.h <<\_ACEOF | |||
7113 | #define SSH_TUN_PREPEND_AF 1 | 7302 | #define SSH_TUN_PREPEND_AF 1 |
7114 | _ACEOF | 7303 | _ACEOF |
7115 | 7304 | ||
7305 | |||
7306 | { echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5 | ||
7307 | echo $ECHO_N "checking whether AU_IPv4 is declared... $ECHO_C" >&6; } | ||
7308 | if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then | ||
7309 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7310 | else | ||
7311 | cat >conftest.$ac_ext <<_ACEOF | ||
7312 | /* confdefs.h. */ | ||
7313 | _ACEOF | ||
7314 | cat confdefs.h >>conftest.$ac_ext | ||
7315 | cat >>conftest.$ac_ext <<_ACEOF | ||
7316 | /* end confdefs.h. */ | ||
7317 | $ac_includes_default | ||
7318 | int | ||
7319 | main () | ||
7320 | { | ||
7321 | #ifndef AU_IPv4 | ||
7322 | (void) AU_IPv4; | ||
7323 | #endif | ||
7324 | |||
7325 | ; | ||
7326 | return 0; | ||
7327 | } | ||
7328 | _ACEOF | ||
7329 | rm -f conftest.$ac_objext | ||
7330 | if { (ac_try="$ac_compile" | ||
7331 | case "(($ac_try" in | ||
7332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7333 | *) ac_try_echo=$ac_try;; | ||
7334 | esac | ||
7335 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7336 | (eval "$ac_compile") 2>conftest.er1 | ||
7337 | ac_status=$? | ||
7338 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7339 | rm -f conftest.er1 | ||
7340 | cat conftest.err >&5 | ||
7341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7342 | (exit $ac_status); } && { | ||
7343 | test -z "$ac_c_werror_flag" || | ||
7344 | test ! -s conftest.err | ||
7345 | } && test -s conftest.$ac_objext; then | ||
7346 | ac_cv_have_decl_AU_IPv4=yes | ||
7347 | else | ||
7348 | echo "$as_me: failed program was:" >&5 | ||
7349 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7350 | |||
7351 | ac_cv_have_decl_AU_IPv4=no | ||
7352 | fi | ||
7353 | |||
7354 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7355 | fi | ||
7356 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_AU_IPv4" >&5 | ||
7357 | echo "${ECHO_T}$ac_cv_have_decl_AU_IPv4" >&6; } | ||
7358 | if test $ac_cv_have_decl_AU_IPv4 = yes; then | ||
7359 | : | ||
7360 | else | ||
7361 | |||
7362 | cat >>confdefs.h <<\_ACEOF | ||
7363 | #define AU_IPv4 0 | ||
7364 | _ACEOF | ||
7365 | |||
7366 | #include <bsm/audit.h> | ||
7367 | |||
7368 | fi | ||
7369 | |||
7116 | { echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5 | 7370 | { echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5 |
7117 | echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6; } | 7371 | echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6; } |
7118 | cat >conftest.$ac_ext <<_ACEOF | 7372 | cat >conftest.$ac_ext <<_ACEOF |
@@ -7224,7 +7478,7 @@ echo "${ECHO_T}no" >&6; } | |||
7224 | fi | 7478 | fi |
7225 | 7479 | ||
7226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7480 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7227 | ;; | 7481 | ;; |
7228 | *-*-dragonfly*) | 7482 | *-*-dragonfly*) |
7229 | SSHDLIBS="$SSHDLIBS -lcrypt" | 7483 | SSHDLIBS="$SSHDLIBS -lcrypt" |
7230 | ;; | 7484 | ;; |
@@ -7569,11 +7823,6 @@ _ACEOF | |||
7569 | check_for_openpty_ctty_bug=1 | 7823 | check_for_openpty_ctty_bug=1 |
7570 | 7824 | ||
7571 | cat >>confdefs.h <<\_ACEOF | 7825 | cat >>confdefs.h <<\_ACEOF |
7572 | #define DONT_TRY_OTHER_AF 1 | ||
7573 | _ACEOF | ||
7574 | |||
7575 | |||
7576 | cat >>confdefs.h <<\_ACEOF | ||
7577 | #define PAM_TTY_KLUDGE 1 | 7826 | #define PAM_TTY_KLUDGE 1 |
7578 | _ACEOF | 7827 | _ACEOF |
7579 | 7828 | ||
@@ -8097,6 +8346,11 @@ _ACEOF | |||
8097 | fi | 8346 | fi |
8098 | 8347 | ||
8099 | 8348 | ||
8349 | |||
8350 | cat >>confdefs.h <<\_ACEOF | ||
8351 | #define BROKEN_GLOB 1 | ||
8352 | _ACEOF | ||
8353 | |||
8100 | ;; | 8354 | ;; |
8101 | *-*-bsdi*) | 8355 | *-*-bsdi*) |
8102 | cat >>confdefs.h <<\_ACEOF | 8356 | cat >>confdefs.h <<\_ACEOF |
@@ -8980,6 +9234,11 @@ _ACEOF | |||
8980 | #define BROKEN_SETREGID 1 | 9234 | #define BROKEN_SETREGID 1 |
8981 | _ACEOF | 9235 | _ACEOF |
8982 | 9236 | ||
9237 | |||
9238 | cat >>confdefs.h <<\_ACEOF | ||
9239 | #define BROKEN_READV_COMPARISON 1 | ||
9240 | _ACEOF | ||
9241 | |||
8983 | ;; | 9242 | ;; |
8984 | 9243 | ||
8985 | *-*-nto-qnx*) | 9244 | *-*-nto-qnx*) |
@@ -9014,6 +9273,11 @@ _ACEOF | |||
9014 | #define SSHD_ACQUIRES_CTTY 1 | 9273 | #define SSHD_ACQUIRES_CTTY 1 |
9015 | _ACEOF | 9274 | _ACEOF |
9016 | 9275 | ||
9276 | |||
9277 | cat >>confdefs.h <<\_ACEOF | ||
9278 | #define BROKEN_SHADOW_EXPIRE 1 | ||
9279 | _ACEOF | ||
9280 | |||
9017 | enable_etc_default_login=no # has incompatible /etc/default/login | 9281 | enable_etc_default_login=no # has incompatible /etc/default/login |
9018 | case "$host" in | 9282 | case "$host" in |
9019 | *-*-nto-qnx6*) | 9283 | *-*-nto-qnx6*) |
@@ -11179,7 +11443,8 @@ fi | |||
11179 | 11443 | ||
11180 | 11444 | ||
11181 | 11445 | ||
11182 | for ac_func in logout updwtmp logwtmp | 11446 | |
11447 | for ac_func in fmt_scaled logout updwtmp logwtmp | ||
11183 | do | 11448 | do |
11184 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11449 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11185 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11450 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -12320,7 +12585,8 @@ done | |||
12320 | 12585 | ||
12321 | # These are optional | 12586 | # These are optional |
12322 | 12587 | ||
12323 | for ac_func in getaudit_addr | 12588 | |
12589 | for ac_func in getaudit_addr aug_get_machine | ||
12324 | do | 12590 | do |
12325 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12591 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12326 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12592 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -12527,8 +12793,15 @@ fi | |||
12527 | 12793 | ||
12528 | 12794 | ||
12529 | 12795 | ||
12796 | |||
12797 | |||
12798 | |||
12799 | |||
12800 | |||
12530 | for ac_func in \ | 12801 | for ac_func in \ |
12531 | arc4random \ | 12802 | arc4random \ |
12803 | arc4random_buf \ | ||
12804 | arc4random_uniform \ | ||
12532 | asprintf \ | 12805 | asprintf \ |
12533 | b64_ntop \ | 12806 | b64_ntop \ |
12534 | __b64_ntop \ | 12807 | __b64_ntop \ |
@@ -12542,6 +12815,7 @@ for ac_func in \ | |||
12542 | fchmod \ | 12815 | fchmod \ |
12543 | fchown \ | 12816 | fchown \ |
12544 | freeaddrinfo \ | 12817 | freeaddrinfo \ |
12818 | fstatvfs \ | ||
12545 | futimes \ | 12819 | futimes \ |
12546 | getaddrinfo \ | 12820 | getaddrinfo \ |
12547 | getcwd \ | 12821 | getcwd \ |
@@ -12593,6 +12867,8 @@ for ac_func in \ | |||
12593 | sigvec \ | 12867 | sigvec \ |
12594 | snprintf \ | 12868 | snprintf \ |
12595 | socketpair \ | 12869 | socketpair \ |
12870 | statfs \ | ||
12871 | statvfs \ | ||
12596 | strdup \ | 12872 | strdup \ |
12597 | strerror \ | 12873 | strerror \ |
12598 | strlcat \ | 12874 | strlcat \ |
@@ -16760,6 +17036,12 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then | |||
16760 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17036 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16761 | _ACEOF | 17037 | _ACEOF |
16762 | SSHDLIBS="$SSHDLIBS -liaf" | 17038 | SSHDLIBS="$SSHDLIBS -liaf" |
17039 | |||
17040 | cat >>confdefs.h <<\_ACEOF | ||
17041 | #define HAVE_LIBIAF 1 | ||
17042 | _ACEOF | ||
17043 | |||
17044 | |||
16763 | fi | 17045 | fi |
16764 | done | 17046 | done |
16765 | 17047 | ||
@@ -21541,6 +21823,153 @@ _ACEOF | |||
21541 | 21823 | ||
21542 | fi | 21824 | fi |
21543 | 21825 | ||
21826 | { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 | ||
21827 | echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } | ||
21828 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then | ||
21829 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21830 | else | ||
21831 | cat >conftest.$ac_ext <<_ACEOF | ||
21832 | /* confdefs.h. */ | ||
21833 | _ACEOF | ||
21834 | cat confdefs.h >>conftest.$ac_ext | ||
21835 | cat >>conftest.$ac_ext <<_ACEOF | ||
21836 | /* end confdefs.h. */ | ||
21837 | |||
21838 | #include <sys/types.h> | ||
21839 | #ifdef HAVE_SYS_BITYPES_H | ||
21840 | #include <sys/bitypes.h> | ||
21841 | #endif | ||
21842 | #ifdef HAVE_SYS_STATFS_H | ||
21843 | #include <sys/statfs.h> | ||
21844 | #endif | ||
21845 | #ifdef HAVE_SYS_STATVFS_H | ||
21846 | #include <sys/statvfs.h> | ||
21847 | #endif | ||
21848 | |||
21849 | |||
21850 | typedef fsblkcnt_t ac__type_new_; | ||
21851 | int | ||
21852 | main () | ||
21853 | { | ||
21854 | if ((ac__type_new_ *) 0) | ||
21855 | return 0; | ||
21856 | if (sizeof (ac__type_new_)) | ||
21857 | return 0; | ||
21858 | ; | ||
21859 | return 0; | ||
21860 | } | ||
21861 | _ACEOF | ||
21862 | rm -f conftest.$ac_objext | ||
21863 | if { (ac_try="$ac_compile" | ||
21864 | case "(($ac_try" in | ||
21865 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21866 | *) ac_try_echo=$ac_try;; | ||
21867 | esac | ||
21868 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21869 | (eval "$ac_compile") 2>conftest.er1 | ||
21870 | ac_status=$? | ||
21871 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21872 | rm -f conftest.er1 | ||
21873 | cat conftest.err >&5 | ||
21874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21875 | (exit $ac_status); } && { | ||
21876 | test -z "$ac_c_werror_flag" || | ||
21877 | test ! -s conftest.err | ||
21878 | } && test -s conftest.$ac_objext; then | ||
21879 | ac_cv_type_fsblkcnt_t=yes | ||
21880 | else | ||
21881 | echo "$as_me: failed program was:" >&5 | ||
21882 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21883 | |||
21884 | ac_cv_type_fsblkcnt_t=no | ||
21885 | fi | ||
21886 | |||
21887 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21888 | fi | ||
21889 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 | ||
21890 | echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } | ||
21891 | if test $ac_cv_type_fsblkcnt_t = yes; then | ||
21892 | |||
21893 | cat >>confdefs.h <<_ACEOF | ||
21894 | #define HAVE_FSBLKCNT_T 1 | ||
21895 | _ACEOF | ||
21896 | |||
21897 | |||
21898 | fi | ||
21899 | { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 | ||
21900 | echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } | ||
21901 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then | ||
21902 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21903 | else | ||
21904 | cat >conftest.$ac_ext <<_ACEOF | ||
21905 | /* confdefs.h. */ | ||
21906 | _ACEOF | ||
21907 | cat confdefs.h >>conftest.$ac_ext | ||
21908 | cat >>conftest.$ac_ext <<_ACEOF | ||
21909 | /* end confdefs.h. */ | ||
21910 | |||
21911 | #include <sys/types.h> | ||
21912 | #ifdef HAVE_SYS_BITYPES_H | ||
21913 | #include <sys/bitypes.h> | ||
21914 | #endif | ||
21915 | #ifdef HAVE_SYS_STATFS_H | ||
21916 | #include <sys/statfs.h> | ||
21917 | #endif | ||
21918 | #ifdef HAVE_SYS_STATVFS_H | ||
21919 | #include <sys/statvfs.h> | ||
21920 | #endif | ||
21921 | |||
21922 | |||
21923 | typedef fsfilcnt_t ac__type_new_; | ||
21924 | int | ||
21925 | main () | ||
21926 | { | ||
21927 | if ((ac__type_new_ *) 0) | ||
21928 | return 0; | ||
21929 | if (sizeof (ac__type_new_)) | ||
21930 | return 0; | ||
21931 | ; | ||
21932 | return 0; | ||
21933 | } | ||
21934 | _ACEOF | ||
21935 | rm -f conftest.$ac_objext | ||
21936 | if { (ac_try="$ac_compile" | ||
21937 | case "(($ac_try" in | ||
21938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21939 | *) ac_try_echo=$ac_try;; | ||
21940 | esac | ||
21941 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21942 | (eval "$ac_compile") 2>conftest.er1 | ||
21943 | ac_status=$? | ||
21944 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21945 | rm -f conftest.er1 | ||
21946 | cat conftest.err >&5 | ||
21947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21948 | (exit $ac_status); } && { | ||
21949 | test -z "$ac_c_werror_flag" || | ||
21950 | test ! -s conftest.err | ||
21951 | } && test -s conftest.$ac_objext; then | ||
21952 | ac_cv_type_fsfilcnt_t=yes | ||
21953 | else | ||
21954 | echo "$as_me: failed program was:" >&5 | ||
21955 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21956 | |||
21957 | ac_cv_type_fsfilcnt_t=no | ||
21958 | fi | ||
21959 | |||
21960 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21961 | fi | ||
21962 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 | ||
21963 | echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } | ||
21964 | if test $ac_cv_type_fsfilcnt_t = yes; then | ||
21965 | |||
21966 | cat >>confdefs.h <<_ACEOF | ||
21967 | #define HAVE_FSFILCNT_T 1 | ||
21968 | _ACEOF | ||
21969 | |||
21970 | |||
21971 | fi | ||
21972 | |||
21544 | 21973 | ||
21545 | { echo "$as_me:$LINENO: checking for in_addr_t" >&5 | 21974 | { echo "$as_me:$LINENO: checking for in_addr_t" >&5 |
21546 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } | 21975 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } |
@@ -23848,6 +24277,60 @@ _ACEOF | |||
23848 | 24277 | ||
23849 | fi | 24278 | fi |
23850 | 24279 | ||
24280 | { echo "$as_me:$LINENO: checking if f_fsid has val members" >&5 | ||
24281 | echo $ECHO_N "checking if f_fsid has val members... $ECHO_C" >&6; } | ||
24282 | cat >conftest.$ac_ext <<_ACEOF | ||
24283 | /* confdefs.h. */ | ||
24284 | _ACEOF | ||
24285 | cat confdefs.h >>conftest.$ac_ext | ||
24286 | cat >>conftest.$ac_ext <<_ACEOF | ||
24287 | /* end confdefs.h. */ | ||
24288 | |||
24289 | #include <sys/types.h> | ||
24290 | #include <sys/statvfs.h> | ||
24291 | int | ||
24292 | main () | ||
24293 | { | ||
24294 | struct fsid_t t; t.val[0] = 0; | ||
24295 | ; | ||
24296 | return 0; | ||
24297 | } | ||
24298 | _ACEOF | ||
24299 | rm -f conftest.$ac_objext | ||
24300 | if { (ac_try="$ac_compile" | ||
24301 | case "(($ac_try" in | ||
24302 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24303 | *) ac_try_echo=$ac_try;; | ||
24304 | esac | ||
24305 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24306 | (eval "$ac_compile") 2>conftest.er1 | ||
24307 | ac_status=$? | ||
24308 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24309 | rm -f conftest.er1 | ||
24310 | cat conftest.err >&5 | ||
24311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24312 | (exit $ac_status); } && { | ||
24313 | test -z "$ac_c_werror_flag" || | ||
24314 | test ! -s conftest.err | ||
24315 | } && test -s conftest.$ac_objext; then | ||
24316 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
24317 | echo "${ECHO_T}yes" >&6; } | ||
24318 | |||
24319 | cat >>confdefs.h <<\_ACEOF | ||
24320 | #define FSID_HAS_VAL 1 | ||
24321 | _ACEOF | ||
24322 | |||
24323 | else | ||
24324 | echo "$as_me: failed program was:" >&5 | ||
24325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24326 | |||
24327 | { echo "$as_me:$LINENO: result: no" >&5 | ||
24328 | echo "${ECHO_T}no" >&6; } | ||
24329 | |||
24330 | fi | ||
24331 | |||
24332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24333 | |||
23851 | { echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | 24334 | { echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 |
23852 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } | 24335 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } |
23853 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | 24336 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
@@ -26128,13 +26611,13 @@ if test "$ac_res" != no; then | |||
26128 | fi | 26611 | fi |
26129 | 26612 | ||
26130 | 26613 | ||
26131 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 | 26614 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
26132 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } | 26615 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } |
26133 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then | 26616 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then |
26134 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
26135 | else | 26618 | else |
26136 | ac_check_lib_save_LIBS=$LIBS | 26619 | ac_check_lib_save_LIBS=$LIBS |
26137 | LIBS="-lgssapi $K5LIBS $LIBS" | 26620 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" |
26138 | cat >conftest.$ac_ext <<_ACEOF | 26621 | cat >conftest.$ac_ext <<_ACEOF |
26139 | /* confdefs.h. */ | 26622 | /* confdefs.h. */ |
26140 | _ACEOF | 26623 | _ACEOF |
@@ -26175,34 +26658,34 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
26175 | test ! -s conftest.err | 26658 | test ! -s conftest.err |
26176 | } && test -s conftest$ac_exeext && | 26659 | } && test -s conftest$ac_exeext && |
26177 | $as_test_x conftest$ac_exeext; then | 26660 | $as_test_x conftest$ac_exeext; then |
26178 | ac_cv_lib_gssapi_gss_init_sec_context=yes | 26661 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
26179 | else | 26662 | else |
26180 | echo "$as_me: failed program was:" >&5 | 26663 | echo "$as_me: failed program was:" >&5 |
26181 | sed 's/^/| /' conftest.$ac_ext >&5 | 26664 | sed 's/^/| /' conftest.$ac_ext >&5 |
26182 | 26665 | ||
26183 | ac_cv_lib_gssapi_gss_init_sec_context=no | 26666 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no |
26184 | fi | 26667 | fi |
26185 | 26668 | ||
26186 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26669 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
26187 | conftest$ac_exeext conftest.$ac_ext | 26670 | conftest$ac_exeext conftest.$ac_ext |
26188 | LIBS=$ac_check_lib_save_LIBS | 26671 | LIBS=$ac_check_lib_save_LIBS |
26189 | fi | 26672 | fi |
26190 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 | 26673 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
26191 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } | 26674 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } |
26192 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then | 26675 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then |
26193 | cat >>confdefs.h <<\_ACEOF | 26676 | cat >>confdefs.h <<\_ACEOF |
26194 | #define GSSAPI 1 | 26677 | #define GSSAPI 1 |
26195 | _ACEOF | 26678 | _ACEOF |
26196 | 26679 | ||
26197 | K5LIBS="-lgssapi $K5LIBS" | 26680 | K5LIBS="-lgssapi_krb5 $K5LIBS" |
26198 | else | 26681 | else |
26199 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 | 26682 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 |
26200 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } | 26683 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } |
26201 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | 26684 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then |
26202 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 26685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
26203 | else | 26686 | else |
26204 | ac_check_lib_save_LIBS=$LIBS | 26687 | ac_check_lib_save_LIBS=$LIBS |
26205 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" | 26688 | LIBS="-lgssapi $K5LIBS $LIBS" |
26206 | cat >conftest.$ac_ext <<_ACEOF | 26689 | cat >conftest.$ac_ext <<_ACEOF |
26207 | /* confdefs.h. */ | 26690 | /* confdefs.h. */ |
26208 | _ACEOF | 26691 | _ACEOF |
@@ -26243,26 +26726,26 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
26243 | test ! -s conftest.err | 26726 | test ! -s conftest.err |
26244 | } && test -s conftest$ac_exeext && | 26727 | } && test -s conftest$ac_exeext && |
26245 | $as_test_x conftest$ac_exeext; then | 26728 | $as_test_x conftest$ac_exeext; then |
26246 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes | 26729 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
26247 | else | 26730 | else |
26248 | echo "$as_me: failed program was:" >&5 | 26731 | echo "$as_me: failed program was:" >&5 |
26249 | sed 's/^/| /' conftest.$ac_ext >&5 | 26732 | sed 's/^/| /' conftest.$ac_ext >&5 |
26250 | 26733 | ||
26251 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | 26734 | ac_cv_lib_gssapi_gss_init_sec_context=no |
26252 | fi | 26735 | fi |
26253 | 26736 | ||
26254 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 26737 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
26255 | conftest$ac_exeext conftest.$ac_ext | 26738 | conftest$ac_exeext conftest.$ac_ext |
26256 | LIBS=$ac_check_lib_save_LIBS | 26739 | LIBS=$ac_check_lib_save_LIBS |
26257 | fi | 26740 | fi |
26258 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 | 26741 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
26259 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } | 26742 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } |
26260 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then | 26743 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then |
26261 | cat >>confdefs.h <<\_ACEOF | 26744 | cat >>confdefs.h <<\_ACEOF |
26262 | #define GSSAPI 1 | 26745 | #define GSSAPI 1 |
26263 | _ACEOF | 26746 | _ACEOF |
26264 | 26747 | ||
26265 | K5LIBS="-lgssapi_krb5 $K5LIBS" | 26748 | K5LIBS="-lgssapi $K5LIBS" |
26266 | else | 26749 | else |
26267 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 | 26750 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 |
26268 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} | 26751 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} |
@@ -28532,6 +29015,15 @@ fi | |||
28532 | 29015 | ||
28533 | CFLAGS="$CFLAGS $werror_flags" | 29016 | CFLAGS="$CFLAGS $werror_flags" |
28534 | 29017 | ||
29018 | if grep "#define BROKEN_GETADDRINFO 1" confdefs.h >/dev/null || \ | ||
29019 | test "x$ac_cv_func_getaddrinfo" != "xyes" ; then | ||
29020 | TEST_SSH_IPV6=no | ||
29021 | |||
29022 | else | ||
29023 | TEST_SSH_IPV6=yes | ||
29024 | |||
29025 | fi | ||
29026 | |||
28535 | 29027 | ||
28536 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openssh.xml openbsd-compat/Makefile openbsd-compat/regress/Makefile scard/Makefile ssh_prng_cmds survey.sh" | 29028 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openssh.xml openbsd-compat/Makefile openbsd-compat/regress/Makefile scard/Makefile ssh_prng_cmds survey.sh" |
28537 | 29029 | ||
@@ -29307,11 +29799,12 @@ MANTYPE!$MANTYPE$ac_delim | |||
29307 | mansubdir!$mansubdir$ac_delim | 29799 | mansubdir!$mansubdir$ac_delim |
29308 | user_path!$user_path$ac_delim | 29800 | user_path!$user_path$ac_delim |
29309 | piddir!$piddir$ac_delim | 29801 | piddir!$piddir$ac_delim |
29802 | TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim | ||
29310 | LIBOBJS!$LIBOBJS$ac_delim | 29803 | LIBOBJS!$LIBOBJS$ac_delim |
29311 | LTLIBOBJS!$LTLIBOBJS$ac_delim | 29804 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
29312 | _ACEOF | 29805 | _ACEOF |
29313 | 29806 | ||
29314 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then | 29807 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then |
29315 | break | 29808 | break |
29316 | elif $ac_last_try; then | 29809 | elif $ac_last_try; then |
29317 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 29810 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |