summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1865
1 files changed, 1457 insertions, 408 deletions
diff --git a/configure b/configure
index 0c85e42ad..1bf7b0b0b 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59. 3# Generated by GNU Autoconf 2.59 for OpenSSH Portable.
4# 4#
5# Copyright (C) 2003 Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
@@ -265,11 +265,11 @@ SHELL=${CONFIG_SHELL-/bin/sh}
265: ${ac_max_here_lines=38} 265: ${ac_max_here_lines=38}
266 266
267# Identity of this package. 267# Identity of this package.
268PACKAGE_NAME= 268PACKAGE_NAME='OpenSSH'
269PACKAGE_TARNAME= 269PACKAGE_TARNAME='openssh'
270PACKAGE_VERSION= 270PACKAGE_VERSION='Portable'
271PACKAGE_STRING= 271PACKAGE_STRING='OpenSSH Portable'
272PACKAGE_BUGREPORT= 272PACKAGE_BUGREPORT=''
273 273
274ac_unique_file="ssh.c" 274ac_unique_file="ssh.c"
275# Factoring default headers for most tests. 275# Factoring default headers for most tests.
@@ -309,7 +309,7 @@ ac_includes_default="\
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD EGREP LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
@@ -778,7 +778,7 @@ if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing. 778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh. 779 # This message is too long to be a string in the A/UX 3.1 sh.
780 cat <<_ACEOF 780 cat <<_ACEOF
781\`configure' configures this package to adapt to many kinds of systems. 781\`configure' configures OpenSSH Portable to adapt to many kinds of systems.
782 782
783Usage: $0 [OPTION]... [VAR=VALUE]... 783Usage: $0 [OPTION]... [VAR=VALUE]...
784 784
@@ -838,7 +838,9 @@ _ACEOF
838fi 838fi
839 839
840if test -n "$ac_init_help"; then 840if test -n "$ac_init_help"; then
841 841 case $ac_init_help in
842 short | recursive ) echo "Configuration of OpenSSH Portable:";;
843 esac
842 cat <<\_ACEOF 844 cat <<\_ACEOF
843 845
844Optional Features: 846Optional Features:
@@ -846,7 +848,7 @@ Optional Features:
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 848 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --disable-largefile omit support for large files 849 --disable-largefile omit support for large files
848 --disable-strip Disable calling strip(1) on install 850 --disable-strip Disable calling strip(1) on install
849 --disable-etc-default-login Disable using PATH from /etc/default/login no 851 --disable-etc-default-login Disable using PATH from /etc/default/login no
850 --disable-lastlog disable use of lastlog even if detected no 852 --disable-lastlog disable use of lastlog even if detected no
851 --disable-utmp disable use of utmp even if detected no 853 --disable-utmp disable use of utmp even if detected no
852 --disable-utmpx disable use of utmpx even if detected no 854 --disable-utmpx disable use of utmpx even if detected no
@@ -867,10 +869,10 @@ Optional Packages:
867 --with-libs Specify additional libraries to link with 869 --with-libs Specify additional libraries to link with
868 --with-zlib=PATH Use zlib in PATH 870 --with-zlib=PATH Use zlib in PATH
869 --without-zlib-version-check Disable zlib version check 871 --without-zlib-version-check Disable zlib version check
870 --with-skey[=PATH] Enable S/Key support 872 --with-skey[=PATH] Enable S/Key support (optionally in PATH)
871 (optionally in PATH) 873 --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH)
872 --with-tcp-wrappers[=PATH] Enable tcpwrappers support 874 --with-libedit[=PATH] Enable libedit support for sftp
873 (optionally in PATH) 875 --with-audit=module Enable EXPERIMENTAL audit support (modules=debug,bsm)
874 --with-pam Enable PAM support 876 --with-pam Enable PAM support
875 --with-ssl-dir=PATH Specify path to OpenSSL installation 877 --with-ssl-dir=PATH Specify path to OpenSSL installation
876 --with-rand-helper Use subprocess to gather strong randomness 878 --with-rand-helper Use subprocess to gather strong randomness
@@ -1001,6 +1003,8 @@ fi
1001test -n "$ac_init_help" && exit 0 1003test -n "$ac_init_help" && exit 0
1002if $ac_init_version; then 1004if $ac_init_version; then
1003 cat <<\_ACEOF 1005 cat <<\_ACEOF
1006OpenSSH configure Portable
1007generated by GNU Autoconf 2.59
1004 1008
1005Copyright (C) 2003 Free Software Foundation, Inc. 1009Copyright (C) 2003 Free Software Foundation, Inc.
1006This configure script is free software; the Free Software Foundation 1010This configure script is free software; the Free Software Foundation
@@ -1013,7 +1017,7 @@ cat >&5 <<_ACEOF
1013This file contains any messages produced by compilers while 1017This file contains any messages produced by compilers while
1014running configure, to aid debugging if configure makes a mistake. 1018running configure, to aid debugging if configure makes a mistake.
1015 1019
1016It was created by $as_me, which was 1020It was created by OpenSSH $as_me Portable, which was
1017generated by GNU Autoconf 2.59. Invocation command line was 1021generated by GNU Autoconf 2.59. Invocation command line was
1018 1022
1019 $ $0 $@ 1023 $ $0 $@
@@ -1343,6 +1347,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343 1347
1344 1348
1345 1349
1350
1351
1352
1353
1354
1355
1356
1357
1346 ac_config_headers="$ac_config_headers config.h" 1358 ac_config_headers="$ac_config_headers config.h"
1347 1359
1348ac_ext=c 1360ac_ext=c
@@ -4347,6 +4359,292 @@ fi
4347 4359
4348fi 4360fi
4349 4361
4362 echo "$as_me:$LINENO: checking whether authenticate is declared" >&5
4363echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6
4364if test "${ac_cv_have_decl_authenticate+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4366else
4367 cat >conftest.$ac_ext <<_ACEOF
4368/* confdefs.h. */
4369_ACEOF
4370cat confdefs.h >>conftest.$ac_ext
4371cat >>conftest.$ac_ext <<_ACEOF
4372/* end confdefs.h. */
4373#include <usersec.h>
4374
4375int
4376main ()
4377{
4378#ifndef authenticate
4379 char *p = (char *) authenticate;
4380#endif
4381
4382 ;
4383 return 0;
4384}
4385_ACEOF
4386rm -f conftest.$ac_objext
4387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>conftest.er1
4389 ac_status=$?
4390 grep -v '^ *+' conftest.er1 >conftest.err
4391 rm -f conftest.er1
4392 cat conftest.err >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } &&
4395 { ac_try='test -z "$ac_c_werror_flag"
4396 || test ! -s conftest.err'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 (eval $ac_try) 2>&5
4399 ac_status=$?
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; } &&
4402 { ac_try='test -s conftest.$ac_objext'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 (eval $ac_try) 2>&5
4405 ac_status=$?
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; }; then
4408 ac_cv_have_decl_authenticate=yes
4409else
4410 echo "$as_me: failed program was:" >&5
4411sed 's/^/| /' conftest.$ac_ext >&5
4412
4413ac_cv_have_decl_authenticate=no
4414fi
4415rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4416fi
4417echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5
4418echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6
4419if test $ac_cv_have_decl_authenticate = yes; then
4420
4421cat >>confdefs.h <<_ACEOF
4422#define HAVE_DECL_AUTHENTICATE 1
4423_ACEOF
4424
4425
4426else
4427 cat >>confdefs.h <<_ACEOF
4428#define HAVE_DECL_AUTHENTICATE 0
4429_ACEOF
4430
4431
4432fi
4433echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5
4434echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6
4435if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then
4436 echo $ECHO_N "(cached) $ECHO_C" >&6
4437else
4438 cat >conftest.$ac_ext <<_ACEOF
4439/* confdefs.h. */
4440_ACEOF
4441cat confdefs.h >>conftest.$ac_ext
4442cat >>conftest.$ac_ext <<_ACEOF
4443/* end confdefs.h. */
4444#include <usersec.h>
4445
4446int
4447main ()
4448{
4449#ifndef loginrestrictions
4450 char *p = (char *) loginrestrictions;
4451#endif
4452
4453 ;
4454 return 0;
4455}
4456_ACEOF
4457rm -f conftest.$ac_objext
4458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>conftest.er1
4460 ac_status=$?
4461 grep -v '^ *+' conftest.er1 >conftest.err
4462 rm -f conftest.er1
4463 cat conftest.err >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } &&
4466 { ac_try='test -z "$ac_c_werror_flag"
4467 || test ! -s conftest.err'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 (eval $ac_try) 2>&5
4470 ac_status=$?
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; } &&
4473 { ac_try='test -s conftest.$ac_objext'
4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 (eval $ac_try) 2>&5
4476 ac_status=$?
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }; }; then
4479 ac_cv_have_decl_loginrestrictions=yes
4480else
4481 echo "$as_me: failed program was:" >&5
4482sed 's/^/| /' conftest.$ac_ext >&5
4483
4484ac_cv_have_decl_loginrestrictions=no
4485fi
4486rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4487fi
4488echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5
4489echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6
4490if test $ac_cv_have_decl_loginrestrictions = yes; then
4491
4492cat >>confdefs.h <<_ACEOF
4493#define HAVE_DECL_LOGINRESTRICTIONS 1
4494_ACEOF
4495
4496
4497else
4498 cat >>confdefs.h <<_ACEOF
4499#define HAVE_DECL_LOGINRESTRICTIONS 0
4500_ACEOF
4501
4502
4503fi
4504echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5
4505echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6
4506if test "${ac_cv_have_decl_loginsuccess+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4508else
4509 cat >conftest.$ac_ext <<_ACEOF
4510/* confdefs.h. */
4511_ACEOF
4512cat confdefs.h >>conftest.$ac_ext
4513cat >>conftest.$ac_ext <<_ACEOF
4514/* end confdefs.h. */
4515#include <usersec.h>
4516
4517int
4518main ()
4519{
4520#ifndef loginsuccess
4521 char *p = (char *) loginsuccess;
4522#endif
4523
4524 ;
4525 return 0;
4526}
4527_ACEOF
4528rm -f conftest.$ac_objext
4529if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4531 ac_status=$?
4532 grep -v '^ *+' conftest.er1 >conftest.err
4533 rm -f conftest.er1
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 (eval $ac_try) 2>&5
4541 ac_status=$?
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 (eval $ac_try) 2>&5
4547 ac_status=$?
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_cv_have_decl_loginsuccess=yes
4551else
4552 echo "$as_me: failed program was:" >&5
4553sed 's/^/| /' conftest.$ac_ext >&5
4554
4555ac_cv_have_decl_loginsuccess=no
4556fi
4557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4558fi
4559echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5
4560echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6
4561if test $ac_cv_have_decl_loginsuccess = yes; then
4562
4563cat >>confdefs.h <<_ACEOF
4564#define HAVE_DECL_LOGINSUCCESS 1
4565_ACEOF
4566
4567
4568else
4569 cat >>confdefs.h <<_ACEOF
4570#define HAVE_DECL_LOGINSUCCESS 0
4571_ACEOF
4572
4573
4574fi
4575echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5
4576echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6
4577if test "${ac_cv_have_decl_passwdexpired+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4579else
4580 cat >conftest.$ac_ext <<_ACEOF
4581/* confdefs.h. */
4582_ACEOF
4583cat confdefs.h >>conftest.$ac_ext
4584cat >>conftest.$ac_ext <<_ACEOF
4585/* end confdefs.h. */
4586#include <usersec.h>
4587
4588int
4589main ()
4590{
4591#ifndef passwdexpired
4592 char *p = (char *) passwdexpired;
4593#endif
4594
4595 ;
4596 return 0;
4597}
4598_ACEOF
4599rm -f conftest.$ac_objext
4600if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4601 (eval $ac_compile) 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try='test -z "$ac_c_werror_flag"
4609 || test ! -s conftest.err'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 (eval $ac_try) 2>&5
4612 ac_status=$?
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; } &&
4615 { ac_try='test -s conftest.$ac_objext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4621 ac_cv_have_decl_passwdexpired=yes
4622else
4623 echo "$as_me: failed program was:" >&5
4624sed 's/^/| /' conftest.$ac_ext >&5
4625
4626ac_cv_have_decl_passwdexpired=no
4627fi
4628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4629fi
4630echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5
4631echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6
4632if test $ac_cv_have_decl_passwdexpired = yes; then
4633
4634cat >>confdefs.h <<_ACEOF
4635#define HAVE_DECL_PASSWDEXPIRED 1
4636_ACEOF
4637
4638
4639else
4640 cat >>confdefs.h <<_ACEOF
4641#define HAVE_DECL_PASSWDEXPIRED 0
4642_ACEOF
4643
4644
4645fi
4646
4647
4350 echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 4648 echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5
4351echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 4649echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
4352if test "${ac_cv_have_decl_loginfailed+set}" = set; then 4650if test "${ac_cv_have_decl_loginfailed+set}" = set; then
@@ -4406,7 +4704,12 @@ fi
4406echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 4704echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5
4407echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 4705echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
4408if test $ac_cv_have_decl_loginfailed = yes; then 4706if test $ac_cv_have_decl_loginfailed = yes; then
4409 echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 4707
4708cat >>confdefs.h <<_ACEOF
4709#define HAVE_DECL_LOGINFAILED 1
4710_ACEOF
4711
4712echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5
4410echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 4713echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
4411 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
4412/* confdefs.h. */ 4715/* confdefs.h. */
@@ -4460,9 +4763,16 @@ echo "${ECHO_T}no" >&6
4460 4763
4461fi 4764fi
4462rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4765rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4766else
4767 cat >>confdefs.h <<_ACEOF
4768#define HAVE_DECL_LOGINFAILED 0
4769_ACEOF
4770
4771
4463fi 4772fi
4464 4773
4465 4774
4775
4466for ac_func in setauthdb 4776for ac_func in setauthdb
4467do 4777do
4468as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4778as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -4564,10 +4874,7 @@ _ACEOF
4564fi 4874fi
4565done 4875done
4566 4876
4567 cat >>confdefs.h <<\_ACEOF 4877 check_for_aix_broken_getaddrinfo=1
4568#define BROKEN_GETADDRINFO 1
4569_ACEOF
4570
4571 cat >>confdefs.h <<\_ACEOF 4878 cat >>confdefs.h <<\_ACEOF
4572#define BROKEN_REALPATH 1 4879#define BROKEN_REALPATH 1
4573_ACEOF 4880_ACEOF
@@ -4628,10 +4935,6 @@ _ACEOF
4628#define DISABLE_FD_PASSING 1 4935#define DISABLE_FD_PASSING 1
4629_ACEOF 4936_ACEOF
4630 4937
4631 cat >>confdefs.h <<\_ACEOF
4632#define SETGROUPS_NOOP 1
4633_ACEOF
4634
4635 ;; 4938 ;;
4636*-*-dgux*) 4939*-*-dgux*)
4637 cat >>confdefs.h <<\_ACEOF 4940 cat >>confdefs.h <<\_ACEOF
@@ -4964,7 +5267,13 @@ _ACEOF
4964#define SPT_TYPE SPT_PSTAT 5267#define SPT_TYPE SPT_PSTAT
4965_ACEOF 5268_ACEOF
4966 5269
5270
5271cat >>confdefs.h <<\_ACEOF
5272#define USE_BTMP 1
5273_ACEOF
5274
4967 check_for_hpux_broken_getaddrinfo=1 5275 check_for_hpux_broken_getaddrinfo=1
5276 check_for_conflicting_getspnam=1
4968 LIBS="$LIBS -lsec" 5277 LIBS="$LIBS -lsec"
4969 5278
4970echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 5279echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
@@ -5236,6 +5545,16 @@ _ACEOF
5236#define LINK_OPNOTSUPP_ERRNO EPERM 5545#define LINK_OPNOTSUPP_ERRNO EPERM
5237_ACEOF 5546_ACEOF
5238 5547
5548
5549cat >>confdefs.h <<\_ACEOF
5550#define _PATH_BTMP "/var/log/btmp"
5551_ACEOF
5552
5553
5554cat >>confdefs.h <<\_ACEOF
5555#define USE_BTMP 1
5556_ACEOF
5557
5239 inet6_default_4in6=yes 5558 inet6_default_4in6=yes
5240 case `uname -r` in 5559 case `uname -r` in
5241 1.*|2.0.*) 5560 1.*|2.0.*)
@@ -5568,6 +5887,75 @@ _ACEOF
5568 5887
5569fi 5888fi
5570 5889
5890 # -lresolv needs to be at then end of LIBS or DNS lookups break
5891 echo "$as_me:$LINENO: checking for resolv in -lres_query" >&5
5892echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6
5893if test "${ac_cv_lib_res_query_resolv+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895else
5896 ac_check_lib_save_LIBS=$LIBS
5897LIBS="-lres_query $LIBS"
5898cat >conftest.$ac_ext <<_ACEOF
5899/* confdefs.h. */
5900_ACEOF
5901cat confdefs.h >>conftest.$ac_ext
5902cat >>conftest.$ac_ext <<_ACEOF
5903/* end confdefs.h. */
5904
5905/* Override any gcc2 internal prototype to avoid an error. */
5906#ifdef __cplusplus
5907extern "C"
5908#endif
5909/* We use char because int might match the return type of a gcc2
5910 builtin and then its argument prototype would still apply. */
5911char resolv ();
5912int
5913main ()
5914{
5915resolv ();
5916 ;
5917 return 0;
5918}
5919_ACEOF
5920rm -f conftest.$ac_objext conftest$ac_exeext
5921if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5922 (eval $ac_link) 2>conftest.er1
5923 ac_status=$?
5924 grep -v '^ *+' conftest.er1 >conftest.err
5925 rm -f conftest.er1
5926 cat conftest.err >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try='test -z "$ac_c_werror_flag"
5930 || test ! -s conftest.err'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 (eval $ac_try) 2>&5
5933 ac_status=$?
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; } &&
5936 { ac_try='test -s conftest$ac_exeext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938 (eval $ac_try) 2>&5
5939 ac_status=$?
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5942 ac_cv_lib_res_query_resolv=yes
5943else
5944 echo "$as_me: failed program was:" >&5
5945sed 's/^/| /' conftest.$ac_ext >&5
5946
5947ac_cv_lib_res_query_resolv=no
5948fi
5949rm -f conftest.err conftest.$ac_objext \
5950 conftest$ac_exeext conftest.$ac_ext
5951LIBS=$ac_check_lib_save_LIBS
5952fi
5953echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5
5954echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6
5955if test $ac_cv_lib_res_query_resolv = yes; then
5956 LIBS="$LIBS -lresolv"
5957fi
5958
5571 IPADDR_IN_DISPLAY=yes 5959 IPADDR_IN_DISPLAY=yes
5572 cat >>confdefs.h <<\_ACEOF 5960 cat >>confdefs.h <<\_ACEOF
5573#define USE_PIPES 1 5961#define USE_PIPES 1
@@ -5598,6 +5986,7 @@ _ACEOF
5598 # Attention: always take care to bind libsocket and libnsl before libc, 5986 # Attention: always take care to bind libsocket and libnsl before libc,
5599 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog 5987 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
5600 ;; 5988 ;;
5989# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel.
5601*-*-sysv4.2*) 5990*-*-sysv4.2*)
5602 cat >>confdefs.h <<\_ACEOF 5991 cat >>confdefs.h <<\_ACEOF
5603#define USE_PIPES 1 5992#define USE_PIPES 1
@@ -5616,6 +6005,7 @@ _ACEOF
5616_ACEOF 6005_ACEOF
5617 6006
5618 ;; 6007 ;;
6008# UnixWare 7.x, OpenUNIX 8
5619*-*-sysv5*) 6009*-*-sysv5*)
5620 cat >>confdefs.h <<\_ACEOF 6010 cat >>confdefs.h <<\_ACEOF
5621#define USE_PIPES 1 6011#define USE_PIPES 1
@@ -5636,154 +6026,13 @@ _ACEOF
5636 ;; 6026 ;;
5637*-*-sysv*) 6027*-*-sysv*)
5638 ;; 6028 ;;
6029# SCO UNIX and OEM versions of SCO UNIX
5639*-*-sco3.2v4*) 6030*-*-sco3.2v4*)
5640 CPPFLAGS="$CPPFLAGS -Dftruncate=chsize" 6031 { { echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5
5641 LIBS="$LIBS -los -lprot -lcrypt_i -lx -ltinfo -lm" 6032echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;}
5642 RANLIB=true 6033 { (exit 1); exit 1; }; }
5643 no_dev_ptmx=1
5644 cat >>confdefs.h <<\_ACEOF
5645#define BROKEN_SYS_TERMIO_H 1
5646_ACEOF
5647
5648 cat >>confdefs.h <<\_ACEOF
5649#define USE_PIPES 1
5650_ACEOF
5651
5652 cat >>confdefs.h <<\_ACEOF
5653#define HAVE_SECUREWARE 1
5654_ACEOF
5655
5656 cat >>confdefs.h <<\_ACEOF
5657#define DISABLE_SHADOW 1
5658_ACEOF
5659
5660 cat >>confdefs.h <<\_ACEOF
5661#define BROKEN_SAVED_UIDS 1
5662_ACEOF
5663
5664 cat >>confdefs.h <<\_ACEOF
5665#define SETEUID_BREAKS_SETUID 1
5666_ACEOF
5667
5668 cat >>confdefs.h <<\_ACEOF
5669#define BROKEN_SETREUID 1
5670_ACEOF
5671
5672 cat >>confdefs.h <<\_ACEOF
5673#define BROKEN_SETREGID 1
5674_ACEOF
5675
5676 cat >>confdefs.h <<\_ACEOF
5677#define WITH_ABBREV_NO_TTY 1
5678_ACEOF
5679
5680
5681
5682for ac_func in getluid setluid
5683do
5684as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5685echo "$as_me:$LINENO: checking for $ac_func" >&5
5686echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5687if eval "test \"\${$as_ac_var+set}\" = set"; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5689else
5690 cat >conftest.$ac_ext <<_ACEOF
5691/* confdefs.h. */
5692_ACEOF
5693cat confdefs.h >>conftest.$ac_ext
5694cat >>conftest.$ac_ext <<_ACEOF
5695/* end confdefs.h. */
5696/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5698#define $ac_func innocuous_$ac_func
5699
5700/* System header to define __stub macros and hopefully few prototypes,
5701 which can conflict with char $ac_func (); below.
5702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5703 <limits.h> exists even on freestanding compilers. */
5704
5705#ifdef __STDC__
5706# include <limits.h>
5707#else
5708# include <assert.h>
5709#endif
5710
5711#undef $ac_func
5712
5713/* Override any gcc2 internal prototype to avoid an error. */
5714#ifdef __cplusplus
5715extern "C"
5716{
5717#endif
5718/* We use char because int might match the return type of a gcc2
5719 builtin and then its argument prototype would still apply. */
5720char $ac_func ();
5721/* The GNU C library defines this for functions which it implements
5722 to always fail with ENOSYS. Some functions are actually named
5723 something starting with __ and the normal name is an alias. */
5724#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5725choke me
5726#else
5727char (*f) () = $ac_func;
5728#endif
5729#ifdef __cplusplus
5730}
5731#endif
5732
5733int
5734main ()
5735{
5736return f != $ac_func;
5737 ;
5738 return 0;
5739}
5740_ACEOF
5741rm -f conftest.$ac_objext conftest$ac_exeext
5742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5743 (eval $ac_link) 2>conftest.er1
5744 ac_status=$?
5745 grep -v '^ *+' conftest.er1 >conftest.err
5746 rm -f conftest.er1
5747 cat conftest.err >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } &&
5750 { ac_try='test -z "$ac_c_werror_flag"
5751 || test ! -s conftest.err'
5752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5753 (eval $ac_try) 2>&5
5754 ac_status=$?
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }; } &&
5757 { ac_try='test -s conftest$ac_exeext'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 (eval $ac_try) 2>&5
5760 ac_status=$?
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; }; then
5763 eval "$as_ac_var=yes"
5764else
5765 echo "$as_me: failed program was:" >&5
5766sed 's/^/| /' conftest.$ac_ext >&5
5767
5768eval "$as_ac_var=no"
5769fi
5770rm -f conftest.err conftest.$ac_objext \
5771 conftest$ac_exeext conftest.$ac_ext
5772fi
5773echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5774echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5775if test `eval echo '${'$as_ac_var'}'` = yes; then
5776 cat >>confdefs.h <<_ACEOF
5777#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5778_ACEOF
5779
5780fi
5781done
5782
5783 MANTYPE=man
5784 do_sco3_extra_lib_check=yes
5785 TEST_SHELL=ksh
5786 ;; 6034 ;;
6035# SCO OpenServer 5.x
5787*-*-sco3.2v5*) 6036*-*-sco3.2v5*)
5788 if test -z "$GCC"; then 6037 if test -z "$GCC"; then
5789 CFLAGS="$CFLAGS -belf" 6038 CFLAGS="$CFLAGS -belf"
@@ -5827,6 +6076,11 @@ _ACEOF
5827_ACEOF 6076_ACEOF
5828 6077
5829 6078
6079cat >>confdefs.h <<\_ACEOF
6080#define PASSWD_NEEDS_USERNAME 1
6081_ACEOF
6082
6083
5830 6084
5831for ac_func in getluid setluid 6085for ac_func in getluid setluid
5832do 6086do
@@ -6152,11 +6406,9 @@ fi;
6152echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 6406echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
6153echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 6407echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
6154if test "$cross_compiling" = yes; then 6408if test "$cross_compiling" = yes; then
6155 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 6409 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5
6156See \`config.log' for more details." >&5 6410echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;}
6157echo "$as_me: error: cannot run test program while cross compiling 6411
6158See \`config.log' for more details." >&2;}
6159 { (exit 1); exit 1; }; }
6160else 6412else
6161 cat >conftest.$ac_ext <<_ACEOF 6413 cat >conftest.$ac_ext <<_ACEOF
6162/* confdefs.h. */ 6414/* confdefs.h. */
@@ -6195,7 +6447,6 @@ echo "${ECHO_T}no" >&6
6195echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 6447echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
6196 { (exit 1); exit 1; }; } 6448 { (exit 1); exit 1; }; }
6197 6449
6198
6199fi 6450fi
6200rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6451rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6201fi 6452fi
@@ -6510,7 +6761,6 @@ done
6510 6761
6511 6762
6512 6763
6513
6514for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ 6764for ac_header in bstring.h crypt.h dirent.h endian.h features.h \
6515 floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ 6765 floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \
6516 login_cap.h maillock.h ndir.h netdb.h netgroup.h \ 6766 login_cap.h maillock.h ndir.h netdb.h netgroup.h \
@@ -6518,7 +6768,7 @@ for ac_header in bstring.h crypt.h dirent.h endian.h features.h \
6518 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ 6768 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
6519 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ 6769 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \
6520 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ 6770 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \
6521 sys/pstat.h sys/ptms.h sys/select.h sys/stat.h sys/stream.h \ 6771 sys/pstat.h sys/select.h sys/stat.h sys/stream.h \
6522 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ 6772 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \
6523 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h 6773 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h
6524do 6774do
@@ -6641,9 +6891,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
6641echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6891echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6642 ( 6892 (
6643 cat <<\_ASBOX 6893 cat <<\_ASBOX
6644## ------------------------------------------ ## 6894## ---------------------------------- ##
6645## Report this to the AC_PACKAGE_NAME lists. ## 6895## Report this to the OpenSSH lists. ##
6646## ------------------------------------------ ## 6896## ---------------------------------- ##
6647_ASBOX 6897_ASBOX
6648 ) | 6898 ) |
6649 sed "s/^/$as_me: WARNING: /" >&2 6899 sed "s/^/$as_me: WARNING: /" >&2
@@ -6670,6 +6920,73 @@ fi
6670done 6920done
6671 6921
6672 6922
6923# sys/ptms.h requires sys/stream.h to be included first on Solaris
6924
6925for ac_header in sys/ptms.h
6926do
6927as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6928echo "$as_me:$LINENO: checking for $ac_header" >&5
6929echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6930if eval "test \"\${$as_ac_Header+set}\" = set"; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6932else
6933 cat >conftest.$ac_ext <<_ACEOF
6934/* confdefs.h. */
6935_ACEOF
6936cat confdefs.h >>conftest.$ac_ext
6937cat >>conftest.$ac_ext <<_ACEOF
6938/* end confdefs.h. */
6939
6940#ifdef HAVE_SYS_STREAM_H
6941# include <sys/stream.h>
6942#endif
6943
6944
6945#include <$ac_header>
6946_ACEOF
6947rm -f conftest.$ac_objext
6948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6949 (eval $ac_compile) 2>conftest.er1
6950 ac_status=$?
6951 grep -v '^ *+' conftest.er1 >conftest.err
6952 rm -f conftest.er1
6953 cat conftest.err >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); } &&
6956 { ac_try='test -z "$ac_c_werror_flag"
6957 || test ! -s conftest.err'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 (eval $ac_try) 2>&5
6960 ac_status=$?
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; } &&
6963 { ac_try='test -s conftest.$ac_objext'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 (eval $ac_try) 2>&5
6966 ac_status=$?
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; }; then
6969 eval "$as_ac_Header=yes"
6970else
6971 echo "$as_me: failed program was:" >&5
6972sed 's/^/| /' conftest.$ac_ext >&5
6973
6974eval "$as_ac_Header=no"
6975fi
6976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6977fi
6978echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6979echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6980if test `eval echo '${'$as_ac_Header'}'` = yes; then
6981 cat >>confdefs.h <<_ACEOF
6982#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6983_ACEOF
6984
6985fi
6986
6987done
6988
6989
6673# Checks for libraries. 6990# Checks for libraries.
6674echo "$as_me:$LINENO: checking for yp_match" >&5 6991echo "$as_me:$LINENO: checking for yp_match" >&5
6675echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 6992echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
@@ -7010,79 +7327,6 @@ fi
7010fi 7327fi
7011 7328
7012 7329
7013if test "x$with_tcp_wrappers" != "xno" ; then
7014 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
7015 echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
7016echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
7017if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7019else
7020 ac_check_lib_save_LIBS=$LIBS
7021LIBS="-lrpc -lyp -lrpc $LIBS"
7022cat >conftest.$ac_ext <<_ACEOF
7023/* confdefs.h. */
7024_ACEOF
7025cat confdefs.h >>conftest.$ac_ext
7026cat >>conftest.$ac_ext <<_ACEOF
7027/* end confdefs.h. */
7028
7029/* Override any gcc2 internal prototype to avoid an error. */
7030#ifdef __cplusplus
7031extern "C"
7032#endif
7033/* We use char because int might match the return type of a gcc2
7034 builtin and then its argument prototype would still apply. */
7035char innetgr ();
7036int
7037main ()
7038{
7039innetgr ();
7040 ;
7041 return 0;
7042}
7043_ACEOF
7044rm -f conftest.$ac_objext conftest$ac_exeext
7045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7046 (eval $ac_link) 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } &&
7053 { ac_try='test -z "$ac_c_werror_flag"
7054 || test ! -s conftest.err'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 (eval $ac_try) 2>&5
7057 ac_status=$?
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try='test -s conftest$ac_exeext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 (eval $ac_try) 2>&5
7063 ac_status=$?
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; }; then
7066 ac_cv_lib_rpc_innetgr=yes
7067else
7068 echo "$as_me: failed program was:" >&5
7069sed 's/^/| /' conftest.$ac_ext >&5
7070
7071ac_cv_lib_rpc_innetgr=no
7072fi
7073rm -f conftest.err conftest.$ac_objext \
7074 conftest$ac_exeext conftest.$ac_ext
7075LIBS=$ac_check_lib_save_LIBS
7076fi
7077echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
7078echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
7079if test $ac_cv_lib_rpc_innetgr = yes; then
7080 LIBS="-lrpc -lyp -lrpc $LIBS"
7081fi
7082
7083 fi
7084fi
7085
7086 7330
7087for ac_func in dirname 7331for ac_func in dirname
7088do 7332do
@@ -7303,9 +7547,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
7303echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7547echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7304 ( 7548 (
7305 cat <<\_ASBOX 7549 cat <<\_ASBOX
7306## ------------------------------------------ ## 7550## ---------------------------------- ##
7307## Report this to the AC_PACKAGE_NAME lists. ## 7551## Report this to the OpenSSH lists. ##
7308## ------------------------------------------ ## 7552## ---------------------------------- ##
7309_ASBOX 7553_ASBOX
7310 ) | 7554 ) |
7311 sed "s/^/$as_me: WARNING: /" >&2 7555 sed "s/^/$as_me: WARNING: /" >&2
@@ -7593,9 +7837,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
7593echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7837echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7594 ( 7838 (
7595 cat <<\_ASBOX 7839 cat <<\_ASBOX
7596## ------------------------------------------ ## 7840## ---------------------------------- ##
7597## Report this to the AC_PACKAGE_NAME lists. ## 7841## Report this to the OpenSSH lists. ##
7598## ------------------------------------------ ## 7842## ---------------------------------- ##
7599_ASBOX 7843_ASBOX
7600 ) | 7844 ) |
7601 sed "s/^/$as_me: WARNING: /" >&2 7845 sed "s/^/$as_me: WARNING: /" >&2
@@ -8222,9 +8466,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
8222echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 8466echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
8223 ( 8467 (
8224 cat <<\_ASBOX 8468 cat <<\_ASBOX
8225## ------------------------------------------ ## 8469## ---------------------------------- ##
8226## Report this to the AC_PACKAGE_NAME lists. ## 8470## Report this to the OpenSSH lists. ##
8227## ------------------------------------------ ## 8471## ---------------------------------- ##
8228_ASBOX 8472_ASBOX
8229 ) | 8473 ) |
8230 sed "s/^/$as_me: WARNING: /" >&2 8474 sed "s/^/$as_me: WARNING: /" >&2
@@ -8265,11 +8509,9 @@ fi;
8265echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5 8509echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5
8266echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 8510echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6
8267if test "$cross_compiling" = yes; then 8511if test "$cross_compiling" = yes; then
8268 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 8512 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5
8269See \`config.log' for more details." >&5 8513echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;}
8270echo "$as_me: error: cannot run test program while cross compiling 8514
8271See \`config.log' for more details." >&2;}
8272 { (exit 1); exit 1; }; }
8273else 8515else
8274 cat >conftest.$ac_ext <<_ACEOF 8516 cat >conftest.$ac_ext <<_ACEOF
8275/* confdefs.h. */ 8517/* confdefs.h. */
@@ -8331,7 +8573,6 @@ If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;}
8331echo "$as_me: WARNING: zlib version may have security problems" >&2;} 8573echo "$as_me: WARNING: zlib version may have security problems" >&2;}
8332 fi 8574 fi
8333 8575
8334
8335fi 8576fi
8336rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8577rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8337fi 8578fi
@@ -8791,9 +9032,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
8791echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9032echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8792 ( 9033 (
8793 cat <<\_ASBOX 9034 cat <<\_ASBOX
8794## ------------------------------------------ ## 9035## ---------------------------------- ##
8795## Report this to the AC_PACKAGE_NAME lists. ## 9036## Report this to the OpenSSH lists. ##
8796## ------------------------------------------ ## 9037## ---------------------------------- ##
8797_ASBOX 9038_ASBOX
8798 ) | 9039 ) |
8799 sed "s/^/$as_me: WARNING: /" >&2 9040 sed "s/^/$as_me: WARNING: /" >&2
@@ -9303,11 +9544,15 @@ rm -f conftest*
9303echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 9544echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
9304echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 9545echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
9305if test "$cross_compiling" = yes; then 9546if test "$cross_compiling" = yes; then
9306 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 9547
9307See \`config.log' for more details." >&5 9548 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5
9308echo "$as_me: error: cannot run test program while cross compiling 9549echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;}
9309See \`config.log' for more details." >&2;} 9550 cat >>confdefs.h <<\_ACEOF
9310 { (exit 1); exit 1; }; } 9551#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9552_ACEOF
9553
9554
9555
9311else 9556else
9312 cat >conftest.$ac_ext <<_ACEOF 9557 cat >conftest.$ac_ext <<_ACEOF
9313/* confdefs.h. */ 9558/* confdefs.h. */
@@ -9348,7 +9593,6 @@ echo "${ECHO_T}no" >&6
9348_ACEOF 9593_ACEOF
9349 9594
9350 9595
9351
9352fi 9596fi
9353rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9597rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9354fi 9598fi
@@ -9605,6 +9849,574 @@ rm -f conftest.err conftest.$ac_objext \
9605 9849
9606fi; 9850fi;
9607 9851
9852# Check whether user wants libedit support
9853LIBEDIT_MSG="no"
9854
9855# Check whether --with-libedit or --without-libedit was given.
9856if test "${with_libedit+set}" = set; then
9857 withval="$with_libedit"
9858 if test "x$withval" != "xno" ; then
9859 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
9860echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6
9861if test "${ac_cv_lib_edit_el_init+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9863else
9864 ac_check_lib_save_LIBS=$LIBS
9865LIBS="-ledit -lcurses
9866 $LIBS"
9867cat >conftest.$ac_ext <<_ACEOF
9868/* confdefs.h. */
9869_ACEOF
9870cat confdefs.h >>conftest.$ac_ext
9871cat >>conftest.$ac_ext <<_ACEOF
9872/* end confdefs.h. */
9873
9874/* Override any gcc2 internal prototype to avoid an error. */
9875#ifdef __cplusplus
9876extern "C"
9877#endif
9878/* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9880char el_init ();
9881int
9882main ()
9883{
9884el_init ();
9885 ;
9886 return 0;
9887}
9888_ACEOF
9889rm -f conftest.$ac_objext conftest$ac_exeext
9890if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9891 (eval $ac_link) 2>conftest.er1
9892 ac_status=$?
9893 grep -v '^ *+' conftest.er1 >conftest.err
9894 rm -f conftest.er1
9895 cat conftest.err >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try='test -z "$ac_c_werror_flag"
9899 || test ! -s conftest.err'
9900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 (eval $ac_try) 2>&5
9902 ac_status=$?
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try='test -s conftest$ac_exeext'
9906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 (eval $ac_try) 2>&5
9908 ac_status=$?
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; }; then
9911 ac_cv_lib_edit_el_init=yes
9912else
9913 echo "$as_me: failed program was:" >&5
9914sed 's/^/| /' conftest.$ac_ext >&5
9915
9916ac_cv_lib_edit_el_init=no
9917fi
9918rm -f conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920LIBS=$ac_check_lib_save_LIBS
9921fi
9922echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5
9923echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6
9924if test $ac_cv_lib_edit_el_init = yes; then
9925
9926cat >>confdefs.h <<\_ACEOF
9927#define USE_LIBEDIT
9928_ACEOF
9929
9930 LIBEDIT="-ledit -lcurses"
9931 LIBEDIT_MSG="yes"
9932
9933
9934fi
9935
9936 fi
9937
9938fi;
9939
9940AUDIT_MODULE=none
9941
9942# Check whether --with-audit or --without-audit was given.
9943if test "${with_audit+set}" = set; then
9944 withval="$with_audit"
9945
9946 echo "$as_me:$LINENO: checking for supported audit module" >&5
9947echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6
9948 case "$withval" in
9949 bsm)
9950 echo "$as_me:$LINENO: result: bsm" >&5
9951echo "${ECHO_T}bsm" >&6
9952 AUDIT_MODULE=bsm
9953
9954for ac_header in bsm/audit.h
9955do
9956as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9957if eval "test \"\${$as_ac_Header+set}\" = set"; then
9958 echo "$as_me:$LINENO: checking for $ac_header" >&5
9959echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9960if eval "test \"\${$as_ac_Header+set}\" = set"; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9962fi
9963echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9964echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9965else
9966 # Is the header compilable?
9967echo "$as_me:$LINENO: checking $ac_header usability" >&5
9968echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9969cat >conftest.$ac_ext <<_ACEOF
9970/* confdefs.h. */
9971_ACEOF
9972cat confdefs.h >>conftest.$ac_ext
9973cat >>conftest.$ac_ext <<_ACEOF
9974/* end confdefs.h. */
9975$ac_includes_default
9976#include <$ac_header>
9977_ACEOF
9978rm -f conftest.$ac_objext
9979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9980 (eval $ac_compile) 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } &&
9987 { ac_try='test -z "$ac_c_werror_flag"
9988 || test ! -s conftest.err'
9989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 (eval $ac_try) 2>&5
9991 ac_status=$?
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); }; } &&
9994 { ac_try='test -s conftest.$ac_objext'
9995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9996 (eval $ac_try) 2>&5
9997 ac_status=$?
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_header_compiler=yes
10001else
10002 echo "$as_me: failed program was:" >&5
10003sed 's/^/| /' conftest.$ac_ext >&5
10004
10005ac_header_compiler=no
10006fi
10007rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10008echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10009echo "${ECHO_T}$ac_header_compiler" >&6
10010
10011# Is the header present?
10012echo "$as_me:$LINENO: checking $ac_header presence" >&5
10013echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10014cat >conftest.$ac_ext <<_ACEOF
10015/* confdefs.h. */
10016_ACEOF
10017cat confdefs.h >>conftest.$ac_ext
10018cat >>conftest.$ac_ext <<_ACEOF
10019/* end confdefs.h. */
10020#include <$ac_header>
10021_ACEOF
10022if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10024 ac_status=$?
10025 grep -v '^ *+' conftest.er1 >conftest.err
10026 rm -f conftest.er1
10027 cat conftest.err >&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); } >/dev/null; then
10030 if test -s conftest.err; then
10031 ac_cpp_err=$ac_c_preproc_warn_flag
10032 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10033 else
10034 ac_cpp_err=
10035 fi
10036else
10037 ac_cpp_err=yes
10038fi
10039if test -z "$ac_cpp_err"; then
10040 ac_header_preproc=yes
10041else
10042 echo "$as_me: failed program was:" >&5
10043sed 's/^/| /' conftest.$ac_ext >&5
10044
10045 ac_header_preproc=no
10046fi
10047rm -f conftest.err conftest.$ac_ext
10048echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10049echo "${ECHO_T}$ac_header_preproc" >&6
10050
10051# So? What about this header?
10052case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10053 yes:no: )
10054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10055echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10057echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10058 ac_header_preproc=yes
10059 ;;
10060 no:yes:* )
10061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10062echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10064echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10066echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10068echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10070echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10072echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10073 (
10074 cat <<\_ASBOX
10075## ---------------------------------- ##
10076## Report this to the OpenSSH lists. ##
10077## ---------------------------------- ##
10078_ASBOX
10079 ) |
10080 sed "s/^/$as_me: WARNING: /" >&2
10081 ;;
10082esac
10083echo "$as_me:$LINENO: checking for $ac_header" >&5
10084echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10085if eval "test \"\${$as_ac_Header+set}\" = set"; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10087else
10088 eval "$as_ac_Header=\$ac_header_preproc"
10089fi
10090echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10091echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10092
10093fi
10094if test `eval echo '${'$as_ac_Header'}'` = yes; then
10095 cat >>confdefs.h <<_ACEOF
10096#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10097_ACEOF
10098
10099else
10100 { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5
10101echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;}
10102 { (exit 1); exit 1; }; }
10103fi
10104
10105done
10106
10107
10108echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5
10109echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6
10110if test "${ac_cv_lib_bsm_getaudit+set}" = set; then
10111 echo $ECHO_N "(cached) $ECHO_C" >&6
10112else
10113 ac_check_lib_save_LIBS=$LIBS
10114LIBS="-lbsm $LIBS"
10115cat >conftest.$ac_ext <<_ACEOF
10116/* confdefs.h. */
10117_ACEOF
10118cat confdefs.h >>conftest.$ac_ext
10119cat >>conftest.$ac_ext <<_ACEOF
10120/* end confdefs.h. */
10121
10122/* Override any gcc2 internal prototype to avoid an error. */
10123#ifdef __cplusplus
10124extern "C"
10125#endif
10126/* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10128char getaudit ();
10129int
10130main ()
10131{
10132getaudit ();
10133 ;
10134 return 0;
10135}
10136_ACEOF
10137rm -f conftest.$ac_objext conftest$ac_exeext
10138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10139 (eval $ac_link) 2>conftest.er1
10140 ac_status=$?
10141 grep -v '^ *+' conftest.er1 >conftest.err
10142 rm -f conftest.er1
10143 cat conftest.err >&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } &&
10146 { ac_try='test -z "$ac_c_werror_flag"
10147 || test ! -s conftest.err'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; } &&
10153 { ac_try='test -s conftest$ac_exeext'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5
10156 ac_status=$?
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; }; then
10159 ac_cv_lib_bsm_getaudit=yes
10160else
10161 echo "$as_me: failed program was:" >&5
10162sed 's/^/| /' conftest.$ac_ext >&5
10163
10164ac_cv_lib_bsm_getaudit=no
10165fi
10166rm -f conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168LIBS=$ac_check_lib_save_LIBS
10169fi
10170echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5
10171echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6
10172if test $ac_cv_lib_bsm_getaudit = yes; then
10173 cat >>confdefs.h <<_ACEOF
10174#define HAVE_LIBBSM 1
10175_ACEOF
10176
10177 LIBS="-lbsm $LIBS"
10178
10179else
10180 { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5
10181echo "$as_me: error: BSM enabled and required library not found" >&2;}
10182 { (exit 1); exit 1; }; }
10183fi
10184
10185
10186for ac_func in getaudit
10187do
10188as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10189echo "$as_me:$LINENO: checking for $ac_func" >&5
10190echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10191if eval "test \"\${$as_ac_var+set}\" = set"; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10193else
10194 cat >conftest.$ac_ext <<_ACEOF
10195/* confdefs.h. */
10196_ACEOF
10197cat confdefs.h >>conftest.$ac_ext
10198cat >>conftest.$ac_ext <<_ACEOF
10199/* end confdefs.h. */
10200/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10202#define $ac_func innocuous_$ac_func
10203
10204/* System header to define __stub macros and hopefully few prototypes,
10205 which can conflict with char $ac_func (); below.
10206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10207 <limits.h> exists even on freestanding compilers. */
10208
10209#ifdef __STDC__
10210# include <limits.h>
10211#else
10212# include <assert.h>
10213#endif
10214
10215#undef $ac_func
10216
10217/* Override any gcc2 internal prototype to avoid an error. */
10218#ifdef __cplusplus
10219extern "C"
10220{
10221#endif
10222/* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10224char $ac_func ();
10225/* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10229choke me
10230#else
10231char (*f) () = $ac_func;
10232#endif
10233#ifdef __cplusplus
10234}
10235#endif
10236
10237int
10238main ()
10239{
10240return f != $ac_func;
10241 ;
10242 return 0;
10243}
10244_ACEOF
10245rm -f conftest.$ac_objext conftest$ac_exeext
10246if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 eval "$as_ac_var=yes"
10268else
10269 echo "$as_me: failed program was:" >&5
10270sed 's/^/| /' conftest.$ac_ext >&5
10271
10272eval "$as_ac_var=no"
10273fi
10274rm -f conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276fi
10277echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10278echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10279if test `eval echo '${'$as_ac_var'}'` = yes; then
10280 cat >>confdefs.h <<_ACEOF
10281#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10282_ACEOF
10283
10284else
10285 { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5
10286echo "$as_me: error: BSM enabled and required function not found" >&2;}
10287 { (exit 1); exit 1; }; }
10288fi
10289done
10290
10291 # These are optional
10292
10293for ac_func in getaudit_addr
10294do
10295as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10296echo "$as_me:$LINENO: checking for $ac_func" >&5
10297echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10298if eval "test \"\${$as_ac_var+set}\" = set"; then
10299 echo $ECHO_N "(cached) $ECHO_C" >&6
10300else
10301 cat >conftest.$ac_ext <<_ACEOF
10302/* confdefs.h. */
10303_ACEOF
10304cat confdefs.h >>conftest.$ac_ext
10305cat >>conftest.$ac_ext <<_ACEOF
10306/* end confdefs.h. */
10307/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10309#define $ac_func innocuous_$ac_func
10310
10311/* System header to define __stub macros and hopefully few prototypes,
10312 which can conflict with char $ac_func (); below.
10313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10314 <limits.h> exists even on freestanding compilers. */
10315
10316#ifdef __STDC__
10317# include <limits.h>
10318#else
10319# include <assert.h>
10320#endif
10321
10322#undef $ac_func
10323
10324/* Override any gcc2 internal prototype to avoid an error. */
10325#ifdef __cplusplus
10326extern "C"
10327{
10328#endif
10329/* We use char because int might match the return type of a gcc2
10330 builtin and then its argument prototype would still apply. */
10331char $ac_func ();
10332/* The GNU C library defines this for functions which it implements
10333 to always fail with ENOSYS. Some functions are actually named
10334 something starting with __ and the normal name is an alias. */
10335#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10336choke me
10337#else
10338char (*f) () = $ac_func;
10339#endif
10340#ifdef __cplusplus
10341}
10342#endif
10343
10344int
10345main ()
10346{
10347return f != $ac_func;
10348 ;
10349 return 0;
10350}
10351_ACEOF
10352rm -f conftest.$ac_objext conftest$ac_exeext
10353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354 (eval $ac_link) 2>conftest.er1
10355 ac_status=$?
10356 grep -v '^ *+' conftest.er1 >conftest.err
10357 rm -f conftest.er1
10358 cat conftest.err >&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try='test -z "$ac_c_werror_flag"
10362 || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10365 ac_status=$?
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try='test -s conftest$ac_exeext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10371 ac_status=$?
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 eval "$as_ac_var=yes"
10375else
10376 echo "$as_me: failed program was:" >&5
10377sed 's/^/| /' conftest.$ac_ext >&5
10378
10379eval "$as_ac_var=no"
10380fi
10381rm -f conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383fi
10384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10385echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10386if test `eval echo '${'$as_ac_var'}'` = yes; then
10387 cat >>confdefs.h <<_ACEOF
10388#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10389_ACEOF
10390
10391fi
10392done
10393
10394
10395cat >>confdefs.h <<\_ACEOF
10396#define USE_BSM_AUDIT
10397_ACEOF
10398
10399 ;;
10400 debug)
10401 AUDIT_MODULE=debug
10402 echo "$as_me:$LINENO: result: debug" >&5
10403echo "${ECHO_T}debug" >&6
10404
10405cat >>confdefs.h <<\_ACEOF
10406#define SSH_AUDIT_EVENTS
10407_ACEOF
10408
10409 ;;
10410 *)
10411 { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5
10412echo "$as_me: error: Unknown audit module $withval" >&2;}
10413 { (exit 1); exit 1; }; }
10414 ;;
10415 esac
10416
10417fi;
10418
10419
9608 10420
9609 10421
9610 10422
@@ -9684,9 +10496,9 @@ fi;
9684 10496
9685for ac_func in \ 10497for ac_func in \
9686 arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ 10498 arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \
9687 bindresvport_sa clock closefrom dirfd fchmod fchown freeaddrinfo \ 10499 bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \
9688 futimes getaddrinfo getcwd getgrouplist getnameinfo getopt \ 10500 freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \
9689 getpeereid _getpty getrlimit getttyent glob inet_aton \ 10501 getopt getpeereid _getpty getrlimit getttyent glob inet_aton \
9690 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 10502 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
9691 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 10503 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
9692 pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ 10504 pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \
@@ -10760,11 +11572,9 @@ _ACEOF
10760 echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 11572 echo "$as_me:$LINENO: checking if setresuid seems to work" >&5
10761echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 11573echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6
10762 if test "$cross_compiling" = yes; then 11574 if test "$cross_compiling" = yes; then
10763 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 11575 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
10764See \`config.log' for more details." >&5 11576echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
10765echo "$as_me: error: cannot run test program while cross compiling 11577
10766See \`config.log' for more details." >&2;}
10767 { (exit 1); exit 1; }; }
10768else 11578else
10769 cat >conftest.$ac_ext <<_ACEOF 11579 cat >conftest.$ac_ext <<_ACEOF
10770/* confdefs.h. */ 11580/* confdefs.h. */
@@ -10803,7 +11613,6 @@ _ACEOF
10803 11613
10804 echo "$as_me:$LINENO: result: not implemented" >&5 11614 echo "$as_me:$LINENO: result: not implemented" >&5
10805echo "${ECHO_T}not implemented" >&6 11615echo "${ECHO_T}not implemented" >&6
10806
10807fi 11616fi
10808rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11617rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10809fi 11618fi
@@ -10914,11 +11723,9 @@ _ACEOF
10914 echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 11723 echo "$as_me:$LINENO: checking if setresgid seems to work" >&5
10915echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 11724echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6
10916 if test "$cross_compiling" = yes; then 11725 if test "$cross_compiling" = yes; then
10917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 11726 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
10918See \`config.log' for more details." >&5 11727echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
10919echo "$as_me: error: cannot run test program while cross compiling 11728
10920See \`config.log' for more details." >&2;}
10921 { (exit 1); exit 1; }; }
10922else 11729else
10923 cat >conftest.$ac_ext <<_ACEOF 11730 cat >conftest.$ac_ext <<_ACEOF
10924/* confdefs.h. */ 11731/* confdefs.h. */
@@ -10957,7 +11764,6 @@ _ACEOF
10957 11764
10958 echo "$as_me:$LINENO: result: not implemented" >&5 11765 echo "$as_me:$LINENO: result: not implemented" >&5
10959echo "${ECHO_T}not implemented" >&6 11766echo "${ECHO_T}not implemented" >&6
10960
10961fi 11767fi
10962rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11768rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10963fi 11769fi
@@ -11835,11 +12641,9 @@ if test "x$ac_cv_func_snprintf" = "xyes" ; then
11835 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 12641 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
11836echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 12642echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
11837 if test "$cross_compiling" = yes; then 12643 if test "$cross_compiling" = yes; then
11838 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 12644 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
11839See \`config.log' for more details." >&5 12645echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
11840echo "$as_me: error: cannot run test program while cross compiling 12646
11841See \`config.log' for more details." >&2;}
11842 { (exit 1); exit 1; }; }
11843else 12647else
11844 cat >conftest.$ac_ext <<_ACEOF 12648 cat >conftest.$ac_ext <<_ACEOF
11845/* confdefs.h. */ 12649/* confdefs.h. */
@@ -11881,7 +12685,6 @@ _ACEOF
11881 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 12685 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
11882echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 12686echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
11883 12687
11884
11885fi 12688fi
11886rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12689rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11887fi 12690fi
@@ -12199,6 +13002,159 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
12199fi 13002fi
12200fi 13003fi
12201 13004
13005if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_aix_broken_getaddrinfo" = "x1"; then
13006 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13007echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13008 if test "$cross_compiling" = yes; then
13009 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13010See \`config.log' for more details." >&5
13011echo "$as_me: error: cannot run test program while cross compiling
13012See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014else
13015 cat >conftest.$ac_ext <<_ACEOF
13016/* confdefs.h. */
13017_ACEOF
13018cat confdefs.h >>conftest.$ac_ext
13019cat >>conftest.$ac_ext <<_ACEOF
13020/* end confdefs.h. */
13021
13022#include <stdio.h>
13023#include <sys/socket.h>
13024#include <netdb.h>
13025#include <errno.h>
13026#include <netinet/in.h>
13027
13028#define TEST_PORT "2222"
13029
13030int
13031main(void)
13032{
13033 int err, sock;
13034 struct addrinfo *gai_ai, *ai, hints;
13035 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
13036
13037 memset(&hints, 0, sizeof(hints));
13038 hints.ai_family = PF_UNSPEC;
13039 hints.ai_socktype = SOCK_STREAM;
13040 hints.ai_flags = AI_PASSIVE;
13041
13042 err = getaddrinfo(name, TEST_PORT, &hints, &gai_ai);
13043 if (err != 0) {
13044 fprintf(stderr, "getaddrinfo failed (%s)", gai_strerror(err));
13045 exit(1);
13046 }
13047
13048 for (ai = gai_ai; ai != NULL; ai = ai->ai_next) {
13049 if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
13050 continue;
13051
13052 err = getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop,
13053 sizeof(ntop), strport, sizeof(strport),
13054 NI_NUMERICHOST|NI_NUMERICSERV);
13055
13056 if (ai->ai_family == AF_INET && err != 0) {
13057 perror("getnameinfo");
13058 exit(2);
13059 }
13060 }
13061 exit(0);
13062}
13063
13064_ACEOF
13065rm -f conftest$ac_exeext
13066if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13067 (eval $ac_link) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076
13077 echo "$as_me:$LINENO: result: yes" >&5
13078echo "${ECHO_T}yes" >&6
13079
13080cat >>confdefs.h <<\_ACEOF
13081#define AIX_GETNAMEINFO_HACK
13082_ACEOF
13083
13084
13085else
13086 echo "$as_me: program exited with status $ac_status" >&5
13087echo "$as_me: failed program was:" >&5
13088sed 's/^/| /' conftest.$ac_ext >&5
13089
13090( exit $ac_status )
13091
13092 echo "$as_me:$LINENO: result: no" >&5
13093echo "${ECHO_T}no" >&6
13094 cat >>confdefs.h <<\_ACEOF
13095#define BROKEN_GETADDRINFO 1
13096_ACEOF
13097
13098
13099
13100fi
13101rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13102fi
13103fi
13104
13105if test "x$check_for_conflicting_getspnam" = "x1"; then
13106 echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5
13107echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6
13108 cat >conftest.$ac_ext <<_ACEOF
13109
13110#include <shadow.h>
13111int main(void) {exit(0);}
13112
13113_ACEOF
13114rm -f conftest.$ac_objext
13115if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13116 (eval $ac_compile) 2>conftest.er1
13117 ac_status=$?
13118 grep -v '^ *+' conftest.er1 >conftest.err
13119 rm -f conftest.er1
13120 cat conftest.err >&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); } &&
13123 { ac_try='test -z "$ac_c_werror_flag"
13124 || test ! -s conftest.err'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13127 ac_status=$?
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; } &&
13130 { ac_try='test -s conftest.$ac_objext'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13133 ac_status=$?
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; }; then
13136
13137 echo "$as_me:$LINENO: result: no" >&5
13138echo "${ECHO_T}no" >&6
13139
13140else
13141 echo "$as_me: failed program was:" >&5
13142sed 's/^/| /' conftest.$ac_ext >&5
13143
13144
13145 echo "$as_me:$LINENO: result: yes" >&5
13146echo "${ECHO_T}yes" >&6
13147
13148cat >>confdefs.h <<\_ACEOF
13149#define GETSPNAM_CONFLICTING_DEFS 1
13150_ACEOF
13151
13152
13153
13154fi
13155rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13156fi
13157
12202echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 13158echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
12203echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 13159echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
12204if test "${ac_cv_func_getpgrp_void+set}" = set; then 13160if test "${ac_cv_func_getpgrp_void+set}" = set; then
@@ -12730,6 +13686,10 @@ if test "${with_ssl_dir+set}" = set; then
12730 withval="$with_ssl_dir" 13686 withval="$with_ssl_dir"
12731 13687
12732 if test "x$withval" != "xno" ; then 13688 if test "x$withval" != "xno" ; then
13689 case "$withval" in
13690 # Relative paths
13691 ./*|../*) withval="`pwd`/$withval"
13692 esac
12733 if test -d "$withval/lib"; then 13693 if test -d "$withval/lib"; then
12734 if test -n "${need_dash_r}"; then 13694 if test -n "${need_dash_r}"; then
12735 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" 13695 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
@@ -12883,11 +13843,11 @@ rm -f conftest.err conftest.$ac_objext \
12883echo "$as_me:$LINENO: checking OpenSSL header version" >&5 13843echo "$as_me:$LINENO: checking OpenSSL header version" >&5
12884echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 13844echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
12885if test "$cross_compiling" = yes; then 13845if test "$cross_compiling" = yes; then
12886 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13846
12887See \`config.log' for more details." >&5 13847 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
12888echo "$as_me: error: cannot run test program while cross compiling 13848echo "$as_me: WARNING: cross compiling: not checking" >&2;}
12889See \`config.log' for more details." >&2;} 13849
12890 { (exit 1); exit 1; }; } 13850
12891else 13851else
12892 cat >conftest.$ac_ext <<_ACEOF 13852 cat >conftest.$ac_ext <<_ACEOF
12893/* confdefs.h. */ 13853/* confdefs.h. */
@@ -12944,7 +13904,6 @@ echo "${ECHO_T}not found" >&6
12944echo "$as_me: error: OpenSSL version header not found." >&2;} 13904echo "$as_me: error: OpenSSL version header not found." >&2;}
12945 { (exit 1); exit 1; }; } 13905 { (exit 1); exit 1; }; }
12946 13906
12947
12948fi 13907fi
12949rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13908rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12950fi 13909fi
@@ -12953,11 +13912,11 @@ fi
12953echo "$as_me:$LINENO: checking OpenSSL library version" >&5 13912echo "$as_me:$LINENO: checking OpenSSL library version" >&5
12954echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 13913echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
12955if test "$cross_compiling" = yes; then 13914if test "$cross_compiling" = yes; then
12956 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13915
12957See \`config.log' for more details." >&5 13916 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
12958echo "$as_me: error: cannot run test program while cross compiling 13917echo "$as_me: WARNING: cross compiling: not checking" >&2;}
12959See \`config.log' for more details." >&2;} 13918
12960 { (exit 1); exit 1; }; } 13919
12961else 13920else
12962 cat >conftest.$ac_ext <<_ACEOF 13921 cat >conftest.$ac_ext <<_ACEOF
12963/* confdefs.h. */ 13922/* confdefs.h. */
@@ -13015,7 +13974,6 @@ echo "${ECHO_T}not found" >&6
13015echo "$as_me: error: OpenSSL library not found." >&2;} 13974echo "$as_me: error: OpenSSL library not found." >&2;}
13016 { (exit 1); exit 1; }; } 13975 { (exit 1); exit 1; }; }
13017 13976
13018
13019fi 13977fi
13020rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13978rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13021fi 13979fi
@@ -13024,11 +13982,11 @@ fi
13024echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 13982echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
13025echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 13983echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
13026if test "$cross_compiling" = yes; then 13984if test "$cross_compiling" = yes; then
13027 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13985
13028See \`config.log' for more details." >&5 13986 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
13029echo "$as_me: error: cannot run test program while cross compiling 13987echo "$as_me: WARNING: cross compiling: not checking" >&2;}
13030See \`config.log' for more details." >&2;} 13988
13031 { (exit 1); exit 1; }; } 13989
13032else 13990else
13033 cat >conftest.$ac_ext <<_ACEOF 13991 cat >conftest.$ac_ext <<_ACEOF
13034/* confdefs.h. */ 13992/* confdefs.h. */
@@ -13074,7 +14032,6 @@ Check config.log for details.
13074Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} 14032Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;}
13075 { (exit 1); exit 1; }; } 14033 { (exit 1); exit 1; }; }
13076 14034
13077
13078fi 14035fi
13079rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14036rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13080fi 14037fi
@@ -13238,11 +14195,14 @@ fi
13238echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 14195echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
13239echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 14196echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
13240if test "$cross_compiling" = yes; then 14197if test "$cross_compiling" = yes; then
13241 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14198
13242See \`config.log' for more details." >&5 14199 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5
13243echo "$as_me: error: cannot run test program while cross compiling 14200echo "$as_me: WARNING: cross compiling: assuming yes" >&2;}
13244See \`config.log' for more details." >&2;} 14201 # This is safe, since all recent OpenSSL versions will
13245 { (exit 1); exit 1; }; } 14202 # complain at runtime if not seeded correctly.
14203 OPENSSL_SEEDS_ITSELF=yes
14204
14205
13246else 14206else
13247 cat >conftest.$ac_ext <<_ACEOF 14207 cat >conftest.$ac_ext <<_ACEOF
13248/* confdefs.h. */ 14208/* confdefs.h. */
@@ -13285,7 +14245,6 @@ echo "${ECHO_T}no" >&6
13285 # seed itself 14245 # seed itself
13286 USE_RAND_HELPER=yes 14246 USE_RAND_HELPER=yes
13287 14247
13288
13289fi 14248fi
13290rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14249rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13291fi 14250fi
@@ -17288,6 +18247,74 @@ _ACEOF
17288fi 18247fi
17289 18248
17290 18249
18250echo "$as_me:$LINENO: checking for in_addr_t" >&5
18251echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
18252if test "${ac_cv_type_in_addr_t+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254else
18255 cat >conftest.$ac_ext <<_ACEOF
18256/* confdefs.h. */
18257_ACEOF
18258cat confdefs.h >>conftest.$ac_ext
18259cat >>conftest.$ac_ext <<_ACEOF
18260/* end confdefs.h. */
18261#include <sys/types.h>
18262#include <netinet/in.h>
18263
18264int
18265main ()
18266{
18267if ((in_addr_t *) 0)
18268 return 0;
18269if (sizeof (in_addr_t))
18270 return 0;
18271 ;
18272 return 0;
18273}
18274_ACEOF
18275rm -f conftest.$ac_objext
18276if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 (eval $ac_compile) 2>conftest.er1
18278 ac_status=$?
18279 grep -v '^ *+' conftest.er1 >conftest.err
18280 rm -f conftest.er1
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try='test -z "$ac_c_werror_flag"
18285 || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18288 ac_status=$?
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try='test -s conftest.$ac_objext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_type_in_addr_t=yes
18298else
18299 echo "$as_me: failed program was:" >&5
18300sed 's/^/| /' conftest.$ac_ext >&5
18301
18302ac_cv_type_in_addr_t=no
18303fi
18304rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18305fi
18306echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
18307echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
18308if test $ac_cv_type_in_addr_t = yes; then
18309
18310cat >>confdefs.h <<_ACEOF
18311#define HAVE_IN_ADDR_T 1
18312_ACEOF
18313
18314
18315fi
18316
18317
17291echo "$as_me:$LINENO: checking for size_t" >&5 18318echo "$as_me:$LINENO: checking for size_t" >&5
17292echo $ECHO_N "checking for size_t... $ECHO_C" >&6 18319echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17293if test "${ac_cv_have_size_t+set}" = set; then 18320if test "${ac_cv_have_size_t+set}" = set; then
@@ -18134,11 +19161,9 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \
18134 exit 1; 19161 exit 1;
18135else 19162else
18136 if test "$cross_compiling" = yes; then 19163 if test "$cross_compiling" = yes; then
18137 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 19164 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
18138See \`config.log' for more details." >&5 19165echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
18139echo "$as_me: error: cannot run test program while cross compiling 19166
18140See \`config.log' for more details." >&2;}
18141 { (exit 1); exit 1; }; }
18142else 19167else
18143 cat >conftest.$ac_ext <<_ACEOF 19168 cat >conftest.$ac_ext <<_ACEOF
18144/* confdefs.h. */ 19169/* confdefs.h. */
@@ -18193,7 +19218,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
18193#define BROKEN_SNPRINTF 1 19218#define BROKEN_SNPRINTF 1
18194_ACEOF 19219_ACEOF
18195 19220
18196
18197fi 19221fi
18198rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 19222rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18199fi 19223fi
@@ -19391,25 +20415,14 @@ if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6 20415 echo $ECHO_N "(cached) $ECHO_C" >&6
19392else 20416else
19393 20417
19394 if test "$cross_compiling" = yes; then 20418 cat >conftest.$ac_ext <<_ACEOF
19395 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19396See \`config.log' for more details." >&5
19397echo "$as_me: error: cannot run test program while cross compiling
19398See \`config.log' for more details." >&2;}
19399 { (exit 1); exit 1; }; }
19400else
19401 cat >conftest.$ac_ext <<_ACEOF
19402/* confdefs.h. */
19403_ACEOF
19404cat confdefs.h >>conftest.$ac_ext
19405cat >>conftest.$ac_ext <<_ACEOF
19406/* end confdefs.h. */
19407 20419
19408#include <sys/types.h> 20420#include <sys/types.h>
19409#include <sys/socket.h> 20421#include <sys/socket.h>
19410#include <sys/uio.h> 20422#include <sys/uio.h>
19411int main() { 20423int main() {
19412#ifdef msg_accrights 20424#ifdef msg_accrights
20425#error "msg_accrights is a macro"
19413exit(1); 20426exit(1);
19414#endif 20427#endif
19415struct msghdr m; 20428struct msghdr m;
@@ -19418,12 +20431,23 @@ exit(0);
19418} 20431}
19419 20432
19420_ACEOF 20433_ACEOF
19421rm -f conftest$ac_exeext 20434rm -f conftest.$ac_objext
19422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20435if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423 (eval $ac_link) 2>&5 20436 (eval $ac_compile) 2>conftest.er1
19424 ac_status=$? 20437 ac_status=$?
20438 grep -v '^ *+' conftest.er1 >conftest.err
20439 rm -f conftest.er1
20440 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20442 (exit $ac_status); } &&
20443 { ac_try='test -z "$ac_c_werror_flag"
20444 || test ! -s conftest.err'
20445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20446 (eval $ac_try) 2>&5
20447 ac_status=$?
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; } &&
20450 { ac_try='test -s conftest.$ac_objext'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5 20452 (eval $ac_try) 2>&5
19429 ac_status=$? 20453 ac_status=$?
@@ -19431,16 +20455,13 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19431 (exit $ac_status); }; }; then 20455 (exit $ac_status); }; }; then
19432 ac_cv_have_accrights_in_msghdr="yes" 20456 ac_cv_have_accrights_in_msghdr="yes"
19433else 20457else
19434 echo "$as_me: program exited with status $ac_status" >&5 20458 echo "$as_me: failed program was:" >&5
19435echo "$as_me: failed program was:" >&5
19436sed 's/^/| /' conftest.$ac_ext >&5 20459sed 's/^/| /' conftest.$ac_ext >&5
19437 20460
19438( exit $ac_status )
19439 ac_cv_have_accrights_in_msghdr="no" 20461 ac_cv_have_accrights_in_msghdr="no"
19440 20462
19441fi 20463fi
19442rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20464rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19443fi
19444 20465
19445fi 20466fi
19446echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 20467echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
@@ -19458,25 +20479,14 @@ if test "${ac_cv_have_control_in_msghdr+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6 20479 echo $ECHO_N "(cached) $ECHO_C" >&6
19459else 20480else
19460 20481
19461 if test "$cross_compiling" = yes; then 20482 cat >conftest.$ac_ext <<_ACEOF
19462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19463See \`config.log' for more details." >&5
19464echo "$as_me: error: cannot run test program while cross compiling
19465See \`config.log' for more details." >&2;}
19466 { (exit 1); exit 1; }; }
19467else
19468 cat >conftest.$ac_ext <<_ACEOF
19469/* confdefs.h. */
19470_ACEOF
19471cat confdefs.h >>conftest.$ac_ext
19472cat >>conftest.$ac_ext <<_ACEOF
19473/* end confdefs.h. */
19474 20483
19475#include <sys/types.h> 20484#include <sys/types.h>
19476#include <sys/socket.h> 20485#include <sys/socket.h>
19477#include <sys/uio.h> 20486#include <sys/uio.h>
19478int main() { 20487int main() {
19479#ifdef msg_control 20488#ifdef msg_control
20489#error "msg_control is a macro"
19480exit(1); 20490exit(1);
19481#endif 20491#endif
19482struct msghdr m; 20492struct msghdr m;
@@ -19485,12 +20495,23 @@ exit(0);
19485} 20495}
19486 20496
19487_ACEOF 20497_ACEOF
19488rm -f conftest$ac_exeext 20498rm -f conftest.$ac_objext
19489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 20499if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_link) 2>&5 20500 (eval $ac_compile) 2>conftest.er1
19491 ac_status=$? 20501 ac_status=$?
20502 grep -v '^ *+' conftest.er1 >conftest.err
20503 rm -f conftest.er1
20504 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20506 (exit $ac_status); } &&
20507 { ac_try='test -z "$ac_c_werror_flag"
20508 || test ! -s conftest.err'
20509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20510 (eval $ac_try) 2>&5
20511 ac_status=$?
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); }; } &&
20514 { ac_try='test -s conftest.$ac_objext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5 20516 (eval $ac_try) 2>&5
19496 ac_status=$? 20517 ac_status=$?
@@ -19498,16 +20519,13 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19498 (exit $ac_status); }; }; then 20519 (exit $ac_status); }; }; then
19499 ac_cv_have_control_in_msghdr="yes" 20520 ac_cv_have_control_in_msghdr="yes"
19500else 20521else
19501 echo "$as_me: program exited with status $ac_status" >&5 20522 echo "$as_me: failed program was:" >&5
19502echo "$as_me: failed program was:" >&5
19503sed 's/^/| /' conftest.$ac_ext >&5 20523sed 's/^/| /' conftest.$ac_ext >&5
19504 20524
19505( exit $ac_status )
19506 ac_cv_have_control_in_msghdr="no" 20525 ac_cv_have_control_in_msghdr="no"
19507 20526
19508fi 20527fi
19509rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20528rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19510fi
19511 20529
19512fi 20530fi
19513echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 20531echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
@@ -20050,9 +21068,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
20050echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21068echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20051 ( 21069 (
20052 cat <<\_ASBOX 21070 cat <<\_ASBOX
20053## ------------------------------------------ ## 21071## ---------------------------------- ##
20054## Report this to the AC_PACKAGE_NAME lists. ## 21072## Report this to the OpenSSH lists. ##
20055## ------------------------------------------ ## 21073## ---------------------------------- ##
20056_ASBOX 21074_ASBOX
20057 ) | 21075 ) |
20058 sed "s/^/$as_me: WARNING: /" >&2 21076 sed "s/^/$as_me: WARNING: /" >&2
@@ -21576,9 +22594,9 @@ echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;
21576echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} 22594echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
21577 ( 22595 (
21578 cat <<\_ASBOX 22596 cat <<\_ASBOX
21579## ------------------------------------------ ## 22597## ---------------------------------- ##
21580## Report this to the AC_PACKAGE_NAME lists. ## 22598## Report this to the OpenSSH lists. ##
21581## ------------------------------------------ ## 22599## ---------------------------------- ##
21582_ASBOX 22600_ASBOX
21583 ) | 22601 ) |
21584 sed "s/^/$as_me: WARNING: /" >&2 22602 sed "s/^/$as_me: WARNING: /" >&2
@@ -21722,9 +22740,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
21722echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22740echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21723 ( 22741 (
21724 cat <<\_ASBOX 22742 cat <<\_ASBOX
21725## ------------------------------------------ ## 22743## ---------------------------------- ##
21726## Report this to the AC_PACKAGE_NAME lists. ## 22744## Report this to the OpenSSH lists. ##
21727## ------------------------------------------ ## 22745## ---------------------------------- ##
21728_ASBOX 22746_ASBOX
21729 ) | 22747 ) |
21730 sed "s/^/$as_me: WARNING: /" >&2 22748 sed "s/^/$as_me: WARNING: /" >&2
@@ -21880,9 +22898,9 @@ echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result"
21880echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} 22898echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;}
21881 ( 22899 (
21882 cat <<\_ASBOX 22900 cat <<\_ASBOX
21883## ------------------------------------------ ## 22901## ---------------------------------- ##
21884## Report this to the AC_PACKAGE_NAME lists. ## 22902## Report this to the OpenSSH lists. ##
21885## ------------------------------------------ ## 22903## ---------------------------------- ##
21886_ASBOX 22904_ASBOX
21887 ) | 22905 ) |
21888 sed "s/^/$as_me: WARNING: /" >&2 22906 sed "s/^/$as_me: WARNING: /" >&2
@@ -22039,9 +23057,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
22039echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23057echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22040 ( 23058 (
22041 cat <<\_ASBOX 23059 cat <<\_ASBOX
22042## ------------------------------------------ ## 23060## ---------------------------------- ##
22043## Report this to the AC_PACKAGE_NAME lists. ## 23061## Report this to the OpenSSH lists. ##
22044## ------------------------------------------ ## 23062## ---------------------------------- ##
22045_ASBOX 23063_ASBOX
22046 ) | 23064 ) |
22047 sed "s/^/$as_me: WARNING: /" >&2 23065 sed "s/^/$as_me: WARNING: /" >&2
@@ -22190,9 +23208,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
22190echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23208echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22191 ( 23209 (
22192 cat <<\_ASBOX 23210 cat <<\_ASBOX
22193## ------------------------------------------ ## 23211## ---------------------------------- ##
22194## Report this to the AC_PACKAGE_NAME lists. ## 23212## Report this to the OpenSSH lists. ##
22195## ------------------------------------------ ## 23213## ---------------------------------- ##
22196_ASBOX 23214_ASBOX
22197 ) | 23215 ) |
22198 sed "s/^/$as_me: WARNING: /" >&2 23216 sed "s/^/$as_me: WARNING: /" >&2
@@ -22341,9 +23359,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
22341echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23359echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22342 ( 23360 (
22343 cat <<\_ASBOX 23361 cat <<\_ASBOX
22344## ------------------------------------------ ## 23362## ---------------------------------- ##
22345## Report this to the AC_PACKAGE_NAME lists. ## 23363## Report this to the OpenSSH lists. ##
22346## ------------------------------------------ ## 23364## ---------------------------------- ##
22347_ASBOX 23365_ASBOX
22348 ) | 23366 ) |
22349 sed "s/^/$as_me: WARNING: /" >&2 23367 sed "s/^/$as_me: WARNING: /" >&2
@@ -22745,6 +23763,11 @@ _ACEOF
22745 23763
22746fi 23764fi
22747 23765
23766if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then
23767 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5
23768echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;}
23769 disable_ptmx_check=yes
23770fi
22748if test -z "$no_dev_ptmx" ; then 23771if test -z "$no_dev_ptmx" ; then
22749 if test "x$disable_ptmx_check" != "xyes" ; then 23772 if test "x$disable_ptmx_check" != "xyes" ; then
22750 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 23773 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
@@ -22777,7 +23800,9 @@ fi
22777 23800
22778 fi 23801 fi
22779fi 23802fi
22780echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 23803
23804if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then
23805 echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
22781echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 23806echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
22782if test "${ac_cv_file___dev_ptc_+set}" = set; then 23807if test "${ac_cv_file___dev_ptc_+set}" = set; then
22783 echo $ECHO_N "(cached) $ECHO_C" >&6 23808 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -22796,15 +23821,19 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
22796echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 23821echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
22797if test $ac_cv_file___dev_ptc_ = yes; then 23822if test $ac_cv_file___dev_ptc_ = yes; then
22798 23823
22799 cat >>confdefs.h <<_ACEOF 23824 cat >>confdefs.h <<_ACEOF
22800#define HAVE_DEV_PTS_AND_PTC 1 23825#define HAVE_DEV_PTS_AND_PTC 1
22801_ACEOF 23826_ACEOF
22802 23827
22803 have_dev_ptc=1 23828 have_dev_ptc=1
22804 23829
22805 23830
22806fi 23831fi
22807 23832
23833else
23834 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5
23835echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;}
23836fi
22808 23837
22809# Options from here on. Some of these are preset by platform above 23838# Options from here on. Some of these are preset by platform above
22810 23839
@@ -23020,10 +24049,20 @@ fi
23020# Check whether --enable-etc-default-login or --disable-etc-default-login was given. 24049# Check whether --enable-etc-default-login or --disable-etc-default-login was given.
23021if test "${enable_etc_default_login+set}" = set; then 24050if test "${enable_etc_default_login+set}" = set; then
23022 enableval="$enable_etc_default_login" 24051 enableval="$enable_etc_default_login"
23023 24052 if test "x$enableval" = "xno"; then
24053 { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5
24054echo "$as_me: /etc/default/login handling disabled" >&6;}
24055 etc_default_login=no
24056 else
24057 etc_default_login=yes
24058 fi
23024else 24059else
24060 etc_default_login=yes
24061
24062fi;
23025 24063
23026echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 24064if test "x$etc_default_login" != "xno"; then
24065 echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
23027echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 24066echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
23028if test "${ac_cv_file___etc_default_login_+set}" = set; then 24067if test "${ac_cv_file___etc_default_login_+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6 24068 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -23044,16 +24083,18 @@ if test $ac_cv_file___etc_default_login_ = yes; then
23044 external_path_file=/etc/default/login 24083 external_path_file=/etc/default/login
23045fi 24084fi
23046 24085
23047 24086 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
23048if test "x$external_path_file" = "x/etc/default/login"; then 24087 then
23049 cat >>confdefs.h <<\_ACEOF 24088 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /etc/default/login test" >&5
24089echo "$as_me: WARNING: cross compiling: Disabling /etc/default/login test" >&2;}
24090 elif test "x$external_path_file" = "x/etc/default/login"; then
24091 cat >>confdefs.h <<\_ACEOF
23050#define HAVE_ETC_DEFAULT_LOGIN 1 24092#define HAVE_ETC_DEFAULT_LOGIN 1
23051_ACEOF 24093_ACEOF
23052 24094
24095 fi
23053fi 24096fi
23054 24097
23055fi;
23056
23057if test $ac_cv_func_login_getcapbool = "yes" -a \ 24098if test $ac_cv_func_login_getcapbool = "yes" -a \
23058 $ac_cv_header_login_cap_h = "yes" ; then 24099 $ac_cv_header_login_cap_h = "yes" ; then
23059 external_path_file=/etc/login.conf 24100 external_path_file=/etc/login.conf
@@ -23891,7 +24932,7 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
23891fi 24932fi
23892 24933
23893 24934
23894 ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" 24935 ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh"
23895 24936
23896cat >confcache <<\_ACEOF 24937cat >confcache <<\_ACEOF
23897# This file is a shell script that caches the results of configure 24938# This file is a shell script that caches the results of configure
@@ -24255,7 +25296,7 @@ BOXI_EOF
24255} >&5 25296} >&5
24256cat >&5 <<_CSEOF 25297cat >&5 <<_CSEOF
24257 25298
24258This file was extended by $as_me, which was 25299This file was extended by OpenSSH $as_me Portable, which was
24259generated by GNU Autoconf 2.59. Invocation command line was 25300generated by GNU Autoconf 2.59. Invocation command line was
24260 25301
24261 CONFIG_FILES = $CONFIG_FILES 25302 CONFIG_FILES = $CONFIG_FILES
@@ -24315,7 +25356,7 @@ _ACEOF
24315 25356
24316cat >>$CONFIG_STATUS <<_ACEOF 25357cat >>$CONFIG_STATUS <<_ACEOF
24317ac_cs_version="\\ 25358ac_cs_version="\\
24318config.status 25359OpenSSH config.status Portable
24319configured by $0, generated by GNU Autoconf 2.59, 25360configured by $0, generated by GNU Autoconf 2.59,
24320 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 25361 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24321 25362
@@ -24424,6 +25465,7 @@ do
24424 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; 25465 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;;
24425 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; 25466 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
24426 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 25467 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
25468 "survey.sh" ) CONFIG_FILES="$CONFIG_FILES survey.sh" ;;
24427 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 25469 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
24428 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 25470 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24429echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 25471echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
@@ -24548,6 +25590,7 @@ s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
24548s,@LD@,$LD,;t t 25590s,@LD@,$LD,;t t
24549s,@EGREP@,$EGREP,;t t 25591s,@EGREP@,$EGREP,;t t
24550s,@LIBWRAP@,$LIBWRAP,;t t 25592s,@LIBWRAP@,$LIBWRAP,;t t
25593s,@LIBEDIT@,$LIBEDIT,;t t
24551s,@LIBPAM@,$LIBPAM,;t t 25594s,@LIBPAM@,$LIBPAM,;t t
24552s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t 25595s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
24553s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t 25596s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t
@@ -25115,6 +26158,7 @@ echo " Smartcard support: $SCARD_MSG"
25115echo " S/KEY support: $SKEY_MSG" 26158echo " S/KEY support: $SKEY_MSG"
25116echo " TCP Wrappers support: $TCPW_MSG" 26159echo " TCP Wrappers support: $TCPW_MSG"
25117echo " MD5 password support: $MD5_MSG" 26160echo " MD5 password support: $MD5_MSG"
26161echo " libedit support: $LIBEDIT_MSG"
25118echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 26162echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
25119echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 26163echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
25120echo " BSD Auth support: $BSD_AUTH_MSG" 26164echo " BSD Auth support: $BSD_AUTH_MSG"
@@ -25135,7 +26179,8 @@ echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}"
25135echo "" 26179echo ""
25136 26180
25137if test "x$MAKE_PACKAGE_SUPPORTED" = "xyes" ; then 26181if test "x$MAKE_PACKAGE_SUPPORTED" = "xyes" ; then
25138 echo "SVR4 style packages are supported with \"make package\"\n" 26182 echo "SVR4 style packages are supported with \"make package\""
26183 echo ""
25139fi 26184fi
25140 26185
25141if test "x$PAM_MSG" = "xyes" ; then 26186if test "x$PAM_MSG" = "xyes" ; then
@@ -25164,3 +26209,7 @@ if test ! -z "$NO_PEERCHECK" ; then
25164 echo "" 26209 echo ""
25165fi 26210fi
25166 26211
26212if test "$AUDIT_MODULE" = "bsm" ; then
26213 echo "WARNING: BSM audit support is currently considered EXPERIMENTAL."
26214 echo "See the Solaris section in README.platform for details."
26215fi