diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1865 |
1 files changed, 1457 insertions, 408 deletions
@@ -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. |
268 | PACKAGE_NAME= | 268 | PACKAGE_NAME='OpenSSH' |
269 | PACKAGE_TARNAME= | 269 | PACKAGE_TARNAME='openssh' |
270 | PACKAGE_VERSION= | 270 | PACKAGE_VERSION='Portable' |
271 | PACKAGE_STRING= | 271 | PACKAGE_STRING='OpenSSH Portable' |
272 | PACKAGE_BUGREPORT= | 272 | PACKAGE_BUGREPORT='' |
273 | 273 | ||
274 | ac_unique_file="ssh.c" | 274 | ac_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 | ||
312 | ac_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' | 312 | ac_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' |
313 | ac_subst_files='' | 313 | ac_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 | ||
783 | Usage: $0 [OPTION]... [VAR=VALUE]... | 783 | Usage: $0 [OPTION]... [VAR=VALUE]... |
784 | 784 | ||
@@ -838,7 +838,9 @@ _ACEOF | |||
838 | fi | 838 | fi |
839 | 839 | ||
840 | if test -n "$ac_init_help"; then | 840 | if 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 | ||
844 | Optional Features: | 846 | Optional 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 | |||
1001 | test -n "$ac_init_help" && exit 0 | 1003 | test -n "$ac_init_help" && exit 0 |
1002 | if $ac_init_version; then | 1004 | if $ac_init_version; then |
1003 | cat <<\_ACEOF | 1005 | cat <<\_ACEOF |
1006 | OpenSSH configure Portable | ||
1007 | generated by GNU Autoconf 2.59 | ||
1004 | 1008 | ||
1005 | Copyright (C) 2003 Free Software Foundation, Inc. | 1009 | Copyright (C) 2003 Free Software Foundation, Inc. |
1006 | This configure script is free software; the Free Software Foundation | 1010 | This configure script is free software; the Free Software Foundation |
@@ -1013,7 +1017,7 @@ cat >&5 <<_ACEOF | |||
1013 | This file contains any messages produced by compilers while | 1017 | This file contains any messages produced by compilers while |
1014 | running configure, to aid debugging if configure makes a mistake. | 1018 | running configure, to aid debugging if configure makes a mistake. |
1015 | 1019 | ||
1016 | It was created by $as_me, which was | 1020 | It was created by OpenSSH $as_me Portable, which was |
1017 | generated by GNU Autoconf 2.59. Invocation command line was | 1021 | generated 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 | ||
1348 | ac_ext=c | 1360 | ac_ext=c |
@@ -4347,6 +4359,292 @@ fi | |||
4347 | 4359 | ||
4348 | fi | 4360 | fi |
4349 | 4361 | ||
4362 | echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 | ||
4363 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6 | ||
4364 | if test "${ac_cv_have_decl_authenticate+set}" = set; then | ||
4365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4366 | else | ||
4367 | cat >conftest.$ac_ext <<_ACEOF | ||
4368 | /* confdefs.h. */ | ||
4369 | _ACEOF | ||
4370 | cat confdefs.h >>conftest.$ac_ext | ||
4371 | cat >>conftest.$ac_ext <<_ACEOF | ||
4372 | /* end confdefs.h. */ | ||
4373 | #include <usersec.h> | ||
4374 | |||
4375 | int | ||
4376 | main () | ||
4377 | { | ||
4378 | #ifndef authenticate | ||
4379 | char *p = (char *) authenticate; | ||
4380 | #endif | ||
4381 | |||
4382 | ; | ||
4383 | return 0; | ||
4384 | } | ||
4385 | _ACEOF | ||
4386 | rm -f conftest.$ac_objext | ||
4387 | if { (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 | ||
4409 | else | ||
4410 | echo "$as_me: failed program was:" >&5 | ||
4411 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4412 | |||
4413 | ac_cv_have_decl_authenticate=no | ||
4414 | fi | ||
4415 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4416 | fi | ||
4417 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 | ||
4418 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6 | ||
4419 | if test $ac_cv_have_decl_authenticate = yes; then | ||
4420 | |||
4421 | cat >>confdefs.h <<_ACEOF | ||
4422 | #define HAVE_DECL_AUTHENTICATE 1 | ||
4423 | _ACEOF | ||
4424 | |||
4425 | |||
4426 | else | ||
4427 | cat >>confdefs.h <<_ACEOF | ||
4428 | #define HAVE_DECL_AUTHENTICATE 0 | ||
4429 | _ACEOF | ||
4430 | |||
4431 | |||
4432 | fi | ||
4433 | echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 | ||
4434 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6 | ||
4435 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then | ||
4436 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4437 | else | ||
4438 | cat >conftest.$ac_ext <<_ACEOF | ||
4439 | /* confdefs.h. */ | ||
4440 | _ACEOF | ||
4441 | cat confdefs.h >>conftest.$ac_ext | ||
4442 | cat >>conftest.$ac_ext <<_ACEOF | ||
4443 | /* end confdefs.h. */ | ||
4444 | #include <usersec.h> | ||
4445 | |||
4446 | int | ||
4447 | main () | ||
4448 | { | ||
4449 | #ifndef loginrestrictions | ||
4450 | char *p = (char *) loginrestrictions; | ||
4451 | #endif | ||
4452 | |||
4453 | ; | ||
4454 | return 0; | ||
4455 | } | ||
4456 | _ACEOF | ||
4457 | rm -f conftest.$ac_objext | ||
4458 | if { (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 | ||
4480 | else | ||
4481 | echo "$as_me: failed program was:" >&5 | ||
4482 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4483 | |||
4484 | ac_cv_have_decl_loginrestrictions=no | ||
4485 | fi | ||
4486 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4487 | fi | ||
4488 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 | ||
4489 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6 | ||
4490 | if test $ac_cv_have_decl_loginrestrictions = yes; then | ||
4491 | |||
4492 | cat >>confdefs.h <<_ACEOF | ||
4493 | #define HAVE_DECL_LOGINRESTRICTIONS 1 | ||
4494 | _ACEOF | ||
4495 | |||
4496 | |||
4497 | else | ||
4498 | cat >>confdefs.h <<_ACEOF | ||
4499 | #define HAVE_DECL_LOGINRESTRICTIONS 0 | ||
4500 | _ACEOF | ||
4501 | |||
4502 | |||
4503 | fi | ||
4504 | echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 | ||
4505 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6 | ||
4506 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then | ||
4507 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4508 | else | ||
4509 | cat >conftest.$ac_ext <<_ACEOF | ||
4510 | /* confdefs.h. */ | ||
4511 | _ACEOF | ||
4512 | cat confdefs.h >>conftest.$ac_ext | ||
4513 | cat >>conftest.$ac_ext <<_ACEOF | ||
4514 | /* end confdefs.h. */ | ||
4515 | #include <usersec.h> | ||
4516 | |||
4517 | int | ||
4518 | main () | ||
4519 | { | ||
4520 | #ifndef loginsuccess | ||
4521 | char *p = (char *) loginsuccess; | ||
4522 | #endif | ||
4523 | |||
4524 | ; | ||
4525 | return 0; | ||
4526 | } | ||
4527 | _ACEOF | ||
4528 | rm -f conftest.$ac_objext | ||
4529 | if { (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 | ||
4551 | else | ||
4552 | echo "$as_me: failed program was:" >&5 | ||
4553 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4554 | |||
4555 | ac_cv_have_decl_loginsuccess=no | ||
4556 | fi | ||
4557 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4558 | fi | ||
4559 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 | ||
4560 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6 | ||
4561 | if test $ac_cv_have_decl_loginsuccess = yes; then | ||
4562 | |||
4563 | cat >>confdefs.h <<_ACEOF | ||
4564 | #define HAVE_DECL_LOGINSUCCESS 1 | ||
4565 | _ACEOF | ||
4566 | |||
4567 | |||
4568 | else | ||
4569 | cat >>confdefs.h <<_ACEOF | ||
4570 | #define HAVE_DECL_LOGINSUCCESS 0 | ||
4571 | _ACEOF | ||
4572 | |||
4573 | |||
4574 | fi | ||
4575 | echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 | ||
4576 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6 | ||
4577 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then | ||
4578 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4579 | else | ||
4580 | cat >conftest.$ac_ext <<_ACEOF | ||
4581 | /* confdefs.h. */ | ||
4582 | _ACEOF | ||
4583 | cat confdefs.h >>conftest.$ac_ext | ||
4584 | cat >>conftest.$ac_ext <<_ACEOF | ||
4585 | /* end confdefs.h. */ | ||
4586 | #include <usersec.h> | ||
4587 | |||
4588 | int | ||
4589 | main () | ||
4590 | { | ||
4591 | #ifndef passwdexpired | ||
4592 | char *p = (char *) passwdexpired; | ||
4593 | #endif | ||
4594 | |||
4595 | ; | ||
4596 | return 0; | ||
4597 | } | ||
4598 | _ACEOF | ||
4599 | rm -f conftest.$ac_objext | ||
4600 | if { (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 | ||
4622 | else | ||
4623 | echo "$as_me: failed program was:" >&5 | ||
4624 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4625 | |||
4626 | ac_cv_have_decl_passwdexpired=no | ||
4627 | fi | ||
4628 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4629 | fi | ||
4630 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 | ||
4631 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6 | ||
4632 | if test $ac_cv_have_decl_passwdexpired = yes; then | ||
4633 | |||
4634 | cat >>confdefs.h <<_ACEOF | ||
4635 | #define HAVE_DECL_PASSWDEXPIRED 1 | ||
4636 | _ACEOF | ||
4637 | |||
4638 | |||
4639 | else | ||
4640 | cat >>confdefs.h <<_ACEOF | ||
4641 | #define HAVE_DECL_PASSWDEXPIRED 0 | ||
4642 | _ACEOF | ||
4643 | |||
4644 | |||
4645 | fi | ||
4646 | |||
4647 | |||
4350 | echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 | 4648 | echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 |
4351 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 | 4649 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 |
4352 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | 4650 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then |
@@ -4406,7 +4704,12 @@ fi | |||
4406 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 | 4704 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 |
4407 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 | 4705 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 |
4408 | if test $ac_cv_have_decl_loginfailed = yes; then | 4706 | if test $ac_cv_have_decl_loginfailed = yes; then |
4409 | echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 | 4707 | |
4708 | cat >>confdefs.h <<_ACEOF | ||
4709 | #define HAVE_DECL_LOGINFAILED 1 | ||
4710 | _ACEOF | ||
4711 | |||
4712 | echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 | ||
4410 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 | 4713 | echo $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 | ||
4461 | fi | 4764 | fi |
4462 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 4765 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4766 | else | ||
4767 | cat >>confdefs.h <<_ACEOF | ||
4768 | #define HAVE_DECL_LOGINFAILED 0 | ||
4769 | _ACEOF | ||
4770 | |||
4771 | |||
4463 | fi | 4772 | fi |
4464 | 4773 | ||
4465 | 4774 | ||
4775 | |||
4466 | for ac_func in setauthdb | 4776 | for ac_func in setauthdb |
4467 | do | 4777 | do |
4468 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4778 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
@@ -4564,10 +4874,7 @@ _ACEOF | |||
4564 | fi | 4874 | fi |
4565 | done | 4875 | done |
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 | |||
5271 | cat >>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 | ||
4970 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 5279 | echo "$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 | |||
5549 | cat >>confdefs.h <<\_ACEOF | ||
5550 | #define _PATH_BTMP "/var/log/btmp" | ||
5551 | _ACEOF | ||
5552 | |||
5553 | |||
5554 | cat >>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 | ||
5569 | fi | 5888 | fi |
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 | ||
5892 | echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6 | ||
5893 | if test "${ac_cv_lib_res_query_resolv+set}" = set; then | ||
5894 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5895 | else | ||
5896 | ac_check_lib_save_LIBS=$LIBS | ||
5897 | LIBS="-lres_query $LIBS" | ||
5898 | cat >conftest.$ac_ext <<_ACEOF | ||
5899 | /* confdefs.h. */ | ||
5900 | _ACEOF | ||
5901 | cat confdefs.h >>conftest.$ac_ext | ||
5902 | cat >>conftest.$ac_ext <<_ACEOF | ||
5903 | /* end confdefs.h. */ | ||
5904 | |||
5905 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5906 | #ifdef __cplusplus | ||
5907 | extern "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. */ | ||
5911 | char resolv (); | ||
5912 | int | ||
5913 | main () | ||
5914 | { | ||
5915 | resolv (); | ||
5916 | ; | ||
5917 | return 0; | ||
5918 | } | ||
5919 | _ACEOF | ||
5920 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5921 | if { (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 | ||
5943 | else | ||
5944 | echo "$as_me: failed program was:" >&5 | ||
5945 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5946 | |||
5947 | ac_cv_lib_res_query_resolv=no | ||
5948 | fi | ||
5949 | rm -f conftest.err conftest.$ac_objext \ | ||
5950 | conftest$ac_exeext conftest.$ac_ext | ||
5951 | LIBS=$ac_check_lib_save_LIBS | ||
5952 | fi | ||
5953 | echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5 | ||
5954 | echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6 | ||
5955 | if test $ac_cv_lib_res_query_resolv = yes; then | ||
5956 | LIBS="$LIBS -lresolv" | ||
5957 | fi | ||
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" | 6032 | echo "$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 | |||
5682 | for ac_func in getluid setluid | ||
5683 | do | ||
5684 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
5685 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
5686 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
5687 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
5688 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5689 | else | ||
5690 | cat >conftest.$ac_ext <<_ACEOF | ||
5691 | /* confdefs.h. */ | ||
5692 | _ACEOF | ||
5693 | cat confdefs.h >>conftest.$ac_ext | ||
5694 | cat >>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 | ||
5715 | extern "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. */ | ||
5720 | char $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) | ||
5725 | choke me | ||
5726 | #else | ||
5727 | char (*f) () = $ac_func; | ||
5728 | #endif | ||
5729 | #ifdef __cplusplus | ||
5730 | } | ||
5731 | #endif | ||
5732 | |||
5733 | int | ||
5734 | main () | ||
5735 | { | ||
5736 | return f != $ac_func; | ||
5737 | ; | ||
5738 | return 0; | ||
5739 | } | ||
5740 | _ACEOF | ||
5741 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5742 | if { (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" | ||
5764 | else | ||
5765 | echo "$as_me: failed program was:" >&5 | ||
5766 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5767 | |||
5768 | eval "$as_ac_var=no" | ||
5769 | fi | ||
5770 | rm -f conftest.err conftest.$ac_objext \ | ||
5771 | conftest$ac_exeext conftest.$ac_ext | ||
5772 | fi | ||
5773 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
5774 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
5775 | if 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 | |||
5780 | fi | ||
5781 | done | ||
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 | ||
6079 | cat >>confdefs.h <<\_ACEOF | ||
6080 | #define PASSWD_NEEDS_USERNAME 1 | ||
6081 | _ACEOF | ||
6082 | |||
6083 | |||
5830 | 6084 | ||
5831 | for ac_func in getluid setluid | 6085 | for ac_func in getluid setluid |
5832 | do | 6086 | do |
@@ -6152,11 +6406,9 @@ fi; | |||
6152 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | 6406 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
6153 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | 6407 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 |
6154 | if test "$cross_compiling" = yes; then | 6408 | if 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 |
6156 | See \`config.log' for more details." >&5 | 6410 | echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} |
6157 | echo "$as_me: error: cannot run test program while cross compiling | 6411 | |
6158 | See \`config.log' for more details." >&2;} | ||
6159 | { (exit 1); exit 1; }; } | ||
6160 | else | 6412 | else |
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 | |||
6195 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | 6447 | echo "$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 | |||
6199 | fi | 6450 | fi |
6200 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6451 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6201 | fi | 6452 | fi |
@@ -6510,7 +6761,6 @@ done | |||
6510 | 6761 | ||
6511 | 6762 | ||
6512 | 6763 | ||
6513 | |||
6514 | for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ | 6764 | for 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 |
6524 | do | 6774 | do |
@@ -6641,9 +6891,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
6641 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6891 | echo "$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 | |||
6670 | done | 6920 | done |
6671 | 6921 | ||
6672 | 6922 | ||
6923 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | ||
6924 | |||
6925 | for ac_header in sys/ptms.h | ||
6926 | do | ||
6927 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
6928 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6929 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6930 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6931 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6932 | else | ||
6933 | cat >conftest.$ac_ext <<_ACEOF | ||
6934 | /* confdefs.h. */ | ||
6935 | _ACEOF | ||
6936 | cat confdefs.h >>conftest.$ac_ext | ||
6937 | cat >>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 | ||
6947 | rm -f conftest.$ac_objext | ||
6948 | if { (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" | ||
6970 | else | ||
6971 | echo "$as_me: failed program was:" >&5 | ||
6972 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6973 | |||
6974 | eval "$as_ac_Header=no" | ||
6975 | fi | ||
6976 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6977 | fi | ||
6978 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6979 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6980 | if 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 | |||
6985 | fi | ||
6986 | |||
6987 | done | ||
6988 | |||
6989 | |||
6673 | # Checks for libraries. | 6990 | # Checks for libraries. |
6674 | echo "$as_me:$LINENO: checking for yp_match" >&5 | 6991 | echo "$as_me:$LINENO: checking for yp_match" >&5 |
6675 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | 6992 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 |
@@ -7010,79 +7327,6 @@ fi | |||
7010 | fi | 7327 | fi |
7011 | 7328 | ||
7012 | 7329 | ||
7013 | if 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 | ||
7016 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 | ||
7017 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then | ||
7018 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7019 | else | ||
7020 | ac_check_lib_save_LIBS=$LIBS | ||
7021 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
7022 | cat >conftest.$ac_ext <<_ACEOF | ||
7023 | /* confdefs.h. */ | ||
7024 | _ACEOF | ||
7025 | cat confdefs.h >>conftest.$ac_ext | ||
7026 | cat >>conftest.$ac_ext <<_ACEOF | ||
7027 | /* end confdefs.h. */ | ||
7028 | |||
7029 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
7030 | #ifdef __cplusplus | ||
7031 | extern "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. */ | ||
7035 | char innetgr (); | ||
7036 | int | ||
7037 | main () | ||
7038 | { | ||
7039 | innetgr (); | ||
7040 | ; | ||
7041 | return 0; | ||
7042 | } | ||
7043 | _ACEOF | ||
7044 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
7045 | if { (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 | ||
7067 | else | ||
7068 | echo "$as_me: failed program was:" >&5 | ||
7069 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7070 | |||
7071 | ac_cv_lib_rpc_innetgr=no | ||
7072 | fi | ||
7073 | rm -f conftest.err conftest.$ac_objext \ | ||
7074 | conftest$ac_exeext conftest.$ac_ext | ||
7075 | LIBS=$ac_check_lib_save_LIBS | ||
7076 | fi | ||
7077 | echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5 | ||
7078 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 | ||
7079 | if test $ac_cv_lib_rpc_innetgr = yes; then | ||
7080 | LIBS="-lrpc -lyp -lrpc $LIBS" | ||
7081 | fi | ||
7082 | |||
7083 | fi | ||
7084 | fi | ||
7085 | |||
7086 | 7330 | ||
7087 | for ac_func in dirname | 7331 | for ac_func in dirname |
7088 | do | 7332 | do |
@@ -7303,9 +7547,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7303 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7547 | echo "$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" >& | |||
7593 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7837 | echo "$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;} | |||
8222 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 8466 | echo "$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; | |||
8265 | echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5 | 8509 | echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5 |
8266 | echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 | 8510 | echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 |
8267 | if test "$cross_compiling" = yes; then | 8511 | if 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 |
8269 | See \`config.log' for more details." >&5 | 8513 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} |
8270 | echo "$as_me: error: cannot run test program while cross compiling | 8514 | |
8271 | See \`config.log' for more details." >&2;} | ||
8272 | { (exit 1); exit 1; }; } | ||
8273 | else | 8515 | else |
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;} | |||
8331 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} | 8573 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} |
8332 | fi | 8574 | fi |
8333 | 8575 | ||
8334 | |||
8335 | fi | 8576 | fi |
8336 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8577 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8337 | fi | 8578 | fi |
@@ -8791,9 +9032,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
8791 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9032 | echo "$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* | |||
9303 | echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | 9544 | echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 |
9304 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 | 9545 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 |
9305 | if test "$cross_compiling" = yes; then | 9546 | if test "$cross_compiling" = yes; then |
9306 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 9547 | |
9307 | See \`config.log' for more details." >&5 | 9548 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 |
9308 | echo "$as_me: error: cannot run test program while cross compiling | 9549 | echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} |
9309 | See \`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 | |||
9311 | else | 9556 | else |
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 | |||
9352 | fi | 9596 | fi |
9353 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 9597 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9354 | fi | 9598 | fi |
@@ -9605,6 +9849,574 @@ rm -f conftest.err conftest.$ac_objext \ | |||
9605 | 9849 | ||
9606 | fi; | 9850 | fi; |
9607 | 9851 | ||
9852 | # Check whether user wants libedit support | ||
9853 | LIBEDIT_MSG="no" | ||
9854 | |||
9855 | # Check whether --with-libedit or --without-libedit was given. | ||
9856 | if 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 | ||
9860 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 | ||
9861 | if test "${ac_cv_lib_edit_el_init+set}" = set; then | ||
9862 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9863 | else | ||
9864 | ac_check_lib_save_LIBS=$LIBS | ||
9865 | LIBS="-ledit -lcurses | ||
9866 | $LIBS" | ||
9867 | cat >conftest.$ac_ext <<_ACEOF | ||
9868 | /* confdefs.h. */ | ||
9869 | _ACEOF | ||
9870 | cat confdefs.h >>conftest.$ac_ext | ||
9871 | cat >>conftest.$ac_ext <<_ACEOF | ||
9872 | /* end confdefs.h. */ | ||
9873 | |||
9874 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
9875 | #ifdef __cplusplus | ||
9876 | extern "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. */ | ||
9880 | char el_init (); | ||
9881 | int | ||
9882 | main () | ||
9883 | { | ||
9884 | el_init (); | ||
9885 | ; | ||
9886 | return 0; | ||
9887 | } | ||
9888 | _ACEOF | ||
9889 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9890 | if { (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 | ||
9912 | else | ||
9913 | echo "$as_me: failed program was:" >&5 | ||
9914 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9915 | |||
9916 | ac_cv_lib_edit_el_init=no | ||
9917 | fi | ||
9918 | rm -f conftest.err conftest.$ac_objext \ | ||
9919 | conftest$ac_exeext conftest.$ac_ext | ||
9920 | LIBS=$ac_check_lib_save_LIBS | ||
9921 | fi | ||
9922 | echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 | ||
9923 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6 | ||
9924 | if test $ac_cv_lib_edit_el_init = yes; then | ||
9925 | |||
9926 | cat >>confdefs.h <<\_ACEOF | ||
9927 | #define USE_LIBEDIT | ||
9928 | _ACEOF | ||
9929 | |||
9930 | LIBEDIT="-ledit -lcurses" | ||
9931 | LIBEDIT_MSG="yes" | ||
9932 | |||
9933 | |||
9934 | fi | ||
9935 | |||
9936 | fi | ||
9937 | |||
9938 | fi; | ||
9939 | |||
9940 | AUDIT_MODULE=none | ||
9941 | |||
9942 | # Check whether --with-audit or --without-audit was given. | ||
9943 | if test "${with_audit+set}" = set; then | ||
9944 | withval="$with_audit" | ||
9945 | |||
9946 | echo "$as_me:$LINENO: checking for supported audit module" >&5 | ||
9947 | echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6 | ||
9948 | case "$withval" in | ||
9949 | bsm) | ||
9950 | echo "$as_me:$LINENO: result: bsm" >&5 | ||
9951 | echo "${ECHO_T}bsm" >&6 | ||
9952 | AUDIT_MODULE=bsm | ||
9953 | |||
9954 | for ac_header in bsm/audit.h | ||
9955 | do | ||
9956 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
9957 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
9958 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9959 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
9960 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
9961 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9962 | fi | ||
9963 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
9964 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
9965 | else | ||
9966 | # Is the header compilable? | ||
9967 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
9968 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
9969 | cat >conftest.$ac_ext <<_ACEOF | ||
9970 | /* confdefs.h. */ | ||
9971 | _ACEOF | ||
9972 | cat confdefs.h >>conftest.$ac_ext | ||
9973 | cat >>conftest.$ac_ext <<_ACEOF | ||
9974 | /* end confdefs.h. */ | ||
9975 | $ac_includes_default | ||
9976 | #include <$ac_header> | ||
9977 | _ACEOF | ||
9978 | rm -f conftest.$ac_objext | ||
9979 | if { (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 | ||
10001 | else | ||
10002 | echo "$as_me: failed program was:" >&5 | ||
10003 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10004 | |||
10005 | ac_header_compiler=no | ||
10006 | fi | ||
10007 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10008 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10009 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
10010 | |||
10011 | # Is the header present? | ||
10012 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
10013 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
10014 | cat >conftest.$ac_ext <<_ACEOF | ||
10015 | /* confdefs.h. */ | ||
10016 | _ACEOF | ||
10017 | cat confdefs.h >>conftest.$ac_ext | ||
10018 | cat >>conftest.$ac_ext <<_ACEOF | ||
10019 | /* end confdefs.h. */ | ||
10020 | #include <$ac_header> | ||
10021 | _ACEOF | ||
10022 | if { (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 | ||
10036 | else | ||
10037 | ac_cpp_err=yes | ||
10038 | fi | ||
10039 | if test -z "$ac_cpp_err"; then | ||
10040 | ac_header_preproc=yes | ||
10041 | else | ||
10042 | echo "$as_me: failed program was:" >&5 | ||
10043 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10044 | |||
10045 | ac_header_preproc=no | ||
10046 | fi | ||
10047 | rm -f conftest.err conftest.$ac_ext | ||
10048 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10049 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
10050 | |||
10051 | # So? What about this header? | ||
10052 | case $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 | ||
10055 | echo "$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 | ||
10057 | echo "$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 | ||
10062 | echo "$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 | ||
10064 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
10065 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
10066 | echo "$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 | ||
10068 | echo "$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 | ||
10070 | echo "$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 | ||
10072 | echo "$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 | ;; | ||
10082 | esac | ||
10083 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10084 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
10085 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
10086 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10087 | else | ||
10088 | eval "$as_ac_Header=\$ac_header_preproc" | ||
10089 | fi | ||
10090 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
10091 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
10092 | |||
10093 | fi | ||
10094 | if 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 | |||
10099 | else | ||
10100 | { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5 | ||
10101 | echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;} | ||
10102 | { (exit 1); exit 1; }; } | ||
10103 | fi | ||
10104 | |||
10105 | done | ||
10106 | |||
10107 | |||
10108 | echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 | ||
10109 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6 | ||
10110 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then | ||
10111 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10112 | else | ||
10113 | ac_check_lib_save_LIBS=$LIBS | ||
10114 | LIBS="-lbsm $LIBS" | ||
10115 | cat >conftest.$ac_ext <<_ACEOF | ||
10116 | /* confdefs.h. */ | ||
10117 | _ACEOF | ||
10118 | cat confdefs.h >>conftest.$ac_ext | ||
10119 | cat >>conftest.$ac_ext <<_ACEOF | ||
10120 | /* end confdefs.h. */ | ||
10121 | |||
10122 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
10123 | #ifdef __cplusplus | ||
10124 | extern "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. */ | ||
10128 | char getaudit (); | ||
10129 | int | ||
10130 | main () | ||
10131 | { | ||
10132 | getaudit (); | ||
10133 | ; | ||
10134 | return 0; | ||
10135 | } | ||
10136 | _ACEOF | ||
10137 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10138 | if { (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 | ||
10160 | else | ||
10161 | echo "$as_me: failed program was:" >&5 | ||
10162 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10163 | |||
10164 | ac_cv_lib_bsm_getaudit=no | ||
10165 | fi | ||
10166 | rm -f conftest.err conftest.$ac_objext \ | ||
10167 | conftest$ac_exeext conftest.$ac_ext | ||
10168 | LIBS=$ac_check_lib_save_LIBS | ||
10169 | fi | ||
10170 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 | ||
10171 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6 | ||
10172 | if 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 | |||
10179 | else | ||
10180 | { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5 | ||
10181 | echo "$as_me: error: BSM enabled and required library not found" >&2;} | ||
10182 | { (exit 1); exit 1; }; } | ||
10183 | fi | ||
10184 | |||
10185 | |||
10186 | for ac_func in getaudit | ||
10187 | do | ||
10188 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
10189 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10190 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
10191 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
10192 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10193 | else | ||
10194 | cat >conftest.$ac_ext <<_ACEOF | ||
10195 | /* confdefs.h. */ | ||
10196 | _ACEOF | ||
10197 | cat confdefs.h >>conftest.$ac_ext | ||
10198 | cat >>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 | ||
10219 | extern "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. */ | ||
10224 | char $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) | ||
10229 | choke me | ||
10230 | #else | ||
10231 | char (*f) () = $ac_func; | ||
10232 | #endif | ||
10233 | #ifdef __cplusplus | ||
10234 | } | ||
10235 | #endif | ||
10236 | |||
10237 | int | ||
10238 | main () | ||
10239 | { | ||
10240 | return f != $ac_func; | ||
10241 | ; | ||
10242 | return 0; | ||
10243 | } | ||
10244 | _ACEOF | ||
10245 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10246 | if { (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" | ||
10268 | else | ||
10269 | echo "$as_me: failed program was:" >&5 | ||
10270 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10271 | |||
10272 | eval "$as_ac_var=no" | ||
10273 | fi | ||
10274 | rm -f conftest.err conftest.$ac_objext \ | ||
10275 | conftest$ac_exeext conftest.$ac_ext | ||
10276 | fi | ||
10277 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
10278 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
10279 | if 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 | |||
10284 | else | ||
10285 | { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5 | ||
10286 | echo "$as_me: error: BSM enabled and required function not found" >&2;} | ||
10287 | { (exit 1); exit 1; }; } | ||
10288 | fi | ||
10289 | done | ||
10290 | |||
10291 | # These are optional | ||
10292 | |||
10293 | for ac_func in getaudit_addr | ||
10294 | do | ||
10295 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
10296 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10297 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
10298 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
10299 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10300 | else | ||
10301 | cat >conftest.$ac_ext <<_ACEOF | ||
10302 | /* confdefs.h. */ | ||
10303 | _ACEOF | ||
10304 | cat confdefs.h >>conftest.$ac_ext | ||
10305 | cat >>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 | ||
10326 | extern "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. */ | ||
10331 | char $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) | ||
10336 | choke me | ||
10337 | #else | ||
10338 | char (*f) () = $ac_func; | ||
10339 | #endif | ||
10340 | #ifdef __cplusplus | ||
10341 | } | ||
10342 | #endif | ||
10343 | |||
10344 | int | ||
10345 | main () | ||
10346 | { | ||
10347 | return f != $ac_func; | ||
10348 | ; | ||
10349 | return 0; | ||
10350 | } | ||
10351 | _ACEOF | ||
10352 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10353 | if { (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" | ||
10375 | else | ||
10376 | echo "$as_me: failed program was:" >&5 | ||
10377 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10378 | |||
10379 | eval "$as_ac_var=no" | ||
10380 | fi | ||
10381 | rm -f conftest.err conftest.$ac_objext \ | ||
10382 | conftest$ac_exeext conftest.$ac_ext | ||
10383 | fi | ||
10384 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
10385 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
10386 | if 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 | |||
10391 | fi | ||
10392 | done | ||
10393 | |||
10394 | |||
10395 | cat >>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 | ||
10403 | echo "${ECHO_T}debug" >&6 | ||
10404 | |||
10405 | cat >>confdefs.h <<\_ACEOF | ||
10406 | #define SSH_AUDIT_EVENTS | ||
10407 | _ACEOF | ||
10408 | |||
10409 | ;; | ||
10410 | *) | ||
10411 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | ||
10412 | echo "$as_me: error: Unknown audit module $withval" >&2;} | ||
10413 | { (exit 1); exit 1; }; } | ||
10414 | ;; | ||
10415 | esac | ||
10416 | |||
10417 | fi; | ||
10418 | |||
10419 | |||
9608 | 10420 | ||
9609 | 10421 | ||
9610 | 10422 | ||
@@ -9684,9 +10496,9 @@ fi; | |||
9684 | 10496 | ||
9685 | for ac_func in \ | 10497 | for 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 |
10761 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 | 11573 | echo $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 |
10764 | See \`config.log' for more details." >&5 | 11576 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
10765 | echo "$as_me: error: cannot run test program while cross compiling | 11577 | |
10766 | See \`config.log' for more details." >&2;} | ||
10767 | { (exit 1); exit 1; }; } | ||
10768 | else | 11578 | else |
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 |
10805 | echo "${ECHO_T}not implemented" >&6 | 11615 | echo "${ECHO_T}not implemented" >&6 |
10806 | |||
10807 | fi | 11616 | fi |
10808 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11617 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10809 | fi | 11618 | fi |
@@ -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 |
10915 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 | 11724 | echo $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 |
10918 | See \`config.log' for more details." >&5 | 11727 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
10919 | echo "$as_me: error: cannot run test program while cross compiling | 11728 | |
10920 | See \`config.log' for more details." >&2;} | ||
10921 | { (exit 1); exit 1; }; } | ||
10922 | else | 11729 | else |
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 |
10959 | echo "${ECHO_T}not implemented" >&6 | 11766 | echo "${ECHO_T}not implemented" >&6 |
10960 | |||
10961 | fi | 11767 | fi |
10962 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11768 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10963 | fi | 11769 | fi |
@@ -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 |
11836 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | 12642 | echo $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 |
11839 | See \`config.log' for more details." >&5 | 12645 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
11840 | echo "$as_me: error: cannot run test program while cross compiling | 12646 | |
11841 | See \`config.log' for more details." >&2;} | ||
11842 | { (exit 1); exit 1; }; } | ||
11843 | else | 12647 | else |
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 |
11882 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | 12686 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
11883 | 12687 | ||
11884 | |||
11885 | fi | 12688 | fi |
11886 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12689 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11887 | fi | 12690 | fi |
@@ -12199,6 +13002,159 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes | |||
12199 | fi | 13002 | fi |
12200 | fi | 13003 | fi |
12201 | 13004 | ||
13005 | if 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 | ||
13007 | echo $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 | ||
13010 | See \`config.log' for more details." >&5 | ||
13011 | echo "$as_me: error: cannot run test program while cross compiling | ||
13012 | See \`config.log' for more details." >&2;} | ||
13013 | { (exit 1); exit 1; }; } | ||
13014 | else | ||
13015 | cat >conftest.$ac_ext <<_ACEOF | ||
13016 | /* confdefs.h. */ | ||
13017 | _ACEOF | ||
13018 | cat confdefs.h >>conftest.$ac_ext | ||
13019 | cat >>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 | |||
13030 | int | ||
13031 | main(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 | ||
13065 | rm -f conftest$ac_exeext | ||
13066 | if { (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 | ||
13078 | echo "${ECHO_T}yes" >&6 | ||
13079 | |||
13080 | cat >>confdefs.h <<\_ACEOF | ||
13081 | #define AIX_GETNAMEINFO_HACK | ||
13082 | _ACEOF | ||
13083 | |||
13084 | |||
13085 | else | ||
13086 | echo "$as_me: program exited with status $ac_status" >&5 | ||
13087 | echo "$as_me: failed program was:" >&5 | ||
13088 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13089 | |||
13090 | ( exit $ac_status ) | ||
13091 | |||
13092 | echo "$as_me:$LINENO: result: no" >&5 | ||
13093 | echo "${ECHO_T}no" >&6 | ||
13094 | cat >>confdefs.h <<\_ACEOF | ||
13095 | #define BROKEN_GETADDRINFO 1 | ||
13096 | _ACEOF | ||
13097 | |||
13098 | |||
13099 | |||
13100 | fi | ||
13101 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
13102 | fi | ||
13103 | fi | ||
13104 | |||
13105 | if test "x$check_for_conflicting_getspnam" = "x1"; then | ||
13106 | echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 | ||
13107 | echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6 | ||
13108 | cat >conftest.$ac_ext <<_ACEOF | ||
13109 | |||
13110 | #include <shadow.h> | ||
13111 | int main(void) {exit(0);} | ||
13112 | |||
13113 | _ACEOF | ||
13114 | rm -f conftest.$ac_objext | ||
13115 | if { (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 | ||
13138 | echo "${ECHO_T}no" >&6 | ||
13139 | |||
13140 | else | ||
13141 | echo "$as_me: failed program was:" >&5 | ||
13142 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13143 | |||
13144 | |||
13145 | echo "$as_me:$LINENO: result: yes" >&5 | ||
13146 | echo "${ECHO_T}yes" >&6 | ||
13147 | |||
13148 | cat >>confdefs.h <<\_ACEOF | ||
13149 | #define GETSPNAM_CONFLICTING_DEFS 1 | ||
13150 | _ACEOF | ||
13151 | |||
13152 | |||
13153 | |||
13154 | fi | ||
13155 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13156 | fi | ||
13157 | |||
12202 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 13158 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
12203 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 13159 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 |
12204 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 13160 | if 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 \ | |||
12883 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | 13843 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 |
12884 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | 13844 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 |
12885 | if test "$cross_compiling" = yes; then | 13845 | if test "$cross_compiling" = yes; then |
12886 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 13846 | |
12887 | See \`config.log' for more details." >&5 | 13847 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
12888 | echo "$as_me: error: cannot run test program while cross compiling | 13848 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
12889 | See \`config.log' for more details." >&2;} | 13849 | |
12890 | { (exit 1); exit 1; }; } | 13850 | |
12891 | else | 13851 | else |
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 | |||
12944 | echo "$as_me: error: OpenSSL version header not found." >&2;} | 13904 | echo "$as_me: error: OpenSSL version header not found." >&2;} |
12945 | { (exit 1); exit 1; }; } | 13905 | { (exit 1); exit 1; }; } |
12946 | 13906 | ||
12947 | |||
12948 | fi | 13907 | fi |
12949 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13908 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12950 | fi | 13909 | fi |
@@ -12953,11 +13912,11 @@ fi | |||
12953 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | 13912 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 |
12954 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | 13913 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 |
12955 | if test "$cross_compiling" = yes; then | 13914 | if test "$cross_compiling" = yes; then |
12956 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 13915 | |
12957 | See \`config.log' for more details." >&5 | 13916 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
12958 | echo "$as_me: error: cannot run test program while cross compiling | 13917 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
12959 | See \`config.log' for more details." >&2;} | 13918 | |
12960 | { (exit 1); exit 1; }; } | 13919 | |
12961 | else | 13920 | else |
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 | |||
13015 | echo "$as_me: error: OpenSSL library not found." >&2;} | 13974 | echo "$as_me: error: OpenSSL library not found." >&2;} |
13016 | { (exit 1); exit 1; }; } | 13975 | { (exit 1); exit 1; }; } |
13017 | 13976 | ||
13018 | |||
13019 | fi | 13977 | fi |
13020 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13978 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13021 | fi | 13979 | fi |
@@ -13024,11 +13982,11 @@ fi | |||
13024 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | 13982 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 |
13025 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | 13983 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 |
13026 | if test "$cross_compiling" = yes; then | 13984 | if test "$cross_compiling" = yes; then |
13027 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 13985 | |
13028 | See \`config.log' for more details." >&5 | 13986 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
13029 | echo "$as_me: error: cannot run test program while cross compiling | 13987 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
13030 | See \`config.log' for more details." >&2;} | 13988 | |
13031 | { (exit 1); exit 1; }; } | 13989 | |
13032 | else | 13990 | else |
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. | |||
13074 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | 14032 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} |
13075 | { (exit 1); exit 1; }; } | 14033 | { (exit 1); exit 1; }; } |
13076 | 14034 | ||
13077 | |||
13078 | fi | 14035 | fi |
13079 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14036 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13080 | fi | 14037 | fi |
@@ -13238,11 +14195,14 @@ fi | |||
13238 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | 14195 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 |
13239 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | 14196 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 |
13240 | if test "$cross_compiling" = yes; then | 14197 | if test "$cross_compiling" = yes; then |
13241 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 14198 | |
13242 | See \`config.log' for more details." >&5 | 14199 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
13243 | echo "$as_me: error: cannot run test program while cross compiling | 14200 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
13244 | See \`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 | |||
13246 | else | 14206 | else |
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 | |||
13289 | fi | 14248 | fi |
13290 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14249 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13291 | fi | 14250 | fi |
@@ -17288,6 +18247,74 @@ _ACEOF | |||
17288 | fi | 18247 | fi |
17289 | 18248 | ||
17290 | 18249 | ||
18250 | echo "$as_me:$LINENO: checking for in_addr_t" >&5 | ||
18251 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6 | ||
18252 | if test "${ac_cv_type_in_addr_t+set}" = set; then | ||
18253 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18254 | else | ||
18255 | cat >conftest.$ac_ext <<_ACEOF | ||
18256 | /* confdefs.h. */ | ||
18257 | _ACEOF | ||
18258 | cat confdefs.h >>conftest.$ac_ext | ||
18259 | cat >>conftest.$ac_ext <<_ACEOF | ||
18260 | /* end confdefs.h. */ | ||
18261 | #include <sys/types.h> | ||
18262 | #include <netinet/in.h> | ||
18263 | |||
18264 | int | ||
18265 | main () | ||
18266 | { | ||
18267 | if ((in_addr_t *) 0) | ||
18268 | return 0; | ||
18269 | if (sizeof (in_addr_t)) | ||
18270 | return 0; | ||
18271 | ; | ||
18272 | return 0; | ||
18273 | } | ||
18274 | _ACEOF | ||
18275 | rm -f conftest.$ac_objext | ||
18276 | if { (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 | ||
18298 | else | ||
18299 | echo "$as_me: failed program was:" >&5 | ||
18300 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18301 | |||
18302 | ac_cv_type_in_addr_t=no | ||
18303 | fi | ||
18304 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18305 | fi | ||
18306 | echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 | ||
18307 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6 | ||
18308 | if test $ac_cv_type_in_addr_t = yes; then | ||
18309 | |||
18310 | cat >>confdefs.h <<_ACEOF | ||
18311 | #define HAVE_IN_ADDR_T 1 | ||
18312 | _ACEOF | ||
18313 | |||
18314 | |||
18315 | fi | ||
18316 | |||
18317 | |||
17291 | echo "$as_me:$LINENO: checking for size_t" >&5 | 18318 | echo "$as_me:$LINENO: checking for size_t" >&5 |
17292 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 18319 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
17293 | if test "${ac_cv_have_size_t+set}" = set; then | 18320 | if 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; |
18135 | else | 19162 | else |
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 |
18138 | See \`config.log' for more details." >&5 | 19165 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
18139 | echo "$as_me: error: cannot run test program while cross compiling | 19166 | |
18140 | See \`config.log' for more details." >&2;} | ||
18141 | { (exit 1); exit 1; }; } | ||
18142 | else | 19167 | else |
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 | |||
18197 | fi | 19221 | fi |
18198 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 19222 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18199 | fi | 19223 | fi |
@@ -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 |
19392 | else | 20416 | else |
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 | ||
19396 | See \`config.log' for more details." >&5 | ||
19397 | echo "$as_me: error: cannot run test program while cross compiling | ||
19398 | See \`config.log' for more details." >&2;} | ||
19399 | { (exit 1); exit 1; }; } | ||
19400 | else | ||
19401 | cat >conftest.$ac_ext <<_ACEOF | ||
19402 | /* confdefs.h. */ | ||
19403 | _ACEOF | ||
19404 | cat confdefs.h >>conftest.$ac_ext | ||
19405 | cat >>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> |
19411 | int main() { | 20423 | int main() { |
19412 | #ifdef msg_accrights | 20424 | #ifdef msg_accrights |
20425 | #error "msg_accrights is a macro" | ||
19413 | exit(1); | 20426 | exit(1); |
19414 | #endif | 20427 | #endif |
19415 | struct msghdr m; | 20428 | struct msghdr m; |
@@ -19418,12 +20431,23 @@ exit(0); | |||
19418 | } | 20431 | } |
19419 | 20432 | ||
19420 | _ACEOF | 20433 | _ACEOF |
19421 | rm -f conftest$ac_exeext | 20434 | rm -f conftest.$ac_objext |
19422 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20435 | if { (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" |
19433 | else | 20457 | else |
19434 | echo "$as_me: program exited with status $ac_status" >&5 | 20458 | echo "$as_me: failed program was:" >&5 |
19435 | echo "$as_me: failed program was:" >&5 | ||
19436 | sed 's/^/| /' conftest.$ac_ext >&5 | 20459 | sed '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 | ||
19441 | fi | 20463 | fi |
19442 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20464 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19443 | fi | ||
19444 | 20465 | ||
19445 | fi | 20466 | fi |
19446 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | 20467 | echo "$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 |
19459 | else | 20480 | else |
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 | ||
19463 | See \`config.log' for more details." >&5 | ||
19464 | echo "$as_me: error: cannot run test program while cross compiling | ||
19465 | See \`config.log' for more details." >&2;} | ||
19466 | { (exit 1); exit 1; }; } | ||
19467 | else | ||
19468 | cat >conftest.$ac_ext <<_ACEOF | ||
19469 | /* confdefs.h. */ | ||
19470 | _ACEOF | ||
19471 | cat confdefs.h >>conftest.$ac_ext | ||
19472 | cat >>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> |
19478 | int main() { | 20487 | int main() { |
19479 | #ifdef msg_control | 20488 | #ifdef msg_control |
20489 | #error "msg_control is a macro" | ||
19480 | exit(1); | 20490 | exit(1); |
19481 | #endif | 20491 | #endif |
19482 | struct msghdr m; | 20492 | struct msghdr m; |
@@ -19485,12 +20495,23 @@ exit(0); | |||
19485 | } | 20495 | } |
19486 | 20496 | ||
19487 | _ACEOF | 20497 | _ACEOF |
19488 | rm -f conftest$ac_exeext | 20498 | rm -f conftest.$ac_objext |
19489 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20499 | if { (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" |
19500 | else | 20521 | else |
19501 | echo "$as_me: program exited with status $ac_status" >&5 | 20522 | echo "$as_me: failed program was:" >&5 |
19502 | echo "$as_me: failed program was:" >&5 | ||
19503 | sed 's/^/| /' conftest.$ac_ext >&5 | 20523 | sed '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 | ||
19508 | fi | 20527 | fi |
19509 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20528 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19510 | fi | ||
19511 | 20529 | ||
19512 | fi | 20530 | fi |
19513 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | 20531 | echo "$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" >& | |||
20050 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21068 | echo "$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; | |||
21576 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | 22594 | echo "$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" >& | |||
21722 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22740 | echo "$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" | |||
21880 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | 22898 | echo "$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" >& | |||
22039 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23057 | echo "$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" >& | |||
22190 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23208 | echo "$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" >& | |||
22341 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23359 | echo "$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 | ||
22746 | fi | 23764 | fi |
22747 | 23765 | ||
23766 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then | ||
23767 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 | ||
23768 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} | ||
23769 | disable_ptmx_check=yes | ||
23770 | fi | ||
22748 | if test -z "$no_dev_ptmx" ; then | 23771 | if 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 |
22779 | fi | 23802 | fi |
22780 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | 23803 | |
23804 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then | ||
23805 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | ||
22781 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | 23806 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 |
22782 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 23807 | if 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 | |||
22796 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | 23821 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 |
22797 | if test $ac_cv_file___dev_ptc_ = yes; then | 23822 | if 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 | ||
22806 | fi | 23831 | fi |
22807 | 23832 | ||
23833 | else | ||
23834 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5 | ||
23835 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} | ||
23836 | fi | ||
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. |
23021 | if test "${enable_etc_default_login+set}" = set; then | 24050 | if 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 | ||
24054 | echo "$as_me: /etc/default/login handling disabled" >&6;} | ||
24055 | etc_default_login=no | ||
24056 | else | ||
24057 | etc_default_login=yes | ||
24058 | fi | ||
23024 | else | 24059 | else |
24060 | etc_default_login=yes | ||
24061 | |||
24062 | fi; | ||
23025 | 24063 | ||
23026 | echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 | 24064 | if test "x$etc_default_login" != "xno"; then |
24065 | echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 | ||
23027 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 | 24066 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 |
23028 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | 24067 | if 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 |
23045 | fi | 24084 | fi |
23046 | 24085 | ||
23047 | 24086 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; | |
23048 | if 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 |
24089 | echo "$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 | ||
23053 | fi | 24096 | fi |
23054 | 24097 | ||
23055 | fi; | ||
23056 | |||
23057 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | 24098 | if 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 | |||
23891 | fi | 24932 | fi |
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 | ||
23896 | cat >confcache <<\_ACEOF | 24937 | cat >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 |
24256 | cat >&5 <<_CSEOF | 25297 | cat >&5 <<_CSEOF |
24257 | 25298 | ||
24258 | This file was extended by $as_me, which was | 25299 | This file was extended by OpenSSH $as_me Portable, which was |
24259 | generated by GNU Autoconf 2.59. Invocation command line was | 25300 | generated 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 | ||
24316 | cat >>$CONFIG_STATUS <<_ACEOF | 25357 | cat >>$CONFIG_STATUS <<_ACEOF |
24317 | ac_cs_version="\\ | 25358 | ac_cs_version="\\ |
24318 | config.status | 25359 | OpenSSH config.status Portable |
24319 | configured by $0, generated by GNU Autoconf 2.59, | 25360 | configured 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 |
24429 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 25471 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
@@ -24548,6 +25590,7 @@ s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t | |||
24548 | s,@LD@,$LD,;t t | 25590 | s,@LD@,$LD,;t t |
24549 | s,@EGREP@,$EGREP,;t t | 25591 | s,@EGREP@,$EGREP,;t t |
24550 | s,@LIBWRAP@,$LIBWRAP,;t t | 25592 | s,@LIBWRAP@,$LIBWRAP,;t t |
25593 | s,@LIBEDIT@,$LIBEDIT,;t t | ||
24551 | s,@LIBPAM@,$LIBPAM,;t t | 25594 | s,@LIBPAM@,$LIBPAM,;t t |
24552 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t | 25595 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t |
24553 | s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t | 25596 | s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t t |
@@ -25115,6 +26158,7 @@ echo " Smartcard support: $SCARD_MSG" | |||
25115 | echo " S/KEY support: $SKEY_MSG" | 26158 | echo " S/KEY support: $SKEY_MSG" |
25116 | echo " TCP Wrappers support: $TCPW_MSG" | 26159 | echo " TCP Wrappers support: $TCPW_MSG" |
25117 | echo " MD5 password support: $MD5_MSG" | 26160 | echo " MD5 password support: $MD5_MSG" |
26161 | echo " libedit support: $LIBEDIT_MSG" | ||
25118 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 26162 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" |
25119 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" | 26163 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
25120 | echo " BSD Auth support: $BSD_AUTH_MSG" | 26164 | echo " BSD Auth support: $BSD_AUTH_MSG" |
@@ -25135,7 +26179,8 @@ echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}" | |||
25135 | echo "" | 26179 | echo "" |
25136 | 26180 | ||
25137 | if test "x$MAKE_PACKAGE_SUPPORTED" = "xyes" ; then | 26181 | if 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 "" | ||
25139 | fi | 26184 | fi |
25140 | 26185 | ||
25141 | if test "x$PAM_MSG" = "xyes" ; then | 26186 | if test "x$PAM_MSG" = "xyes" ; then |
@@ -25164,3 +26209,7 @@ if test ! -z "$NO_PEERCHECK" ; then | |||
25164 | echo "" | 26209 | echo "" |
25165 | fi | 26210 | fi |
25166 | 26211 | ||
26212 | if 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." | ||
26215 | fi | ||