summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-08-24 12:49:36 +0100
committerColin Watson <cjwatson@debian.org>2018-08-24 12:49:36 +0100
commite6547182a54f0f268ee36e7c99319eeddffbaff2 (patch)
tree417527229ad3f3764ba71ea383f478a168895087 /configure
parented6ae9c1a014a08ff5db3d768f01f2e427eeb476 (diff)
parent71508e06fab14bc415a79a08f5535ad7bffa93d9 (diff)
Import openssh_7.8p1.orig.tar.gz
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure206
1 files changed, 81 insertions, 125 deletions
diff --git a/configure b/configure
index 5f5536fa4..330fb9b1d 100755
--- a/configure
+++ b/configure
@@ -751,7 +751,6 @@ with_solaris_privs
751with_osfsia 751with_osfsia
752with_zlib 752with_zlib
753with_zlib_version_check 753with_zlib_version_check
754with_skey
755with_ldns 754with_ldns
756with_libedit 755with_libedit
757with_audit 756with_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
5547fi 5545fi
5548 5546
5549if test -z "$LD" ; then 5547LD="$CC"
5550 LD=$CC
5551fi
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
5728if ac_fn_c_try_compile "$LINENO"; then : 5724if ac_fn_c_try_compile "$LINENO"; then :
5729 5725
5730if `grep -i "unrecognized option" conftest.err >/dev/null` 5726if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5731then 5727then
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
5771if ac_fn_c_try_compile "$LINENO"; then : 5767if ac_fn_c_try_compile "$LINENO"; then :
5772 5768
5773if `grep -i "unrecognized option" conftest.err >/dev/null` 5769if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5774then 5770then
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
5814if ac_fn_c_try_compile "$LINENO"; then : 5810if ac_fn_c_try_compile "$LINENO"; then :
5815 5811
5816if `grep -i "unrecognized option" conftest.err >/dev/null` 5812if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5817then 5813then
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
5857if ac_fn_c_try_compile "$LINENO"; then : 5853if ac_fn_c_try_compile "$LINENO"; then :
5858 5854
5859if `grep -i "unrecognized option" conftest.err >/dev/null` 5855if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5860then 5856then
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
5900if ac_fn_c_try_compile "$LINENO"; then : 5896if ac_fn_c_try_compile "$LINENO"; then :
5901 5897
5902if `grep -i "unrecognized option" conftest.err >/dev/null` 5898if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5903then 5899then
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
5943if ac_fn_c_try_compile "$LINENO"; then : 5939if ac_fn_c_try_compile "$LINENO"; then :
5944 5940
5945if `grep -i "unrecognized option" conftest.err >/dev/null` 5941if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5946then 5942then
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
5986if ac_fn_c_try_compile "$LINENO"; then : 5982if ac_fn_c_try_compile "$LINENO"; then :
5987 5983
5988if `grep -i "unrecognized option" conftest.err >/dev/null` 5984if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
5989then 5985then
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
6029if ac_fn_c_try_compile "$LINENO"; then : 6025if ac_fn_c_try_compile "$LINENO"; then :
6030 6026
6031if `grep -i "unrecognized option" conftest.err >/dev/null` 6027if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6032then 6028then
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
6072if ac_fn_c_try_compile "$LINENO"; then : 6068if ac_fn_c_try_compile "$LINENO"; then :
6073 6069
6074if `grep -i "unrecognized option" conftest.err >/dev/null` 6070if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6075then 6071then
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
6115if ac_fn_c_try_compile "$LINENO"; then : 6111if ac_fn_c_try_compile "$LINENO"; then :
6116 6112
6117if `grep -i "unrecognized option" conftest.err >/dev/null` 6113if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6118then 6114then
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
6158if ac_fn_c_try_compile "$LINENO"; then : 6154if ac_fn_c_try_compile "$LINENO"; then :
6159 6155
6160if `grep -i "unrecognized option" conftest.err >/dev/null` 6156if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6161then 6157then
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
6201if ac_fn_c_try_compile "$LINENO"; then : 6197if ac_fn_c_try_compile "$LINENO"; then :
6202 6198
6203if `grep -i "unrecognized option" conftest.err >/dev/null` 6199if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6204then 6200then
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
6219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6215rm -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
6245if ac_fn_c_try_compile "$LINENO"; then : 6246if ac_fn_c_try_compile "$LINENO"; then :
6246 6247
6247if `grep -i "unrecognized option" conftest.err >/dev/null` 6248if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6248then 6249then
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; }
6262fi 6263fi
6263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6264rm -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
6288if ac_fn_c_try_compile "$LINENO"; then : 6289if ac_fn_c_try_compile "$LINENO"; then :
6289 6290
6290if `grep -i "unrecognized option" conftest.err >/dev/null` 6291if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6291then 6292then
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; }
6305fi 6306fi
6306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6307rm -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
6331if ac_fn_c_try_compile "$LINENO"; then : 6334if ac_fn_c_try_compile "$LINENO"; then :
6332 6335
6333if `grep -i "unrecognized option" conftest.err >/dev/null` 6336if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6334then 6337then
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
6375if ac_fn_c_try_link "$LINENO"; then : 6378if ac_fn_c_try_link "$LINENO"; then :
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6379
6380if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6381then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383$as_echo "no" >&6; }
6384 LDFLAGS="$saved_LDFLAGS"
6385else
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"
6389fi
6379else 6390else
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
6411if ac_fn_c_try_compile "$LINENO"; then : 6422if ac_fn_c_try_compile "$LINENO"; then :
6412 6423
6413if `grep -i "unrecognized option" conftest.err >/dev/null` 6424if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6414then 6425then
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
6455if ac_fn_c_try_link "$LINENO"; then : 6466if ac_fn_c_try_link "$LINENO"; then :
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6467
6468if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6469then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471$as_echo "no" >&6; }
6472 LDFLAGS="$saved_LDFLAGS"
6473else
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"
6477fi
6459else 6478else
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
6492if ac_fn_c_try_link "$LINENO"; then : 6511if ac_fn_c_try_link "$LINENO"; then :
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6512
6513if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6514then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516$as_echo "no" >&6; }
6517 LDFLAGS="$saved_LDFLAGS"
6518else
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"
6522fi
6496else 6523else
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
6529if ac_fn_c_try_link "$LINENO"; then : 6556if ac_fn_c_try_link "$LINENO"; then :
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6557
6558if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6559then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561$as_echo "no" >&6; }
6562 LDFLAGS="$saved_LDFLAGS"
6563else
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"
6567fi
6533else 6568else
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
6571if ac_fn_c_try_link "$LINENO"; then : 6606if ac_fn_c_try_link "$LINENO"; then :
6572 6607
6573if `grep -i "unrecognized option" conftest.err >/dev/null` 6608if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
6574then 6609then
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
7498if ac_fn_c_try_compile "$LINENO"; then : 7533if ac_fn_c_try_compile "$LINENO"; then :
7499 7534
7500if `grep -i "unrecognized option" conftest.err >/dev/null` 7535if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
7501then 7536then
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
10198if test "x$func_calloc_0_nonnull" == "xyes"; then 10233if 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; }
10388fi 10423fi
10389 10424
10390# Check whether user wants S/Key support
10391SKEY_MSG="no"
10392
10393# Check whether --with-skey was given.
10394if 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
10417int
10418main ()
10419{
10420
10421 char *ff = skey_keyinfo(""); ff="";
10422 exit(0);
10423
10424 ;
10425 return 0;
10426}
10427_ACEOF
10428if ac_fn_c_try_link "$LINENO"; then :
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10430$as_echo "yes" >&6; }
10431else
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
10437fi
10438rm -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
10448int
10449main ()
10450{
10451
10452 (void)skeychallenge(NULL,"name","",0);
10453
10454 ;
10455 return 0;
10456}
10457_ACEOF
10458if 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
10465else
10466
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10468$as_echo "no" >&6; }
10469
10470fi
10471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10472 fi
10473
10474
10475fi
10476
10477
10478# Check whether user wants to use ldns 10425# Check whether user wants to use ldns
10479LDNS_MSG="no" 10426LDNS_MSG="no"
10480 10427
@@ -11074,7 +11021,7 @@ int main(int argc, char **argv) {
11074_ACEOF 11021_ACEOF
11075if ac_fn_c_try_compile "$LINENO"; then : 11022if ac_fn_c_try_compile "$LINENO"; then :
11076 11023
11077if `grep -i "unrecognized option" conftest.err >/dev/null` 11024if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
11078then 11025then
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
11119if ac_fn_c_try_link "$LINENO"; then : 11066if ac_fn_c_try_link "$LINENO"; then :
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11067
11068if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null
11069then
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071$as_echo "no" >&6; }
11072 LDFLAGS="$saved_LDFLAGS"
11073else
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"
11077fi
11123else 11078else
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
13966if test "x$openssl" = "xyes" ; then 13923if 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
16072fi 16029fi
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.
16076if test "x$ac_cv_have_int64_t" = "xno" && \ 16033if 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"
21030echo " OSF SIA support: $SIA_MSG" 20987echo " OSF SIA support: $SIA_MSG"
21031echo " KerberosV support: $KRB5_MSG" 20988echo " KerberosV support: $KRB5_MSG"
21032echo " SELinux support: $SELINUX_MSG" 20989echo " SELinux support: $SELINUX_MSG"
21033echo " S/KEY support: $SKEY_MSG"
21034echo " MD5 password support: $MD5_MSG" 20990echo " MD5 password support: $MD5_MSG"
21035echo " libedit support: $LIBEDIT_MSG" 20991echo " libedit support: $LIBEDIT_MSG"
21036echo " libldns support: $LDNS_MSG" 20992echo " libldns support: $LDNS_MSG"