diff options
author | Colin Watson <cjwatson@debian.org> | 2018-08-24 12:49:36 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-08-24 12:49:36 +0100 |
commit | e6547182a54f0f268ee36e7c99319eeddffbaff2 (patch) | |
tree | 417527229ad3f3764ba71ea383f478a168895087 /configure | |
parent | ed6ae9c1a014a08ff5db3d768f01f2e427eeb476 (diff) | |
parent | 71508e06fab14bc415a79a08f5535ad7bffa93d9 (diff) |
Import openssh_7.8p1.orig.tar.gz
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 206 |
1 files changed, 81 insertions, 125 deletions
@@ -751,7 +751,6 @@ with_solaris_privs | |||
751 | with_osfsia | 751 | with_osfsia |
752 | with_zlib | 752 | with_zlib |
753 | with_zlib_version_check | 753 | with_zlib_version_check |
754 | with_skey | ||
755 | with_ldns | 754 | with_ldns |
756 | with_libedit | 755 | with_libedit |
757 | with_audit | 756 | with_audit |
@@ -1447,7 +1446,6 @@ Optional Packages: | |||
1447 | --with-osfsia Enable Digital Unix SIA | 1446 | --with-osfsia Enable Digital Unix SIA |
1448 | --with-zlib=PATH Use zlib in PATH | 1447 | --with-zlib=PATH Use zlib in PATH |
1449 | --without-zlib-version-check Disable zlib version check | 1448 | --without-zlib-version-check Disable zlib version check |
1450 | --with-skey[=PATH] Enable S/Key support (optionally in PATH) | ||
1451 | --with-ldns[=PATH] Use ldns for DNSSEC support (optionally in PATH) | 1449 | --with-ldns[=PATH] Use ldns for DNSSEC support (optionally in PATH) |
1452 | --with-libedit[=PATH] Enable libedit support for sftp | 1450 | --with-libedit[=PATH] Enable libedit support for sftp |
1453 | --with-audit=module Enable audit support (modules=debug,bsm,linux) | 1451 | --with-audit=module Enable audit support (modules=debug,bsm,linux) |
@@ -5546,9 +5544,7 @@ _ACEOF | |||
5546 | 5544 | ||
5547 | fi | 5545 | fi |
5548 | 5546 | ||
5549 | if test -z "$LD" ; then | 5547 | LD="$CC" |
5550 | LD=$CC | ||
5551 | fi | ||
5552 | 5548 | ||
5553 | 5549 | ||
5554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 | 5550 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
@@ -5727,7 +5723,7 @@ int main(int argc, char **argv) { | |||
5727 | _ACEOF | 5723 | _ACEOF |
5728 | if ac_fn_c_try_compile "$LINENO"; then : | 5724 | if ac_fn_c_try_compile "$LINENO"; then : |
5729 | 5725 | ||
5730 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5726 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5731 | then | 5727 | then |
5732 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5733 | $as_echo "no" >&6; } | 5729 | $as_echo "no" >&6; } |
@@ -5770,7 +5766,7 @@ int main(int argc, char **argv) { | |||
5770 | _ACEOF | 5766 | _ACEOF |
5771 | if ac_fn_c_try_compile "$LINENO"; then : | 5767 | if ac_fn_c_try_compile "$LINENO"; then : |
5772 | 5768 | ||
5773 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5769 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5774 | then | 5770 | then |
5775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5776 | $as_echo "no" >&6; } | 5772 | $as_echo "no" >&6; } |
@@ -5813,7 +5809,7 @@ int main(int argc, char **argv) { | |||
5813 | _ACEOF | 5809 | _ACEOF |
5814 | if ac_fn_c_try_compile "$LINENO"; then : | 5810 | if ac_fn_c_try_compile "$LINENO"; then : |
5815 | 5811 | ||
5816 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5812 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5817 | then | 5813 | then |
5818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5819 | $as_echo "no" >&6; } | 5815 | $as_echo "no" >&6; } |
@@ -5856,7 +5852,7 @@ int main(int argc, char **argv) { | |||
5856 | _ACEOF | 5852 | _ACEOF |
5857 | if ac_fn_c_try_compile "$LINENO"; then : | 5853 | if ac_fn_c_try_compile "$LINENO"; then : |
5858 | 5854 | ||
5859 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5855 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5860 | then | 5856 | then |
5861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5862 | $as_echo "no" >&6; } | 5858 | $as_echo "no" >&6; } |
@@ -5899,7 +5895,7 @@ int main(int argc, char **argv) { | |||
5899 | _ACEOF | 5895 | _ACEOF |
5900 | if ac_fn_c_try_compile "$LINENO"; then : | 5896 | if ac_fn_c_try_compile "$LINENO"; then : |
5901 | 5897 | ||
5902 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5898 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5903 | then | 5899 | then |
5904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5905 | $as_echo "no" >&6; } | 5901 | $as_echo "no" >&6; } |
@@ -5942,7 +5938,7 @@ int main(int argc, char **argv) { | |||
5942 | _ACEOF | 5938 | _ACEOF |
5943 | if ac_fn_c_try_compile "$LINENO"; then : | 5939 | if ac_fn_c_try_compile "$LINENO"; then : |
5944 | 5940 | ||
5945 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5941 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5946 | then | 5942 | then |
5947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5948 | $as_echo "no" >&6; } | 5944 | $as_echo "no" >&6; } |
@@ -5985,7 +5981,7 @@ int main(int argc, char **argv) { | |||
5985 | _ACEOF | 5981 | _ACEOF |
5986 | if ac_fn_c_try_compile "$LINENO"; then : | 5982 | if ac_fn_c_try_compile "$LINENO"; then : |
5987 | 5983 | ||
5988 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5984 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
5989 | then | 5985 | then |
5990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5991 | $as_echo "no" >&6; } | 5987 | $as_echo "no" >&6; } |
@@ -6028,7 +6024,7 @@ int main(int argc, char **argv) { | |||
6028 | _ACEOF | 6024 | _ACEOF |
6029 | if ac_fn_c_try_compile "$LINENO"; then : | 6025 | if ac_fn_c_try_compile "$LINENO"; then : |
6030 | 6026 | ||
6031 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6027 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6032 | then | 6028 | then |
6033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6034 | $as_echo "no" >&6; } | 6030 | $as_echo "no" >&6; } |
@@ -6071,7 +6067,7 @@ int main(int argc, char **argv) { | |||
6071 | _ACEOF | 6067 | _ACEOF |
6072 | if ac_fn_c_try_compile "$LINENO"; then : | 6068 | if ac_fn_c_try_compile "$LINENO"; then : |
6073 | 6069 | ||
6074 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6070 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6075 | then | 6071 | then |
6076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6077 | $as_echo "no" >&6; } | 6073 | $as_echo "no" >&6; } |
@@ -6114,7 +6110,7 @@ int main(int argc, char **argv) { | |||
6114 | _ACEOF | 6110 | _ACEOF |
6115 | if ac_fn_c_try_compile "$LINENO"; then : | 6111 | if ac_fn_c_try_compile "$LINENO"; then : |
6116 | 6112 | ||
6117 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6113 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6118 | then | 6114 | then |
6119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6120 | $as_echo "no" >&6; } | 6116 | $as_echo "no" >&6; } |
@@ -6157,7 +6153,7 @@ int main(int argc, char **argv) { | |||
6157 | _ACEOF | 6153 | _ACEOF |
6158 | if ac_fn_c_try_compile "$LINENO"; then : | 6154 | if ac_fn_c_try_compile "$LINENO"; then : |
6159 | 6155 | ||
6160 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6156 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6161 | then | 6157 | then |
6162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6163 | $as_echo "no" >&6; } | 6159 | $as_echo "no" >&6; } |
@@ -6200,7 +6196,7 @@ int main(int argc, char **argv) { | |||
6200 | _ACEOF | 6196 | _ACEOF |
6201 | if ac_fn_c_try_compile "$LINENO"; then : | 6197 | if ac_fn_c_try_compile "$LINENO"; then : |
6202 | 6198 | ||
6203 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6199 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6204 | then | 6200 | then |
6205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6206 | $as_echo "no" >&6; } | 6202 | $as_echo "no" >&6; } |
@@ -6219,7 +6215,12 @@ fi | |||
6219 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6220 | } | 6216 | } |
6221 | if test "x$use_toolchain_hardening" = "x1"; then | 6217 | if test "x$use_toolchain_hardening" = "x1"; then |
6222 | { | 6218 | # Cygwin GCC 7.x allows thunking on the CLI, but produces non-working |
6219 | # code. Unfortunately you only notice this at link time. | ||
6220 | case "$host" in | ||
6221 | *-*-cygwin*) ;; | ||
6222 | *) | ||
6223 | { | ||
6223 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mfunction-return=thunk" >&5 | 6224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mfunction-return=thunk" >&5 |
6224 | $as_echo_n "checking if $CC supports compile flag -mfunction-return=thunk... " >&6; } | 6225 | $as_echo_n "checking if $CC supports compile flag -mfunction-return=thunk... " >&6; } |
6225 | saved_CFLAGS="$CFLAGS" | 6226 | saved_CFLAGS="$CFLAGS" |
@@ -6244,7 +6245,7 @@ int main(int argc, char **argv) { | |||
6244 | _ACEOF | 6245 | _ACEOF |
6245 | if ac_fn_c_try_compile "$LINENO"; then : | 6246 | if ac_fn_c_try_compile "$LINENO"; then : |
6246 | 6247 | ||
6247 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6248 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6248 | then | 6249 | then |
6249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6250 | $as_echo "no" >&6; } | 6251 | $as_echo "no" >&6; } |
@@ -6262,7 +6263,7 @@ $as_echo "no" >&6; } | |||
6262 | fi | 6263 | fi |
6263 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6264 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6264 | } # gcc | 6265 | } # gcc |
6265 | { | 6266 | { |
6266 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mindirect-branch=thunk" >&5 | 6267 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mindirect-branch=thunk" >&5 |
6267 | $as_echo_n "checking if $CC supports compile flag -mindirect-branch=thunk... " >&6; } | 6268 | $as_echo_n "checking if $CC supports compile flag -mindirect-branch=thunk... " >&6; } |
6268 | saved_CFLAGS="$CFLAGS" | 6269 | saved_CFLAGS="$CFLAGS" |
@@ -6287,7 +6288,7 @@ int main(int argc, char **argv) { | |||
6287 | _ACEOF | 6288 | _ACEOF |
6288 | if ac_fn_c_try_compile "$LINENO"; then : | 6289 | if ac_fn_c_try_compile "$LINENO"; then : |
6289 | 6290 | ||
6290 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6291 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6291 | then | 6292 | then |
6292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6293 | $as_echo "no" >&6; } | 6294 | $as_echo "no" >&6; } |
@@ -6305,6 +6306,8 @@ $as_echo "no" >&6; } | |||
6305 | fi | 6306 | fi |
6306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6307 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6307 | } # gcc | 6308 | } # gcc |
6309 | ;; | ||
6310 | esac | ||
6308 | { | 6311 | { |
6309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mretpoline" >&5 | 6312 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -mretpoline" >&5 |
6310 | $as_echo_n "checking if $CC supports compile flag -mretpoline... " >&6; } | 6313 | $as_echo_n "checking if $CC supports compile flag -mretpoline... " >&6; } |
@@ -6330,7 +6333,7 @@ int main(int argc, char **argv) { | |||
6330 | _ACEOF | 6333 | _ACEOF |
6331 | if ac_fn_c_try_compile "$LINENO"; then : | 6334 | if ac_fn_c_try_compile "$LINENO"; then : |
6332 | 6335 | ||
6333 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6336 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6334 | then | 6337 | then |
6335 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6336 | $as_echo "no" >&6; } | 6339 | $as_echo "no" >&6; } |
@@ -6373,9 +6376,17 @@ int main(int argc, char **argv) { | |||
6373 | 6376 | ||
6374 | _ACEOF | 6377 | _ACEOF |
6375 | if ac_fn_c_try_link "$LINENO"; then : | 6378 | if ac_fn_c_try_link "$LINENO"; then : |
6376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6379 | |
6380 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null | ||
6381 | then | ||
6382 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6383 | $as_echo "no" >&6; } | ||
6384 | LDFLAGS="$saved_LDFLAGS" | ||
6385 | else | ||
6386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6377 | $as_echo "yes" >&6; } | 6387 | $as_echo "yes" >&6; } |
6378 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6388 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6389 | fi | ||
6379 | else | 6390 | else |
6380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6391 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6381 | $as_echo "no" >&6; } | 6392 | $as_echo "no" >&6; } |
@@ -6410,7 +6421,7 @@ int main(int argc, char **argv) { | |||
6410 | _ACEOF | 6421 | _ACEOF |
6411 | if ac_fn_c_try_compile "$LINENO"; then : | 6422 | if ac_fn_c_try_compile "$LINENO"; then : |
6412 | 6423 | ||
6413 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6424 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6414 | then | 6425 | then |
6415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6426 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6416 | $as_echo "no" >&6; } | 6427 | $as_echo "no" >&6; } |
@@ -6453,9 +6464,17 @@ int main(int argc, char **argv) { | |||
6453 | 6464 | ||
6454 | _ACEOF | 6465 | _ACEOF |
6455 | if ac_fn_c_try_link "$LINENO"; then : | 6466 | if ac_fn_c_try_link "$LINENO"; then : |
6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6467 | |
6468 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null | ||
6469 | then | ||
6470 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6471 | $as_echo "no" >&6; } | ||
6472 | LDFLAGS="$saved_LDFLAGS" | ||
6473 | else | ||
6474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6457 | $as_echo "yes" >&6; } | 6475 | $as_echo "yes" >&6; } |
6458 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6476 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6477 | fi | ||
6459 | else | 6478 | else |
6460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6461 | $as_echo "no" >&6; } | 6480 | $as_echo "no" >&6; } |
@@ -6490,9 +6509,17 @@ int main(int argc, char **argv) { | |||
6490 | 6509 | ||
6491 | _ACEOF | 6510 | _ACEOF |
6492 | if ac_fn_c_try_link "$LINENO"; then : | 6511 | if ac_fn_c_try_link "$LINENO"; then : |
6493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6512 | |
6513 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null | ||
6514 | then | ||
6515 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6516 | $as_echo "no" >&6; } | ||
6517 | LDFLAGS="$saved_LDFLAGS" | ||
6518 | else | ||
6519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6494 | $as_echo "yes" >&6; } | 6520 | $as_echo "yes" >&6; } |
6495 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6521 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6522 | fi | ||
6496 | else | 6523 | else |
6497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6498 | $as_echo "no" >&6; } | 6525 | $as_echo "no" >&6; } |
@@ -6527,9 +6554,17 @@ int main(int argc, char **argv) { | |||
6527 | 6554 | ||
6528 | _ACEOF | 6555 | _ACEOF |
6529 | if ac_fn_c_try_link "$LINENO"; then : | 6556 | if ac_fn_c_try_link "$LINENO"; then : |
6530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6557 | |
6558 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null | ||
6559 | then | ||
6560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6561 | $as_echo "no" >&6; } | ||
6562 | LDFLAGS="$saved_LDFLAGS" | ||
6563 | else | ||
6564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6531 | $as_echo "yes" >&6; } | 6565 | $as_echo "yes" >&6; } |
6532 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6566 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6567 | fi | ||
6533 | else | 6568 | else |
6534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6569 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6535 | $as_echo "no" >&6; } | 6570 | $as_echo "no" >&6; } |
@@ -6570,7 +6605,7 @@ int main(int argc, char **argv) { | |||
6570 | _ACEOF | 6605 | _ACEOF |
6571 | if ac_fn_c_try_link "$LINENO"; then : | 6606 | if ac_fn_c_try_link "$LINENO"; then : |
6572 | 6607 | ||
6573 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6608 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
6574 | then | 6609 | then |
6575 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6576 | $as_echo "no" >&6; } | 6611 | $as_echo "no" >&6; } |
@@ -6944,6 +6979,7 @@ for ac_header in \ | |||
6944 | sys/prctl.h \ | 6979 | sys/prctl.h \ |
6945 | sys/pstat.h \ | 6980 | sys/pstat.h \ |
6946 | sys/ptrace.h \ | 6981 | sys/ptrace.h \ |
6982 | sys/random.h \ | ||
6947 | sys/select.h \ | 6983 | sys/select.h \ |
6948 | sys/stat.h \ | 6984 | sys/stat.h \ |
6949 | sys/stream.h \ | 6985 | sys/stream.h \ |
@@ -7154,7 +7190,7 @@ case "$host" in | |||
7154 | # Some versions of VAC won't allow macro redefinitions at | 7190 | # Some versions of VAC won't allow macro redefinitions at |
7155 | # -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that | 7191 | # -qlanglevel=ansi, and autoconf 2.60 sometimes insists on using that |
7156 | # particularly with older versions of vac or xlc. | 7192 | # particularly with older versions of vac or xlc. |
7157 | # It also throws errors about null macro argments, but these are | 7193 | # It also throws errors about null macro arguments, but these are |
7158 | # not fatal. | 7194 | # not fatal. |
7159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows macro redefinitions" >&5 | 7195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows macro redefinitions" >&5 |
7160 | $as_echo_n "checking if compiler allows macro redefinitions... " >&6; } | 7196 | $as_echo_n "checking if compiler allows macro redefinitions... " >&6; } |
@@ -7178,7 +7214,6 @@ else | |||
7178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7179 | $as_echo "no" >&6; } | 7215 | $as_echo "no" >&6; } |
7180 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" | 7216 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" |
7181 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" | ||
7182 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" | 7217 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" |
7183 | CPPFLAGS="`echo $CPPFLAGS | sed 's/-qlanglvl\=ansi//g'`" | 7218 | CPPFLAGS="`echo $CPPFLAGS | sed 's/-qlanglvl\=ansi//g'`" |
7184 | 7219 | ||
@@ -7497,7 +7532,7 @@ int main(int argc, char **argv) { | |||
7497 | _ACEOF | 7532 | _ACEOF |
7498 | if ac_fn_c_try_compile "$LINENO"; then : | 7533 | if ac_fn_c_try_compile "$LINENO"; then : |
7499 | 7534 | ||
7500 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 7535 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
7501 | then | 7536 | then |
7502 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7503 | $as_echo "no" >&6; } | 7538 | $as_echo "no" >&6; } |
@@ -10195,7 +10230,7 @@ fi | |||
10195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $func_calloc_0_nonnull" >&5 | 10230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $func_calloc_0_nonnull" >&5 |
10196 | $as_echo "$func_calloc_0_nonnull" >&6; } | 10231 | $as_echo "$func_calloc_0_nonnull" >&6; } |
10197 | 10232 | ||
10198 | if test "x$func_calloc_0_nonnull" == "xyes"; then | 10233 | if test "x$func_calloc_0_nonnull" = "xyes"; then |
10199 | 10234 | ||
10200 | $as_echo "#define HAVE_CALLOC 1" >>confdefs.h | 10235 | $as_echo "#define HAVE_CALLOC 1" >>confdefs.h |
10201 | 10236 | ||
@@ -10387,94 +10422,6 @@ else | |||
10387 | $as_echo "no" >&6; } | 10422 | $as_echo "no" >&6; } |
10388 | fi | 10423 | fi |
10389 | 10424 | ||
10390 | # Check whether user wants S/Key support | ||
10391 | SKEY_MSG="no" | ||
10392 | |||
10393 | # Check whether --with-skey was given. | ||
10394 | if test "${with_skey+set}" = set; then : | ||
10395 | withval=$with_skey; | ||
10396 | if test "x$withval" != "xno" ; then | ||
10397 | |||
10398 | if test "x$withval" != "xyes" ; then | ||
10399 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | ||
10400 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
10401 | fi | ||
10402 | |||
10403 | |||
10404 | $as_echo "#define SKEY 1" >>confdefs.h | ||
10405 | |||
10406 | LIBS="-lskey $LIBS" | ||
10407 | SKEY_MSG="yes" | ||
10408 | |||
10409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for s/key support" >&5 | ||
10410 | $as_echo_n "checking for s/key support... " >&6; } | ||
10411 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
10412 | /* end confdefs.h. */ | ||
10413 | |||
10414 | #include <stdio.h> | ||
10415 | #include <skey.h> | ||
10416 | |||
10417 | int | ||
10418 | main () | ||
10419 | { | ||
10420 | |||
10421 | char *ff = skey_keyinfo(""); ff=""; | ||
10422 | exit(0); | ||
10423 | |||
10424 | ; | ||
10425 | return 0; | ||
10426 | } | ||
10427 | _ACEOF | ||
10428 | if ac_fn_c_try_link "$LINENO"; then : | ||
10429 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
10430 | $as_echo "yes" >&6; } | ||
10431 | else | ||
10432 | |||
10433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
10434 | $as_echo "no" >&6; } | ||
10435 | as_fn_error $? "** Incomplete or missing s/key libraries." "$LINENO" 5 | ||
10436 | |||
10437 | fi | ||
10438 | rm -f core conftest.err conftest.$ac_objext \ | ||
10439 | conftest$ac_exeext conftest.$ac_ext | ||
10440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if skeychallenge takes 4 arguments" >&5 | ||
10441 | $as_echo_n "checking if skeychallenge takes 4 arguments... " >&6; } | ||
10442 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
10443 | /* end confdefs.h. */ | ||
10444 | |||
10445 | #include <stdio.h> | ||
10446 | #include <skey.h> | ||
10447 | |||
10448 | int | ||
10449 | main () | ||
10450 | { | ||
10451 | |||
10452 | (void)skeychallenge(NULL,"name","",0); | ||
10453 | |||
10454 | ; | ||
10455 | return 0; | ||
10456 | } | ||
10457 | _ACEOF | ||
10458 | if ac_fn_c_try_compile "$LINENO"; then : | ||
10459 | |||
10460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
10461 | $as_echo "yes" >&6; } | ||
10462 | |||
10463 | $as_echo "#define SKEYCHALLENGE_4ARG 1" >>confdefs.h | ||
10464 | |||
10465 | else | ||
10466 | |||
10467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
10468 | $as_echo "no" >&6; } | ||
10469 | |||
10470 | fi | ||
10471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10472 | fi | ||
10473 | |||
10474 | |||
10475 | fi | ||
10476 | |||
10477 | |||
10478 | # Check whether user wants to use ldns | 10425 | # Check whether user wants to use ldns |
10479 | LDNS_MSG="no" | 10426 | LDNS_MSG="no" |
10480 | 10427 | ||
@@ -11074,7 +11021,7 @@ int main(int argc, char **argv) { | |||
11074 | _ACEOF | 11021 | _ACEOF |
11075 | if ac_fn_c_try_compile "$LINENO"; then : | 11022 | if ac_fn_c_try_compile "$LINENO"; then : |
11076 | 11023 | ||
11077 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 11024 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null |
11078 | then | 11025 | then |
11079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11080 | $as_echo "no" >&6; } | 11027 | $as_echo "no" >&6; } |
@@ -11117,9 +11064,17 @@ int main(int argc, char **argv) { | |||
11117 | 11064 | ||
11118 | _ACEOF | 11065 | _ACEOF |
11119 | if ac_fn_c_try_link "$LINENO"; then : | 11066 | if ac_fn_c_try_link "$LINENO"; then : |
11120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11067 | |
11068 | if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null | ||
11069 | then | ||
11070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
11071 | $as_echo "no" >&6; } | ||
11072 | LDFLAGS="$saved_LDFLAGS" | ||
11073 | else | ||
11074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
11121 | $as_echo "yes" >&6; } | 11075 | $as_echo "yes" >&6; } |
11122 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 11076 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
11077 | fi | ||
11123 | else | 11078 | else |
11124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11125 | $as_echo "no" >&6; } | 11080 | $as_echo "no" >&6; } |
@@ -11178,6 +11133,7 @@ for ac_func in \ | |||
11178 | getaddrinfo \ | 11133 | getaddrinfo \ |
11179 | getcwd \ | 11134 | getcwd \ |
11180 | getgrouplist \ | 11135 | getgrouplist \ |
11136 | getline \ | ||
11181 | getnameinfo \ | 11137 | getnameinfo \ |
11182 | getopt \ | 11138 | getopt \ |
11183 | getpagesize \ | 11139 | getpagesize \ |
@@ -11186,6 +11142,7 @@ for ac_func in \ | |||
11186 | getpgid \ | 11142 | getpgid \ |
11187 | _getpty \ | 11143 | _getpty \ |
11188 | getrlimit \ | 11144 | getrlimit \ |
11145 | getrandom \ | ||
11189 | getsid \ | 11146 | getsid \ |
11190 | getttyent \ | 11147 | getttyent \ |
11191 | glob \ | 11148 | glob \ |
@@ -13962,7 +13919,7 @@ LIBS="$saved_LIBS" | |||
13962 | 13919 | ||
13963 | ### Configure cryptographic random number support | 13920 | ### Configure cryptographic random number support |
13964 | 13921 | ||
13965 | # Check wheter OpenSSL seeds itself | 13922 | # Check whether OpenSSL seeds itself |
13966 | if test "x$openssl" = "xyes" ; then | 13923 | if test "x$openssl" = "xyes" ; then |
13967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's PRNG is internally seeded" >&5 | 13924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's PRNG is internally seeded" >&5 |
13968 | $as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; } | 13925 | $as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; } |
@@ -16072,7 +16029,7 @@ _ACEOF | |||
16072 | fi | 16029 | fi |
16073 | 16030 | ||
16074 | 16031 | ||
16075 | # We need int64_t or else certian parts of the compile will fail. | 16032 | # We need int64_t or else certain parts of the compile will fail. |
16076 | if test "x$ac_cv_have_int64_t" = "xno" && \ | 16033 | if test "x$ac_cv_have_int64_t" = "xno" && \ |
16077 | test "x$ac_cv_sizeof_long_int" != "x8" && \ | 16034 | test "x$ac_cv_sizeof_long_int" != "x8" && \ |
16078 | test "x$ac_cv_sizeof_long_long_int" = "x0" ; then | 16035 | test "x$ac_cv_sizeof_long_long_int" = "x0" ; then |
@@ -21030,7 +20987,6 @@ echo " PAM support: $PAM_MSG" | |||
21030 | echo " OSF SIA support: $SIA_MSG" | 20987 | echo " OSF SIA support: $SIA_MSG" |
21031 | echo " KerberosV support: $KRB5_MSG" | 20988 | echo " KerberosV support: $KRB5_MSG" |
21032 | echo " SELinux support: $SELINUX_MSG" | 20989 | echo " SELinux support: $SELINUX_MSG" |
21033 | echo " S/KEY support: $SKEY_MSG" | ||
21034 | echo " MD5 password support: $MD5_MSG" | 20990 | echo " MD5 password support: $MD5_MSG" |
21035 | echo " libedit support: $LIBEDIT_MSG" | 20991 | echo " libedit support: $LIBEDIT_MSG" |
21036 | echo " libldns support: $LDNS_MSG" | 20992 | echo " libldns support: $LDNS_MSG" |