diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 378 |
1 files changed, 345 insertions, 33 deletions
@@ -1,5 +1,5 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.372 . | 2 | # From configure.ac Revision: 1.383 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
@@ -693,9 +693,7 @@ LOGIN_PROGRAM_FALLBACK | |||
693 | PATH_PASSWD_PROG | 693 | PATH_PASSWD_PROG |
694 | LD | 694 | LD |
695 | SSHDLIBS | 695 | SSHDLIBS |
696 | LIBWRAP | ||
697 | LIBEDIT | 696 | LIBEDIT |
698 | LIBPAM | ||
699 | INSTALL_SSH_RAND_HELPER | 697 | INSTALL_SSH_RAND_HELPER |
700 | SSH_PRIVSEP_USER | 698 | SSH_PRIVSEP_USER |
701 | PROG_LS | 699 | PROG_LS |
@@ -716,7 +714,6 @@ PROG_IPCS | |||
716 | PROG_TAIL | 714 | PROG_TAIL |
717 | INSTALL_SSH_PRNG_CMDS | 715 | INSTALL_SSH_PRNG_CMDS |
718 | OPENSC_CONFIG | 716 | OPENSC_CONFIG |
719 | LIBSELINUX | ||
720 | PRIVSEP_PATH | 717 | PRIVSEP_PATH |
721 | xauth_path | 718 | xauth_path |
722 | STRIP_OPT | 719 | STRIP_OPT |
@@ -5390,9 +5387,12 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | |||
5390 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" | 5387 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
5391 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` | 5388 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` |
5392 | case $GCC_VER in | 5389 | case $GCC_VER in |
5393 | 1.*) ;; | 5390 | 1.*) no_attrib_nonnull=1 ;; |
5394 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; | 5391 | 2.8* | 2.9*) |
5395 | 2.*) ;; | 5392 | CFLAGS="$CFLAGS -Wsign-compare" |
5393 | no_attrib_nonnull=1 | ||
5394 | ;; | ||
5395 | 2.*) no_attrib_nonnull=1 ;; | ||
5396 | 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; | 5396 | 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;; |
5397 | 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; | 5397 | 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;; |
5398 | *) ;; | 5398 | *) ;; |
@@ -5466,6 +5466,14 @@ fi | |||
5466 | fi | 5466 | fi |
5467 | fi | 5467 | fi |
5468 | 5468 | ||
5469 | if test "x$no_attrib_nonnull" != "x1" ; then | ||
5470 | |||
5471 | cat >>confdefs.h <<\_ACEOF | ||
5472 | #define HAVE_ATTRIBUTE__NONNULL__ 1 | ||
5473 | _ACEOF | ||
5474 | |||
5475 | fi | ||
5476 | |||
5469 | 5477 | ||
5470 | # Check whether --with-rpath was given. | 5478 | # Check whether --with-rpath was given. |
5471 | if test "${with_rpath+set}" = set; then | 5479 | if test "${with_rpath+set}" = set; then |
@@ -5604,6 +5612,8 @@ fi | |||
5604 | 5612 | ||
5605 | 5613 | ||
5606 | 5614 | ||
5615 | |||
5616 | |||
5607 | for ac_header in \ | 5617 | for ac_header in \ |
5608 | bstring.h \ | 5618 | bstring.h \ |
5609 | crypt.h \ | 5619 | crypt.h \ |
@@ -5626,6 +5636,7 @@ for ac_header in \ | |||
5626 | netgroup.h \ | 5636 | netgroup.h \ |
5627 | pam/pam_appl.h \ | 5637 | pam/pam_appl.h \ |
5628 | paths.h \ | 5638 | paths.h \ |
5639 | poll.h \ | ||
5629 | pty.h \ | 5640 | pty.h \ |
5630 | readpassphrase.h \ | 5641 | readpassphrase.h \ |
5631 | rpc/types.h \ | 5642 | rpc/types.h \ |
@@ -5657,6 +5668,7 @@ for ac_header in \ | |||
5657 | time.h \ | 5668 | time.h \ |
5658 | tmpdir.h \ | 5669 | tmpdir.h \ |
5659 | ttyent.h \ | 5670 | ttyent.h \ |
5671 | ucred.h \ | ||
5660 | unistd.h \ | 5672 | unistd.h \ |
5661 | usersec.h \ | 5673 | usersec.h \ |
5662 | util.h \ | 5674 | util.h \ |
@@ -8862,6 +8874,14 @@ _ACEOF | |||
8862 | _ACEOF | 8874 | _ACEOF |
8863 | 8875 | ||
8864 | enable_etc_default_login=no # has incompatible /etc/default/login | 8876 | enable_etc_default_login=no # has incompatible /etc/default/login |
8877 | case "$host" in | ||
8878 | *-*-nto-qnx6*) | ||
8879 | cat >>confdefs.h <<\_ACEOF | ||
8880 | #define DISABLE_FD_PASSING 1 | ||
8881 | _ACEOF | ||
8882 | |||
8883 | ;; | ||
8884 | esac | ||
8865 | ;; | 8885 | ;; |
8866 | 8886 | ||
8867 | *-*-ultrix*) | 8887 | *-*-ultrix*) |
@@ -11684,8 +11704,7 @@ if test "${with_tcp_wrappers+set}" = set; then | |||
11684 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | 11704 | CPPFLAGS="-I${withval} ${CPPFLAGS}" |
11685 | fi | 11705 | fi |
11686 | fi | 11706 | fi |
11687 | LIBWRAP="-lwrap" | 11707 | LIBS="-lwrap $LIBS" |
11688 | LIBS="$LIBWRAP $LIBS" | ||
11689 | { echo "$as_me:$LINENO: checking for libwrap" >&5 | 11708 | { echo "$as_me:$LINENO: checking for libwrap" >&5 |
11690 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; } | 11709 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; } |
11691 | cat >conftest.$ac_ext <<_ACEOF | 11710 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11735,7 +11754,7 @@ cat >>confdefs.h <<\_ACEOF | |||
11735 | #define LIBWRAP 1 | 11754 | #define LIBWRAP 1 |
11736 | _ACEOF | 11755 | _ACEOF |
11737 | 11756 | ||
11738 | 11757 | SSHDLIBS="$SSHDLIBS -lwrap" | |
11739 | TCPW_MSG="yes" | 11758 | TCPW_MSG="yes" |
11740 | 11759 | ||
11741 | else | 11760 | else |
@@ -12364,6 +12383,9 @@ fi | |||
12364 | 12383 | ||
12365 | 12384 | ||
12366 | 12385 | ||
12386 | |||
12387 | |||
12388 | |||
12367 | for ac_func in \ | 12389 | for ac_func in \ |
12368 | arc4random \ | 12390 | arc4random \ |
12369 | asprintf \ | 12391 | asprintf \ |
@@ -12386,6 +12408,7 @@ for ac_func in \ | |||
12386 | getnameinfo \ | 12408 | getnameinfo \ |
12387 | getopt \ | 12409 | getopt \ |
12388 | getpeereid \ | 12410 | getpeereid \ |
12411 | getpeerucred \ | ||
12389 | _getpty \ | 12412 | _getpty \ |
12390 | getrlimit \ | 12413 | getrlimit \ |
12391 | getttyent \ | 12414 | getttyent \ |
@@ -12404,6 +12427,7 @@ for ac_func in \ | |||
12404 | ogetaddrinfo \ | 12427 | ogetaddrinfo \ |
12405 | openlog_r \ | 12428 | openlog_r \ |
12406 | openpty \ | 12429 | openpty \ |
12430 | poll \ | ||
12407 | prctl \ | 12431 | prctl \ |
12408 | pstat \ | 12432 | pstat \ |
12409 | readpassphrase \ | 12433 | readpassphrase \ |
@@ -12437,6 +12461,7 @@ for ac_func in \ | |||
12437 | strtonum \ | 12461 | strtonum \ |
12438 | strtoll \ | 12462 | strtoll \ |
12439 | strtoul \ | 12463 | strtoul \ |
12464 | swap32 \ | ||
12440 | sysconf \ | 12465 | sysconf \ |
12441 | tcgetpgrp \ | 12466 | tcgetpgrp \ |
12442 | truncate \ | 12467 | truncate \ |
@@ -13538,6 +13563,150 @@ fi | |||
13538 | 13563 | ||
13539 | 13564 | ||
13540 | 13565 | ||
13566 | { echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5 | ||
13567 | echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } | ||
13568 | if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then | ||
13569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13570 | else | ||
13571 | cat >conftest.$ac_ext <<_ACEOF | ||
13572 | /* confdefs.h. */ | ||
13573 | _ACEOF | ||
13574 | cat confdefs.h >>conftest.$ac_ext | ||
13575 | cat >>conftest.$ac_ext <<_ACEOF | ||
13576 | /* end confdefs.h. */ | ||
13577 | |||
13578 | #include <sys/param.h> | ||
13579 | |||
13580 | |||
13581 | int | ||
13582 | main () | ||
13583 | { | ||
13584 | #ifndef MAXSYMLINKS | ||
13585 | (void) MAXSYMLINKS; | ||
13586 | #endif | ||
13587 | |||
13588 | ; | ||
13589 | return 0; | ||
13590 | } | ||
13591 | _ACEOF | ||
13592 | rm -f conftest.$ac_objext | ||
13593 | if { (ac_try="$ac_compile" | ||
13594 | case "(($ac_try" in | ||
13595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13596 | *) ac_try_echo=$ac_try;; | ||
13597 | esac | ||
13598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13599 | (eval "$ac_compile") 2>conftest.er1 | ||
13600 | ac_status=$? | ||
13601 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13602 | rm -f conftest.er1 | ||
13603 | cat conftest.err >&5 | ||
13604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13605 | (exit $ac_status); } && { | ||
13606 | test -z "$ac_c_werror_flag" || | ||
13607 | test ! -s conftest.err | ||
13608 | } && test -s conftest.$ac_objext; then | ||
13609 | ac_cv_have_decl_MAXSYMLINKS=yes | ||
13610 | else | ||
13611 | echo "$as_me: failed program was:" >&5 | ||
13612 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13613 | |||
13614 | ac_cv_have_decl_MAXSYMLINKS=no | ||
13615 | fi | ||
13616 | |||
13617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13618 | fi | ||
13619 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5 | ||
13620 | echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } | ||
13621 | if test $ac_cv_have_decl_MAXSYMLINKS = yes; then | ||
13622 | |||
13623 | cat >>confdefs.h <<_ACEOF | ||
13624 | #define HAVE_DECL_MAXSYMLINKS 1 | ||
13625 | _ACEOF | ||
13626 | |||
13627 | |||
13628 | else | ||
13629 | cat >>confdefs.h <<_ACEOF | ||
13630 | #define HAVE_DECL_MAXSYMLINKS 0 | ||
13631 | _ACEOF | ||
13632 | |||
13633 | |||
13634 | fi | ||
13635 | |||
13636 | |||
13637 | |||
13638 | { echo "$as_me:$LINENO: checking whether offsetof is declared" >&5 | ||
13639 | echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } | ||
13640 | if test "${ac_cv_have_decl_offsetof+set}" = set; then | ||
13641 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13642 | else | ||
13643 | cat >conftest.$ac_ext <<_ACEOF | ||
13644 | /* confdefs.h. */ | ||
13645 | _ACEOF | ||
13646 | cat confdefs.h >>conftest.$ac_ext | ||
13647 | cat >>conftest.$ac_ext <<_ACEOF | ||
13648 | /* end confdefs.h. */ | ||
13649 | |||
13650 | #include <stddef.h> | ||
13651 | |||
13652 | |||
13653 | int | ||
13654 | main () | ||
13655 | { | ||
13656 | #ifndef offsetof | ||
13657 | (void) offsetof; | ||
13658 | #endif | ||
13659 | |||
13660 | ; | ||
13661 | return 0; | ||
13662 | } | ||
13663 | _ACEOF | ||
13664 | rm -f conftest.$ac_objext | ||
13665 | if { (ac_try="$ac_compile" | ||
13666 | case "(($ac_try" in | ||
13667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13668 | *) ac_try_echo=$ac_try;; | ||
13669 | esac | ||
13670 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13671 | (eval "$ac_compile") 2>conftest.er1 | ||
13672 | ac_status=$? | ||
13673 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13674 | rm -f conftest.er1 | ||
13675 | cat conftest.err >&5 | ||
13676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13677 | (exit $ac_status); } && { | ||
13678 | test -z "$ac_c_werror_flag" || | ||
13679 | test ! -s conftest.err | ||
13680 | } && test -s conftest.$ac_objext; then | ||
13681 | ac_cv_have_decl_offsetof=yes | ||
13682 | else | ||
13683 | echo "$as_me: failed program was:" >&5 | ||
13684 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13685 | |||
13686 | ac_cv_have_decl_offsetof=no | ||
13687 | fi | ||
13688 | |||
13689 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13690 | fi | ||
13691 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5 | ||
13692 | echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } | ||
13693 | if test $ac_cv_have_decl_offsetof = yes; then | ||
13694 | |||
13695 | cat >>confdefs.h <<_ACEOF | ||
13696 | #define HAVE_DECL_OFFSETOF 1 | ||
13697 | _ACEOF | ||
13698 | |||
13699 | |||
13700 | else | ||
13701 | cat >>confdefs.h <<_ACEOF | ||
13702 | #define HAVE_DECL_OFFSETOF 0 | ||
13703 | _ACEOF | ||
13704 | |||
13705 | |||
13706 | fi | ||
13707 | |||
13708 | |||
13709 | |||
13541 | 13710 | ||
13542 | for ac_func in setresuid | 13711 | for ac_func in setresuid |
13543 | do | 13712 | do |
@@ -14853,7 +15022,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
14853 | 15022 | ||
14854 | # Check for missing getpeereid (or equiv) support | 15023 | # Check for missing getpeereid (or equiv) support |
14855 | NO_PEERCHECK="" | 15024 | NO_PEERCHECK="" |
14856 | if test "x$ac_cv_func_getpeereid" != "xyes" ; then | 15025 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then |
14857 | { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 | 15026 | { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 |
14858 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } | 15027 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } |
14859 | cat >conftest.$ac_ext <<_ACEOF | 15028 | cat >conftest.$ac_ext <<_ACEOF |
@@ -16294,7 +16463,7 @@ fi | |||
16294 | done | 16463 | done |
16295 | 16464 | ||
16296 | 16465 | ||
16297 | 16466 | saved_LIBS="$LIBS" | |
16298 | { echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | 16467 | { echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 |
16299 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } | 16468 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } |
16300 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | 16469 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then |
@@ -16357,14 +16526,106 @@ fi | |||
16357 | { echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | 16526 | { echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 |
16358 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } | 16527 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } |
16359 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | 16528 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then |
16529 | |||
16530 | LIBS="$LIBS -liaf" | ||
16531 | |||
16532 | for ac_func in set_id | ||
16533 | do | ||
16534 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
16535 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16536 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16537 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16538 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16539 | else | ||
16540 | cat >conftest.$ac_ext <<_ACEOF | ||
16541 | /* confdefs.h. */ | ||
16542 | _ACEOF | ||
16543 | cat confdefs.h >>conftest.$ac_ext | ||
16544 | cat >>conftest.$ac_ext <<_ACEOF | ||
16545 | /* end confdefs.h. */ | ||
16546 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16547 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16548 | #define $ac_func innocuous_$ac_func | ||
16549 | |||
16550 | /* System header to define __stub macros and hopefully few prototypes, | ||
16551 | which can conflict with char $ac_func (); below. | ||
16552 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16553 | <limits.h> exists even on freestanding compilers. */ | ||
16554 | |||
16555 | #ifdef __STDC__ | ||
16556 | # include <limits.h> | ||
16557 | #else | ||
16558 | # include <assert.h> | ||
16559 | #endif | ||
16560 | |||
16561 | #undef $ac_func | ||
16562 | |||
16563 | /* Override any GCC internal prototype to avoid an error. | ||
16564 | Use char because int might match the return type of a GCC | ||
16565 | builtin and then its argument prototype would still apply. */ | ||
16566 | #ifdef __cplusplus | ||
16567 | extern "C" | ||
16568 | #endif | ||
16569 | char $ac_func (); | ||
16570 | /* The GNU C library defines this for functions which it implements | ||
16571 | to always fail with ENOSYS. Some functions are actually named | ||
16572 | something starting with __ and the normal name is an alias. */ | ||
16573 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16574 | choke me | ||
16575 | #endif | ||
16576 | |||
16577 | int | ||
16578 | main () | ||
16579 | { | ||
16580 | return $ac_func (); | ||
16581 | ; | ||
16582 | return 0; | ||
16583 | } | ||
16584 | _ACEOF | ||
16585 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16586 | if { (ac_try="$ac_link" | ||
16587 | case "(($ac_try" in | ||
16588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16589 | *) ac_try_echo=$ac_try;; | ||
16590 | esac | ||
16591 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16592 | (eval "$ac_link") 2>conftest.er1 | ||
16593 | ac_status=$? | ||
16594 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16595 | rm -f conftest.er1 | ||
16596 | cat conftest.err >&5 | ||
16597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16598 | (exit $ac_status); } && { | ||
16599 | test -z "$ac_c_werror_flag" || | ||
16600 | test ! -s conftest.err | ||
16601 | } && test -s conftest$ac_exeext && | ||
16602 | $as_test_x conftest$ac_exeext; then | ||
16603 | eval "$as_ac_var=yes" | ||
16604 | else | ||
16605 | echo "$as_me: failed program was:" >&5 | ||
16606 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16607 | |||
16608 | eval "$as_ac_var=no" | ||
16609 | fi | ||
16610 | |||
16611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16612 | conftest$ac_exeext conftest.$ac_ext | ||
16613 | fi | ||
16614 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16615 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16616 | echo "${ECHO_T}$ac_res" >&6; } | ||
16617 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16360 | cat >>confdefs.h <<_ACEOF | 16618 | cat >>confdefs.h <<_ACEOF |
16361 | #define HAVE_LIBIAF 1 | 16619 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16362 | _ACEOF | 16620 | _ACEOF |
16621 | SSHDLIBS="$SSHDLIBS -liaf" | ||
16622 | fi | ||
16623 | done | ||
16363 | 16624 | ||
16364 | LIBS="-liaf $LIBS" | ||
16365 | 16625 | ||
16366 | fi | 16626 | fi |
16367 | 16627 | ||
16628 | LIBS="$saved_LIBS" | ||
16368 | 16629 | ||
16369 | ### Configure cryptographic random number support | 16630 | ### Configure cryptographic random number support |
16370 | 16631 | ||
@@ -16790,7 +17051,7 @@ done | |||
16790 | 17051 | ||
16791 | PAM_MSG="yes" | 17052 | PAM_MSG="yes" |
16792 | 17053 | ||
16793 | LIBPAM="-lpam" | 17054 | SSHDLIBS="$SSHDLIBS -lpam" |
16794 | 17055 | ||
16795 | cat >>confdefs.h <<\_ACEOF | 17056 | cat >>confdefs.h <<\_ACEOF |
16796 | #define USE_PAM 1 | 17057 | #define USE_PAM 1 |
@@ -16803,11 +17064,10 @@ _ACEOF | |||
16803 | # libdl already in LIBS | 17064 | # libdl already in LIBS |
16804 | ;; | 17065 | ;; |
16805 | *) | 17066 | *) |
16806 | LIBPAM="$LIBPAM -ldl" | 17067 | SSHDLIBS="$SSHDLIBS -ldl" |
16807 | ;; | 17068 | ;; |
16808 | esac | 17069 | esac |
16809 | fi | 17070 | fi |
16810 | |||
16811 | fi | 17071 | fi |
16812 | 17072 | ||
16813 | 17073 | ||
@@ -25043,6 +25303,59 @@ fi | |||
25043 | fi | 25303 | fi |
25044 | 25304 | ||
25045 | 25305 | ||
25306 | { echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5 | ||
25307 | echo $ECHO_N "checking if struct __res_state _res is an extern... $ECHO_C" >&6; } | ||
25308 | cat >conftest.$ac_ext <<_ACEOF | ||
25309 | |||
25310 | #include <stdio.h> | ||
25311 | #if HAVE_SYS_TYPES_H | ||
25312 | # include <sys/types.h> | ||
25313 | #endif | ||
25314 | #include <netinet/in.h> | ||
25315 | #include <arpa/nameser.h> | ||
25316 | #include <resolv.h> | ||
25317 | extern struct __res_state _res; | ||
25318 | int main() { return 0; } | ||
25319 | |||
25320 | _ACEOF | ||
25321 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
25322 | if { (ac_try="$ac_link" | ||
25323 | case "(($ac_try" in | ||
25324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25325 | *) ac_try_echo=$ac_try;; | ||
25326 | esac | ||
25327 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25328 | (eval "$ac_link") 2>conftest.er1 | ||
25329 | ac_status=$? | ||
25330 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25331 | rm -f conftest.er1 | ||
25332 | cat conftest.err >&5 | ||
25333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25334 | (exit $ac_status); } && { | ||
25335 | test -z "$ac_c_werror_flag" || | ||
25336 | test ! -s conftest.err | ||
25337 | } && test -s conftest$ac_exeext && | ||
25338 | $as_test_x conftest$ac_exeext; then | ||
25339 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
25340 | echo "${ECHO_T}yes" >&6; } | ||
25341 | |||
25342 | cat >>confdefs.h <<\_ACEOF | ||
25343 | #define HAVE__RES_EXTERN 1 | ||
25344 | _ACEOF | ||
25345 | |||
25346 | |||
25347 | else | ||
25348 | echo "$as_me: failed program was:" >&5 | ||
25349 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25350 | |||
25351 | { echo "$as_me:$LINENO: result: no" >&5 | ||
25352 | echo "${ECHO_T}no" >&6; } | ||
25353 | |||
25354 | fi | ||
25355 | |||
25356 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
25357 | conftest$ac_exeext conftest.$ac_ext | ||
25358 | |||
25046 | # Check whether user wants SELinux support | 25359 | # Check whether user wants SELinux support |
25047 | SELINUX_MSG="no" | 25360 | SELINUX_MSG="no" |
25048 | LIBSELINUX="" | 25361 | LIBSELINUX="" |
@@ -25050,6 +25363,7 @@ LIBSELINUX="" | |||
25050 | # Check whether --with-selinux was given. | 25363 | # Check whether --with-selinux was given. |
25051 | if test "${with_selinux+set}" = set; then | 25364 | if test "${with_selinux+set}" = set; then |
25052 | withval=$with_selinux; if test "x$withval" != "xno" ; then | 25365 | withval=$with_selinux; if test "x$withval" != "xno" ; then |
25366 | save_LIBS="$LIBS" | ||
25053 | 25367 | ||
25054 | cat >>confdefs.h <<\_ACEOF | 25368 | cat >>confdefs.h <<\_ACEOF |
25055 | #define WITH_SELINUX 1 | 25369 | #define WITH_SELINUX 1 |
@@ -25264,8 +25578,7 @@ echo "$as_me: error: SELinux support requires libselinux library" >&2;} | |||
25264 | { (exit 1); exit 1; }; } | 25578 | { (exit 1); exit 1; }; } |
25265 | fi | 25579 | fi |
25266 | 25580 | ||
25267 | save_LIBS="$LIBS" | 25581 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
25268 | LIBS="$LIBS $LIBSELINUX" | ||
25269 | 25582 | ||
25270 | 25583 | ||
25271 | for ac_func in getseuserbyname get_default_context_with_level | 25584 | for ac_func in getseuserbyname get_default_context_with_level |
@@ -25367,7 +25680,6 @@ done | |||
25367 | fi | 25680 | fi |
25368 | 25681 | ||
25369 | 25682 | ||
25370 | |||
25371 | # Check whether user wants Kerberos 5 support | 25683 | # Check whether user wants Kerberos 5 support |
25372 | KRB5_MSG="no" | 25684 | KRB5_MSG="no" |
25373 | 25685 | ||
@@ -28781,9 +29093,7 @@ LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim | |||
28781 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim | 29093 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim |
28782 | LD!$LD$ac_delim | 29094 | LD!$LD$ac_delim |
28783 | SSHDLIBS!$SSHDLIBS$ac_delim | 29095 | SSHDLIBS!$SSHDLIBS$ac_delim |
28784 | LIBWRAP!$LIBWRAP$ac_delim | ||
28785 | LIBEDIT!$LIBEDIT$ac_delim | 29096 | LIBEDIT!$LIBEDIT$ac_delim |
28786 | LIBPAM!$LIBPAM$ac_delim | ||
28787 | INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim | 29097 | INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim |
28788 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim | 29098 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim |
28789 | PROG_LS!$PROG_LS$ac_delim | 29099 | PROG_LS!$PROG_LS$ac_delim |
@@ -28801,6 +29111,8 @@ PROG_DF!$PROG_DF$ac_delim | |||
28801 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim | 29111 | PROG_VMSTAT!$PROG_VMSTAT$ac_delim |
28802 | PROG_UPTIME!$PROG_UPTIME$ac_delim | 29112 | PROG_UPTIME!$PROG_UPTIME$ac_delim |
28803 | PROG_IPCS!$PROG_IPCS$ac_delim | 29113 | PROG_IPCS!$PROG_IPCS$ac_delim |
29114 | PROG_TAIL!$PROG_TAIL$ac_delim | ||
29115 | INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim | ||
28804 | _ACEOF | 29116 | _ACEOF |
28805 | 29117 | ||
28806 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | 29118 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
@@ -28842,10 +29154,7 @@ _ACEOF | |||
28842 | ac_delim='%!_!# ' | 29154 | ac_delim='%!_!# ' |
28843 | for ac_last_try in false false false false false :; do | 29155 | for ac_last_try in false false false false false :; do |
28844 | cat >conf$$subs.sed <<_ACEOF | 29156 | cat >conf$$subs.sed <<_ACEOF |
28845 | PROG_TAIL!$PROG_TAIL$ac_delim | ||
28846 | INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim | ||
28847 | OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim | 29157 | OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim |
28848 | LIBSELINUX!$LIBSELINUX$ac_delim | ||
28849 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | 29158 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim |
28850 | xauth_path!$xauth_path$ac_delim | 29159 | xauth_path!$xauth_path$ac_delim |
28851 | STRIP_OPT!$STRIP_OPT$ac_delim | 29160 | STRIP_OPT!$STRIP_OPT$ac_delim |
@@ -28859,7 +29168,7 @@ LIBOBJS!$LIBOBJS$ac_delim | |||
28859 | LTLIBOBJS!$LTLIBOBJS$ac_delim | 29168 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
28860 | _ACEOF | 29169 | _ACEOF |
28861 | 29170 | ||
28862 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then | 29171 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then |
28863 | break | 29172 | break |
28864 | elif $ac_last_try; then | 29173 | elif $ac_last_try; then |
28865 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 29174 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
@@ -29351,7 +29660,10 @@ echo " Compiler: ${CC}" | |||
29351 | echo " Compiler flags: ${CFLAGS}" | 29660 | echo " Compiler flags: ${CFLAGS}" |
29352 | echo "Preprocessor flags: ${CPPFLAGS}" | 29661 | echo "Preprocessor flags: ${CPPFLAGS}" |
29353 | echo " Linker flags: ${LDFLAGS}" | 29662 | echo " Linker flags: ${LDFLAGS}" |
29354 | echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}" | 29663 | echo " Libraries: ${LIBS}" |
29664 | if test ! -z "${SSHDLIBS}"; then | ||
29665 | echo " +for sshd: ${SSHDLIBS}" | ||
29666 | fi | ||
29355 | 29667 | ||
29356 | echo "" | 29668 | echo "" |
29357 | 29669 | ||
@@ -29377,12 +29689,12 @@ if test ! -z "$RAND_HELPER_CMDHASH" ; then | |||
29377 | fi | 29689 | fi |
29378 | 29690 | ||
29379 | if test ! -z "$NO_PEERCHECK" ; then | 29691 | if test ! -z "$NO_PEERCHECK" ; then |
29380 | echo "WARNING: the operating system that you are using does not " | 29692 | echo "WARNING: the operating system that you are using does not" |
29381 | echo "appear to support either the getpeereid() API nor the " | 29693 | echo "appear to support getpeereid(), getpeerucred() or the" |
29382 | echo "SO_PEERCRED getsockopt() option. These facilities are used to " | 29694 | echo "SO_PEERCRED getsockopt() option. These facilities are used to" |
29383 | echo "enforce security checks to prevent unauthorised connections to " | 29695 | echo "enforce security checks to prevent unauthorised connections to" |
29384 | echo "ssh-agent. Their absence increases the risk that a malicious " | 29696 | echo "ssh-agent. Their absence increases the risk that a malicious" |
29385 | echo "user can connect to your agent. " | 29697 | echo "user can connect to your agent." |
29386 | echo "" | 29698 | echo "" |
29387 | fi | 29699 | fi |
29388 | 29700 | ||