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