diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 647 |
1 files changed, 511 insertions, 136 deletions
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.518 . | 2 | # From configure.ac Revision: 1.536 . |
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.68 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.68 for OpenSSH Portable. |
5 | # | 5 | # |
@@ -605,6 +605,7 @@ ac_includes_default="\ | |||
605 | 605 | ||
606 | ac_subst_vars='LTLIBOBJS | 606 | ac_subst_vars='LTLIBOBJS |
607 | LIBOBJS | 607 | LIBOBJS |
608 | UNSUPPORTED_ALGORITHMS | ||
608 | TEST_SSH_IPV6 | 609 | TEST_SSH_IPV6 |
609 | piddir | 610 | piddir |
610 | user_path | 611 | user_path |
@@ -5605,6 +5606,68 @@ fi | |||
5605 | 5606 | ||
5606 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 5607 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
5607 | { | 5608 | { |
5609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Qunused-arguments -Werror" >&5 | ||
5610 | $as_echo_n "checking if $CC supports -Qunused-arguments -Werror... " >&6; } | ||
5611 | saved_CFLAGS="$CFLAGS" | ||
5612 | CFLAGS="$CFLAGS -Qunused-arguments -Werror" | ||
5613 | _define_flag="-Qunused-arguments" | ||
5614 | test "x$_define_flag" = "x" && _define_flag="-Qunused-arguments -Werror" | ||
5615 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
5616 | /* end confdefs.h. */ | ||
5617 | int main(void) { return 0; } | ||
5618 | _ACEOF | ||
5619 | if ac_fn_c_try_compile "$LINENO"; then : | ||
5620 | |||
5621 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5622 | then | ||
5623 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5624 | $as_echo "no" >&6; } | ||
5625 | CFLAGS="$saved_CFLAGS" | ||
5626 | else | ||
5627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5628 | $as_echo "yes" >&6; } | ||
5629 | CFLAGS="$saved_CFLAGS $_define_flag" | ||
5630 | fi | ||
5631 | else | ||
5632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5633 | $as_echo "no" >&6; } | ||
5634 | CFLAGS="$saved_CFLAGS" | ||
5635 | |||
5636 | fi | ||
5637 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5638 | } | ||
5639 | { | ||
5640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunknown-warning-option -Werror" >&5 | ||
5641 | $as_echo_n "checking if $CC supports -Wunknown-warning-option -Werror... " >&6; } | ||
5642 | saved_CFLAGS="$CFLAGS" | ||
5643 | CFLAGS="$CFLAGS -Wunknown-warning-option -Werror" | ||
5644 | _define_flag="-Wno-unknown-warning-option" | ||
5645 | test "x$_define_flag" = "x" && _define_flag="-Wunknown-warning-option -Werror" | ||
5646 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
5647 | /* end confdefs.h. */ | ||
5648 | int main(void) { return 0; } | ||
5649 | _ACEOF | ||
5650 | if ac_fn_c_try_compile "$LINENO"; then : | ||
5651 | |||
5652 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5653 | then | ||
5654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5655 | $as_echo "no" >&6; } | ||
5656 | CFLAGS="$saved_CFLAGS" | ||
5657 | else | ||
5658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5659 | $as_echo "yes" >&6; } | ||
5660 | CFLAGS="$saved_CFLAGS $_define_flag" | ||
5661 | fi | ||
5662 | else | ||
5663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5664 | $as_echo "no" >&6; } | ||
5665 | CFLAGS="$saved_CFLAGS" | ||
5666 | |||
5667 | fi | ||
5668 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5669 | } | ||
5670 | { | ||
5608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 | 5671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5 |
5609 | $as_echo_n "checking if $CC supports -Wall... " >&6; } | 5672 | $as_echo_n "checking if $CC supports -Wall... " >&6; } |
5610 | saved_CFLAGS="$CFLAGS" | 5673 | saved_CFLAGS="$CFLAGS" |
@@ -5616,9 +5679,17 @@ $as_echo_n "checking if $CC supports -Wall... " >&6; } | |||
5616 | int main(void) { return 0; } | 5679 | int main(void) { return 0; } |
5617 | _ACEOF | 5680 | _ACEOF |
5618 | if ac_fn_c_try_compile "$LINENO"; then : | 5681 | if ac_fn_c_try_compile "$LINENO"; then : |
5619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5682 | |
5683 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5684 | then | ||
5685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5686 | $as_echo "no" >&6; } | ||
5687 | CFLAGS="$saved_CFLAGS" | ||
5688 | else | ||
5689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5620 | $as_echo "yes" >&6; } | 5690 | $as_echo "yes" >&6; } |
5621 | CFLAGS="$saved_CFLAGS $_define_flag" | 5691 | CFLAGS="$saved_CFLAGS $_define_flag" |
5692 | fi | ||
5622 | else | 5693 | else |
5623 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5624 | $as_echo "no" >&6; } | 5695 | $as_echo "no" >&6; } |
@@ -5639,9 +5710,17 @@ $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; } | |||
5639 | int main(void) { return 0; } | 5710 | int main(void) { return 0; } |
5640 | _ACEOF | 5711 | _ACEOF |
5641 | if ac_fn_c_try_compile "$LINENO"; then : | 5712 | if ac_fn_c_try_compile "$LINENO"; then : |
5642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5713 | |
5714 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5715 | then | ||
5716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5717 | $as_echo "no" >&6; } | ||
5718 | CFLAGS="$saved_CFLAGS" | ||
5719 | else | ||
5720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5643 | $as_echo "yes" >&6; } | 5721 | $as_echo "yes" >&6; } |
5644 | CFLAGS="$saved_CFLAGS $_define_flag" | 5722 | CFLAGS="$saved_CFLAGS $_define_flag" |
5723 | fi | ||
5645 | else | 5724 | else |
5646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5647 | $as_echo "no" >&6; } | 5726 | $as_echo "no" >&6; } |
@@ -5662,9 +5741,17 @@ $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; } | |||
5662 | int main(void) { return 0; } | 5741 | int main(void) { return 0; } |
5663 | _ACEOF | 5742 | _ACEOF |
5664 | if ac_fn_c_try_compile "$LINENO"; then : | 5743 | if ac_fn_c_try_compile "$LINENO"; then : |
5665 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5744 | |
5745 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5746 | then | ||
5747 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5748 | $as_echo "no" >&6; } | ||
5749 | CFLAGS="$saved_CFLAGS" | ||
5750 | else | ||
5751 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5666 | $as_echo "yes" >&6; } | 5752 | $as_echo "yes" >&6; } |
5667 | CFLAGS="$saved_CFLAGS $_define_flag" | 5753 | CFLAGS="$saved_CFLAGS $_define_flag" |
5754 | fi | ||
5668 | else | 5755 | else |
5669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5670 | $as_echo "no" >&6; } | 5757 | $as_echo "no" >&6; } |
@@ -5685,9 +5772,17 @@ $as_echo_n "checking if $CC supports -Wsign-compare... " >&6; } | |||
5685 | int main(void) { return 0; } | 5772 | int main(void) { return 0; } |
5686 | _ACEOF | 5773 | _ACEOF |
5687 | if ac_fn_c_try_compile "$LINENO"; then : | 5774 | if ac_fn_c_try_compile "$LINENO"; then : |
5688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5775 | |
5776 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5777 | then | ||
5778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5779 | $as_echo "no" >&6; } | ||
5780 | CFLAGS="$saved_CFLAGS" | ||
5781 | else | ||
5782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5689 | $as_echo "yes" >&6; } | 5783 | $as_echo "yes" >&6; } |
5690 | CFLAGS="$saved_CFLAGS $_define_flag" | 5784 | CFLAGS="$saved_CFLAGS $_define_flag" |
5785 | fi | ||
5691 | else | 5786 | else |
5692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5693 | $as_echo "no" >&6; } | 5788 | $as_echo "no" >&6; } |
@@ -5708,9 +5803,48 @@ $as_echo_n "checking if $CC supports -Wformat-security... " >&6; } | |||
5708 | int main(void) { return 0; } | 5803 | int main(void) { return 0; } |
5709 | _ACEOF | 5804 | _ACEOF |
5710 | if ac_fn_c_try_compile "$LINENO"; then : | 5805 | if ac_fn_c_try_compile "$LINENO"; then : |
5711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5806 | |
5807 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5808 | then | ||
5809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5810 | $as_echo "no" >&6; } | ||
5811 | CFLAGS="$saved_CFLAGS" | ||
5812 | else | ||
5813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5814 | $as_echo "yes" >&6; } | ||
5815 | CFLAGS="$saved_CFLAGS $_define_flag" | ||
5816 | fi | ||
5817 | else | ||
5818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5819 | $as_echo "no" >&6; } | ||
5820 | CFLAGS="$saved_CFLAGS" | ||
5821 | |||
5822 | fi | ||
5823 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5824 | } | ||
5825 | { | ||
5826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsizeof-pointer-memaccess" >&5 | ||
5827 | $as_echo_n "checking if $CC supports -Wsizeof-pointer-memaccess... " >&6; } | ||
5828 | saved_CFLAGS="$CFLAGS" | ||
5829 | CFLAGS="$CFLAGS -Wsizeof-pointer-memaccess" | ||
5830 | _define_flag="" | ||
5831 | test "x$_define_flag" = "x" && _define_flag="-Wsizeof-pointer-memaccess" | ||
5832 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
5833 | /* end confdefs.h. */ | ||
5834 | int main(void) { return 0; } | ||
5835 | _ACEOF | ||
5836 | if ac_fn_c_try_compile "$LINENO"; then : | ||
5837 | |||
5838 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5839 | then | ||
5840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5841 | $as_echo "no" >&6; } | ||
5842 | CFLAGS="$saved_CFLAGS" | ||
5843 | else | ||
5844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5712 | $as_echo "yes" >&6; } | 5845 | $as_echo "yes" >&6; } |
5713 | CFLAGS="$saved_CFLAGS $_define_flag" | 5846 | CFLAGS="$saved_CFLAGS $_define_flag" |
5847 | fi | ||
5714 | else | 5848 | else |
5715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5716 | $as_echo "no" >&6; } | 5850 | $as_echo "no" >&6; } |
@@ -5731,9 +5865,17 @@ $as_echo_n "checking if $CC supports -Wpointer-sign... " >&6; } | |||
5731 | int main(void) { return 0; } | 5865 | int main(void) { return 0; } |
5732 | _ACEOF | 5866 | _ACEOF |
5733 | if ac_fn_c_try_compile "$LINENO"; then : | 5867 | if ac_fn_c_try_compile "$LINENO"; then : |
5734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5868 | |
5869 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5870 | then | ||
5871 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5872 | $as_echo "no" >&6; } | ||
5873 | CFLAGS="$saved_CFLAGS" | ||
5874 | else | ||
5875 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5735 | $as_echo "yes" >&6; } | 5876 | $as_echo "yes" >&6; } |
5736 | CFLAGS="$saved_CFLAGS $_define_flag" | 5877 | CFLAGS="$saved_CFLAGS $_define_flag" |
5878 | fi | ||
5737 | else | 5879 | else |
5738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5739 | $as_echo "no" >&6; } | 5881 | $as_echo "no" >&6; } |
@@ -5754,9 +5896,17 @@ $as_echo_n "checking if $CC supports -Wunused-result... " >&6; } | |||
5754 | int main(void) { return 0; } | 5896 | int main(void) { return 0; } |
5755 | _ACEOF | 5897 | _ACEOF |
5756 | if ac_fn_c_try_compile "$LINENO"; then : | 5898 | if ac_fn_c_try_compile "$LINENO"; then : |
5757 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5899 | |
5900 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5901 | then | ||
5902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5903 | $as_echo "no" >&6; } | ||
5904 | CFLAGS="$saved_CFLAGS" | ||
5905 | else | ||
5906 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5758 | $as_echo "yes" >&6; } | 5907 | $as_echo "yes" >&6; } |
5759 | CFLAGS="$saved_CFLAGS $_define_flag" | 5908 | CFLAGS="$saved_CFLAGS $_define_flag" |
5909 | fi | ||
5760 | else | 5910 | else |
5761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5762 | $as_echo "no" >&6; } | 5912 | $as_echo "no" >&6; } |
@@ -5777,9 +5927,17 @@ $as_echo_n "checking if $CC supports -fno-strict-aliasing... " >&6; } | |||
5777 | int main(void) { return 0; } | 5927 | int main(void) { return 0; } |
5778 | _ACEOF | 5928 | _ACEOF |
5779 | if ac_fn_c_try_compile "$LINENO"; then : | 5929 | if ac_fn_c_try_compile "$LINENO"; then : |
5780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5930 | |
5931 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5932 | then | ||
5933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5934 | $as_echo "no" >&6; } | ||
5935 | CFLAGS="$saved_CFLAGS" | ||
5936 | else | ||
5937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5781 | $as_echo "yes" >&6; } | 5938 | $as_echo "yes" >&6; } |
5782 | CFLAGS="$saved_CFLAGS $_define_flag" | 5939 | CFLAGS="$saved_CFLAGS $_define_flag" |
5940 | fi | ||
5783 | else | 5941 | else |
5784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5785 | $as_echo "no" >&6; } | 5943 | $as_echo "no" >&6; } |
@@ -5800,9 +5958,17 @@ $as_echo_n "checking if $CC supports -D_FORTIFY_SOURCE=2... " >&6; } | |||
5800 | int main(void) { return 0; } | 5958 | int main(void) { return 0; } |
5801 | _ACEOF | 5959 | _ACEOF |
5802 | if ac_fn_c_try_compile "$LINENO"; then : | 5960 | if ac_fn_c_try_compile "$LINENO"; then : |
5803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5961 | |
5962 | if `grep -i "unrecognized option" conftest.err >/dev/null` | ||
5963 | then | ||
5964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
5965 | $as_echo "no" >&6; } | ||
5966 | CFLAGS="$saved_CFLAGS" | ||
5967 | else | ||
5968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
5804 | $as_echo "yes" >&6; } | 5969 | $as_echo "yes" >&6; } |
5805 | CFLAGS="$saved_CFLAGS $_define_flag" | 5970 | CFLAGS="$saved_CFLAGS $_define_flag" |
5971 | fi | ||
5806 | else | 5972 | else |
5807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5808 | $as_echo "no" >&6; } | 5974 | $as_echo "no" >&6; } |
@@ -6074,6 +6240,7 @@ for ac_header in \ | |||
6074 | ia.h \ | 6240 | ia.h \ |
6075 | iaf.h \ | 6241 | iaf.h \ |
6076 | limits.h \ | 6242 | limits.h \ |
6243 | locale.h \ | ||
6077 | login.h \ | 6244 | login.h \ |
6078 | maillock.h \ | 6245 | maillock.h \ |
6079 | ndir.h \ | 6246 | ndir.h \ |
@@ -6112,7 +6279,6 @@ for ac_header in \ | |||
6112 | sys/sysmacros.h \ | 6279 | sys/sysmacros.h \ |
6113 | sys/time.h \ | 6280 | sys/time.h \ |
6114 | sys/timers.h \ | 6281 | sys/timers.h \ |
6115 | sys/un.h \ | ||
6116 | time.h \ | 6282 | time.h \ |
6117 | tmpdir.h \ | 6283 | tmpdir.h \ |
6118 | ttyent.h \ | 6284 | ttyent.h \ |
@@ -6210,6 +6376,24 @@ fi | |||
6210 | done | 6376 | done |
6211 | 6377 | ||
6212 | 6378 | ||
6379 | # Android requires sys/socket.h to be included before sys/un.h | ||
6380 | for ac_header in sys/un.h | ||
6381 | do : | ||
6382 | ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" " | ||
6383 | #include <sys/types.h> | ||
6384 | #include <sys/socket.h> | ||
6385 | |||
6386 | " | ||
6387 | if test "x$ac_cv_header_sys_un_h" = xyes; then : | ||
6388 | cat >>confdefs.h <<_ACEOF | ||
6389 | #define HAVE_SYS_UN_H 1 | ||
6390 | _ACEOF | ||
6391 | |||
6392 | fi | ||
6393 | |||
6394 | done | ||
6395 | |||
6396 | |||
6213 | # Messages for features tested for in target-specific section | 6397 | # Messages for features tested for in target-specific section |
6214 | SIA_MSG="no" | 6398 | SIA_MSG="no" |
6215 | SPC_MSG="no" | 6399 | SPC_MSG="no" |
@@ -6496,6 +6680,14 @@ $as_echo "#define PTY_ZEROREAD 1" >>confdefs.h | |||
6496 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h | 6680 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h |
6497 | 6681 | ||
6498 | ;; | 6682 | ;; |
6683 | *-*-android*) | ||
6684 | |||
6685 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | ||
6686 | |||
6687 | |||
6688 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | ||
6689 | |||
6690 | ;; | ||
6499 | *-*-cygwin*) | 6691 | *-*-cygwin*) |
6500 | check_for_libcrypt_later=1 | 6692 | check_for_libcrypt_later=1 |
6501 | LIBS="$LIBS /usr/lib/textreadmode.o" | 6693 | LIBS="$LIBS /usr/lib/textreadmode.o" |
@@ -7257,6 +7449,7 @@ fi | |||
7257 | 7449 | ||
7258 | fi | 7450 | fi |
7259 | 7451 | ||
7452 | TEST_SHELL=$SHELL # let configure find us a capable shell | ||
7260 | ;; | 7453 | ;; |
7261 | *-*-sunos4*) | 7454 | *-*-sunos4*) |
7262 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | 7455 | CPPFLAGS="$CPPFLAGS -DSUNOS4" |
@@ -7413,6 +7606,7 @@ $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | |||
7413 | 7606 | ||
7414 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 7607 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h |
7415 | 7608 | ||
7609 | TEST_SHELL=$SHELL # let configure find us a capable shell | ||
7416 | ;; | 7610 | ;; |
7417 | # UnixWare 7.x, OpenUNIX 8 | 7611 | # UnixWare 7.x, OpenUNIX 8 |
7418 | *-*-sysv5*) | 7612 | *-*-sysv5*) |
@@ -7432,10 +7626,10 @@ $as_echo "#define UNIXWARE_LONG_PASSWORDS 1" >>confdefs.h | |||
7432 | 7626 | ||
7433 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | 7627 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h |
7434 | 7628 | ||
7629 | TEST_SHELL=$SHELL # let configure find us a capable shell | ||
7435 | case "$host" in | 7630 | case "$host" in |
7436 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x | 7631 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x |
7437 | maildir=/var/spool/mail | 7632 | maildir=/var/spool/mail |
7438 | TEST_SHELL=/u95/bin/sh | ||
7439 | 7633 | ||
7440 | $as_echo "#define BROKEN_LIBIAF 1" >>confdefs.h | 7634 | $as_echo "#define BROKEN_LIBIAF 1" >>confdefs.h |
7441 | 7635 | ||
@@ -7553,7 +7747,7 @@ fi | |||
7553 | done | 7747 | done |
7554 | 7748 | ||
7555 | MANTYPE=man | 7749 | MANTYPE=man |
7556 | TEST_SHELL=ksh | 7750 | TEST_SHELL=$SHELL # let configure find us a capable shell |
7557 | SKIP_DISABLE_LASTLOG_DEFINE=yes | 7751 | SKIP_DISABLE_LASTLOG_DEFINE=yes |
7558 | ;; | 7752 | ;; |
7559 | *-*-unicosmk*) | 7753 | *-*-unicosmk*) |
@@ -7664,15 +7858,6 @@ $as_echo "#define BROKEN_READV_COMPARISON 1" >>confdefs.h | |||
7664 | 7858 | ||
7665 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h | 7859 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h |
7666 | 7860 | ||
7667 | |||
7668 | $as_echo "#define MISSING_NFDBITS 1" >>confdefs.h | ||
7669 | |||
7670 | |||
7671 | $as_echo "#define MISSING_HOWMANY 1" >>confdefs.h | ||
7672 | |||
7673 | |||
7674 | $as_echo "#define MISSING_FD_MASK 1" >>confdefs.h | ||
7675 | |||
7676 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 7861 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
7677 | 7862 | ||
7678 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 7863 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
@@ -7705,8 +7890,6 @@ $as_echo "#define HAVE_SYS_SYSLOG_H 1" >>confdefs.h | |||
7705 | 7890 | ||
7706 | *-*-lynxos) | 7891 | *-*-lynxos) |
7707 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" | 7892 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" |
7708 | $as_echo "#define MISSING_HOWMANY 1" >>confdefs.h | ||
7709 | |||
7710 | 7893 | ||
7711 | $as_echo "#define BROKEN_SETVBUF 1" >>confdefs.h | 7894 | $as_echo "#define BROKEN_SETVBUF 1" >>confdefs.h |
7712 | 7895 | ||
@@ -8231,6 +8414,7 @@ else | |||
8231 | /* end confdefs.h. */ | 8414 | /* end confdefs.h. */ |
8232 | 8415 | ||
8233 | #include <stdio.h> | 8416 | #include <stdio.h> |
8417 | #include <stdlib.h> | ||
8234 | #include <zlib.h> | 8418 | #include <zlib.h> |
8235 | 8419 | ||
8236 | int | 8420 | int |
@@ -8455,6 +8639,62 @@ if test "$ac_res" != no; then : | |||
8455 | 8639 | ||
8456 | fi | 8640 | fi |
8457 | 8641 | ||
8642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing scan_scaled" >&5 | ||
8643 | $as_echo_n "checking for library containing scan_scaled... " >&6; } | ||
8644 | if ${ac_cv_search_scan_scaled+:} false; then : | ||
8645 | $as_echo_n "(cached) " >&6 | ||
8646 | else | ||
8647 | ac_func_search_save_LIBS=$LIBS | ||
8648 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
8649 | /* end confdefs.h. */ | ||
8650 | |||
8651 | /* Override any GCC internal prototype to avoid an error. | ||
8652 | Use char because int might match the return type of a GCC | ||
8653 | builtin and then its argument prototype would still apply. */ | ||
8654 | #ifdef __cplusplus | ||
8655 | extern "C" | ||
8656 | #endif | ||
8657 | char scan_scaled (); | ||
8658 | int | ||
8659 | main () | ||
8660 | { | ||
8661 | return scan_scaled (); | ||
8662 | ; | ||
8663 | return 0; | ||
8664 | } | ||
8665 | _ACEOF | ||
8666 | for ac_lib in '' util bsd; do | ||
8667 | if test -z "$ac_lib"; then | ||
8668 | ac_res="none required" | ||
8669 | else | ||
8670 | ac_res=-l$ac_lib | ||
8671 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
8672 | fi | ||
8673 | if ac_fn_c_try_link "$LINENO"; then : | ||
8674 | ac_cv_search_scan_scaled=$ac_res | ||
8675 | fi | ||
8676 | rm -f core conftest.err conftest.$ac_objext \ | ||
8677 | conftest$ac_exeext | ||
8678 | if ${ac_cv_search_scan_scaled+:} false; then : | ||
8679 | break | ||
8680 | fi | ||
8681 | done | ||
8682 | if ${ac_cv_search_scan_scaled+:} false; then : | ||
8683 | |||
8684 | else | ||
8685 | ac_cv_search_scan_scaled=no | ||
8686 | fi | ||
8687 | rm conftest.$ac_ext | ||
8688 | LIBS=$ac_func_search_save_LIBS | ||
8689 | fi | ||
8690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_scan_scaled" >&5 | ||
8691 | $as_echo "$ac_cv_search_scan_scaled" >&6; } | ||
8692 | ac_res=$ac_cv_search_scan_scaled | ||
8693 | if test "$ac_res" != no; then : | ||
8694 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
8695 | |||
8696 | fi | ||
8697 | |||
8458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5 | 8698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5 |
8459 | $as_echo_n "checking for library containing login... " >&6; } | 8699 | $as_echo_n "checking for library containing login... " >&6; } |
8460 | if ${ac_cv_search_login+:} false; then : | 8700 | if ${ac_cv_search_login+:} false; then : |
@@ -8735,7 +8975,7 @@ if test "$ac_res" != no; then : | |||
8735 | 8975 | ||
8736 | fi | 8976 | fi |
8737 | 8977 | ||
8738 | for ac_func in fmt_scaled login logout openpty updwtmp logwtmp | 8978 | for ac_func in fmt_scaled scan_scaled login logout openpty updwtmp logwtmp |
8739 | do : | 8979 | do : |
8740 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8980 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8741 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8981 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
@@ -9570,6 +9810,7 @@ for ac_func in \ | |||
9570 | clock \ | 9810 | clock \ |
9571 | closefrom \ | 9811 | closefrom \ |
9572 | dirfd \ | 9812 | dirfd \ |
9813 | endgrent \ | ||
9573 | fchmod \ | 9814 | fchmod \ |
9574 | fchown \ | 9815 | fchown \ |
9575 | freeaddrinfo \ | 9816 | freeaddrinfo \ |
@@ -9594,6 +9835,7 @@ for ac_func in \ | |||
9594 | inet_ntop \ | 9835 | inet_ntop \ |
9595 | innetgr \ | 9836 | innetgr \ |
9596 | login_getcapbool \ | 9837 | login_getcapbool \ |
9838 | mblen \ | ||
9597 | md5_crypt \ | 9839 | md5_crypt \ |
9598 | memmove \ | 9840 | memmove \ |
9599 | mkdtemp \ | 9841 | mkdtemp \ |
@@ -9852,6 +10094,65 @@ $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h | |||
9852 | fi | 10094 | fi |
9853 | 10095 | ||
9854 | 10096 | ||
10097 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 | ||
10098 | $as_echo_n "checking for library containing clock_gettime... " >&6; } | ||
10099 | if ${ac_cv_search_clock_gettime+:} false; then : | ||
10100 | $as_echo_n "(cached) " >&6 | ||
10101 | else | ||
10102 | ac_func_search_save_LIBS=$LIBS | ||
10103 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
10104 | /* end confdefs.h. */ | ||
10105 | |||
10106 | /* Override any GCC internal prototype to avoid an error. | ||
10107 | Use char because int might match the return type of a GCC | ||
10108 | builtin and then its argument prototype would still apply. */ | ||
10109 | #ifdef __cplusplus | ||
10110 | extern "C" | ||
10111 | #endif | ||
10112 | char clock_gettime (); | ||
10113 | int | ||
10114 | main () | ||
10115 | { | ||
10116 | return clock_gettime (); | ||
10117 | ; | ||
10118 | return 0; | ||
10119 | } | ||
10120 | _ACEOF | ||
10121 | for ac_lib in '' rt; do | ||
10122 | if test -z "$ac_lib"; then | ||
10123 | ac_res="none required" | ||
10124 | else | ||
10125 | ac_res=-l$ac_lib | ||
10126 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
10127 | fi | ||
10128 | if ac_fn_c_try_link "$LINENO"; then : | ||
10129 | ac_cv_search_clock_gettime=$ac_res | ||
10130 | fi | ||
10131 | rm -f core conftest.err conftest.$ac_objext \ | ||
10132 | conftest$ac_exeext | ||
10133 | if ${ac_cv_search_clock_gettime+:} false; then : | ||
10134 | break | ||
10135 | fi | ||
10136 | done | ||
10137 | if ${ac_cv_search_clock_gettime+:} false; then : | ||
10138 | |||
10139 | else | ||
10140 | ac_cv_search_clock_gettime=no | ||
10141 | fi | ||
10142 | rm conftest.$ac_ext | ||
10143 | LIBS=$ac_func_search_save_LIBS | ||
10144 | fi | ||
10145 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 | ||
10146 | $as_echo "$ac_cv_search_clock_gettime" >&6; } | ||
10147 | ac_res=$ac_cv_search_clock_gettime | ||
10148 | if test "$ac_res" != no; then : | ||
10149 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
10150 | |||
10151 | $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h | ||
10152 | |||
10153 | fi | ||
10154 | |||
10155 | |||
9855 | ac_fn_c_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" "$ac_includes_default" | 10156 | ac_fn_c_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" "$ac_includes_default" |
9856 | if test "x$ac_cv_have_decl_getrusage" = xyes; then : | 10157 | if test "x$ac_cv_have_decl_getrusage" = xyes; then : |
9857 | for ac_func in getrusage | 10158 | for ac_func in getrusage |
@@ -10006,6 +10307,84 @@ cat >>confdefs.h <<_ACEOF | |||
10006 | _ACEOF | 10307 | _ACEOF |
10007 | 10308 | ||
10008 | 10309 | ||
10310 | # extra bits for select(2) | ||
10311 | ac_fn_c_check_decl "$LINENO" "howmany" "ac_cv_have_decl_howmany" " | ||
10312 | #include <sys/param.h> | ||
10313 | #include <sys/types.h> | ||
10314 | #ifdef HAVE_SYS_SYSMACROS_H | ||
10315 | #include <sys/sysmacros.h> | ||
10316 | #endif | ||
10317 | #ifdef HAVE_SYS_SELECT_H | ||
10318 | #include <sys/select.h> | ||
10319 | #endif | ||
10320 | #ifdef HAVE_SYS_TIME_H | ||
10321 | #include <sys/time.h> | ||
10322 | #endif | ||
10323 | #ifdef HAVE_UNISTD_H | ||
10324 | #include <unistd.h> | ||
10325 | #endif | ||
10326 | |||
10327 | " | ||
10328 | if test "x$ac_cv_have_decl_howmany" = xyes; then : | ||
10329 | ac_have_decl=1 | ||
10330 | else | ||
10331 | ac_have_decl=0 | ||
10332 | fi | ||
10333 | |||
10334 | cat >>confdefs.h <<_ACEOF | ||
10335 | #define HAVE_DECL_HOWMANY $ac_have_decl | ||
10336 | _ACEOF | ||
10337 | ac_fn_c_check_decl "$LINENO" "NFDBITS" "ac_cv_have_decl_NFDBITS" " | ||
10338 | #include <sys/param.h> | ||
10339 | #include <sys/types.h> | ||
10340 | #ifdef HAVE_SYS_SYSMACROS_H | ||
10341 | #include <sys/sysmacros.h> | ||
10342 | #endif | ||
10343 | #ifdef HAVE_SYS_SELECT_H | ||
10344 | #include <sys/select.h> | ||
10345 | #endif | ||
10346 | #ifdef HAVE_SYS_TIME_H | ||
10347 | #include <sys/time.h> | ||
10348 | #endif | ||
10349 | #ifdef HAVE_UNISTD_H | ||
10350 | #include <unistd.h> | ||
10351 | #endif | ||
10352 | |||
10353 | " | ||
10354 | if test "x$ac_cv_have_decl_NFDBITS" = xyes; then : | ||
10355 | ac_have_decl=1 | ||
10356 | else | ||
10357 | ac_have_decl=0 | ||
10358 | fi | ||
10359 | |||
10360 | cat >>confdefs.h <<_ACEOF | ||
10361 | #define HAVE_DECL_NFDBITS $ac_have_decl | ||
10362 | _ACEOF | ||
10363 | |||
10364 | ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" " | ||
10365 | #include <sys/param.h> | ||
10366 | #include <sys/types.h> | ||
10367 | #ifdef HAVE_SYS_SELECT_H | ||
10368 | #include <sys/select.h> | ||
10369 | #endif | ||
10370 | #ifdef HAVE_SYS_TIME_H | ||
10371 | #include <sys/time.h> | ||
10372 | #endif | ||
10373 | #ifdef HAVE_UNISTD_H | ||
10374 | #include <unistd.h> | ||
10375 | #endif | ||
10376 | |||
10377 | " | ||
10378 | if test "x$ac_cv_type_fd_mask" = xyes; then : | ||
10379 | |||
10380 | cat >>confdefs.h <<_ACEOF | ||
10381 | #define HAVE_FD_MASK 1 | ||
10382 | _ACEOF | ||
10383 | |||
10384 | |||
10385 | fi | ||
10386 | |||
10387 | |||
10009 | for ac_func in setresuid | 10388 | for ac_func in setresuid |
10010 | do : | 10389 | do : |
10011 | ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid" | 10390 | ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid" |
@@ -11336,6 +11715,8 @@ else | |||
11336 | 11715 | ||
11337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11338 | $as_echo "no" >&6; } | 11717 | $as_echo "no" >&6; } |
11718 | unsupported_algorithms="$unsupported_cipers \ | ||
11719 | aes128-gcm@openssh.com aes256-gcm@openssh.com" | ||
11339 | 11720 | ||
11340 | 11721 | ||
11341 | fi | 11722 | fi |
@@ -11532,6 +11913,18 @@ if test "x$ac_cv_lib_crypt_crypt" = xyes; then : | |||
11532 | fi | 11913 | fi |
11533 | 11914 | ||
11534 | fi | 11915 | fi |
11916 | for ac_func in crypt DES_crypt | ||
11917 | do : | ||
11918 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
11919 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
11920 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
11921 | cat >>confdefs.h <<_ACEOF | ||
11922 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
11923 | _ACEOF | ||
11924 | |||
11925 | fi | ||
11926 | done | ||
11927 | |||
11535 | 11928 | ||
11536 | # Search for SHA256 support in libc and/or OpenSSL | 11929 | # Search for SHA256 support in libc and/or OpenSSL |
11537 | for ac_func in SHA256_Update EVP_sha256 | 11930 | for ac_func in SHA256_Update EVP_sha256 |
@@ -11545,6 +11938,12 @@ _ACEOF | |||
11545 | TEST_SSH_SHA256=yes | 11938 | TEST_SSH_SHA256=yes |
11546 | else | 11939 | else |
11547 | TEST_SSH_SHA256=no | 11940 | TEST_SSH_SHA256=no |
11941 | unsupported_algorithms="$unsupported_algorithms \ | ||
11942 | hmac-sha2-256 hmac-sha2-512 \ | ||
11943 | diffie-hellman-group-exchange-sha256 \ | ||
11944 | hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" | ||
11945 | |||
11946 | |||
11548 | fi | 11947 | fi |
11549 | done | 11948 | done |
11550 | 11949 | ||
@@ -11593,6 +11992,12 @@ else | |||
11593 | $as_echo "no" >&6; } | 11992 | $as_echo "no" >&6; } |
11594 | TEST_SSH_ECC=no | 11993 | TEST_SSH_ECC=no |
11595 | COMMENT_OUT_ECC="#no ecc#" | 11994 | COMMENT_OUT_ECC="#no ecc#" |
11995 | unsupported_algorithms="$unsupported_algorithms \ | ||
11996 | ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 \ | ||
11997 | ecdsa-sha2-nistp256-cert-v01@openssh.com \ | ||
11998 | ecdsa-sha2-nistp384-cert-v01@openssh.com \ | ||
11999 | ecdsa-sha2-nistp521-cert-v01@openssh.com \ | ||
12000 | ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521" | ||
11596 | 12001 | ||
11597 | 12002 | ||
11598 | fi | 12003 | fi |
@@ -14345,6 +14750,60 @@ _ACEOF | |||
14345 | 14750 | ||
14346 | fi | 14751 | fi |
14347 | 14752 | ||
14753 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" " | ||
14754 | #include <sys/types.h> | ||
14755 | #include <pwd.h> | ||
14756 | |||
14757 | " | ||
14758 | if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then : | ||
14759 | |||
14760 | cat >>confdefs.h <<_ACEOF | ||
14761 | #define HAVE_STRUCT_PASSWD_PW_GECOS 1 | ||
14762 | _ACEOF | ||
14763 | |||
14764 | |||
14765 | fi | ||
14766 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_class" "ac_cv_member_struct_passwd_pw_class" " | ||
14767 | #include <sys/types.h> | ||
14768 | #include <pwd.h> | ||
14769 | |||
14770 | " | ||
14771 | if test "x$ac_cv_member_struct_passwd_pw_class" = xyes; then : | ||
14772 | |||
14773 | cat >>confdefs.h <<_ACEOF | ||
14774 | #define HAVE_STRUCT_PASSWD_PW_CLASS 1 | ||
14775 | _ACEOF | ||
14776 | |||
14777 | |||
14778 | fi | ||
14779 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_change" "ac_cv_member_struct_passwd_pw_change" " | ||
14780 | #include <sys/types.h> | ||
14781 | #include <pwd.h> | ||
14782 | |||
14783 | " | ||
14784 | if test "x$ac_cv_member_struct_passwd_pw_change" = xyes; then : | ||
14785 | |||
14786 | cat >>confdefs.h <<_ACEOF | ||
14787 | #define HAVE_STRUCT_PASSWD_PW_CHANGE 1 | ||
14788 | _ACEOF | ||
14789 | |||
14790 | |||
14791 | fi | ||
14792 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_expire" "ac_cv_member_struct_passwd_pw_expire" " | ||
14793 | #include <sys/types.h> | ||
14794 | #include <pwd.h> | ||
14795 | |||
14796 | " | ||
14797 | if test "x$ac_cv_member_struct_passwd_pw_expire" = xyes; then : | ||
14798 | |||
14799 | cat >>confdefs.h <<_ACEOF | ||
14800 | #define HAVE_STRUCT_PASSWD_PW_EXPIRE 1 | ||
14801 | _ACEOF | ||
14802 | |||
14803 | |||
14804 | fi | ||
14805 | |||
14806 | |||
14348 | ac_fn_c_check_member "$LINENO" "struct __res_state" "retrans" "ac_cv_member_struct___res_state_retrans" " | 14807 | ac_fn_c_check_member "$LINENO" "struct __res_state" "retrans" "ac_cv_member_struct___res_state_retrans" " |
14349 | #include <stdio.h> | 14808 | #include <stdio.h> |
14350 | #if HAVE_SYS_TYPES_H | 14809 | #if HAVE_SYS_TYPES_H |
@@ -14437,108 +14896,6 @@ $as_echo "#define HAVE___SS_FAMILY_IN_SS 1" >>confdefs.h | |||
14437 | 14896 | ||
14438 | fi | 14897 | fi |
14439 | 14898 | ||
14440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_class field in struct passwd" >&5 | ||
14441 | $as_echo_n "checking for pw_class field in struct passwd... " >&6; } | ||
14442 | if ${ac_cv_have_pw_class_in_struct_passwd+:} false; then : | ||
14443 | $as_echo_n "(cached) " >&6 | ||
14444 | else | ||
14445 | |||
14446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14447 | /* end confdefs.h. */ | ||
14448 | #include <pwd.h> | ||
14449 | int | ||
14450 | main () | ||
14451 | { | ||
14452 | struct passwd p; p.pw_class = 0; | ||
14453 | ; | ||
14454 | return 0; | ||
14455 | } | ||
14456 | _ACEOF | ||
14457 | if ac_fn_c_try_compile "$LINENO"; then : | ||
14458 | ac_cv_have_pw_class_in_struct_passwd="yes" | ||
14459 | else | ||
14460 | ac_cv_have_pw_class_in_struct_passwd="no" | ||
14461 | |||
14462 | fi | ||
14463 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14464 | |||
14465 | fi | ||
14466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | ||
14467 | $as_echo "$ac_cv_have_pw_class_in_struct_passwd" >&6; } | ||
14468 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | ||
14469 | |||
14470 | $as_echo "#define HAVE_PW_CLASS_IN_PASSWD 1" >>confdefs.h | ||
14471 | |||
14472 | fi | ||
14473 | |||
14474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_expire field in struct passwd" >&5 | ||
14475 | $as_echo_n "checking for pw_expire field in struct passwd... " >&6; } | ||
14476 | if ${ac_cv_have_pw_expire_in_struct_passwd+:} false; then : | ||
14477 | $as_echo_n "(cached) " >&6 | ||
14478 | else | ||
14479 | |||
14480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14481 | /* end confdefs.h. */ | ||
14482 | #include <pwd.h> | ||
14483 | int | ||
14484 | main () | ||
14485 | { | ||
14486 | struct passwd p; p.pw_expire = 0; | ||
14487 | ; | ||
14488 | return 0; | ||
14489 | } | ||
14490 | _ACEOF | ||
14491 | if ac_fn_c_try_compile "$LINENO"; then : | ||
14492 | ac_cv_have_pw_expire_in_struct_passwd="yes" | ||
14493 | else | ||
14494 | ac_cv_have_pw_expire_in_struct_passwd="no" | ||
14495 | |||
14496 | fi | ||
14497 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14498 | |||
14499 | fi | ||
14500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | ||
14501 | $as_echo "$ac_cv_have_pw_expire_in_struct_passwd" >&6; } | ||
14502 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | ||
14503 | |||
14504 | $as_echo "#define HAVE_PW_EXPIRE_IN_PASSWD 1" >>confdefs.h | ||
14505 | |||
14506 | fi | ||
14507 | |||
14508 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_change field in struct passwd" >&5 | ||
14509 | $as_echo_n "checking for pw_change field in struct passwd... " >&6; } | ||
14510 | if ${ac_cv_have_pw_change_in_struct_passwd+:} false; then : | ||
14511 | $as_echo_n "(cached) " >&6 | ||
14512 | else | ||
14513 | |||
14514 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14515 | /* end confdefs.h. */ | ||
14516 | #include <pwd.h> | ||
14517 | int | ||
14518 | main () | ||
14519 | { | ||
14520 | struct passwd p; p.pw_change = 0; | ||
14521 | ; | ||
14522 | return 0; | ||
14523 | } | ||
14524 | _ACEOF | ||
14525 | if ac_fn_c_try_compile "$LINENO"; then : | ||
14526 | ac_cv_have_pw_change_in_struct_passwd="yes" | ||
14527 | else | ||
14528 | ac_cv_have_pw_change_in_struct_passwd="no" | ||
14529 | |||
14530 | fi | ||
14531 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14532 | |||
14533 | fi | ||
14534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | ||
14535 | $as_echo "$ac_cv_have_pw_change_in_struct_passwd" >&6; } | ||
14536 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | ||
14537 | |||
14538 | $as_echo "#define HAVE_PW_CHANGE_IN_PASSWD 1" >>confdefs.h | ||
14539 | |||
14540 | fi | ||
14541 | |||
14542 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_accrights field in struct msghdr" >&5 | 14899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_accrights field in struct msghdr" >&5 |
14543 | $as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; } | 14900 | $as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; } |
14544 | if ${ac_cv_have_accrights_in_msghdr+:} false; then : | 14901 | if ${ac_cv_have_accrights_in_msghdr+:} false; then : |
@@ -15996,6 +16353,22 @@ cat >>confdefs.h <<_ACEOF | |||
15996 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE $ac_have_decl | 16353 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE $ac_have_decl |
15997 | _ACEOF | 16354 | _ACEOF |
15998 | 16355 | ||
16356 | saved_LIBS="$LIBS" | ||
16357 | LIBS="$LIBS $K5LIBS" | ||
16358 | for ac_func in krb5_cc_new_unique krb5_get_error_message krb5_free_error_message | ||
16359 | do : | ||
16360 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
16361 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
16362 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
16363 | cat >>confdefs.h <<_ACEOF | ||
16364 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
16365 | _ACEOF | ||
16366 | |||
16367 | fi | ||
16368 | done | ||
16369 | |||
16370 | LIBS="$saved_LIBS" | ||
16371 | |||
15999 | fi | 16372 | fi |
16000 | 16373 | ||
16001 | 16374 | ||
@@ -17307,6 +17680,8 @@ fi | |||
17307 | 17680 | ||
17308 | TEST_SSH_IPV6=$TEST_SSH_IPV6 | 17681 | TEST_SSH_IPV6=$TEST_SSH_IPV6 |
17309 | 17682 | ||
17683 | UNSUPPORTED_ALGORITHMS=$unsupported_algorithms | ||
17684 | |||
17310 | 17685 | ||
17311 | 17686 | ||
17312 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openssh.xml openbsd-compat/Makefile openbsd-compat/regress/Makefile survey.sh" | 17687 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openssh.xml openbsd-compat/Makefile openbsd-compat/regress/Makefile survey.sh" |