summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 12:43:25 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 12:43:25 +0000
commit626f1d986ff72aa514da63e34744e1de9cf21b9a (patch)
treed215a5280bc2e57251e4a9e08bfd3674ad824a94 /configure
parent6ed622cb6fe8f71bbe0d998cdd12280410bfb420 (diff)
parent0970072c89b079b022538e3c366fbfa2c53fc821 (diff)
* New upstream release (http://www.openssh.org/txt/release-5.7):
- Implement Elliptic Curve Cryptography modes for key exchange (ECDH) and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA offer better performance than plain DH and DSA at the same equivalent symmetric key length, as well as much shorter keys. - sftp(1)/sftp-server(8): add a protocol extension to support a hard link operation. It is available through the "ln" command in the client. The old "ln" behaviour of creating a symlink is available using its "-s" option or through the preexisting "symlink" command. - scp(1): Add a new -3 option to scp: Copies between two remote hosts are transferred through the local host (closes: #508613). - ssh(1): "atomically" create the listening mux socket by binding it on a temporary name and then linking it into position after listen() has succeeded. This allows the mux clients to determine that the server socket is either ready or stale without races (closes: #454784). Stale server sockets are now automatically removed (closes: #523250). - ssh(1): install a SIGCHLD handler to reap expired child process (closes: #594687). - ssh(1)/ssh-agent(1): honour $TMPDIR for client xauth and ssh-agent temporary directories (closes: #357469, although only if you arrange for ssh-agent to actually see $TMPDIR since the setgid bit will cause it to be stripped off).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1088
1 files changed, 1069 insertions, 19 deletions
diff --git a/configure b/configure
index ef3bb0f0f..6e05311aa 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
1#! /bin/sh 1#! /bin/sh
2# From configure.ac Revision: 1.451 . 2# From configure.ac Revision: 1.469 .
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#
@@ -684,7 +684,11 @@ SED
684ENT 684ENT
685TEST_MINUS_S_SH 685TEST_MINUS_S_SH
686SH 686SH
687GROFF
688NROFF
689MANDOC
687TEST_SHELL 690TEST_SHELL
691MANFMT
688PATH_GROUPADD_PROG 692PATH_GROUPADD_PROG
689PATH_USERADD_PROG 693PATH_USERADD_PROG
690MAKE_PACKAGE_SUPPORTED 694MAKE_PACKAGE_SUPPORTED
@@ -695,6 +699,9 @@ LD
695SSHDLIBS 699SSHDLIBS
696PKGCONFIG 700PKGCONFIG
697LIBEDIT 701LIBEDIT
702TEST_SSH_SHA256
703TEST_SSH_ECC
704COMMENT_OUT_ECC
698INSTALL_SSH_RAND_HELPER 705INSTALL_SSH_RAND_HELPER
699SSH_PRIVSEP_USER 706SSH_PRIVSEP_USER
700PROG_LS 707PROG_LS
@@ -719,7 +726,6 @@ PRIVSEP_PATH
719xauth_path 726xauth_path
720STRIP_OPT 727STRIP_OPT
721XAUTH_PATH 728XAUTH_PATH
722NROFF
723MANTYPE 729MANTYPE
724mansubdir 730mansubdir
725user_path 731user_path
@@ -1334,13 +1340,14 @@ Optional Packages:
1334 --with-libs Specify additional libraries to link with 1340 --with-libs Specify additional libraries to link with
1335 --with-Werror Build main code with -Werror 1341 --with-Werror Build main code with -Werror
1336 --with-solaris-contracts Enable Solaris process contracts (experimental) 1342 --with-solaris-contracts Enable Solaris process contracts (experimental)
1343 --with-solaris-projects Enable Solaris projects (experimental)
1337 --with-osfsia Enable Digital Unix SIA 1344 --with-osfsia Enable Digital Unix SIA
1338 --with-zlib=PATH Use zlib in PATH 1345 --with-zlib=PATH Use zlib in PATH
1339 --without-zlib-version-check Disable zlib version check 1346 --without-zlib-version-check Disable zlib version check
1340 --with-skey[=PATH] Enable S/Key support (optionally in PATH) 1347 --with-skey[=PATH] Enable S/Key support (optionally in PATH)
1341 --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH) 1348 --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH)
1342 --with-libedit[=PATH] Enable libedit support for sftp 1349 --with-libedit[=PATH] Enable libedit support for sftp
1343 --with-audit=module Enable EXPERIMENTAL audit support (modules=debug,bsm) 1350 --with-audit=module Enable audit support (modules=debug,bsm,linux)
1344 --with-ssl-dir=PATH Specify path to OpenSSL installation 1351 --with-ssl-dir=PATH Specify path to OpenSSL installation
1345 --without-openssl-header-check Disable OpenSSL version consistency check 1352 --without-openssl-header-check Disable OpenSSL version consistency check
1346 --with-ssl-engine Enable OpenSSL (hardware) ENGINE support 1353 --with-ssl-engine Enable OpenSSL (hardware) ENGINE support
@@ -1809,6 +1816,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1809 1816
1810 1817
1811 1818
1819# local macros
1820
1821
1812ac_config_headers="$ac_config_headers config.h" 1822ac_config_headers="$ac_config_headers config.h"
1813 1823
1814ac_ext=c 1824ac_ext=c
@@ -4657,9 +4667,142 @@ echo "${ECHO_T}no" >&6; }
4657fi 4667fi
4658 4668
4659 4669
4670# Extract the first word of "groff", so it can be a program name with args.
4671set dummy groff; ac_word=$2
4672{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4674if test "${ac_cv_path_GROFF+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4676else
4677 case $GROFF in
4678 [\\/]* | ?:[\\/]*)
4679 ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
4680 ;;
4681 *)
4682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683for as_dir in $PATH
4684do
4685 IFS=$as_save_IFS
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
4690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 break 2
4692 fi
4693done
4694done
4695IFS=$as_save_IFS
4696
4697 ;;
4698esac
4699fi
4700GROFF=$ac_cv_path_GROFF
4701if test -n "$GROFF"; then
4702 { echo "$as_me:$LINENO: result: $GROFF" >&5
4703echo "${ECHO_T}$GROFF" >&6; }
4704else
4705 { echo "$as_me:$LINENO: result: no" >&5
4706echo "${ECHO_T}no" >&6; }
4707fi
4708
4709
4710# Extract the first word of "nroff", so it can be a program name with args.
4711set dummy nroff; ac_word=$2
4712{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4713echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4714if test "${ac_cv_path_NROFF+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4716else
4717 case $NROFF in
4718 [\\/]* | ?:[\\/]*)
4719 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
4720 ;;
4721 *)
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723for as_dir in $PATH
4724do
4725 IFS=$as_save_IFS
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4729 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
4730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 break 2
4732 fi
4733done
4734done
4735IFS=$as_save_IFS
4736
4737 ;;
4738esac
4739fi
4740NROFF=$ac_cv_path_NROFF
4741if test -n "$NROFF"; then
4742 { echo "$as_me:$LINENO: result: $NROFF" >&5
4743echo "${ECHO_T}$NROFF" >&6; }
4744else
4745 { echo "$as_me:$LINENO: result: no" >&5
4746echo "${ECHO_T}no" >&6; }
4747fi
4748
4749
4750# Extract the first word of "mandoc", so it can be a program name with args.
4751set dummy mandoc; ac_word=$2
4752{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4753echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4754if test "${ac_cv_path_MANDOC+set}" = set; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4756else
4757 case $MANDOC in
4758 [\\/]* | ?:[\\/]*)
4759 ac_cv_path_MANDOC="$MANDOC" # Let the user override the test with a path.
4760 ;;
4761 *)
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763for as_dir in $PATH
4764do
4765 IFS=$as_save_IFS
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4769 ac_cv_path_MANDOC="$as_dir/$ac_word$ac_exec_ext"
4770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 break 2
4772 fi
4773done
4774done
4775IFS=$as_save_IFS
4776
4777 ;;
4778esac
4779fi
4780MANDOC=$ac_cv_path_MANDOC
4781if test -n "$MANDOC"; then
4782 { echo "$as_me:$LINENO: result: $MANDOC" >&5
4783echo "${ECHO_T}$MANDOC" >&6; }
4784else
4785 { echo "$as_me:$LINENO: result: no" >&5
4786echo "${ECHO_T}no" >&6; }
4787fi
4788
4789
4660TEST_SHELL=sh 4790TEST_SHELL=sh
4661 4791
4662 4792
4793if test "x$MANDOC" != "x" ; then
4794 MANFMT="$MANDOC"
4795elif test "x$NROFF" != "x" ; then
4796 MANFMT="$NROFF -mandoc"
4797elif test "x$GROFF" != "x" ; then
4798 MANFMT="$GROFF -mandoc -Tascii"
4799else
4800 { echo "$as_me:$LINENO: WARNING: no manpage formatted found" >&5
4801echo "$as_me: WARNING: no manpage formatted found" >&2;}
4802 MANFMT="false"
4803fi
4804
4805
4663# Extract the first word of "groupadd", so it can be a program name with args. 4806# Extract the first word of "groupadd", so it can be a program name with args.
4664set dummy groupadd; ac_word=$2 4807set dummy groupadd; ac_word=$2
4665{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4808{ echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -5395,20 +5538,333 @@ if test "${with_stackprotect+set}" = set; then
5395fi 5538fi
5396 5539
5397 5540
5541
5398if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 5542if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
5399 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" 5543 {
5544 { echo "$as_me:$LINENO: checking if $CC supports -Wall" >&5
5545echo $ECHO_N "checking if $CC supports -Wall... $ECHO_C" >&6; }
5546 saved_CFLAGS="$CFLAGS"
5547 CFLAGS="$CFLAGS -Wall"
5548 cat >conftest.$ac_ext <<_ACEOF
5549void main(void) { return 0; }
5550_ACEOF
5551rm -f conftest.$ac_objext
5552if { (ac_try="$ac_compile"
5553case "(($ac_try" in
5554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5555 *) ac_try_echo=$ac_try;;
5556esac
5557eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5558 (eval "$ac_compile") 2>conftest.er1
5559 ac_status=$?
5560 grep -v '^ *+' conftest.er1 >conftest.err
5561 rm -f conftest.er1
5562 cat conftest.err >&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } && {
5565 test -z "$ac_c_werror_flag" ||
5566 test ! -s conftest.err
5567 } && test -s conftest.$ac_objext; then
5568 { echo "$as_me:$LINENO: result: yes" >&5
5569echo "${ECHO_T}yes" >&6; }
5570else
5571 echo "$as_me: failed program was:" >&5
5572sed 's/^/| /' conftest.$ac_ext >&5
5573
5574 { echo "$as_me:$LINENO: result: no" >&5
5575echo "${ECHO_T}no" >&6; }
5576 CFLAGS="$saved_CFLAGS"
5577
5578fi
5579
5580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581}
5582 {
5583 { echo "$as_me:$LINENO: checking if $CC supports -Wpointer-arith" >&5
5584echo $ECHO_N "checking if $CC supports -Wpointer-arith... $ECHO_C" >&6; }
5585 saved_CFLAGS="$CFLAGS"
5586 CFLAGS="$CFLAGS -Wpointer-arith"
5587 cat >conftest.$ac_ext <<_ACEOF
5588void main(void) { return 0; }
5589_ACEOF
5590rm -f conftest.$ac_objext
5591if { (ac_try="$ac_compile"
5592case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5595esac
5596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_compile") 2>conftest.er1
5598 ac_status=$?
5599 grep -v '^ *+' conftest.er1 >conftest.err
5600 rm -f conftest.er1
5601 cat conftest.err >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); } && {
5604 test -z "$ac_c_werror_flag" ||
5605 test ! -s conftest.err
5606 } && test -s conftest.$ac_objext; then
5607 { echo "$as_me:$LINENO: result: yes" >&5
5608echo "${ECHO_T}yes" >&6; }
5609else
5610 echo "$as_me: failed program was:" >&5
5611sed 's/^/| /' conftest.$ac_ext >&5
5612
5613 { echo "$as_me:$LINENO: result: no" >&5
5614echo "${ECHO_T}no" >&6; }
5615 CFLAGS="$saved_CFLAGS"
5616
5617fi
5618
5619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5620}
5621 {
5622 { echo "$as_me:$LINENO: checking if $CC supports -Wuninitialized" >&5
5623echo $ECHO_N "checking if $CC supports -Wuninitialized... $ECHO_C" >&6; }
5624 saved_CFLAGS="$CFLAGS"
5625 CFLAGS="$CFLAGS -Wuninitialized"
5626 cat >conftest.$ac_ext <<_ACEOF
5627void main(void) { return 0; }
5628_ACEOF
5629rm -f conftest.$ac_objext
5630if { (ac_try="$ac_compile"
5631case "(($ac_try" in
5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633 *) ac_try_echo=$ac_try;;
5634esac
5635eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636 (eval "$ac_compile") 2>conftest.er1
5637 ac_status=$?
5638 grep -v '^ *+' conftest.er1 >conftest.err
5639 rm -f conftest.er1
5640 cat conftest.err >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } && {
5643 test -z "$ac_c_werror_flag" ||
5644 test ! -s conftest.err
5645 } && test -s conftest.$ac_objext; then
5646 { echo "$as_me:$LINENO: result: yes" >&5
5647echo "${ECHO_T}yes" >&6; }
5648else
5649 echo "$as_me: failed program was:" >&5
5650sed 's/^/| /' conftest.$ac_ext >&5
5651
5652 { echo "$as_me:$LINENO: result: no" >&5
5653echo "${ECHO_T}no" >&6; }
5654 CFLAGS="$saved_CFLAGS"
5655
5656fi
5657
5658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659}
5660 {
5661 { echo "$as_me:$LINENO: checking if $CC supports -Wsign-compare" >&5
5662echo $ECHO_N "checking if $CC supports -Wsign-compare... $ECHO_C" >&6; }
5663 saved_CFLAGS="$CFLAGS"
5664 CFLAGS="$CFLAGS -Wsign-compare"
5665 cat >conftest.$ac_ext <<_ACEOF
5666void main(void) { return 0; }
5667_ACEOF
5668rm -f conftest.$ac_objext
5669if { (ac_try="$ac_compile"
5670case "(($ac_try" in
5671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5673esac
5674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675 (eval "$ac_compile") 2>conftest.er1
5676 ac_status=$?
5677 grep -v '^ *+' conftest.er1 >conftest.err
5678 rm -f conftest.er1
5679 cat conftest.err >&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && {
5682 test -z "$ac_c_werror_flag" ||
5683 test ! -s conftest.err
5684 } && test -s conftest.$ac_objext; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686echo "${ECHO_T}yes" >&6; }
5687else
5688 echo "$as_me: failed program was:" >&5
5689sed 's/^/| /' conftest.$ac_ext >&5
5690
5691 { echo "$as_me:$LINENO: result: no" >&5
5692echo "${ECHO_T}no" >&6; }
5693 CFLAGS="$saved_CFLAGS"
5694
5695fi
5696
5697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698}
5699 {
5700 { echo "$as_me:$LINENO: checking if $CC supports -Wformat-security" >&5
5701echo $ECHO_N "checking if $CC supports -Wformat-security... $ECHO_C" >&6; }
5702 saved_CFLAGS="$CFLAGS"
5703 CFLAGS="$CFLAGS -Wformat-security"
5704 cat >conftest.$ac_ext <<_ACEOF
5705void main(void) { return 0; }
5706_ACEOF
5707rm -f conftest.$ac_objext
5708if { (ac_try="$ac_compile"
5709case "(($ac_try" in
5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5711 *) ac_try_echo=$ac_try;;
5712esac
5713eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5714 (eval "$ac_compile") 2>conftest.er1
5715 ac_status=$?
5716 grep -v '^ *+' conftest.er1 >conftest.err
5717 rm -f conftest.er1
5718 cat conftest.err >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && {
5721 test -z "$ac_c_werror_flag" ||
5722 test ! -s conftest.err
5723 } && test -s conftest.$ac_objext; then
5724 { echo "$as_me:$LINENO: result: yes" >&5
5725echo "${ECHO_T}yes" >&6; }
5726else
5727 echo "$as_me: failed program was:" >&5
5728sed 's/^/| /' conftest.$ac_ext >&5
5729
5730 { echo "$as_me:$LINENO: result: no" >&5
5731echo "${ECHO_T}no" >&6; }
5732 CFLAGS="$saved_CFLAGS"
5733
5734fi
5735
5736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737}
5738 {
5739 { echo "$as_me:$LINENO: checking if $CC supports -Wno-pointer-sign" >&5
5740echo $ECHO_N "checking if $CC supports -Wno-pointer-sign... $ECHO_C" >&6; }
5741 saved_CFLAGS="$CFLAGS"
5742 CFLAGS="$CFLAGS -Wno-pointer-sign"
5743 cat >conftest.$ac_ext <<_ACEOF
5744void main(void) { return 0; }
5745_ACEOF
5746rm -f conftest.$ac_objext
5747if { (ac_try="$ac_compile"
5748case "(($ac_try" in
5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5750 *) ac_try_echo=$ac_try;;
5751esac
5752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_compile") 2>conftest.er1
5754 ac_status=$?
5755 grep -v '^ *+' conftest.er1 >conftest.err
5756 rm -f conftest.er1
5757 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } && {
5760 test -z "$ac_c_werror_flag" ||
5761 test ! -s conftest.err
5762 } && test -s conftest.$ac_objext; then
5763 { echo "$as_me:$LINENO: result: yes" >&5
5764echo "${ECHO_T}yes" >&6; }
5765else
5766 echo "$as_me: failed program was:" >&5
5767sed 's/^/| /' conftest.$ac_ext >&5
5768
5769 { echo "$as_me:$LINENO: result: no" >&5
5770echo "${ECHO_T}no" >&6; }
5771 CFLAGS="$saved_CFLAGS"
5772
5773fi
5774
5775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5776}
5777 {
5778 { echo "$as_me:$LINENO: checking if $CC supports -Wno-unused-result" >&5
5779echo $ECHO_N "checking if $CC supports -Wno-unused-result... $ECHO_C" >&6; }
5780 saved_CFLAGS="$CFLAGS"
5781 CFLAGS="$CFLAGS -Wno-unused-result"
5782 cat >conftest.$ac_ext <<_ACEOF
5783void main(void) { return 0; }
5784_ACEOF
5785rm -f conftest.$ac_objext
5786if { (ac_try="$ac_compile"
5787case "(($ac_try" in
5788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5790esac
5791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_compile") 2>conftest.er1
5793 ac_status=$?
5794 grep -v '^ *+' conftest.er1 >conftest.err
5795 rm -f conftest.er1
5796 cat conftest.err >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } && {
5799 test -z "$ac_c_werror_flag" ||
5800 test ! -s conftest.err
5801 } && test -s conftest.$ac_objext; then
5802 { echo "$as_me:$LINENO: result: yes" >&5
5803echo "${ECHO_T}yes" >&6; }
5804else
5805 echo "$as_me: failed program was:" >&5
5806sed 's/^/| /' conftest.$ac_ext >&5
5807
5808 { echo "$as_me:$LINENO: result: no" >&5
5809echo "${ECHO_T}no" >&6; }
5810 CFLAGS="$saved_CFLAGS"
5811
5812fi
5813
5814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5815}
5816 {
5817 { echo "$as_me:$LINENO: checking if $CC supports -fno-strict-aliasing" >&5
5818echo $ECHO_N "checking if $CC supports -fno-strict-aliasing... $ECHO_C" >&6; }
5819 saved_CFLAGS="$CFLAGS"
5820 CFLAGS="$CFLAGS -fno-strict-aliasing"
5821 cat >conftest.$ac_ext <<_ACEOF
5822void main(void) { return 0; }
5823_ACEOF
5824rm -f conftest.$ac_objext
5825if { (ac_try="$ac_compile"
5826case "(($ac_try" in
5827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5828 *) ac_try_echo=$ac_try;;
5829esac
5830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5831 (eval "$ac_compile") 2>conftest.er1
5832 ac_status=$?
5833 grep -v '^ *+' conftest.er1 >conftest.err
5834 rm -f conftest.er1
5835 cat conftest.err >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } && {
5838 test -z "$ac_c_werror_flag" ||
5839 test ! -s conftest.err
5840 } && test -s conftest.$ac_objext; then
5841 { echo "$as_me:$LINENO: result: yes" >&5
5842echo "${ECHO_T}yes" >&6; }
5843else
5844 echo "$as_me: failed program was:" >&5
5845sed 's/^/| /' conftest.$ac_ext >&5
5846
5847 { echo "$as_me:$LINENO: result: no" >&5
5848echo "${ECHO_T}no" >&6; }
5849 CFLAGS="$saved_CFLAGS"
5850
5851fi
5852
5853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854}
5855 { echo "$as_me:$LINENO: checking gcc version" >&5
5856echo $ECHO_N "checking gcc version... $ECHO_C" >&6; }
5400 GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` 5857 GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'`
5401 case $GCC_VER in 5858 case $GCC_VER in
5402 1.*) no_attrib_nonnull=1 ;; 5859 1.*) no_attrib_nonnull=1 ;;
5403 2.8* | 2.9*) 5860 2.8* | 2.9*)
5404 CFLAGS="$CFLAGS -Wsign-compare"
5405 no_attrib_nonnull=1 5861 no_attrib_nonnull=1
5406 ;; 5862 ;;
5407 2.*) no_attrib_nonnull=1 ;; 5863 2.*) no_attrib_nonnull=1 ;;
5408 3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;;
5409 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-strict-aliasing" ;;
5410 *) ;; 5864 *) ;;
5411 esac 5865 esac
5866 { echo "$as_me:$LINENO: result: $GCC_VER" >&5
5867echo "${ECHO_T}$GCC_VER" >&6; }
5412 5868
5413 { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5 5869 { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5
5414echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; } 5870echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; }
@@ -6256,6 +6712,7 @@ done
6256# Messages for features tested for in target-specific section 6712# Messages for features tested for in target-specific section
6257SIA_MSG="no" 6713SIA_MSG="no"
6258SPC_MSG="no" 6714SPC_MSG="no"
6715SP_MSG="no"
6259 6716
6260# Check for some target-specific stuff 6717# Check for some target-specific stuff
6261case "$host" in 6718case "$host" in
@@ -7245,6 +7702,11 @@ cat >>confdefs.h <<\_ACEOF
7245#define SSH_IOBUFSZ 65535 7702#define SSH_IOBUFSZ 65535
7246_ACEOF 7703_ACEOF
7247 7704
7705
7706cat >>confdefs.h <<\_ACEOF
7707#define FILESYSTEM_NO_BACKSLASH 1
7708_ACEOF
7709
7248 ;; 7710 ;;
7249*-*-dgux*) 7711*-*-dgux*)
7250 7712
@@ -8592,6 +9054,85 @@ fi
8592 9054
8593fi 9055fi
8594 9056
9057
9058# Check whether --with-solaris-projects was given.
9059if test "${with_solaris_projects+set}" = set; then
9060 withval=$with_solaris_projects;
9061 { echo "$as_me:$LINENO: checking for setproject in -lproject" >&5
9062echo $ECHO_N "checking for setproject in -lproject... $ECHO_C" >&6; }
9063if test "${ac_cv_lib_project_setproject+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9065else
9066 ac_check_lib_save_LIBS=$LIBS
9067LIBS="-lproject $LIBS"
9068cat >conftest.$ac_ext <<_ACEOF
9069/* confdefs.h. */
9070_ACEOF
9071cat confdefs.h >>conftest.$ac_ext
9072cat >>conftest.$ac_ext <<_ACEOF
9073/* end confdefs.h. */
9074
9075/* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078#ifdef __cplusplus
9079extern "C"
9080#endif
9081char setproject ();
9082int
9083main ()
9084{
9085return setproject ();
9086 ;
9087 return 0;
9088}
9089_ACEOF
9090rm -f conftest.$ac_objext conftest$ac_exeext
9091if { (ac_try="$ac_link"
9092case "(($ac_try" in
9093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9094 *) ac_try_echo=$ac_try;;
9095esac
9096eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_link") 2>conftest.er1
9098 ac_status=$?
9099 grep -v '^ *+' conftest.er1 >conftest.err
9100 rm -f conftest.er1
9101 cat conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest$ac_exeext &&
9107 $as_test_x conftest$ac_exeext; then
9108 ac_cv_lib_project_setproject=yes
9109else
9110 echo "$as_me: failed program was:" >&5
9111sed 's/^/| /' conftest.$ac_ext >&5
9112
9113 ac_cv_lib_project_setproject=no
9114fi
9115
9116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9117 conftest$ac_exeext conftest.$ac_ext
9118LIBS=$ac_check_lib_save_LIBS
9119fi
9120{ echo "$as_me:$LINENO: result: $ac_cv_lib_project_setproject" >&5
9121echo "${ECHO_T}$ac_cv_lib_project_setproject" >&6; }
9122if test $ac_cv_lib_project_setproject = yes; then
9123
9124cat >>confdefs.h <<\_ACEOF
9125#define USE_SOLARIS_PROJECTS 1
9126_ACEOF
9127
9128 SSHDLIBS="$SSHDLIBS -lproject"
9129
9130 SP_MSG="yes"
9131fi
9132
9133
9134fi
9135
8595 ;; 9136 ;;
8596*-*-sunos4*) 9137*-*-sunos4*)
8597 CPPFLAGS="$CPPFLAGS -DSUNOS4" 9138 CPPFLAGS="$CPPFLAGS -DSUNOS4"
@@ -12014,6 +12555,69 @@ fi
12014 12555
12015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12016 12557
12558# Check for g.gl_statv glob() extension
12559{ echo "$as_me:$LINENO: checking for gl_statv and GLOB_KEEPSTAT extensions for glob" >&5
12560echo $ECHO_N "checking for gl_statv and GLOB_KEEPSTAT extensions for glob... $ECHO_C" >&6; }
12561cat >conftest.$ac_ext <<_ACEOF
12562/* confdefs.h. */
12563_ACEOF
12564cat confdefs.h >>conftest.$ac_ext
12565cat >>conftest.$ac_ext <<_ACEOF
12566/* end confdefs.h. */
12567 #include <glob.h>
12568int
12569main ()
12570{
12571
12572#ifndef GLOB_KEEPSTAT
12573#error "glob does not support GLOB_KEEPSTAT extension"
12574#endif
12575glob_t g;
12576g.gl_statv = NULL;
12577
12578 ;
12579 return 0;
12580}
12581_ACEOF
12582rm -f conftest.$ac_objext
12583if { (ac_try="$ac_compile"
12584case "(($ac_try" in
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12587esac
12588eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 (eval "$ac_compile") 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest.$ac_objext; then
12599
12600
12601cat >>confdefs.h <<\_ACEOF
12602#define GLOB_HAS_GL_STATV 1
12603_ACEOF
12604
12605 { echo "$as_me:$LINENO: result: yes" >&5
12606echo "${ECHO_T}yes" >&6; }
12607
12608else
12609 echo "$as_me: failed program was:" >&5
12610sed 's/^/| /' conftest.$ac_ext >&5
12611
12612
12613 { echo "$as_me:$LINENO: result: no" >&5
12614echo "${ECHO_T}no" >&6; }
12615
12616
12617fi
12618
12619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12620
12017{ echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 12621{ echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5
12018echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } 12622echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; }
12019if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then 12623if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then
@@ -12468,7 +13072,7 @@ echo "${ECHO_T}no" >&6; }
12468 LDFLAGS="-L${withval}/lib ${LDFLAGS}" 13072 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
12469 fi 13073 fi
12470 fi 13074 fi
12471 if test "x$use_pkgconfig_for_libedit" == "xyes"; then 13075 if test "x$use_pkgconfig_for_libedit" = "xyes"; then
12472 LIBEDIT=`$PKGCONFIG --libs-only-l libedit` 13076 LIBEDIT=`$PKGCONFIG --libs-only-l libedit`
12473 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`" 13077 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`"
12474 else 13078 else
@@ -12961,6 +13565,162 @@ cat >>confdefs.h <<\_ACEOF
12961_ACEOF 13565_ACEOF
12962 13566
12963 ;; 13567 ;;
13568 linux)
13569 { echo "$as_me:$LINENO: result: linux" >&5
13570echo "${ECHO_T}linux" >&6; }
13571 AUDIT_MODULE=linux
13572
13573for ac_header in libaudit.h
13574do
13575as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13576if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13578echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13579if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13581fi
13582ac_res=`eval echo '${'$as_ac_Header'}'`
13583 { echo "$as_me:$LINENO: result: $ac_res" >&5
13584echo "${ECHO_T}$ac_res" >&6; }
13585else
13586 # Is the header compilable?
13587{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13588echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13589cat >conftest.$ac_ext <<_ACEOF
13590/* confdefs.h. */
13591_ACEOF
13592cat confdefs.h >>conftest.$ac_ext
13593cat >>conftest.$ac_ext <<_ACEOF
13594/* end confdefs.h. */
13595$ac_includes_default
13596#include <$ac_header>
13597_ACEOF
13598rm -f conftest.$ac_objext
13599if { (ac_try="$ac_compile"
13600case "(($ac_try" in
13601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13602 *) ac_try_echo=$ac_try;;
13603esac
13604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13605 (eval "$ac_compile") 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } && {
13612 test -z "$ac_c_werror_flag" ||
13613 test ! -s conftest.err
13614 } && test -s conftest.$ac_objext; then
13615 ac_header_compiler=yes
13616else
13617 echo "$as_me: failed program was:" >&5
13618sed 's/^/| /' conftest.$ac_ext >&5
13619
13620 ac_header_compiler=no
13621fi
13622
13623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13624{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13625echo "${ECHO_T}$ac_header_compiler" >&6; }
13626
13627# Is the header present?
13628{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13629echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13630cat >conftest.$ac_ext <<_ACEOF
13631/* confdefs.h. */
13632_ACEOF
13633cat confdefs.h >>conftest.$ac_ext
13634cat >>conftest.$ac_ext <<_ACEOF
13635/* end confdefs.h. */
13636#include <$ac_header>
13637_ACEOF
13638if { (ac_try="$ac_cpp conftest.$ac_ext"
13639case "(($ac_try" in
13640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641 *) ac_try_echo=$ac_try;;
13642esac
13643eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13644 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13645 ac_status=$?
13646 grep -v '^ *+' conftest.er1 >conftest.err
13647 rm -f conftest.er1
13648 cat conftest.err >&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } >/dev/null && {
13651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13652 test ! -s conftest.err
13653 }; then
13654 ac_header_preproc=yes
13655else
13656 echo "$as_me: failed program was:" >&5
13657sed 's/^/| /' conftest.$ac_ext >&5
13658
13659 ac_header_preproc=no
13660fi
13661
13662rm -f conftest.err conftest.$ac_ext
13663{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13664echo "${ECHO_T}$ac_header_preproc" >&6; }
13665
13666# So? What about this header?
13667case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13668 yes:no: )
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13670echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13672echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13673 ac_header_preproc=yes
13674 ;;
13675 no:yes:* )
13676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13677echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13679echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13681echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13683echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13685echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13687echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13688 ( cat <<\_ASBOX
13689## ------------------------------------------- ##
13690## Report this to openssh-unix-dev@mindrot.org ##
13691## ------------------------------------------- ##
13692_ASBOX
13693 ) | sed "s/^/$as_me: WARNING: /" >&2
13694 ;;
13695esac
13696{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13697echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13698if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13699 echo $ECHO_N "(cached) $ECHO_C" >&6
13700else
13701 eval "$as_ac_Header=\$ac_header_preproc"
13702fi
13703ac_res=`eval echo '${'$as_ac_Header'}'`
13704 { echo "$as_me:$LINENO: result: $ac_res" >&5
13705echo "${ECHO_T}$ac_res" >&6; }
13706
13707fi
13708if test `eval echo '${'$as_ac_Header'}'` = yes; then
13709 cat >>confdefs.h <<_ACEOF
13710#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13711_ACEOF
13712
13713fi
13714
13715done
13716
13717 SSHDLIBS="$SSHDLIBS -laudit"
13718
13719cat >>confdefs.h <<\_ACEOF
13720#define USE_LINUX_AUDIT 1
13721_ACEOF
13722
13723 ;;
12964 debug) 13724 debug)
12965 AUDIT_MODULE=debug 13725 AUDIT_MODULE=debug
12966 { echo "$as_me:$LINENO: result: debug" >&5 13726 { echo "$as_me:$LINENO: result: debug" >&5
@@ -13079,6 +13839,7 @@ fi
13079 13839
13080 13840
13081 13841
13842
13082for ac_func in \ 13843for ac_func in \
13083 arc4random \ 13844 arc4random \
13084 arc4random_buf \ 13845 arc4random_buf \
@@ -13166,6 +13927,7 @@ for ac_func in \
13166 swap32 \ 13927 swap32 \
13167 sysconf \ 13928 sysconf \
13168 tcgetpgrp \ 13929 tcgetpgrp \
13930 timingsafe_bcmp \
13169 truncate \ 13931 truncate \
13170 unsetenv \ 13932 unsetenv \
13171 updwtmpx \ 13933 updwtmpx \
@@ -13268,6 +14030,49 @@ fi
13268done 14030done
13269 14031
13270 14032
14033cat >conftest.$ac_ext <<_ACEOF
14034
14035#include <ctype.h>
14036int main(void)
14037{
14038 return (isblank('a'));
14039}
14040
14041_ACEOF
14042rm -f conftest.$ac_objext conftest$ac_exeext
14043if { (ac_try="$ac_link"
14044case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047esac
14048eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_link") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest$ac_exeext &&
14059 $as_test_x conftest$ac_exeext; then
14060
14061cat >>confdefs.h <<\_ACEOF
14062#define HAVE_ISBLANK 1
14063_ACEOF
14064
14065
14066else
14067 echo "$as_me: failed program was:" >&5
14068sed 's/^/| /' conftest.$ac_ext >&5
14069
14070
14071fi
14072
14073rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14074 conftest$ac_exeext conftest.$ac_ext
14075
13271# PKCS#11 support requires dlopen() and co 14076# PKCS#11 support requires dlopen() and co
13272{ echo "$as_me:$LINENO: checking for library containing dlopen" >&5 14077{ echo "$as_me:$LINENO: checking for library containing dlopen" >&5
13273echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } 14078echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
@@ -17135,6 +17940,104 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17135 conftest$ac_exeext conftest.$ac_ext 17940 conftest$ac_exeext conftest.$ac_ext
17136 17941
17137 17942
17943
17944
17945
17946for ac_func in RSA_generate_key_ex DSA_generate_parameters_ex BN_is_prime_ex RSA_get_default_method
17947do
17948as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17949{ echo "$as_me:$LINENO: checking for $ac_func" >&5
17950echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17951if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17952 echo $ECHO_N "(cached) $ECHO_C" >&6
17953else
17954 cat >conftest.$ac_ext <<_ACEOF
17955/* confdefs.h. */
17956_ACEOF
17957cat confdefs.h >>conftest.$ac_ext
17958cat >>conftest.$ac_ext <<_ACEOF
17959/* end confdefs.h. */
17960/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17962#define $ac_func innocuous_$ac_func
17963
17964/* System header to define __stub macros and hopefully few prototypes,
17965 which can conflict with char $ac_func (); below.
17966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17967 <limits.h> exists even on freestanding compilers. */
17968
17969#ifdef __STDC__
17970# include <limits.h>
17971#else
17972# include <assert.h>
17973#endif
17974
17975#undef $ac_func
17976
17977/* Override any GCC internal prototype to avoid an error.
17978 Use char because int might match the return type of a GCC
17979 builtin and then its argument prototype would still apply. */
17980#ifdef __cplusplus
17981extern "C"
17982#endif
17983char $ac_func ();
17984/* The GNU C library defines this for functions which it implements
17985 to always fail with ENOSYS. Some functions are actually named
17986 something starting with __ and the normal name is an alias. */
17987#if defined __stub_$ac_func || defined __stub___$ac_func
17988choke me
17989#endif
17990
17991int
17992main ()
17993{
17994return $ac_func ();
17995 ;
17996 return 0;
17997}
17998_ACEOF
17999rm -f conftest.$ac_objext conftest$ac_exeext
18000if { (ac_try="$ac_link"
18001case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18004esac
18005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_link") 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } && {
18013 test -z "$ac_c_werror_flag" ||
18014 test ! -s conftest.err
18015 } && test -s conftest$ac_exeext &&
18016 $as_test_x conftest$ac_exeext; then
18017 eval "$as_ac_var=yes"
18018else
18019 echo "$as_me: failed program was:" >&5
18020sed 's/^/| /' conftest.$ac_ext >&5
18021
18022 eval "$as_ac_var=no"
18023fi
18024
18025rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18026 conftest$ac_exeext conftest.$ac_ext
18027fi
18028ac_res=`eval echo '${'$as_ac_var'}'`
18029 { echo "$as_me:$LINENO: result: $ac_res" >&5
18030echo "${ECHO_T}$ac_res" >&6; }
18031if test `eval echo '${'$as_ac_var'}'` = yes; then
18032 cat >>confdefs.h <<_ACEOF
18033#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18034_ACEOF
18035
18036fi
18037done
18038
18039
18040
17138# Check whether --with-ssl-engine was given. 18041# Check whether --with-ssl-engine was given.
17139if test "${with_ssl_engine+set}" = set; then 18042if test "${with_ssl_engine+set}" = set; then
17140 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then 18043 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then
@@ -17547,11 +18450,86 @@ if test `eval echo '${'$as_ac_var'}'` = yes; then
17547 cat >>confdefs.h <<_ACEOF 18450 cat >>confdefs.h <<_ACEOF
17548#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18451#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17549_ACEOF 18452_ACEOF
17550 18453 TEST_SSH_SHA256=yes
18454else
18455 TEST_SSH_SHA256=no
17551fi 18456fi
17552done 18457done
17553 18458
17554 18459
18460
18461# Check complete ECC support in OpenSSL
18462{ echo "$as_me:$LINENO: checking whether OpenSSL has complete ECC support" >&5
18463echo $ECHO_N "checking whether OpenSSL has complete ECC support... $ECHO_C" >&6; }
18464cat >conftest.$ac_ext <<_ACEOF
18465/* confdefs.h. */
18466_ACEOF
18467cat confdefs.h >>conftest.$ac_ext
18468cat >>conftest.$ac_ext <<_ACEOF
18469/* end confdefs.h. */
18470
18471#include <openssl/ec.h>
18472#include <openssl/ecdh.h>
18473#include <openssl/ecdsa.h>
18474#include <openssl/evp.h>
18475#include <openssl/objects.h>
18476#include <openssl/opensslv.h>
18477#if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */
18478# error "OpenSSL < 0.9.8g has unreliable ECC code"
18479#endif
18480int main(void) {
18481 EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1);
18482 const EVP_MD *m = EVP_sha512(); /* We need this too */
18483}
18484
18485_ACEOF
18486rm -f conftest.$ac_objext conftest$ac_exeext
18487if { (ac_try="$ac_link"
18488case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491esac
18492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_link") 2>conftest.er1
18494 ac_status=$?
18495 grep -v '^ *+' conftest.er1 >conftest.err
18496 rm -f conftest.er1
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } && {
18500 test -z "$ac_c_werror_flag" ||
18501 test ! -s conftest.err
18502 } && test -s conftest$ac_exeext &&
18503 $as_test_x conftest$ac_exeext; then
18504
18505 { echo "$as_me:$LINENO: result: yes" >&5
18506echo "${ECHO_T}yes" >&6; }
18507
18508cat >>confdefs.h <<\_ACEOF
18509#define OPENSSL_HAS_ECC 1
18510_ACEOF
18511
18512 TEST_SSH_ECC=yes
18513 COMMENT_OUT_ECC=""
18514
18515else
18516 echo "$as_me: failed program was:" >&5
18517sed 's/^/| /' conftest.$ac_ext >&5
18518
18519
18520 { echo "$as_me:$LINENO: result: no" >&5
18521echo "${ECHO_T}no" >&6; }
18522 TEST_SSH_ECC=no
18523 COMMENT_OUT_ECC="#no ecc#"
18524
18525
18526fi
18527
18528rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18529 conftest$ac_exeext conftest.$ac_ext
18530
18531
18532
17555saved_LIBS="$LIBS" 18533saved_LIBS="$LIBS"
17556{ echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 18534{ echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5
17557echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } 18535echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; }
@@ -27106,7 +28084,7 @@ echo "${ECHO_T}yes" >&6; }
27106#define HEIMDAL 1 28084#define HEIMDAL 1
27107_ACEOF 28085_ACEOF
27108 28086
27109 K5LIBS="-lkrb5 -ldes" 28087 K5LIBS="-lkrb5"
27110 K5LIBS="$K5LIBS -lcom_err -lasn1" 28088 K5LIBS="$K5LIBS -lcom_err -lasn1"
27111 { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 28089 { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5
27112echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } 28090echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; }
@@ -27173,6 +28151,71 @@ if test $ac_cv_lib_roken_net_write = yes; then
27173 K5LIBS="$K5LIBS -lroken" 28151 K5LIBS="$K5LIBS -lroken"
27174fi 28152fi
27175 28153
28154 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
28155echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; }
28156if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158else
28159 ac_check_lib_save_LIBS=$LIBS
28160LIBS="-ldes $LIBS"
28161cat >conftest.$ac_ext <<_ACEOF
28162/* confdefs.h. */
28163_ACEOF
28164cat confdefs.h >>conftest.$ac_ext
28165cat >>conftest.$ac_ext <<_ACEOF
28166/* end confdefs.h. */
28167
28168/* Override any GCC internal prototype to avoid an error.
28169 Use char because int might match the return type of a GCC
28170 builtin and then its argument prototype would still apply. */
28171#ifdef __cplusplus
28172extern "C"
28173#endif
28174char des_cbc_encrypt ();
28175int
28176main ()
28177{
28178return des_cbc_encrypt ();
28179 ;
28180 return 0;
28181}
28182_ACEOF
28183rm -f conftest.$ac_objext conftest$ac_exeext
28184if { (ac_try="$ac_link"
28185case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188esac
28189eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest$ac_exeext &&
28200 $as_test_x conftest$ac_exeext; then
28201 ac_cv_lib_des_des_cbc_encrypt=yes
28202else
28203 echo "$as_me: failed program was:" >&5
28204sed 's/^/| /' conftest.$ac_ext >&5
28205
28206 ac_cv_lib_des_des_cbc_encrypt=no
28207fi
28208
28209rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28210 conftest$ac_exeext conftest.$ac_ext
28211LIBS=$ac_check_lib_save_LIBS
28212fi
28213{ echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
28214echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; }
28215if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
28216 K5LIBS="$K5LIBS -ldes"
28217fi
28218
27176 28219
27177else 28220else
27178 echo "$as_me: failed program was:" >&5 28221 echo "$as_me: failed program was:" >&5
@@ -30361,7 +31404,11 @@ SED!$SED$ac_delim
30361ENT!$ENT$ac_delim 31404ENT!$ENT$ac_delim
30362TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim 31405TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim
30363SH!$SH$ac_delim 31406SH!$SH$ac_delim
31407GROFF!$GROFF$ac_delim
31408NROFF!$NROFF$ac_delim
31409MANDOC!$MANDOC$ac_delim
30364TEST_SHELL!$TEST_SHELL$ac_delim 31410TEST_SHELL!$TEST_SHELL$ac_delim
31411MANFMT!$MANFMT$ac_delim
30365PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim 31412PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim
30366PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim 31413PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim
30367MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim 31414MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim
@@ -30372,6 +31419,9 @@ LD!$LD$ac_delim
30372SSHDLIBS!$SSHDLIBS$ac_delim 31419SSHDLIBS!$SSHDLIBS$ac_delim
30373PKGCONFIG!$PKGCONFIG$ac_delim 31420PKGCONFIG!$PKGCONFIG$ac_delim
30374LIBEDIT!$LIBEDIT$ac_delim 31421LIBEDIT!$LIBEDIT$ac_delim
31422TEST_SSH_SHA256!$TEST_SSH_SHA256$ac_delim
31423TEST_SSH_ECC!$TEST_SSH_ECC$ac_delim
31424COMMENT_OUT_ECC!$COMMENT_OUT_ECC$ac_delim
30375INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim 31425INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim
30376SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim 31426SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim
30377PROG_LS!$PROG_LS$ac_delim 31427PROG_LS!$PROG_LS$ac_delim
@@ -30383,13 +31433,6 @@ PROG_PS!$PROG_PS$ac_delim
30383PROG_SAR!$PROG_SAR$ac_delim 31433PROG_SAR!$PROG_SAR$ac_delim
30384PROG_W!$PROG_W$ac_delim 31434PROG_W!$PROG_W$ac_delim
30385PROG_WHO!$PROG_WHO$ac_delim 31435PROG_WHO!$PROG_WHO$ac_delim
30386PROG_LAST!$PROG_LAST$ac_delim
30387PROG_LASTLOG!$PROG_LASTLOG$ac_delim
30388PROG_DF!$PROG_DF$ac_delim
30389PROG_VMSTAT!$PROG_VMSTAT$ac_delim
30390PROG_UPTIME!$PROG_UPTIME$ac_delim
30391PROG_IPCS!$PROG_IPCS$ac_delim
30392PROG_TAIL!$PROG_TAIL$ac_delim
30393_ACEOF 31436_ACEOF
30394 31437
30395 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 31438 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -30431,13 +31474,19 @@ _ACEOF
30431ac_delim='%!_!# ' 31474ac_delim='%!_!# '
30432for ac_last_try in false false false false false :; do 31475for ac_last_try in false false false false false :; do
30433 cat >conf$$subs.sed <<_ACEOF 31476 cat >conf$$subs.sed <<_ACEOF
31477PROG_LAST!$PROG_LAST$ac_delim
31478PROG_LASTLOG!$PROG_LASTLOG$ac_delim
31479PROG_DF!$PROG_DF$ac_delim
31480PROG_VMSTAT!$PROG_VMSTAT$ac_delim
31481PROG_UPTIME!$PROG_UPTIME$ac_delim
31482PROG_IPCS!$PROG_IPCS$ac_delim
31483PROG_TAIL!$PROG_TAIL$ac_delim
30434INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim 31484INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim
30435KRB5CONF!$KRB5CONF$ac_delim 31485KRB5CONF!$KRB5CONF$ac_delim
30436PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim 31486PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim
30437xauth_path!$xauth_path$ac_delim 31487xauth_path!$xauth_path$ac_delim
30438STRIP_OPT!$STRIP_OPT$ac_delim 31488STRIP_OPT!$STRIP_OPT$ac_delim
30439XAUTH_PATH!$XAUTH_PATH$ac_delim 31489XAUTH_PATH!$XAUTH_PATH$ac_delim
30440NROFF!$NROFF$ac_delim
30441MANTYPE!$MANTYPE$ac_delim 31490MANTYPE!$MANTYPE$ac_delim
30442mansubdir!$mansubdir$ac_delim 31491mansubdir!$mansubdir$ac_delim
30443user_path!$user_path$ac_delim 31492user_path!$user_path$ac_delim
@@ -30447,7 +31496,7 @@ LIBOBJS!$LIBOBJS$ac_delim
30447LTLIBOBJS!$LTLIBOBJS$ac_delim 31496LTLIBOBJS!$LTLIBOBJS$ac_delim
30448_ACEOF 31497_ACEOF
30449 31498
30450 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then 31499 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
30451 break 31500 break
30452 elif $ac_last_try; then 31501 elif $ac_last_try; then
30453 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31502 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -30924,6 +31973,7 @@ echo " TCP Wrappers support: $TCPW_MSG"
30924echo " MD5 password support: $MD5_MSG" 31973echo " MD5 password support: $MD5_MSG"
30925echo " libedit support: $LIBEDIT_MSG" 31974echo " libedit support: $LIBEDIT_MSG"
30926echo " Solaris process contract support: $SPC_MSG" 31975echo " Solaris process contract support: $SPC_MSG"
31976echo " Solaris project support: $SP_MSG"
30927echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 31977echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
30928echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 31978echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
30929echo " BSD Auth support: $BSD_AUTH_MSG" 31979echo " BSD Auth support: $BSD_AUTH_MSG"