summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1294
1 files changed, 851 insertions, 443 deletions
diff --git a/configure b/configure
index ef3609b70..362218407 100755
--- a/configure
+++ b/configure
@@ -2,6 +2,8 @@
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 for OpenSSH Portable. 3# Generated by GNU Autoconf 2.59 for OpenSSH Portable.
4# 4#
5# Report bugs to <openssh-unix-dev@mindrot.org>.
6#
5# Copyright (C) 2003 Free Software Foundation, Inc. 7# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation 8# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it. 9# gives unlimited permission to copy, distribute and modify it.
@@ -269,7 +271,7 @@ PACKAGE_NAME='OpenSSH'
269PACKAGE_TARNAME='openssh' 271PACKAGE_TARNAME='openssh'
270PACKAGE_VERSION='Portable' 272PACKAGE_VERSION='Portable'
271PACKAGE_STRING='OpenSSH Portable' 273PACKAGE_STRING='OpenSSH Portable'
272PACKAGE_BUGREPORT='' 274PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
273 275
274ac_unique_file="ssh.c" 276ac_unique_file="ssh.c"
275# Factoring default headers for most tests. 277# Factoring default headers for most tests.
@@ -867,6 +869,7 @@ Optional Packages:
867 --with-cppflags Specify additional flags to pass to preprocessor 869 --with-cppflags Specify additional flags to pass to preprocessor
868 --with-ldflags Specify additional flags to pass to linker 870 --with-ldflags Specify additional flags to pass to linker
869 --with-libs Specify additional libraries to link with 871 --with-libs Specify additional libraries to link with
872 --with-Werror Build main code with -Werror
870 --with-zlib=PATH Use zlib in PATH 873 --with-zlib=PATH Use zlib in PATH
871 --without-zlib-version-check Disable zlib version check 874 --without-zlib-version-check Disable zlib version check
872 --with-skey[=PATH] Enable S/Key support (optionally in PATH) 875 --with-skey[=PATH] Enable S/Key support (optionally in PATH)
@@ -908,6 +911,7 @@ Some influential environment variables:
908Use these variables to override the choices made by `configure' or to help 911Use these variables to override the choices made by `configure' or to help
909it to find libraries and programs with nonstandard names/locations. 912it to find libraries and programs with nonstandard names/locations.
910 913
914Report bugs to <openssh-unix-dev@mindrot.org>.
911_ACEOF 915_ACEOF
912fi 916fi
913 917
@@ -4098,8 +4102,253 @@ _ACEOF
4098 ;; 4102 ;;
4099esac 4103esac
4100 4104
4105
4106echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5
4107echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6
4108if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4110else
4111 cat >conftest.$ac_ext <<_ACEOF
4112/* confdefs.h. */
4113_ACEOF
4114cat confdefs.h >>conftest.$ac_ext
4115cat >>conftest.$ac_ext <<_ACEOF
4116/* end confdefs.h. */
4117#include <limits.h>
4118
4119int
4120main ()
4121{
4122#ifndef LLONG_MAX
4123 char *p = (char *) LLONG_MAX;
4124#endif
4125
4126 ;
4127 return 0;
4128}
4129_ACEOF
4130rm -f conftest.$ac_objext
4131if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132 (eval $ac_compile) 2>conftest.er1
4133 ac_status=$?
4134 grep -v '^ *+' conftest.er1 >conftest.err
4135 rm -f conftest.er1
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } &&
4139 { ac_try='test -z "$ac_c_werror_flag"
4140 || test ! -s conftest.err'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 (eval $ac_try) 2>&5
4143 ac_status=$?
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; } &&
4146 { ac_try='test -s conftest.$ac_objext'
4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148 (eval $ac_try) 2>&5
4149 ac_status=$?
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); }; }; then
4152 ac_cv_have_decl_LLONG_MAX=yes
4153else
4154 echo "$as_me: failed program was:" >&5
4155sed 's/^/| /' conftest.$ac_ext >&5
4156
4157ac_cv_have_decl_LLONG_MAX=no
4158fi
4159rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4160fi
4161echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5
4162echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6
4163if test $ac_cv_have_decl_LLONG_MAX = yes; then
4164 have_llong_max=1
4165fi
4166
4167
4101if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 4168if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
4102 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" 4169 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
4170 GCC_VER=`$CC --version`
4171 case $GCC_VER in
4172 1.*) ;;
4173 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4174 2.*) ;;
4175 *) CFLAGS="$CFLAGS -Wsign-compare" ;;
4176 esac
4177
4178 if test -z "$have_llong_max"; then
4179 # retry LLONG_MAX with -std=gnu99, needed on some Linuxes
4180 unset ac_cv_have_decl_LLONG_MAX
4181 saved_CFLAGS="$CFLAGS"
4182 CFLAGS="$CFLAGS -std=gnu99"
4183 echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5
4184echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6
4185if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4187else
4188 cat >conftest.$ac_ext <<_ACEOF
4189/* confdefs.h. */
4190_ACEOF
4191cat confdefs.h >>conftest.$ac_ext
4192cat >>conftest.$ac_ext <<_ACEOF
4193/* end confdefs.h. */
4194#include <limits.h>
4195
4196
4197int
4198main ()
4199{
4200#ifndef LLONG_MAX
4201 char *p = (char *) LLONG_MAX;
4202#endif
4203
4204 ;
4205 return 0;
4206}
4207_ACEOF
4208rm -f conftest.$ac_objext
4209if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220 (eval $ac_try) 2>&5
4221 ac_status=$?
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 (eval $ac_try) 2>&5
4227 ac_status=$?
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_cv_have_decl_LLONG_MAX=yes
4231else
4232 echo "$as_me: failed program was:" >&5
4233sed 's/^/| /' conftest.$ac_ext >&5
4234
4235ac_cv_have_decl_LLONG_MAX=no
4236fi
4237rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4238fi
4239echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5
4240echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6
4241if test $ac_cv_have_decl_LLONG_MAX = yes; then
4242 have_llong_max=1
4243else
4244 CFLAGS="$saved_CFLAGS"
4245fi
4246
4247 fi
4248fi
4249
4250if test -z "$have_llong_max"; then
4251 echo "$as_me:$LINENO: checking for max value of long long" >&5
4252echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
4253 if test "$cross_compiling" = yes; then
4254
4255 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
4256echo "$as_me: WARNING: cross compiling: not checking" >&2;}
4257
4258
4259else
4260 cat >conftest.$ac_ext <<_ACEOF
4261/* confdefs.h. */
4262_ACEOF
4263cat confdefs.h >>conftest.$ac_ext
4264cat >>conftest.$ac_ext <<_ACEOF
4265/* end confdefs.h. */
4266
4267#include <stdio.h>
4268/* Why is this so damn hard? */
4269#ifdef __GNUC__
4270# undef __GNUC__
4271#endif
4272#define __USE_ISOC99
4273#include <limits.h>
4274#define DATA "conftest.llminmax"
4275int main(void) {
4276 FILE *f;
4277 long long i, llmin, llmax = 0;
4278
4279 if((f = fopen(DATA,"w")) == NULL)
4280 exit(1);
4281
4282#if defined(LLONG_MIN) && defined(LLONG_MAX)
4283 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
4284 llmin = LLONG_MIN;
4285 llmax = LLONG_MAX;
4286#else
4287 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
4288 /* This will work on one's complement and two's complement */
4289 for (i = 1; i > llmax; i <<= 1, i++)
4290 llmax = i;
4291 llmin = llmax + 1LL; /* wrap */
4292#endif
4293
4294 /* Sanity check */
4295 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
4296 || llmax - 1 > llmax) {
4297 fprintf(f, "unknown unknown\n");
4298 exit(2);
4299 }
4300
4301 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
4302 exit(3);
4303
4304 exit(0);
4305}
4306
4307_ACEOF
4308rm -f conftest$ac_exeext
4309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4310 (eval $ac_link) 2>&5
4311 ac_status=$?
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 (eval $ac_try) 2>&5
4316 ac_status=$?
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4319
4320 llong_min=`$AWK '{print $1}' conftest.llminmax`
4321 llong_max=`$AWK '{print $2}' conftest.llminmax`
4322 echo "$as_me:$LINENO: result: $llong_max" >&5
4323echo "${ECHO_T}$llong_max" >&6
4324
4325cat >>confdefs.h <<_ACEOF
4326#define LLONG_MAX ${llong_max}LL
4327_ACEOF
4328
4329 echo "$as_me:$LINENO: checking for min value of long long" >&5
4330echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
4331 echo "$as_me:$LINENO: result: $llong_min" >&5
4332echo "${ECHO_T}$llong_min" >&6
4333
4334cat >>confdefs.h <<_ACEOF
4335#define LLONG_MIN ${llong_min}LL
4336_ACEOF
4337
4338
4339else
4340 echo "$as_me: program exited with status $ac_status" >&5
4341echo "$as_me: failed program was:" >&5
4342sed 's/^/| /' conftest.$ac_ext >&5
4343
4344( exit $ac_status )
4345
4346 echo "$as_me:$LINENO: result: not found" >&5
4347echo "${ECHO_T}not found" >&6
4348
4349fi
4350rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4351fi
4103fi 4352fi
4104 4353
4105 4354
@@ -5090,121 +5339,8 @@ _ACEOF
5090_ACEOF 5339_ACEOF
5091 5340
5092 ;; 5341 ;;
5093*-*-hpux10.26) 5342*-*-hpux*)
5094 if test -z "$GCC"; then 5343 # first we define all of the options common to all HP-UX releases
5095 CFLAGS="$CFLAGS -Ae"
5096 fi
5097 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5098 IPADDR_IN_DISPLAY=yes
5099 cat >>confdefs.h <<\_ACEOF
5100#define HAVE_SECUREWARE 1
5101_ACEOF
5102
5103 cat >>confdefs.h <<\_ACEOF
5104#define USE_PIPES 1
5105_ACEOF
5106
5107 cat >>confdefs.h <<\_ACEOF
5108#define LOGIN_NO_ENDOPT 1
5109_ACEOF
5110
5111 cat >>confdefs.h <<\_ACEOF
5112#define LOGIN_NEEDS_UTMPX 1
5113_ACEOF
5114
5115 cat >>confdefs.h <<\_ACEOF
5116#define LOCKED_PASSWD_STRING "*"
5117_ACEOF
5118
5119 cat >>confdefs.h <<\_ACEOF
5120#define SPT_TYPE SPT_PSTAT
5121_ACEOF
5122
5123 LIBS="$LIBS -lsec -lsecpw"
5124
5125echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5126echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5127if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5129else
5130 ac_check_lib_save_LIBS=$LIBS
5131LIBS="-lxnet $LIBS"
5132cat >conftest.$ac_ext <<_ACEOF
5133/* confdefs.h. */
5134_ACEOF
5135cat confdefs.h >>conftest.$ac_ext
5136cat >>conftest.$ac_ext <<_ACEOF
5137/* end confdefs.h. */
5138
5139/* Override any gcc2 internal prototype to avoid an error. */
5140#ifdef __cplusplus
5141extern "C"
5142#endif
5143/* We use char because int might match the return type of a gcc2
5144 builtin and then its argument prototype would still apply. */
5145char t_error ();
5146int
5147main ()
5148{
5149t_error ();
5150 ;
5151 return 0;
5152}
5153_ACEOF
5154rm -f conftest.$ac_objext conftest$ac_exeext
5155if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5156 (eval $ac_link) 2>conftest.er1
5157 ac_status=$?
5158 grep -v '^ *+' conftest.er1 >conftest.err
5159 rm -f conftest.er1
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } &&
5163 { ac_try='test -z "$ac_c_werror_flag"
5164 || test ! -s conftest.err'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 (eval $ac_try) 2>&5
5167 ac_status=$?
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; } &&
5170 { ac_try='test -s conftest$ac_exeext'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 (eval $ac_try) 2>&5
5173 ac_status=$?
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; }; then
5176 ac_cv_lib_xnet_t_error=yes
5177else
5178 echo "$as_me: failed program was:" >&5
5179sed 's/^/| /' conftest.$ac_ext >&5
5180
5181ac_cv_lib_xnet_t_error=no
5182fi
5183rm -f conftest.err conftest.$ac_objext \
5184 conftest$ac_exeext conftest.$ac_ext
5185LIBS=$ac_check_lib_save_LIBS
5186fi
5187echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5188echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5189if test $ac_cv_lib_xnet_t_error = yes; then
5190 cat >>confdefs.h <<_ACEOF
5191#define HAVE_LIBXNET 1
5192_ACEOF
5193
5194 LIBS="-lxnet $LIBS"
5195
5196else
5197 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5198echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5199 { (exit 1); exit 1; }; }
5200fi
5201
5202 disable_ptmx_check=yes
5203 ;;
5204*-*-hpux10*)
5205 if test -z "$GCC"; then
5206 CFLAGS="$CFLAGS -Ae"
5207 fi
5208 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 5344 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5209 IPADDR_IN_DISPLAY=yes 5345 IPADDR_IN_DISPLAY=yes
5210 cat >>confdefs.h <<\_ACEOF 5346 cat >>confdefs.h <<\_ACEOF
@@ -5306,124 +5442,44 @@ echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5306 { (exit 1); exit 1; }; } 5442 { (exit 1); exit 1; }; }
5307fi 5443fi
5308 5444
5309 ;;
5310*-*-hpux11*)
5311 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5312 IPADDR_IN_DISPLAY=yes
5313 cat >>confdefs.h <<\_ACEOF
5314#define PAM_SUN_CODEBASE 1
5315_ACEOF
5316
5317 cat >>confdefs.h <<\_ACEOF
5318#define USE_PIPES 1
5319_ACEOF
5320 5445
5321 cat >>confdefs.h <<\_ACEOF 5446 # next, we define all of the options specific to major releases
5322#define LOGIN_NO_ENDOPT 1 5447 case "$host" in
5323_ACEOF 5448 *-*-hpux10*)
5324 5449 if test -z "$GCC"; then
5325 cat >>confdefs.h <<\_ACEOF 5450 CFLAGS="$CFLAGS -Ae"
5326#define LOGIN_NEEDS_UTMPX 1 5451 fi
5452 ;;
5453 *-*-hpux11*)
5454 cat >>confdefs.h <<\_ACEOF
5455#define PAM_SUN_CODEBASE 1
5327_ACEOF 5456_ACEOF
5328 5457
5329 cat >>confdefs.h <<\_ACEOF 5458 cat >>confdefs.h <<\_ACEOF
5330#define DISABLE_UTMP 1 5459#define DISABLE_UTMP 1
5331_ACEOF 5460_ACEOF
5332 5461
5333 cat >>confdefs.h <<\_ACEOF
5334#define LOCKED_PASSWD_STRING "*"
5335_ACEOF
5336
5337 cat >>confdefs.h <<\_ACEOF
5338#define SPT_TYPE SPT_PSTAT
5339_ACEOF
5340
5341 5462
5342cat >>confdefs.h <<\_ACEOF 5463cat >>confdefs.h <<\_ACEOF
5343#define USE_BTMP 1 5464#define USE_BTMP 1
5344_ACEOF 5465_ACEOF
5345 5466
5346 check_for_hpux_broken_getaddrinfo=1 5467 check_for_hpux_broken_getaddrinfo=1
5347 check_for_conflicting_getspnam=1 5468 check_for_conflicting_getspnam=1
5348 LIBS="$LIBS -lsec" 5469 ;;
5349 5470 esac
5350echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5351echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5352if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5354else
5355 ac_check_lib_save_LIBS=$LIBS
5356LIBS="-lxnet $LIBS"
5357cat >conftest.$ac_ext <<_ACEOF
5358/* confdefs.h. */
5359_ACEOF
5360cat confdefs.h >>conftest.$ac_ext
5361cat >>conftest.$ac_ext <<_ACEOF
5362/* end confdefs.h. */
5363
5364/* Override any gcc2 internal prototype to avoid an error. */
5365#ifdef __cplusplus
5366extern "C"
5367#endif
5368/* We use char because int might match the return type of a gcc2
5369 builtin and then its argument prototype would still apply. */
5370char t_error ();
5371int
5372main ()
5373{
5374t_error ();
5375 ;
5376 return 0;
5377}
5378_ACEOF
5379rm -f conftest.$ac_objext conftest$ac_exeext
5380if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5381 (eval $ac_link) 2>conftest.er1
5382 ac_status=$?
5383 grep -v '^ *+' conftest.er1 >conftest.err
5384 rm -f conftest.er1
5385 cat conftest.err >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } &&
5388 { ac_try='test -z "$ac_c_werror_flag"
5389 || test ! -s conftest.err'
5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 (eval $ac_try) 2>&5
5392 ac_status=$?
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; } &&
5395 { ac_try='test -s conftest$ac_exeext'
5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 (eval $ac_try) 2>&5
5398 ac_status=$?
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_xnet_t_error=yes
5402else
5403 echo "$as_me: failed program was:" >&5
5404sed 's/^/| /' conftest.$ac_ext >&5
5405 5471
5406ac_cv_lib_xnet_t_error=no 5472 # lastly, we define options specific to minor releases
5407fi 5473 case "$host" in
5408rm -f conftest.err conftest.$ac_objext \ 5474 *-*-hpux10.26)
5409 conftest$ac_exeext conftest.$ac_ext 5475 cat >>confdefs.h <<\_ACEOF
5410LIBS=$ac_check_lib_save_LIBS 5476#define HAVE_SECUREWARE 1
5411fi
5412echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5413echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5414if test $ac_cv_lib_xnet_t_error = yes; then
5415 cat >>confdefs.h <<_ACEOF
5416#define HAVE_LIBXNET 1
5417_ACEOF 5477_ACEOF
5418 5478
5419 LIBS="-lxnet $LIBS" 5479 disable_ptmx_check=yes
5420 5480 LIBS="$LIBS -lsecpw"
5421else 5481 ;;
5422 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 5482 esac
5423echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5424 { (exit 1); exit 1; }; }
5425fi
5426
5427 ;; 5483 ;;
5428*-*-irix5*) 5484*-*-irix5*)
5429 PATH="$PATH:/usr/etc" 5485 PATH="$PATH:/usr/etc"
@@ -5637,8 +5693,9 @@ _ACEOF
5637 esac 5693 esac
5638 ;; 5694 ;;
5639mips-sony-bsd|mips-sony-newsos4) 5695mips-sony-bsd|mips-sony-newsos4)
5640 cat >>confdefs.h <<\_ACEOF 5696
5641#define HAVE_NEWS4 1 5697cat >>confdefs.h <<\_ACEOF
5698#define NEED_SETPRGP
5642_ACEOF 5699_ACEOF
5643 5700
5644 SONY=1 5701 SONY=1
@@ -5688,6 +5745,13 @@ _ACEOF
5688_ACEOF 5745_ACEOF
5689 5746
5690 ;; 5747 ;;
5748*-*-openbsd*)
5749
5750cat >>confdefs.h <<\_ACEOF
5751#define HAVE_ATTRIBUTE__SENTINEL__ 1
5752_ACEOF
5753
5754 ;;
5691*-*-solaris*) 5755*-*-solaris*)
5692 if test "x$withval" != "xno" ; then 5756 if test "x$withval" != "xno" ; then
5693 need_dash_r=1 5757 need_dash_r=1
@@ -6083,6 +6147,12 @@ _ACEOF
6083 ;; 6147 ;;
6084# UnixWare 7.x, OpenUNIX 8 6148# UnixWare 7.x, OpenUNIX 8
6085*-*-sysv5*) 6149*-*-sysv5*)
6150 check_for_libcrypt_later=1
6151
6152cat >>confdefs.h <<\_ACEOF
6153#define UNIXWARE_LONG_PASSWORDS 1
6154_ACEOF
6155
6086 cat >>confdefs.h <<\_ACEOF 6156 cat >>confdefs.h <<\_ACEOF
6087#define USE_PIPES 1 6157#define USE_PIPES 1
6088_ACEOF 6158_ACEOF
@@ -6104,6 +6174,16 @@ cat >>confdefs.h <<\_ACEOF
6104#define PASSWD_NEEDS_USERNAME 1 6174#define PASSWD_NEEDS_USERNAME 1
6105_ACEOF 6175_ACEOF
6106 6176
6177 case "$host" in
6178 *-*-sysv5SCO_SV*) # SCO OpenServer 6.x
6179 TEST_SHELL=/u95/bin/sh
6180
6181cat >>confdefs.h <<\_ACEOF
6182#define BROKEN_LIBIAF 1
6183_ACEOF
6184
6185 ;;
6186 esac
6107 ;; 6187 ;;
6108*-*-sysv*) 6188*-*-sysv*)
6109 ;; 6189 ;;
@@ -6436,6 +6516,42 @@ _ACEOF
6436_ACEOF 6516_ACEOF
6437 6517
6438 ;; 6518 ;;
6519
6520*-*-ultrix*)
6521
6522cat >>confdefs.h <<\_ACEOF
6523#define BROKEN_GETGROUPS
6524_ACEOF
6525
6526
6527cat >>confdefs.h <<\_ACEOF
6528#define BROKEN_MMAP
6529_ACEOF
6530
6531
6532cat >>confdefs.h <<\_ACEOF
6533#define NEED_SETPRGP
6534_ACEOF
6535
6536
6537cat >>confdefs.h <<\_ACEOF
6538#define HAVE_SYS_SYSLOG_H 1
6539_ACEOF
6540
6541 ;;
6542
6543*-*-lynxos)
6544 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
6545 cat >>confdefs.h <<\_ACEOF
6546#define MISSING_HOWMANY 1
6547_ACEOF
6548
6549
6550cat >>confdefs.h <<\_ACEOF
6551#define BROKEN_SETVBUF 1
6552_ACEOF
6553
6554 ;;
6439esac 6555esac
6440 6556
6441# Allow user to specify flags 6557# Allow user to specify flags
@@ -6488,6 +6604,20 @@ if test "${with_libs+set}" = set; then
6488 6604
6489fi; 6605fi;
6490 6606
6607# Check whether --with-Werror or --without-Werror was given.
6608if test "${with_Werror+set}" = set; then
6609 withval="$with_Werror"
6610
6611 if test -n "$withval" && test "x$withval" != "xno"; then
6612 werror_flags="-Werror"
6613 if "x${withval}" != "xyes"; then
6614 werror_flags="$withval"
6615 fi
6616 fi
6617
6618
6619fi;
6620
6491echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 6621echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
6492echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 6622echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
6493if test "$cross_compiling" = yes; then 6623if test "$cross_compiling" = yes; then
@@ -6536,7 +6666,6 @@ fi
6536rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6666rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6537fi 6667fi
6538 6668
6539# Checks for header files.
6540 6669
6541echo "$as_me:$LINENO: checking for egrep" >&5 6670echo "$as_me:$LINENO: checking for egrep" >&5
6542echo $ECHO_N "checking for egrep... $ECHO_C" >&6 6671echo $ECHO_N "checking for egrep... $ECHO_C" >&6
@@ -6846,16 +6975,69 @@ done
6846 6975
6847 6976
6848 6977
6849for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ 6978
6850 floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ 6979
6851 login_cap.h maillock.h ndir.h netdb.h netgroup.h \ 6980
6852 netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ 6981for ac_header in \
6853 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ 6982 bstring.h \
6854 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ 6983 crypt.h \
6855 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ 6984 dirent.h \
6856 sys/pstat.h sys/select.h sys/stat.h sys/stream.h \ 6985 endian.h \
6857 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ 6986 features.h \
6858 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h 6987 floatingpoint.h \
6988 getopt.h \
6989 glob.h \
6990 ia.h \
6991 iaf.h \
6992 lastlog.h \
6993 limits.h \
6994 login.h \
6995 login_cap.h \
6996 maillock.h \
6997 ndir.h \
6998 netdb.h \
6999 netgroup.h \
7000 netinet/in_systm.h \
7001 pam/pam_appl.h \
7002 paths.h \
7003 pty.h \
7004 readpassphrase.h \
7005 rpc/types.h \
7006 security/pam_appl.h \
7007 shadow.h \
7008 stddef.h \
7009 stdint.h \
7010 string.h \
7011 strings.h \
7012 sys/audit.h \
7013 sys/bitypes.h \
7014 sys/bsdtty.h \
7015 sys/cdefs.h \
7016 sys/dir.h \
7017 sys/mman.h \
7018 sys/ndir.h \
7019 sys/prctl.h \
7020 sys/pstat.h \
7021 sys/select.h \
7022 sys/stat.h \
7023 sys/stream.h \
7024 sys/stropts.h \
7025 sys/strtio.h \
7026 sys/sysmacros.h \
7027 sys/time.h \
7028 sys/timers.h \
7029 sys/un.h \
7030 time.h \
7031 tmpdir.h \
7032 ttyent.h \
7033 unistd.h \
7034 usersec.h \
7035 util.h \
7036 utime.h \
7037 utmp.h \
7038 utmpx.h \
7039 vis.h \
7040
6859do 7041do
6860as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7042as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861if eval "test \"\${$as_ac_Header+set}\" = set"; then 7043if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -6976,9 +7158,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
6976echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7158echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6977 ( 7159 (
6978 cat <<\_ASBOX 7160 cat <<\_ASBOX
6979## ---------------------------------- ## 7161## ------------------------------------------- ##
6980## Report this to the OpenSSH lists. ## 7162## Report this to openssh-unix-dev@mindrot.org ##
6981## ---------------------------------- ## 7163## ------------------------------------------- ##
6982_ASBOX 7164_ASBOX
6983 ) | 7165 ) |
6984 sed "s/^/$as_me: WARNING: /" >&2 7166 sed "s/^/$as_me: WARNING: /" >&2
@@ -7632,9 +7814,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
7632echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7814echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7633 ( 7815 (
7634 cat <<\_ASBOX 7816 cat <<\_ASBOX
7635## ---------------------------------- ## 7817## ------------------------------------------- ##
7636## Report this to the OpenSSH lists. ## 7818## Report this to openssh-unix-dev@mindrot.org ##
7637## ---------------------------------- ## 7819## ------------------------------------------- ##
7638_ASBOX 7820_ASBOX
7639 ) | 7821 ) |
7640 sed "s/^/$as_me: WARNING: /" >&2 7822 sed "s/^/$as_me: WARNING: /" >&2
@@ -7922,9 +8104,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
7922echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8104echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7923 ( 8105 (
7924 cat <<\_ASBOX 8106 cat <<\_ASBOX
7925## ---------------------------------- ## 8107## ------------------------------------------- ##
7926## Report this to the OpenSSH lists. ## 8108## Report this to openssh-unix-dev@mindrot.org ##
7927## ---------------------------------- ## 8109## ------------------------------------------- ##
7928_ASBOX 8110_ASBOX
7929 ) | 8111 ) |
7930 sed "s/^/$as_me: WARNING: /" >&2 8112 sed "s/^/$as_me: WARNING: /" >&2
@@ -8550,9 +8732,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
8550echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} 8732echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
8551 ( 8733 (
8552 cat <<\_ASBOX 8734 cat <<\_ASBOX
8553## ---------------------------------- ## 8735## ------------------------------------------- ##
8554## Report this to the OpenSSH lists. ## 8736## Report this to openssh-unix-dev@mindrot.org ##
8555## ---------------------------------- ## 8737## ------------------------------------------- ##
8556_ASBOX 8738_ASBOX
8557 ) | 8739 ) |
8558 sed "s/^/$as_me: WARNING: /" >&2 8740 sed "s/^/$as_me: WARNING: /" >&2
@@ -8619,8 +8801,8 @@ int main()
8619 if (a == 1 && b == 1 && c >= 4) 8801 if (a == 1 && b == 1 && c >= 4)
8620 exit(0); 8802 exit(0);
8621 8803
8622 /* 1.2.1.2 and up are OK */ 8804 /* 1.2.3 and up are OK */
8623 if (v >= 1020102) 8805 if (v >= 1020300)
8624 exit(0); 8806 exit(0);
8625 8807
8626 exit(2); 8808 exit(2);
@@ -8654,14 +8836,14 @@ Your reported zlib version has known security problems. It's possible your
8654vendor has fixed these problems without changing the version number. If you 8836vendor has fixed these problems without changing the version number. If you
8655are sure this is the case, you can disable the check by running 8837are sure this is the case, you can disable the check by running
8656\"./configure --without-zlib-version-check\". 8838\"./configure --without-zlib-version-check\".
8657If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. 8839If you are in doubt, upgrade zlib to version 1.2.3 or greater.
8658See http://www.gzip.org/zlib/ for details." >&5 8840See http://www.gzip.org/zlib/ for details." >&5
8659echo "$as_me: error: *** zlib too old - check config.log *** 8841echo "$as_me: error: *** zlib too old - check config.log ***
8660Your reported zlib version has known security problems. It's possible your 8842Your reported zlib version has known security problems. It's possible your
8661vendor has fixed these problems without changing the version number. If you 8843vendor has fixed these problems without changing the version number. If you
8662are sure this is the case, you can disable the check by running 8844are sure this is the case, you can disable the check by running
8663\"./configure --without-zlib-version-check\". 8845\"./configure --without-zlib-version-check\".
8664If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. 8846If you are in doubt, upgrade zlib to version 1.2.3 or greater.
8665See http://www.gzip.org/zlib/ for details." >&2;} 8847See http://www.gzip.org/zlib/ for details." >&2;}
8666 { (exit 1); exit 1; }; } 8848 { (exit 1); exit 1; }; }
8667 else 8849 else
@@ -9128,9 +9310,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
9128echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9310echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9129 ( 9311 (
9130 cat <<\_ASBOX 9312 cat <<\_ASBOX
9131## ---------------------------------- ## 9313## ------------------------------------------- ##
9132## Report this to the OpenSSH lists. ## 9314## Report this to openssh-unix-dev@mindrot.org ##
9133## ---------------------------------- ## 9315## ------------------------------------------- ##
9134_ASBOX 9316_ASBOX
9135 ) | 9317 ) |
9136 sed "s/^/$as_me: WARNING: /" >&2 9318 sed "s/^/$as_me: WARNING: /" >&2
@@ -10038,6 +10220,60 @@ echo "$as_me: error: libedit not found" >&2;}
10038 { (exit 1); exit 1; }; } 10220 { (exit 1); exit 1; }; }
10039fi 10221fi
10040 10222
10223 echo "$as_me:$LINENO: checking if libedit version is compatible" >&5
10224echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6
10225 cat >conftest.$ac_ext <<_ACEOF
10226/* confdefs.h. */
10227_ACEOF
10228cat confdefs.h >>conftest.$ac_ext
10229cat >>conftest.$ac_ext <<_ACEOF
10230/* end confdefs.h. */
10231
10232#include <histedit.h>
10233int main(void)
10234{
10235 int i = H_SETSIZE;
10236 el_init("", NULL, NULL, NULL);
10237 exit(0);
10238}
10239
10240_ACEOF
10241rm -f conftest.$ac_objext
10242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10243 (eval $ac_compile) 2>conftest.er1
10244 ac_status=$?
10245 grep -v '^ *+' conftest.er1 >conftest.err
10246 rm -f conftest.er1
10247 cat conftest.err >&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); } &&
10250 { ac_try='test -z "$ac_c_werror_flag"
10251 || test ! -s conftest.err'
10252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10253 (eval $ac_try) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }; } &&
10257 { ac_try='test -s conftest.$ac_objext'
10258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10259 (eval $ac_try) 2>&5
10260 ac_status=$?
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
10263 echo "$as_me:$LINENO: result: yes" >&5
10264echo "${ECHO_T}yes" >&6
10265else
10266 echo "$as_me: failed program was:" >&5
10267sed 's/^/| /' conftest.$ac_ext >&5
10268
10269 echo "$as_me:$LINENO: result: no" >&5
10270echo "${ECHO_T}no" >&6
10271 { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5
10272echo "$as_me: error: libedit version is not compatible" >&2;}
10273 { (exit 1); exit 1; }; }
10274
10275fi
10276rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10041 fi 10277 fi
10042 10278
10043fi; 10279fi;
@@ -10177,9 +10413,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
10177echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10413echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10178 ( 10414 (
10179 cat <<\_ASBOX 10415 cat <<\_ASBOX
10180## ---------------------------------- ## 10416## ------------------------------------------- ##
10181## Report this to the OpenSSH lists. ## 10417## Report this to openssh-unix-dev@mindrot.org ##
10182## ---------------------------------- ## 10418## ------------------------------------------- ##
10183_ASBOX 10419_ASBOX
10184 ) | 10420 ) |
10185 sed "s/^/$as_me: WARNING: /" >&2 10421 sed "s/^/$as_me: WARNING: /" >&2
@@ -10512,6 +10748,10 @@ cat >>confdefs.h <<\_ACEOF
10512_ACEOF 10748_ACEOF
10513 10749
10514 ;; 10750 ;;
10751 no)
10752 echo "$as_me:$LINENO: result: no" >&5
10753echo "${ECHO_T}no" >&6
10754 ;;
10515 *) 10755 *)
10516 { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 10756 { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5
10517echo "$as_me: error: Unknown audit module $withval" >&2;} 10757echo "$as_me: error: Unknown audit module $withval" >&2;}
@@ -10599,19 +10839,89 @@ fi;
10599 10839
10600 10840
10601 10841
10842
10843
10602for ac_func in \ 10844for ac_func in \
10603 arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ 10845 arc4random \
10604 bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \ 10846 b64_ntop \
10605 freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \ 10847 __b64_ntop \
10606 getopt getpeereid _getpty getrlimit getttyent glob inet_aton \ 10848 b64_pton \
10607 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 10849 __b64_pton \
10608 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 10850 bcopy \
10609 pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ 10851 bindresvport_sa \
10610 setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ 10852 clock \
10611 setproctitle setregid setreuid setrlimit \ 10853 closefrom \
10612 setsid setvbuf sigaction sigvec snprintf socketpair strerror \ 10854 dirfd \
10613 strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ 10855 fchmod \
10614 truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ 10856 fchown \
10857 freeaddrinfo \
10858 futimes \
10859 getaddrinfo \
10860 getcwd \
10861 getgrouplist \
10862 getnameinfo \
10863 getopt \
10864 getpeereid \
10865 _getpty \
10866 getrlimit \
10867 getttyent \
10868 glob \
10869 inet_aton \
10870 inet_ntoa \
10871 inet_ntop \
10872 innetgr \
10873 login_getcapbool \
10874 md5_crypt \
10875 memmove \
10876 mkdtemp \
10877 mmap \
10878 ngetaddrinfo \
10879 nsleep \
10880 ogetaddrinfo \
10881 openlog_r \
10882 openpty \
10883 prctl \
10884 pstat \
10885 readpassphrase \
10886 realpath \
10887 recvmsg \
10888 rresvport_af \
10889 sendmsg \
10890 setdtablesize \
10891 setegid \
10892 setenv \
10893 seteuid \
10894 setgroups \
10895 setlogin \
10896 setpcred \
10897 setproctitle \
10898 setregid \
10899 setreuid \
10900 setrlimit \
10901 setsid \
10902 setvbuf \
10903 sigaction \
10904 sigvec \
10905 snprintf \
10906 socketpair \
10907 strdup \
10908 strerror \
10909 strlcat \
10910 strlcpy \
10911 strmode \
10912 strnvis \
10913 strtonum \
10914 strtoll \
10915 strtoul \
10916 sysconf \
10917 tcgetpgrp \
10918 truncate \
10919 unsetenv \
10920 updwtmpx \
10921 utimes \
10922 vhangup \
10923 vsnprintf \
10924 waitpid \
10615 10925
10616do 10926do
10617as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10927as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -11009,9 +11319,9 @@ _ACEOF
11009fi 11319fi
11010 11320
11011 11321
11012echo "$as_me:$LINENO: checking whether strsep is declared" >&5 11322echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
11013echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 11323echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
11014if test "${ac_cv_have_decl_strsep+set}" = set; then 11324if test "${ac_cv_have_decl_getrusage+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6 11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11016else 11326else
11017 cat >conftest.$ac_ext <<_ACEOF 11327 cat >conftest.$ac_ext <<_ACEOF
@@ -11024,8 +11334,8 @@ $ac_includes_default
11024int 11334int
11025main () 11335main ()
11026{ 11336{
11027#ifndef strsep 11337#ifndef getrusage
11028 char *p = (char *) strsep; 11338 char *p = (char *) getrusage;
11029#endif 11339#endif
11030 11340
11031 ; 11341 ;
@@ -11054,20 +11364,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11054 ac_status=$? 11364 ac_status=$?
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }; }; then 11366 (exit $ac_status); }; }; then
11057 ac_cv_have_decl_strsep=yes 11367 ac_cv_have_decl_getrusage=yes
11058else 11368else
11059 echo "$as_me: failed program was:" >&5 11369 echo "$as_me: failed program was:" >&5
11060sed 's/^/| /' conftest.$ac_ext >&5 11370sed 's/^/| /' conftest.$ac_ext >&5
11061 11371
11062ac_cv_have_decl_strsep=no 11372ac_cv_have_decl_getrusage=no
11063fi 11373fi
11064rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11374rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11065fi 11375fi
11066echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 11376echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
11067echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 11377echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
11068if test $ac_cv_have_decl_strsep = yes; then 11378if test $ac_cv_have_decl_getrusage = yes; then
11069 11379
11070for ac_func in strsep 11380for ac_func in getrusage
11071do 11381do
11072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11382as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11073echo "$as_me:$LINENO: checking for $ac_func" >&5 11383echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -11170,9 +11480,9 @@ done
11170 11480
11171fi 11481fi
11172 11482
11173echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 11483echo "$as_me:$LINENO: checking whether strsep is declared" >&5
11174echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 11484echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
11175if test "${ac_cv_have_decl_getrusage+set}" = set; then 11485if test "${ac_cv_have_decl_strsep+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6 11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11177else 11487else
11178 cat >conftest.$ac_ext <<_ACEOF 11488 cat >conftest.$ac_ext <<_ACEOF
@@ -11181,12 +11491,17 @@ _ACEOF
11181cat confdefs.h >>conftest.$ac_ext 11491cat confdefs.h >>conftest.$ac_ext
11182cat >>conftest.$ac_ext <<_ACEOF 11492cat >>conftest.$ac_ext <<_ACEOF
11183/* end confdefs.h. */ 11493/* end confdefs.h. */
11184$ac_includes_default 11494
11495#ifdef HAVE_STRING_H
11496# include <string.h>
11497#endif
11498
11499
11185int 11500int
11186main () 11501main ()
11187{ 11502{
11188#ifndef getrusage 11503#ifndef strsep
11189 char *p = (char *) getrusage; 11504 char *p = (char *) strsep;
11190#endif 11505#endif
11191 11506
11192 ; 11507 ;
@@ -11215,20 +11530,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 ac_status=$? 11530 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }; }; then 11532 (exit $ac_status); }; }; then
11218 ac_cv_have_decl_getrusage=yes 11533 ac_cv_have_decl_strsep=yes
11219else 11534else
11220 echo "$as_me: failed program was:" >&5 11535 echo "$as_me: failed program was:" >&5
11221sed 's/^/| /' conftest.$ac_ext >&5 11536sed 's/^/| /' conftest.$ac_ext >&5
11222 11537
11223ac_cv_have_decl_getrusage=no 11538ac_cv_have_decl_strsep=no
11224fi 11539fi
11225rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11540rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11226fi 11541fi
11227echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 11542echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
11228echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 11543echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
11229if test $ac_cv_have_decl_getrusage = yes; then 11544if test $ac_cv_have_decl_strsep = yes; then
11230 11545
11231for ac_func in getrusage 11546for ac_func in strsep
11232do 11547do
11233as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11548as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11234echo "$as_me:$LINENO: checking for $ac_func" >&5 11549echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -14302,6 +14617,80 @@ fi
14302fi 14617fi
14303 14618
14304 14619
14620echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5
14621echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6
14622if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14624else
14625 ac_check_lib_save_LIBS=$LIBS
14626LIBS="-liaf $LIBS"
14627cat >conftest.$ac_ext <<_ACEOF
14628/* confdefs.h. */
14629_ACEOF
14630cat confdefs.h >>conftest.$ac_ext
14631cat >>conftest.$ac_ext <<_ACEOF
14632/* end confdefs.h. */
14633
14634/* Override any gcc2 internal prototype to avoid an error. */
14635#ifdef __cplusplus
14636extern "C"
14637#endif
14638/* We use char because int might match the return type of a gcc2
14639 builtin and then its argument prototype would still apply. */
14640char ia_openinfo ();
14641int
14642main ()
14643{
14644ia_openinfo ();
14645 ;
14646 return 0;
14647}
14648_ACEOF
14649rm -f conftest.$ac_objext conftest$ac_exeext
14650if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14651 (eval $ac_link) 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_c_werror_flag"
14659 || test ! -s conftest.err'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; } &&
14665 { ac_try='test -s conftest$ac_exeext'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_lib_iaf_ia_openinfo=yes
14672else
14673 echo "$as_me: failed program was:" >&5
14674sed 's/^/| /' conftest.$ac_ext >&5
14675
14676ac_cv_lib_iaf_ia_openinfo=no
14677fi
14678rm -f conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext conftest.$ac_ext
14680LIBS=$ac_check_lib_save_LIBS
14681fi
14682echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5
14683echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6
14684if test $ac_cv_lib_iaf_ia_openinfo = yes; then
14685 cat >>confdefs.h <<_ACEOF
14686#define HAVE_LIBIAF 1
14687_ACEOF
14688
14689 LIBS="-liaf $LIBS"
14690
14691fi
14692
14693
14305### Configure cryptographic random number support 14694### Configure cryptographic random number support
14306 14695
14307# Check wheter OpenSSL seeds itself 14696# Check wheter OpenSSL seeds itself
@@ -21183,9 +21572,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
21183echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 21572echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21184 ( 21573 (
21185 cat <<\_ASBOX 21574 cat <<\_ASBOX
21186## ---------------------------------- ## 21575## ------------------------------------------- ##
21187## Report this to the OpenSSH lists. ## 21576## Report this to openssh-unix-dev@mindrot.org ##
21188## ---------------------------------- ## 21577## ------------------------------------------- ##
21189_ASBOX 21578_ASBOX
21190 ) | 21579 ) |
21191 sed "s/^/$as_me: WARNING: /" >&2 21580 sed "s/^/$as_me: WARNING: /" >&2
@@ -21974,6 +22363,152 @@ _ACEOF
21974fi 22363fi
21975done 22364done
21976 22365
22366 echo "$as_me:$LINENO: checking whether _getshort is declared" >&5
22367echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6
22368if test "${ac_cv_have_decl__getshort+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22370else
22371 cat >conftest.$ac_ext <<_ACEOF
22372/* confdefs.h. */
22373_ACEOF
22374cat confdefs.h >>conftest.$ac_ext
22375cat >>conftest.$ac_ext <<_ACEOF
22376/* end confdefs.h. */
22377#include <sys/types.h>
22378 #include <arpa/nameser.h>
22379
22380int
22381main ()
22382{
22383#ifndef _getshort
22384 char *p = (char *) _getshort;
22385#endif
22386
22387 ;
22388 return 0;
22389}
22390_ACEOF
22391rm -f conftest.$ac_objext
22392if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>conftest.er1
22394 ac_status=$?
22395 grep -v '^ *+' conftest.er1 >conftest.err
22396 rm -f conftest.er1
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } &&
22400 { ac_try='test -z "$ac_c_werror_flag"
22401 || test ! -s conftest.err'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; } &&
22407 { ac_try='test -s conftest.$ac_objext'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_cv_have_decl__getshort=yes
22414else
22415 echo "$as_me: failed program was:" >&5
22416sed 's/^/| /' conftest.$ac_ext >&5
22417
22418ac_cv_have_decl__getshort=no
22419fi
22420rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22421fi
22422echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5
22423echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6
22424if test $ac_cv_have_decl__getshort = yes; then
22425
22426cat >>confdefs.h <<_ACEOF
22427#define HAVE_DECL__GETSHORT 1
22428_ACEOF
22429
22430
22431else
22432 cat >>confdefs.h <<_ACEOF
22433#define HAVE_DECL__GETSHORT 0
22434_ACEOF
22435
22436
22437fi
22438echo "$as_me:$LINENO: checking whether _getlong is declared" >&5
22439echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6
22440if test "${ac_cv_have_decl__getlong+set}" = set; then
22441 echo $ECHO_N "(cached) $ECHO_C" >&6
22442else
22443 cat >conftest.$ac_ext <<_ACEOF
22444/* confdefs.h. */
22445_ACEOF
22446cat confdefs.h >>conftest.$ac_ext
22447cat >>conftest.$ac_ext <<_ACEOF
22448/* end confdefs.h. */
22449#include <sys/types.h>
22450 #include <arpa/nameser.h>
22451
22452int
22453main ()
22454{
22455#ifndef _getlong
22456 char *p = (char *) _getlong;
22457#endif
22458
22459 ;
22460 return 0;
22461}
22462_ACEOF
22463rm -f conftest.$ac_objext
22464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22465 (eval $ac_compile) 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try='test -z "$ac_c_werror_flag"
22473 || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22476 ac_status=$?
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try='test -s conftest.$ac_objext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22482 ac_status=$?
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 ac_cv_have_decl__getlong=yes
22486else
22487 echo "$as_me: failed program was:" >&5
22488sed 's/^/| /' conftest.$ac_ext >&5
22489
22490ac_cv_have_decl__getlong=no
22491fi
22492rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22493fi
22494echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5
22495echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6
22496if test $ac_cv_have_decl__getlong = yes; then
22497
22498cat >>confdefs.h <<_ACEOF
22499#define HAVE_DECL__GETLONG 1
22500_ACEOF
22501
22502
22503else
22504 cat >>confdefs.h <<_ACEOF
22505#define HAVE_DECL__GETLONG 0
22506_ACEOF
22507
22508
22509fi
22510
22511
21977 echo "$as_me:$LINENO: checking for HEADER.ad" >&5 22512 echo "$as_me:$LINENO: checking for HEADER.ad" >&5
21978echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 22513echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
21979if test "${ac_cv_member_HEADER_ad+set}" = set; then 22514if test "${ac_cv_member_HEADER_ad+set}" = set; then
@@ -22713,9 +23248,9 @@ echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;
22713echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} 23248echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
22714 ( 23249 (
22715 cat <<\_ASBOX 23250 cat <<\_ASBOX
22716## ---------------------------------- ## 23251## ------------------------------------------- ##
22717## Report this to the OpenSSH lists. ## 23252## Report this to openssh-unix-dev@mindrot.org ##
22718## ---------------------------------- ## 23253## ------------------------------------------- ##
22719_ASBOX 23254_ASBOX
22720 ) | 23255 ) |
22721 sed "s/^/$as_me: WARNING: /" >&2 23256 sed "s/^/$as_me: WARNING: /" >&2
@@ -22859,9 +23394,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
22859echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23394echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22860 ( 23395 (
22861 cat <<\_ASBOX 23396 cat <<\_ASBOX
22862## ---------------------------------- ## 23397## ------------------------------------------- ##
22863## Report this to the OpenSSH lists. ## 23398## Report this to openssh-unix-dev@mindrot.org ##
22864## ---------------------------------- ## 23399## ------------------------------------------- ##
22865_ASBOX 23400_ASBOX
22866 ) | 23401 ) |
22867 sed "s/^/$as_me: WARNING: /" >&2 23402 sed "s/^/$as_me: WARNING: /" >&2
@@ -23017,9 +23552,9 @@ echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result"
23017echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} 23552echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;}
23018 ( 23553 (
23019 cat <<\_ASBOX 23554 cat <<\_ASBOX
23020## ---------------------------------- ## 23555## ------------------------------------------- ##
23021## Report this to the OpenSSH lists. ## 23556## Report this to openssh-unix-dev@mindrot.org ##
23022## ---------------------------------- ## 23557## ------------------------------------------- ##
23023_ASBOX 23558_ASBOX
23024 ) | 23559 ) |
23025 sed "s/^/$as_me: WARNING: /" >&2 23560 sed "s/^/$as_me: WARNING: /" >&2
@@ -23176,9 +23711,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
23176echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23711echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23177 ( 23712 (
23178 cat <<\_ASBOX 23713 cat <<\_ASBOX
23179## ---------------------------------- ## 23714## ------------------------------------------- ##
23180## Report this to the OpenSSH lists. ## 23715## Report this to openssh-unix-dev@mindrot.org ##
23181## ---------------------------------- ## 23716## ------------------------------------------- ##
23182_ASBOX 23717_ASBOX
23183 ) | 23718 ) |
23184 sed "s/^/$as_me: WARNING: /" >&2 23719 sed "s/^/$as_me: WARNING: /" >&2
@@ -23327,9 +23862,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
23327echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23862echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23328 ( 23863 (
23329 cat <<\_ASBOX 23864 cat <<\_ASBOX
23330## ---------------------------------- ## 23865## ------------------------------------------- ##
23331## Report this to the OpenSSH lists. ## 23866## Report this to openssh-unix-dev@mindrot.org ##
23332## ---------------------------------- ## 23867## ------------------------------------------- ##
23333_ASBOX 23868_ASBOX
23334 ) | 23869 ) |
23335 sed "s/^/$as_me: WARNING: /" >&2 23870 sed "s/^/$as_me: WARNING: /" >&2
@@ -23478,9 +24013,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
23478echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24013echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23479 ( 24014 (
23480 cat <<\_ASBOX 24015 cat <<\_ASBOX
23481## ---------------------------------- ## 24016## ------------------------------------------- ##
23482## Report this to the OpenSSH lists. ## 24017## Report this to openssh-unix-dev@mindrot.org ##
23483## ---------------------------------- ## 24018## ------------------------------------------- ##
23484_ASBOX 24019_ASBOX
23485 ) | 24020 ) |
23486 sed "s/^/$as_me: WARNING: /" >&2 24021 sed "s/^/$as_me: WARNING: /" >&2
@@ -23637,135 +24172,6 @@ _ACEOF
23637 24172
23638fi 24173fi
23639 24174
23640 echo "$as_me:$LINENO: checking for library containing krb5_init_ets" >&5
23641echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6
23642if test "${ac_cv_search_krb5_init_ets+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23644else
23645 ac_func_search_save_LIBS=$LIBS
23646ac_cv_search_krb5_init_ets=no
23647cat >conftest.$ac_ext <<_ACEOF
23648/* confdefs.h. */
23649_ACEOF
23650cat confdefs.h >>conftest.$ac_ext
23651cat >>conftest.$ac_ext <<_ACEOF
23652/* end confdefs.h. */
23653
23654/* Override any gcc2 internal prototype to avoid an error. */
23655#ifdef __cplusplus
23656extern "C"
23657#endif
23658/* We use char because int might match the return type of a gcc2
23659 builtin and then its argument prototype would still apply. */
23660char krb5_init_ets ();
23661int
23662main ()
23663{
23664krb5_init_ets ();
23665 ;
23666 return 0;
23667}
23668_ACEOF
23669rm -f conftest.$ac_objext conftest$ac_exeext
23670if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>conftest.er1
23672 ac_status=$?
23673 grep -v '^ *+' conftest.er1 >conftest.err
23674 rm -f conftest.er1
23675 cat conftest.err >&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try='test -z "$ac_c_werror_flag"
23679 || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23688 ac_status=$?
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 ac_cv_search_krb5_init_ets="none required"
23692else
23693 echo "$as_me: failed program was:" >&5
23694sed 's/^/| /' conftest.$ac_ext >&5
23695
23696fi
23697rm -f conftest.err conftest.$ac_objext \
23698 conftest$ac_exeext conftest.$ac_ext
23699if test "$ac_cv_search_krb5_init_ets" = no; then
23700 for ac_lib in $K5LIBS; do
23701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23702 cat >conftest.$ac_ext <<_ACEOF
23703/* confdefs.h. */
23704_ACEOF
23705cat confdefs.h >>conftest.$ac_ext
23706cat >>conftest.$ac_ext <<_ACEOF
23707/* end confdefs.h. */
23708
23709/* Override any gcc2 internal prototype to avoid an error. */
23710#ifdef __cplusplus
23711extern "C"
23712#endif
23713/* We use char because int might match the return type of a gcc2
23714 builtin and then its argument prototype would still apply. */
23715char krb5_init_ets ();
23716int
23717main ()
23718{
23719krb5_init_ets ();
23720 ;
23721 return 0;
23722}
23723_ACEOF
23724rm -f conftest.$ac_objext conftest$ac_exeext
23725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23726 (eval $ac_link) 2>conftest.er1
23727 ac_status=$?
23728 grep -v '^ *+' conftest.er1 >conftest.err
23729 rm -f conftest.er1
23730 cat conftest.err >&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } &&
23733 { ac_try='test -z "$ac_c_werror_flag"
23734 || test ! -s conftest.err'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23737 ac_status=$?
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; } &&
23740 { ac_try='test -s conftest$ac_exeext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 ac_cv_search_krb5_init_ets="-l$ac_lib"
23747break
23748else
23749 echo "$as_me: failed program was:" >&5
23750sed 's/^/| /' conftest.$ac_ext >&5
23751
23752fi
23753rm -f conftest.err conftest.$ac_objext \
23754 conftest$ac_exeext conftest.$ac_ext
23755 done
23756fi
23757LIBS=$ac_func_search_save_LIBS
23758fi
23759echo "$as_me:$LINENO: result: $ac_cv_search_krb5_init_ets" >&5
23760echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6
23761if test "$ac_cv_search_krb5_init_ets" != no; then
23762 test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS"
23763 cat >>confdefs.h <<\_ACEOF
23764#define KRB5_INIT_ETS 1
23765_ACEOF
23766
23767fi
23768
23769 24175
23770 24176
23771fi; 24177fi;
@@ -25054,6 +25460,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
25054 LIBS=`echo $LIBS | sed 's/-ldl //'` 25460 LIBS=`echo $LIBS | sed 's/-ldl //'`
25055fi 25461fi
25056 25462
25463CFLAGS="$CFLAGS $werror_flags"
25464
25057 25465
25058 ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" 25466 ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh"
25059 25467
@@ -25413,9 +25821,9 @@ exec 6>&1
25413exec 5>>config.log 25821exec 5>>config.log
25414{ 25822{
25415 echo 25823 echo
25416 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 25824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<BOXI_EOF
25417## Running $as_me. ## 25825## Running $as_me. ##
25418_ASBOX 25826BOXI_EOF
25419} >&5 25827} >&5
25420cat >&5 <<_CSEOF 25828cat >&5 <<_CSEOF
25421 25829