summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2638
1 files changed, 2021 insertions, 617 deletions
diff --git a/configure b/configure
index 362218407..5a5e162bd 100755
--- a/configure
+++ b/configure
@@ -1,4 +1,5 @@
1#! /bin/sh 1#! /bin/sh
2# From configure.ac Revision: 1.322.2.6 .
2# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for OpenSSH Portable. 4# Generated by GNU Autoconf 2.59 for OpenSSH Portable.
4# 5#
@@ -311,7 +312,7 @@ ac_includes_default="\
311# include <unistd.h> 312# include <unistd.h>
312#endif" 313#endif"
313 314
314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD EGREP LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS' 315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED STARTUP_SCRIPT_SHELL LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
315ac_subst_files='' 316ac_subst_files=''
316 317
317# Initialize some variables set by options. 318# Initialize some variables set by options.
@@ -884,7 +885,7 @@ Optional Packages:
884 --with-entropy-timeout Specify entropy gathering command timeout (msec) 885 --with-entropy-timeout Specify entropy gathering command timeout (msec)
885 --with-privsep-user=user Specify non-privileged user for privilege separation 886 --with-privsep-user=user Specify non-privileged user for privilege separation
886 --with-sectok Enable smartcard support using libsectok 887 --with-sectok Enable smartcard support using libsectok
887--with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) 888 --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH)
888 --with-kerberos5=PATH Enable Kerberos 5 support 889 --with-kerberos5=PATH Enable Kerberos 5 support
889 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 890 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
890 --with-xauth=PATH Specify path to xauth program 891 --with-xauth=PATH Specify path to xauth program
@@ -1359,6 +1360,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1359 1360
1360 1361
1361 1362
1363
1362 ac_config_headers="$ac_config_headers config.h" 1364 ac_config_headers="$ac_config_headers config.h"
1363 1365
1364ac_ext=c 1366ac_ext=c
@@ -3036,6 +3038,21 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3036 3038
3037test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3039test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3038 3040
3041echo "$as_me:$LINENO: checking for egrep" >&5
3042echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3043if test "${ac_cv_prog_egrep+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045else
3046 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3047 then ac_cv_prog_egrep='grep -E'
3048 else ac_cv_prog_egrep='egrep'
3049 fi
3050fi
3051echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3052echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3053 EGREP=$ac_cv_prog_egrep
3054
3055
3039# Extract the first word of "ar", so it can be a program name with args. 3056# Extract the first word of "ar", so it can be a program name with args.
3040set dummy ar; ac_word=$2 3057set dummy ar; ac_word=$2
3041echo "$as_me:$LINENO: checking for $ac_word" >&5 3058echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -3552,6 +3569,13 @@ else
3552echo "${ECHO_T}no" >&6 3569echo "${ECHO_T}no" >&6
3553fi 3570fi
3554 3571
3572if test -x /sbin/sh; then
3573 STARTUP_SCRIPT_SHELL=/sbin/sh
3574
3575else
3576 STARTUP_SCRIPT_SHELL=/bin/sh
3577
3578fi
3555 3579
3556# System features 3580# System features
3557# Check whether --enable-largefile or --disable-largefile was given. 3581# Check whether --enable-largefile or --disable-largefile was given.
@@ -3927,7 +3951,8 @@ fi
3927 3951
3928# Use LOGIN_PROGRAM from environment if possible 3952# Use LOGIN_PROGRAM from environment if possible
3929if test ! -z "$LOGIN_PROGRAM" ; then 3953if test ! -z "$LOGIN_PROGRAM" ; then
3930 cat >>confdefs.h <<_ACEOF 3954
3955cat >>confdefs.h <<_ACEOF
3931#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" 3956#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
3932_ACEOF 3957_ACEOF
3933 3958
@@ -4020,7 +4045,8 @@ echo "${ECHO_T}no" >&6
4020fi 4045fi
4021 4046
4022if test ! -z "$PATH_PASSWD_PROG" ; then 4047if test ! -z "$PATH_PASSWD_PROG" ; then
4023 cat >>confdefs.h <<_ACEOF 4048
4049cat >>confdefs.h <<_ACEOF
4024#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG" 4050#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG"
4025_ACEOF 4051_ACEOF
4026 4052
@@ -4167,12 +4193,14 @@ fi
4167 4193
4168if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 4194if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
4169 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" 4195 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
4170 GCC_VER=`$CC --version` 4196 GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'`
4171 case $GCC_VER in 4197 case $GCC_VER in
4172 1.*) ;; 4198 1.*) ;;
4173 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; 4199 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4174 2.*) ;; 4200 2.*) ;;
4175 *) CFLAGS="$CFLAGS -Wsign-compare" ;; 4201 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4202 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;;
4203 *) ;;
4176 esac 4204 esac
4177 4205
4178 if test -z "$have_llong_max"; then 4206 if test -z "$have_llong_max"; then
@@ -4247,110 +4275,6 @@ fi
4247 fi 4275 fi
4248fi 4276fi
4249 4277
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
4352fi
4353
4354 4278
4355# Check whether --with-rpath or --without-rpath was given. 4279# Check whether --with-rpath or --without-rpath was given.
4356if test "${with_rpath+set}" = set; then 4280if test "${with_rpath+set}" = set; then
@@ -4527,7 +4451,8 @@ fi
4527echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 4451echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
4528echo "${ECHO_T}$ac_cv_func_authenticate" >&6 4452echo "${ECHO_T}$ac_cv_func_authenticate" >&6
4529if test $ac_cv_func_authenticate = yes; then 4453if test $ac_cv_func_authenticate = yes; then
4530 cat >>confdefs.h <<\_ACEOF 4454
4455cat >>confdefs.h <<\_ACEOF
4531#define WITH_AIXAUTHENTICATE 1 4456#define WITH_AIXAUTHENTICATE 1
4532_ACEOF 4457_ACEOF
4533 4458
@@ -5070,7 +4995,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5070 (exit $ac_status); }; }; then 4995 (exit $ac_status); }; }; then
5071 echo "$as_me:$LINENO: result: yes" >&5 4996 echo "$as_me:$LINENO: result: yes" >&5
5072echo "${ECHO_T}yes" >&6 4997echo "${ECHO_T}yes" >&6
5073 cat >>confdefs.h <<\_ACEOF 4998
4999cat >>confdefs.h <<\_ACEOF
5074#define AIX_LOGINFAILED_4ARG 1 5000#define AIX_LOGINFAILED_4ARG 1
5075_ACEOF 5001_ACEOF
5076 5002
@@ -5195,63 +5121,82 @@ fi
5195done 5121done
5196 5122
5197 check_for_aix_broken_getaddrinfo=1 5123 check_for_aix_broken_getaddrinfo=1
5198 cat >>confdefs.h <<\_ACEOF 5124
5125cat >>confdefs.h <<\_ACEOF
5199#define BROKEN_REALPATH 1 5126#define BROKEN_REALPATH 1
5200_ACEOF 5127_ACEOF
5201 5128
5202 cat >>confdefs.h <<\_ACEOF 5129
5130cat >>confdefs.h <<\_ACEOF
5203#define SETEUID_BREAKS_SETUID 1 5131#define SETEUID_BREAKS_SETUID 1
5204_ACEOF 5132_ACEOF
5205 5133
5206 cat >>confdefs.h <<\_ACEOF 5134
5135cat >>confdefs.h <<\_ACEOF
5207#define BROKEN_SETREUID 1 5136#define BROKEN_SETREUID 1
5208_ACEOF 5137_ACEOF
5209 5138
5210 cat >>confdefs.h <<\_ACEOF 5139
5140cat >>confdefs.h <<\_ACEOF
5211#define BROKEN_SETREGID 1 5141#define BROKEN_SETREGID 1
5212_ACEOF 5142_ACEOF
5213 5143
5214 cat >>confdefs.h <<\_ACEOF 5144
5145cat >>confdefs.h <<\_ACEOF
5215#define DISABLE_LASTLOG 1 5146#define DISABLE_LASTLOG 1
5216_ACEOF 5147_ACEOF
5217 5148
5218 cat >>confdefs.h <<\_ACEOF 5149
5150cat >>confdefs.h <<\_ACEOF
5219#define LOGIN_NEEDS_UTMPX 1 5151#define LOGIN_NEEDS_UTMPX 1
5220_ACEOF 5152_ACEOF
5221 5153
5222 cat >>confdefs.h <<\_ACEOF 5154
5155cat >>confdefs.h <<\_ACEOF
5223#define SPT_TYPE SPT_REUSEARGV 5156#define SPT_TYPE SPT_REUSEARGV
5224_ACEOF 5157_ACEOF
5225 5158
5159
5160cat >>confdefs.h <<\_ACEOF
5161#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5162_ACEOF
5163
5226 ;; 5164 ;;
5227*-*-cygwin*) 5165*-*-cygwin*)
5228 check_for_libcrypt_later=1 5166 check_for_libcrypt_later=1
5229 LIBS="$LIBS /usr/lib/textmode.o" 5167 LIBS="$LIBS /usr/lib/textmode.o"
5230 cat >>confdefs.h <<\_ACEOF 5168
5169cat >>confdefs.h <<\_ACEOF
5231#define HAVE_CYGWIN 1 5170#define HAVE_CYGWIN 1
5232_ACEOF 5171_ACEOF
5233 5172
5234 cat >>confdefs.h <<\_ACEOF 5173
5174cat >>confdefs.h <<\_ACEOF
5235#define USE_PIPES 1 5175#define USE_PIPES 1
5236_ACEOF 5176_ACEOF
5237 5177
5238 cat >>confdefs.h <<\_ACEOF 5178
5179cat >>confdefs.h <<\_ACEOF
5239#define DISABLE_SHADOW 1 5180#define DISABLE_SHADOW 1
5240_ACEOF 5181_ACEOF
5241 5182
5242 cat >>confdefs.h <<\_ACEOF 5183
5184cat >>confdefs.h <<\_ACEOF
5243#define IP_TOS_IS_BROKEN 1 5185#define IP_TOS_IS_BROKEN 1
5244_ACEOF 5186_ACEOF
5245 5187
5246 cat >>confdefs.h <<\_ACEOF 5188
5189cat >>confdefs.h <<\_ACEOF
5247#define NO_X11_UNIX_SOCKETS 1 5190#define NO_X11_UNIX_SOCKETS 1
5248_ACEOF 5191_ACEOF
5249 5192
5250 cat >>confdefs.h <<\_ACEOF 5193
5194cat >>confdefs.h <<\_ACEOF
5251#define NO_IPPORT_RESERVED_CONCEPT 1 5195#define NO_IPPORT_RESERVED_CONCEPT 1
5252_ACEOF 5196_ACEOF
5253 5197
5254 cat >>confdefs.h <<\_ACEOF 5198
5199cat >>confdefs.h <<\_ACEOF
5255#define DISABLE_FD_PASSING 1 5200#define DISABLE_FD_PASSING 1
5256_ACEOF 5201_ACEOF
5257 5202
@@ -5315,7 +5260,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
5315( exit $ac_status ) 5260( exit $ac_status )
5316echo "$as_me:$LINENO: result: buggy" >&5 5261echo "$as_me:$LINENO: result: buggy" >&5
5317echo "${ECHO_T}buggy" >&6 5262echo "${ECHO_T}buggy" >&6
5318 cat >>confdefs.h <<\_ACEOF 5263
5264cat >>confdefs.h <<\_ACEOF
5319#define BROKEN_GETADDRINFO 1 5265#define BROKEN_GETADDRINFO 1
5320_ACEOF 5266_ACEOF
5321 5267
@@ -5334,7 +5280,8 @@ _ACEOF
5334#define BROKEN_SETREGID 1 5280#define BROKEN_SETREGID 1
5335_ACEOF 5281_ACEOF
5336 5282
5337 cat >>confdefs.h <<_ACEOF 5283
5284cat >>confdefs.h <<_ACEOF
5338#define BIND_8_COMPAT 1 5285#define BIND_8_COMPAT 1
5339_ACEOF 5286_ACEOF
5340 5287
@@ -5347,7 +5294,8 @@ _ACEOF
5347#define USE_PIPES 1 5294#define USE_PIPES 1
5348_ACEOF 5295_ACEOF
5349 5296
5350 cat >>confdefs.h <<\_ACEOF 5297
5298cat >>confdefs.h <<\_ACEOF
5351#define LOGIN_NO_ENDOPT 1 5299#define LOGIN_NO_ENDOPT 1
5352_ACEOF 5300_ACEOF
5353 5301
@@ -5355,7 +5303,8 @@ _ACEOF
5355#define LOGIN_NEEDS_UTMPX 1 5303#define LOGIN_NEEDS_UTMPX 1
5356_ACEOF 5304_ACEOF
5357 5305
5358 cat >>confdefs.h <<\_ACEOF 5306
5307cat >>confdefs.h <<\_ACEOF
5359#define LOCKED_PASSWD_STRING "*" 5308#define LOCKED_PASSWD_STRING "*"
5360_ACEOF 5309_ACEOF
5361 5310
@@ -5363,6 +5312,7 @@ _ACEOF
5363#define SPT_TYPE SPT_PSTAT 5312#define SPT_TYPE SPT_PSTAT
5364_ACEOF 5313_ACEOF
5365 5314
5315 MAIL="/var/mail/username"
5366 LIBS="$LIBS -lsec" 5316 LIBS="$LIBS -lsec"
5367 5317
5368echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 5318echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
@@ -5451,11 +5401,13 @@ fi
5451 fi 5401 fi
5452 ;; 5402 ;;
5453 *-*-hpux11*) 5403 *-*-hpux11*)
5454 cat >>confdefs.h <<\_ACEOF 5404
5405cat >>confdefs.h <<\_ACEOF
5455#define PAM_SUN_CODEBASE 1 5406#define PAM_SUN_CODEBASE 1
5456_ACEOF 5407_ACEOF
5457 5408
5458 cat >>confdefs.h <<\_ACEOF 5409
5410cat >>confdefs.h <<\_ACEOF
5459#define DISABLE_UTMP 1 5411#define DISABLE_UTMP 1
5460_ACEOF 5412_ACEOF
5461 5413
@@ -5472,7 +5424,8 @@ _ACEOF
5472 # lastly, we define options specific to minor releases 5424 # lastly, we define options specific to minor releases
5473 case "$host" in 5425 case "$host" in
5474 *-*-hpux10.26) 5426 *-*-hpux10.26)
5475 cat >>confdefs.h <<\_ACEOF 5427
5428cat >>confdefs.h <<\_ACEOF
5476#define HAVE_SECUREWARE 1 5429#define HAVE_SECUREWARE 1
5477_ACEOF 5430_ACEOF
5478 5431
@@ -5483,7 +5436,8 @@ _ACEOF
5483 ;; 5436 ;;
5484*-*-irix5*) 5437*-*-irix5*)
5485 PATH="$PATH:/usr/etc" 5438 PATH="$PATH:/usr/etc"
5486 cat >>confdefs.h <<\_ACEOF 5439
5440cat >>confdefs.h <<\_ACEOF
5487#define BROKEN_INET_NTOA 1 5441#define BROKEN_INET_NTOA 1
5488_ACEOF 5442_ACEOF
5489 5443
@@ -5499,7 +5453,8 @@ _ACEOF
5499#define BROKEN_SETREGID 1 5453#define BROKEN_SETREGID 1
5500_ACEOF 5454_ACEOF
5501 5455
5502 cat >>confdefs.h <<\_ACEOF 5456
5457cat >>confdefs.h <<\_ACEOF
5503#define WITH_ABBREV_NO_TTY 1 5458#define WITH_ABBREV_NO_TTY 1
5504_ACEOF 5459_ACEOF
5505 5460
@@ -5510,15 +5465,18 @@ _ACEOF
5510 ;; 5465 ;;
5511*-*-irix6*) 5466*-*-irix6*)
5512 PATH="$PATH:/usr/etc" 5467 PATH="$PATH:/usr/etc"
5513 cat >>confdefs.h <<\_ACEOF 5468
5469cat >>confdefs.h <<\_ACEOF
5514#define WITH_IRIX_ARRAY 1 5470#define WITH_IRIX_ARRAY 1
5515_ACEOF 5471_ACEOF
5516 5472
5517 cat >>confdefs.h <<\_ACEOF 5473
5474cat >>confdefs.h <<\_ACEOF
5518#define WITH_IRIX_PROJECT 1 5475#define WITH_IRIX_PROJECT 1
5519_ACEOF 5476_ACEOF
5520 5477
5521 cat >>confdefs.h <<\_ACEOF 5478
5479cat >>confdefs.h <<\_ACEOF
5522#define WITH_IRIX_AUDIT 1 5480#define WITH_IRIX_AUDIT 1
5523_ACEOF 5481_ACEOF
5524 5482
@@ -5613,7 +5571,8 @@ fi
5613echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 5571echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
5614echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 5572echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
5615if test $ac_cv_func_jlimit_startjob = yes; then 5573if test $ac_cv_func_jlimit_startjob = yes; then
5616 cat >>confdefs.h <<\_ACEOF 5574
5575cat >>confdefs.h <<\_ACEOF
5617#define WITH_IRIX_JOBS 1 5576#define WITH_IRIX_JOBS 1
5618_ACEOF 5577_ACEOF
5619 5578
@@ -5635,7 +5594,8 @@ _ACEOF
5635#define BROKEN_SETREGID 1 5594#define BROKEN_SETREGID 1
5636_ACEOF 5595_ACEOF
5637 5596
5638 cat >>confdefs.h <<\_ACEOF 5597
5598cat >>confdefs.h <<\_ACEOF
5639#define BROKEN_UPDWTMPX 1 5599#define BROKEN_UPDWTMPX 1
5640_ACEOF 5600_ACEOF
5641 5601
@@ -5652,15 +5612,18 @@ _ACEOF
5652 no_dev_ptmx=1 5612 no_dev_ptmx=1
5653 check_for_libcrypt_later=1 5613 check_for_libcrypt_later=1
5654 check_for_openpty_ctty_bug=1 5614 check_for_openpty_ctty_bug=1
5655 cat >>confdefs.h <<\_ACEOF 5615
5616cat >>confdefs.h <<\_ACEOF
5656#define DONT_TRY_OTHER_AF 1 5617#define DONT_TRY_OTHER_AF 1
5657_ACEOF 5618_ACEOF
5658 5619
5659 cat >>confdefs.h <<\_ACEOF 5620
5621cat >>confdefs.h <<\_ACEOF
5660#define PAM_TTY_KLUDGE 1 5622#define PAM_TTY_KLUDGE 1
5661_ACEOF 5623_ACEOF
5662 5624
5663 cat >>confdefs.h <<\_ACEOF 5625
5626cat >>confdefs.h <<\_ACEOF
5664#define LOCKED_PASSWD_PREFIX "!" 5627#define LOCKED_PASSWD_PREFIX "!"
5665_ACEOF 5628_ACEOF
5666 5629
@@ -5668,7 +5631,8 @@ _ACEOF
5668#define SPT_TYPE SPT_REUSEARGV 5631#define SPT_TYPE SPT_REUSEARGV
5669_ACEOF 5632_ACEOF
5670 5633
5671 cat >>confdefs.h <<\_ACEOF 5634
5635cat >>confdefs.h <<\_ACEOF
5672#define LINK_OPNOTSUPP_ERRNO EPERM 5636#define LINK_OPNOTSUPP_ERRNO EPERM
5673_ACEOF 5637_ACEOF
5674 5638
@@ -5677,25 +5641,432 @@ cat >>confdefs.h <<\_ACEOF
5677#define _PATH_BTMP "/var/log/btmp" 5641#define _PATH_BTMP "/var/log/btmp"
5678_ACEOF 5642_ACEOF
5679 5643
5680 5644 cat >>confdefs.h <<\_ACEOF
5681cat >>confdefs.h <<\_ACEOF
5682#define USE_BTMP 1 5645#define USE_BTMP 1
5683_ACEOF 5646_ACEOF
5684 5647
5685 inet6_default_4in6=yes 5648 inet6_default_4in6=yes
5686 case `uname -r` in 5649 case `uname -r` in
5687 1.*|2.0.*) 5650 1.*|2.0.*)
5688 cat >>confdefs.h <<\_ACEOF 5651
5652cat >>confdefs.h <<\_ACEOF
5689#define BROKEN_CMSG_TYPE 1 5653#define BROKEN_CMSG_TYPE 1
5690_ACEOF 5654_ACEOF
5691 5655
5692 ;; 5656 ;;
5693 esac 5657 esac
5658 # tun(4) forwarding compat code
5659
5660echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5661echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5662if test "${ac_cv_header_stdc+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5664else
5665 cat >conftest.$ac_ext <<_ACEOF
5666/* confdefs.h. */
5667_ACEOF
5668cat confdefs.h >>conftest.$ac_ext
5669cat >>conftest.$ac_ext <<_ACEOF
5670/* end confdefs.h. */
5671#include <stdlib.h>
5672#include <stdarg.h>
5673#include <string.h>
5674#include <float.h>
5675
5676int
5677main ()
5678{
5679
5680 ;
5681 return 0;
5682}
5683_ACEOF
5684rm -f conftest.$ac_objext
5685if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5686 (eval $ac_compile) 2>conftest.er1
5687 ac_status=$?
5688 grep -v '^ *+' conftest.er1 >conftest.err
5689 rm -f conftest.er1
5690 cat conftest.err >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try='test -z "$ac_c_werror_flag"
5694 || test ! -s conftest.err'
5695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 (eval $ac_try) 2>&5
5697 ac_status=$?
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); }; } &&
5700 { ac_try='test -s conftest.$ac_objext'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 (eval $ac_try) 2>&5
5703 ac_status=$?
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; }; then
5706 ac_cv_header_stdc=yes
5707else
5708 echo "$as_me: failed program was:" >&5
5709sed 's/^/| /' conftest.$ac_ext >&5
5710
5711ac_cv_header_stdc=no
5712fi
5713rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5714
5715if test $ac_cv_header_stdc = yes; then
5716 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5717 cat >conftest.$ac_ext <<_ACEOF
5718/* confdefs.h. */
5719_ACEOF
5720cat confdefs.h >>conftest.$ac_ext
5721cat >>conftest.$ac_ext <<_ACEOF
5722/* end confdefs.h. */
5723#include <string.h>
5724
5725_ACEOF
5726if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5727 $EGREP "memchr" >/dev/null 2>&1; then
5728 :
5729else
5730 ac_cv_header_stdc=no
5731fi
5732rm -f conftest*
5733
5734fi
5735
5736if test $ac_cv_header_stdc = yes; then
5737 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5738 cat >conftest.$ac_ext <<_ACEOF
5739/* confdefs.h. */
5740_ACEOF
5741cat confdefs.h >>conftest.$ac_ext
5742cat >>conftest.$ac_ext <<_ACEOF
5743/* end confdefs.h. */
5744#include <stdlib.h>
5745
5746_ACEOF
5747if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5748 $EGREP "free" >/dev/null 2>&1; then
5749 :
5750else
5751 ac_cv_header_stdc=no
5752fi
5753rm -f conftest*
5754
5755fi
5756
5757if test $ac_cv_header_stdc = yes; then
5758 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5759 if test "$cross_compiling" = yes; then
5760 :
5761else
5762 cat >conftest.$ac_ext <<_ACEOF
5763/* confdefs.h. */
5764_ACEOF
5765cat confdefs.h >>conftest.$ac_ext
5766cat >>conftest.$ac_ext <<_ACEOF
5767/* end confdefs.h. */
5768#include <ctype.h>
5769#if ((' ' & 0x0FF) == 0x020)
5770# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5771# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5772#else
5773# define ISLOWER(c) \
5774 (('a' <= (c) && (c) <= 'i') \
5775 || ('j' <= (c) && (c) <= 'r') \
5776 || ('s' <= (c) && (c) <= 'z'))
5777# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5778#endif
5779
5780#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5781int
5782main ()
5783{
5784 int i;
5785 for (i = 0; i < 256; i++)
5786 if (XOR (islower (i), ISLOWER (i))
5787 || toupper (i) != TOUPPER (i))
5788 exit(2);
5789 exit (0);
5790}
5791_ACEOF
5792rm -f conftest$ac_exeext
5793if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5794 (eval $ac_link) 2>&5
5795 ac_status=$?
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 (eval $ac_try) 2>&5
5800 ac_status=$?
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5803 :
5804else
5805 echo "$as_me: program exited with status $ac_status" >&5
5806echo "$as_me: failed program was:" >&5
5807sed 's/^/| /' conftest.$ac_ext >&5
5808
5809( exit $ac_status )
5810ac_cv_header_stdc=no
5811fi
5812rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5813fi
5814fi
5815fi
5816echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5817echo "${ECHO_T}$ac_cv_header_stdc" >&6
5818if test $ac_cv_header_stdc = yes; then
5819
5820cat >>confdefs.h <<\_ACEOF
5821#define STDC_HEADERS 1
5822_ACEOF
5823
5824fi
5825
5826# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5837 inttypes.h stdint.h unistd.h
5838do
5839as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5840echo "$as_me:$LINENO: checking for $ac_header" >&5
5841echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5842if eval "test \"\${$as_ac_Header+set}\" = set"; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5844else
5845 cat >conftest.$ac_ext <<_ACEOF
5846/* confdefs.h. */
5847_ACEOF
5848cat confdefs.h >>conftest.$ac_ext
5849cat >>conftest.$ac_ext <<_ACEOF
5850/* end confdefs.h. */
5851$ac_includes_default
5852
5853#include <$ac_header>
5854_ACEOF
5855rm -f conftest.$ac_objext
5856if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5857 (eval $ac_compile) 2>conftest.er1
5858 ac_status=$?
5859 grep -v '^ *+' conftest.er1 >conftest.err
5860 rm -f conftest.er1
5861 cat conftest.err >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } &&
5864 { ac_try='test -z "$ac_c_werror_flag"
5865 || test ! -s conftest.err'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 (eval $ac_try) 2>&5
5868 ac_status=$?
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; } &&
5871 { ac_try='test -s conftest.$ac_objext'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 (eval $ac_try) 2>&5
5874 ac_status=$?
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5877 eval "$as_ac_Header=yes"
5878else
5879 echo "$as_me: failed program was:" >&5
5880sed 's/^/| /' conftest.$ac_ext >&5
5881
5882eval "$as_ac_Header=no"
5883fi
5884rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5885fi
5886echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5887echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5888if test `eval echo '${'$as_ac_Header'}'` = yes; then
5889 cat >>confdefs.h <<_ACEOF
5890#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5891_ACEOF
5892
5893fi
5894
5895done
5896
5897
5898
5899for ac_header in linux/if_tun.h
5900do
5901as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5902if eval "test \"\${$as_ac_Header+set}\" = set"; then
5903 echo "$as_me:$LINENO: checking for $ac_header" >&5
5904echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5905if eval "test \"\${$as_ac_Header+set}\" = set"; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5907fi
5908echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5909echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5910else
5911 # Is the header compilable?
5912echo "$as_me:$LINENO: checking $ac_header usability" >&5
5913echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5914cat >conftest.$ac_ext <<_ACEOF
5915/* confdefs.h. */
5916_ACEOF
5917cat confdefs.h >>conftest.$ac_ext
5918cat >>conftest.$ac_ext <<_ACEOF
5919/* end confdefs.h. */
5920$ac_includes_default
5921#include <$ac_header>
5922_ACEOF
5923rm -f conftest.$ac_objext
5924if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5925 (eval $ac_compile) 2>conftest.er1
5926 ac_status=$?
5927 grep -v '^ *+' conftest.er1 >conftest.err
5928 rm -f conftest.er1
5929 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try='test -z "$ac_c_werror_flag"
5933 || test ! -s conftest.err'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 (eval $ac_try) 2>&5
5936 ac_status=$?
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } &&
5939 { ac_try='test -s conftest.$ac_objext'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 (eval $ac_try) 2>&5
5942 ac_status=$?
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; }; then
5945 ac_header_compiler=yes
5946else
5947 echo "$as_me: failed program was:" >&5
5948sed 's/^/| /' conftest.$ac_ext >&5
5949
5950ac_header_compiler=no
5951fi
5952rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5953echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5954echo "${ECHO_T}$ac_header_compiler" >&6
5955
5956# Is the header present?
5957echo "$as_me:$LINENO: checking $ac_header presence" >&5
5958echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5959cat >conftest.$ac_ext <<_ACEOF
5960/* confdefs.h. */
5961_ACEOF
5962cat confdefs.h >>conftest.$ac_ext
5963cat >>conftest.$ac_ext <<_ACEOF
5964/* end confdefs.h. */
5965#include <$ac_header>
5966_ACEOF
5967if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5969 ac_status=$?
5970 grep -v '^ *+' conftest.er1 >conftest.err
5971 rm -f conftest.er1
5972 cat conftest.err >&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } >/dev/null; then
5975 if test -s conftest.err; then
5976 ac_cpp_err=$ac_c_preproc_warn_flag
5977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5978 else
5979 ac_cpp_err=
5980 fi
5981else
5982 ac_cpp_err=yes
5983fi
5984if test -z "$ac_cpp_err"; then
5985 ac_header_preproc=yes
5986else
5987 echo "$as_me: failed program was:" >&5
5988sed 's/^/| /' conftest.$ac_ext >&5
5989
5990 ac_header_preproc=no
5991fi
5992rm -f conftest.err conftest.$ac_ext
5993echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5994echo "${ECHO_T}$ac_header_preproc" >&6
5995
5996# So? What about this header?
5997case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5998 yes:no: )
5999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6000echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6002echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6003 ac_header_preproc=yes
6004 ;;
6005 no:yes:* )
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6007echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6009echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6011echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6013echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6015echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6017echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6018 (
6019 cat <<\_ASBOX
6020## ------------------------------------------- ##
6021## Report this to openssh-unix-dev@mindrot.org ##
6022## ------------------------------------------- ##
6023_ASBOX
6024 ) |
6025 sed "s/^/$as_me: WARNING: /" >&2
6026 ;;
6027esac
6028echo "$as_me:$LINENO: checking for $ac_header" >&5
6029echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6030if eval "test \"\${$as_ac_Header+set}\" = set"; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6032else
6033 eval "$as_ac_Header=\$ac_header_preproc"
6034fi
6035echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6036echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6037
6038fi
6039if test `eval echo '${'$as_ac_Header'}'` = yes; then
6040 cat >>confdefs.h <<_ACEOF
6041#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6042_ACEOF
6043
6044fi
6045
6046done
6047
6048 if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then
6049
6050cat >>confdefs.h <<\_ACEOF
6051#define SSH_TUN_LINUX 1
6052_ACEOF
6053
6054
6055cat >>confdefs.h <<\_ACEOF
6056#define SSH_TUN_COMPAT_AF 1
6057_ACEOF
6058
6059
6060cat >>confdefs.h <<\_ACEOF
6061#define SSH_TUN_PREPEND_AF 1
6062_ACEOF
6063
6064 fi
5694 ;; 6065 ;;
5695mips-sony-bsd|mips-sony-newsos4) 6066mips-sony-bsd|mips-sony-newsos4)
5696 6067
5697cat >>confdefs.h <<\_ACEOF 6068cat >>confdefs.h <<\_ACEOF
5698#define NEED_SETPRGP 6069#define NEED_SETPGRP 1
5699_ACEOF 6070_ACEOF
5700 6071
5701 SONY=1 6072 SONY=1
@@ -5705,9 +6076,325 @@ _ACEOF
5705 if test "x$withval" != "xno" ; then 6076 if test "x$withval" != "xno" ; then
5706 need_dash_r=1 6077 need_dash_r=1
5707 fi 6078 fi
6079
6080cat >>confdefs.h <<\_ACEOF
6081#define SSH_TUN_FREEBSD 1
6082_ACEOF
6083
6084 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6085 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6086echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6087if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6089fi
6090echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6091echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6092else
6093 # Is the header compilable?
6094echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6095echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6096cat >conftest.$ac_ext <<_ACEOF
6097/* confdefs.h. */
6098_ACEOF
6099cat confdefs.h >>conftest.$ac_ext
6100cat >>conftest.$ac_ext <<_ACEOF
6101/* end confdefs.h. */
6102$ac_includes_default
6103#include <net/if_tap.h>
6104_ACEOF
6105rm -f conftest.$ac_objext
6106if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>conftest.er1
6108 ac_status=$?
6109 grep -v '^ *+' conftest.er1 >conftest.err
6110 rm -f conftest.er1
6111 cat conftest.err >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try='test -z "$ac_c_werror_flag"
6115 || test ! -s conftest.err'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 (eval $ac_try) 2>&5
6118 ac_status=$?
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } &&
6121 { ac_try='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 (eval $ac_try) 2>&5
6124 ac_status=$?
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_header_compiler=yes
6128else
6129 echo "$as_me: failed program was:" >&5
6130sed 's/^/| /' conftest.$ac_ext >&5
6131
6132ac_header_compiler=no
6133fi
6134rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6135echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6136echo "${ECHO_T}$ac_header_compiler" >&6
6137
6138# Is the header present?
6139echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6140echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6141cat >conftest.$ac_ext <<_ACEOF
6142/* confdefs.h. */
6143_ACEOF
6144cat confdefs.h >>conftest.$ac_ext
6145cat >>conftest.$ac_ext <<_ACEOF
6146/* end confdefs.h. */
6147#include <net/if_tap.h>
6148_ACEOF
6149if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6151 ac_status=$?
6152 grep -v '^ *+' conftest.er1 >conftest.err
6153 rm -f conftest.er1
6154 cat conftest.err >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } >/dev/null; then
6157 if test -s conftest.err; then
6158 ac_cpp_err=$ac_c_preproc_warn_flag
6159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6160 else
6161 ac_cpp_err=
6162 fi
6163else
6164 ac_cpp_err=yes
6165fi
6166if test -z "$ac_cpp_err"; then
6167 ac_header_preproc=yes
6168else
6169 echo "$as_me: failed program was:" >&5
6170sed 's/^/| /' conftest.$ac_ext >&5
6171
6172 ac_header_preproc=no
6173fi
6174rm -f conftest.err conftest.$ac_ext
6175echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6176echo "${ECHO_T}$ac_header_preproc" >&6
6177
6178# So? What about this header?
6179case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6180 yes:no: )
6181 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6182echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6184echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6185 ac_header_preproc=yes
6186 ;;
6187 no:yes:* )
6188 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6189echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6190 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6191echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6192 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6193echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6194 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6195echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6196 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6197echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6198 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6199echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6200 (
6201 cat <<\_ASBOX
6202## ------------------------------------------- ##
6203## Report this to openssh-unix-dev@mindrot.org ##
6204## ------------------------------------------- ##
6205_ASBOX
6206 ) |
6207 sed "s/^/$as_me: WARNING: /" >&2
6208 ;;
6209esac
6210echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6211echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6212if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6214else
6215 ac_cv_header_net_if_tap_h=$ac_header_preproc
6216fi
6217echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6218echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6219
6220fi
6221if test $ac_cv_header_net_if_tap_h = yes; then
6222 :
6223else
6224
6225cat >>confdefs.h <<\_ACEOF
6226#define SSH_TUN_NO_L2 1
6227_ACEOF
6228
6229fi
6230
6231
6232
6233cat >>confdefs.h <<\_ACEOF
6234#define SSH_TUN_PREPEND_AF 1
6235_ACEOF
6236
5708 ;; 6237 ;;
5709*-*-freebsd*) 6238*-*-freebsd*)
5710 check_for_libcrypt_later=1 6239 check_for_libcrypt_later=1
6240
6241cat >>confdefs.h <<\_ACEOF
6242#define LOCKED_PASSWD_PREFIX "*LOCKED*"
6243_ACEOF
6244
6245
6246cat >>confdefs.h <<\_ACEOF
6247#define SSH_TUN_FREEBSD 1
6248_ACEOF
6249
6250 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6251 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6252echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6253if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6255fi
6256echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6257echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6258else
6259 # Is the header compilable?
6260echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6261echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6262cat >conftest.$ac_ext <<_ACEOF
6263/* confdefs.h. */
6264_ACEOF
6265cat confdefs.h >>conftest.$ac_ext
6266cat >>conftest.$ac_ext <<_ACEOF
6267/* end confdefs.h. */
6268$ac_includes_default
6269#include <net/if_tap.h>
6270_ACEOF
6271rm -f conftest.$ac_objext
6272if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 (eval $ac_compile) 2>conftest.er1
6274 ac_status=$?
6275 grep -v '^ *+' conftest.er1 >conftest.err
6276 rm -f conftest.er1
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try='test -z "$ac_c_werror_flag"
6281 || test ! -s conftest.err'
6282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 (eval $ac_try) 2>&5
6284 ac_status=$?
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }; } &&
6287 { ac_try='test -s conftest.$ac_objext'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 (eval $ac_try) 2>&5
6290 ac_status=$?
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; }; then
6293 ac_header_compiler=yes
6294else
6295 echo "$as_me: failed program was:" >&5
6296sed 's/^/| /' conftest.$ac_ext >&5
6297
6298ac_header_compiler=no
6299fi
6300rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6301echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6302echo "${ECHO_T}$ac_header_compiler" >&6
6303
6304# Is the header present?
6305echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6306echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6307cat >conftest.$ac_ext <<_ACEOF
6308/* confdefs.h. */
6309_ACEOF
6310cat confdefs.h >>conftest.$ac_ext
6311cat >>conftest.$ac_ext <<_ACEOF
6312/* end confdefs.h. */
6313#include <net/if_tap.h>
6314_ACEOF
6315if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6317 ac_status=$?
6318 grep -v '^ *+' conftest.er1 >conftest.err
6319 rm -f conftest.er1
6320 cat conftest.err >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } >/dev/null; then
6323 if test -s conftest.err; then
6324 ac_cpp_err=$ac_c_preproc_warn_flag
6325 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6326 else
6327 ac_cpp_err=
6328 fi
6329else
6330 ac_cpp_err=yes
6331fi
6332if test -z "$ac_cpp_err"; then
6333 ac_header_preproc=yes
6334else
6335 echo "$as_me: failed program was:" >&5
6336sed 's/^/| /' conftest.$ac_ext >&5
6337
6338 ac_header_preproc=no
6339fi
6340rm -f conftest.err conftest.$ac_ext
6341echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6342echo "${ECHO_T}$ac_header_preproc" >&6
6343
6344# So? What about this header?
6345case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6346 yes:no: )
6347 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6348echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6349 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6350echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6351 ac_header_preproc=yes
6352 ;;
6353 no:yes:* )
6354 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6355echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6356 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6357echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6358 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6359echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6361echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6362 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6363echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6364 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6365echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6366 (
6367 cat <<\_ASBOX
6368## ------------------------------------------- ##
6369## Report this to openssh-unix-dev@mindrot.org ##
6370## ------------------------------------------- ##
6371_ASBOX
6372 ) |
6373 sed "s/^/$as_me: WARNING: /" >&2
6374 ;;
6375esac
6376echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6377echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6378if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6380else
6381 ac_cv_header_net_if_tap_h=$ac_header_preproc
6382fi
6383echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6384echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6385
6386fi
6387if test $ac_cv_header_net_if_tap_h = yes; then
6388 :
6389else
6390
6391cat >>confdefs.h <<\_ACEOF
6392#define SSH_TUN_NO_L2 1
6393_ACEOF
6394
6395fi
6396
6397
5711 ;; 6398 ;;
5712*-*-bsdi*) 6399*-*-bsdi*)
5713 cat >>confdefs.h <<\_ACEOF 6400 cat >>confdefs.h <<\_ACEOF
@@ -5728,7 +6415,8 @@ _ACEOF
5728 conf_utmp_location=/etc/utmp 6415 conf_utmp_location=/etc/utmp
5729 conf_wtmp_location=/usr/adm/wtmp 6416 conf_wtmp_location=/usr/adm/wtmp
5730 MAIL=/usr/spool/mail 6417 MAIL=/usr/spool/mail
5731 cat >>confdefs.h <<\_ACEOF 6418
6419cat >>confdefs.h <<\_ACEOF
5732#define HAVE_NEXT 1 6420#define HAVE_NEXT 1
5733_ACEOF 6421_ACEOF
5734 6422
@@ -5740,7 +6428,8 @@ _ACEOF
5740#define USE_PIPES 1 6428#define USE_PIPES 1
5741_ACEOF 6429_ACEOF
5742 6430
5743 cat >>confdefs.h <<\_ACEOF 6431
6432cat >>confdefs.h <<\_ACEOF
5744#define BROKEN_SAVED_UIDS 1 6433#define BROKEN_SAVED_UIDS 1
5745_ACEOF 6434_ACEOF
5746 6435
@@ -5751,6 +6440,16 @@ cat >>confdefs.h <<\_ACEOF
5751#define HAVE_ATTRIBUTE__SENTINEL__ 1 6440#define HAVE_ATTRIBUTE__SENTINEL__ 1
5752_ACEOF 6441_ACEOF
5753 6442
6443
6444cat >>confdefs.h <<\_ACEOF
6445#define HAVE_ATTRIBUTE__BOUNDED__ 1
6446_ACEOF
6447
6448
6449cat >>confdefs.h <<\_ACEOF
6450#define SSH_TUN_OPENBSD 1
6451_ACEOF
6452
5754 ;; 6453 ;;
5755*-*-solaris*) 6454*-*-solaris*)
5756 if test "x$withval" != "xno" ; then 6455 if test "x$withval" != "xno" ; then
@@ -5764,7 +6463,8 @@ _ACEOF
5764#define LOGIN_NEEDS_UTMPX 1 6463#define LOGIN_NEEDS_UTMPX 1
5765_ACEOF 6464_ACEOF
5766 6465
5767 cat >>confdefs.h <<\_ACEOF 6466
6467cat >>confdefs.h <<\_ACEOF
5768#define LOGIN_NEEDS_TERM 1 6468#define LOGIN_NEEDS_TERM 1
5769_ACEOF 6469_ACEOF
5770 6470
@@ -5772,7 +6472,8 @@ _ACEOF
5772#define PAM_TTY_KLUDGE 1 6472#define PAM_TTY_KLUDGE 1
5773_ACEOF 6473_ACEOF
5774 6474
5775 cat >>confdefs.h <<\_ACEOF 6475
6476cat >>confdefs.h <<\_ACEOF
5776#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 6477#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5777_ACEOF 6478_ACEOF
5778 6479
@@ -5781,7 +6482,8 @@ _ACEOF
5781_ACEOF 6482_ACEOF
5782 6483
5783 # Pushing STREAMS modules will cause sshd to acquire a controlling tty. 6484 # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
5784 cat >>confdefs.h <<\_ACEOF 6485
6486cat >>confdefs.h <<\_ACEOF
5785#define SSHD_ACQUIRES_CTTY 1 6487#define SSHD_ACQUIRES_CTTY 1
5786_ACEOF 6488_ACEOF
5787 6489
@@ -5798,7 +6500,8 @@ echo "${ECHO_T}yes" >&6
5798#define DISABLE_UTMP 1 6500#define DISABLE_UTMP 1
5799_ACEOF 6501_ACEOF
5800 6502
5801 cat >>confdefs.h <<\_ACEOF 6503
6504cat >>confdefs.h <<\_ACEOF
5802#define DISABLE_WTMP 1 6505#define DISABLE_WTMP 1
5803_ACEOF 6506_ACEOF
5804 6507
@@ -6022,14 +6725,14 @@ _ACEOF
6022 6725
6023fi 6726fi
6024 6727
6025 # -lresolv needs to be at then end of LIBS or DNS lookups break 6728 # -lresolv needs to be at the end of LIBS or DNS lookups break
6026 echo "$as_me:$LINENO: checking for resolv in -lres_query" >&5 6729 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
6027echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6 6730echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
6028if test "${ac_cv_lib_res_query_resolv+set}" = set; then 6731if test "${ac_cv_lib_resolv_res_query+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6 6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6030else 6733else
6031 ac_check_lib_save_LIBS=$LIBS 6734 ac_check_lib_save_LIBS=$LIBS
6032LIBS="-lres_query $LIBS" 6735LIBS="-lresolv $LIBS"
6033cat >conftest.$ac_ext <<_ACEOF 6736cat >conftest.$ac_ext <<_ACEOF
6034/* confdefs.h. */ 6737/* confdefs.h. */
6035_ACEOF 6738_ACEOF
@@ -6043,11 +6746,11 @@ extern "C"
6043#endif 6746#endif
6044/* We use char because int might match the return type of a gcc2 6747/* We use char because int might match the return type of a gcc2
6045 builtin and then its argument prototype would still apply. */ 6748 builtin and then its argument prototype would still apply. */
6046char resolv (); 6749char res_query ();
6047int 6750int
6048main () 6751main ()
6049{ 6752{
6050resolv (); 6753res_query ();
6051 ; 6754 ;
6052 return 0; 6755 return 0;
6053} 6756}
@@ -6074,20 +6777,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6074 ac_status=$? 6777 ac_status=$?
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; }; then 6779 (exit $ac_status); }; }; then
6077 ac_cv_lib_res_query_resolv=yes 6780 ac_cv_lib_resolv_res_query=yes
6078else 6781else
6079 echo "$as_me: failed program was:" >&5 6782 echo "$as_me: failed program was:" >&5
6080sed 's/^/| /' conftest.$ac_ext >&5 6783sed 's/^/| /' conftest.$ac_ext >&5
6081 6784
6082ac_cv_lib_res_query_resolv=no 6785ac_cv_lib_resolv_res_query=no
6083fi 6786fi
6084rm -f conftest.err conftest.$ac_objext \ 6787rm -f conftest.err conftest.$ac_objext \
6085 conftest$ac_exeext conftest.$ac_ext 6788 conftest$ac_exeext conftest.$ac_ext
6086LIBS=$ac_check_lib_save_LIBS 6789LIBS=$ac_check_lib_save_LIBS
6087fi 6790fi
6088echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5 6791echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
6089echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6 6792echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
6090if test $ac_cv_lib_res_query_resolv = yes; then 6793if test $ac_cv_lib_resolv_res_query = yes; then
6091 LIBS="$LIBS -lresolv" 6794 LIBS="$LIBS -lresolv"
6092fi 6795fi
6093 6796
@@ -6123,6 +6826,7 @@ _ACEOF
6123 ;; 6826 ;;
6124# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. 6827# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel.
6125*-*-sysv4.2*) 6828*-*-sysv4.2*)
6829 CFLAGS="$CFLAGS -Dva_list=_VA_LIST"
6126 cat >>confdefs.h <<\_ACEOF 6830 cat >>confdefs.h <<\_ACEOF
6127#define USE_PIPES 1 6831#define USE_PIPES 1
6128_ACEOF 6832_ACEOF
@@ -6144,6 +6848,10 @@ cat >>confdefs.h <<\_ACEOF
6144#define PASSWD_NEEDS_USERNAME 1 6848#define PASSWD_NEEDS_USERNAME 1
6145_ACEOF 6849_ACEOF
6146 6850
6851 cat >>confdefs.h <<\_ACEOF
6852#define LOCKED_PASSWD_STRING "*LK*"
6853_ACEOF
6854
6147 ;; 6855 ;;
6148# UnixWare 7.x, OpenUNIX 8 6856# UnixWare 7.x, OpenUNIX 8
6149*-*-sysv5*) 6857*-*-sysv5*)
@@ -6169,8 +6877,7 @@ _ACEOF
6169#define BROKEN_SETREGID 1 6877#define BROKEN_SETREGID 1
6170_ACEOF 6878_ACEOF
6171 6879
6172 6880 cat >>confdefs.h <<\_ACEOF
6173cat >>confdefs.h <<\_ACEOF
6174#define PASSWD_NEEDS_USERNAME 1 6881#define PASSWD_NEEDS_USERNAME 1
6175_ACEOF 6882_ACEOF
6176 6883
@@ -6183,6 +6890,11 @@ cat >>confdefs.h <<\_ACEOF
6183_ACEOF 6890_ACEOF
6184 6891
6185 ;; 6892 ;;
6893 *) cat >>confdefs.h <<\_ACEOF
6894#define LOCKED_PASSWD_STRING "*LK*"
6895_ACEOF
6896
6897 ;;
6186 esac 6898 esac
6187 ;; 6899 ;;
6188*-*-sysv*) 6900*-*-sysv*)
@@ -6236,8 +6948,7 @@ _ACEOF
6236#define BROKEN_UPDWTMPX 1 6948#define BROKEN_UPDWTMPX 1
6237_ACEOF 6949_ACEOF
6238 6950
6239 6951 cat >>confdefs.h <<\_ACEOF
6240cat >>confdefs.h <<\_ACEOF
6241#define PASSWD_NEEDS_USERNAME 1 6952#define PASSWD_NEEDS_USERNAME 1
6242_ACEOF 6953_ACEOF
6243 6954
@@ -6348,7 +7059,8 @@ done
6348 TEST_SHELL=ksh 7059 TEST_SHELL=ksh
6349 ;; 7060 ;;
6350*-*-unicosmk*) 7061*-*-unicosmk*)
6351 cat >>confdefs.h <<\_ACEOF 7062
7063cat >>confdefs.h <<\_ACEOF
6352#define NO_SSH_LASTLOG 1 7064#define NO_SSH_LASTLOG 1
6353_ACEOF 7065_ACEOF
6354 7066
@@ -6454,11 +7166,13 @@ fi;
6454 if test -f /etc/sia/matrix.conf; then 7166 if test -f /etc/sia/matrix.conf; then
6455 echo "$as_me:$LINENO: result: yes" >&5 7167 echo "$as_me:$LINENO: result: yes" >&5
6456echo "${ECHO_T}yes" >&6 7168echo "${ECHO_T}yes" >&6
6457 cat >>confdefs.h <<\_ACEOF 7169
7170cat >>confdefs.h <<\_ACEOF
6458#define HAVE_OSF_SIA 1 7171#define HAVE_OSF_SIA 1
6459_ACEOF 7172_ACEOF
6460 7173
6461 cat >>confdefs.h <<\_ACEOF 7174
7175cat >>confdefs.h <<\_ACEOF
6462#define DISABLE_LOGIN 1 7176#define DISABLE_LOGIN 1
6463_ACEOF 7177_ACEOF
6464 7178
@@ -6470,7 +7184,8 @@ _ACEOF
6470 else 7184 else
6471 echo "$as_me:$LINENO: result: no" >&5 7185 echo "$as_me:$LINENO: result: no" >&5
6472echo "${ECHO_T}no" >&6 7186echo "${ECHO_T}no" >&6
6473 cat >>confdefs.h <<\_ACEOF 7187
7188cat >>confdefs.h <<\_ACEOF
6474#define LOCKED_PASSWD_SUBSTR "Nologin" 7189#define LOCKED_PASSWD_SUBSTR "Nologin"
6475_ACEOF 7190_ACEOF
6476 7191
@@ -6494,7 +7209,7 @@ _ACEOF
6494 7209
6495 ;; 7210 ;;
6496 7211
6497*-*-nto-qnx) 7212*-*-nto-qnx*)
6498 cat >>confdefs.h <<\_ACEOF 7213 cat >>confdefs.h <<\_ACEOF
6499#define USE_PIPES 1 7214#define USE_PIPES 1
6500_ACEOF 7215_ACEOF
@@ -6503,34 +7218,40 @@ _ACEOF
6503#define NO_X11_UNIX_SOCKETS 1 7218#define NO_X11_UNIX_SOCKETS 1
6504_ACEOF 7219_ACEOF
6505 7220
6506 cat >>confdefs.h <<\_ACEOF 7221
7222cat >>confdefs.h <<\_ACEOF
6507#define MISSING_NFDBITS 1 7223#define MISSING_NFDBITS 1
6508_ACEOF 7224_ACEOF
6509 7225
6510 cat >>confdefs.h <<\_ACEOF 7226
7227cat >>confdefs.h <<\_ACEOF
6511#define MISSING_HOWMANY 1 7228#define MISSING_HOWMANY 1
6512_ACEOF 7229_ACEOF
6513 7230
6514 cat >>confdefs.h <<\_ACEOF 7231
7232cat >>confdefs.h <<\_ACEOF
6515#define MISSING_FD_MASK 1 7233#define MISSING_FD_MASK 1
6516_ACEOF 7234_ACEOF
6517 7235
7236 cat >>confdefs.h <<\_ACEOF
7237#define DISABLE_LASTLOG 1
7238_ACEOF
7239
6518 ;; 7240 ;;
6519 7241
6520*-*-ultrix*) 7242*-*-ultrix*)
6521 7243
6522cat >>confdefs.h <<\_ACEOF 7244cat >>confdefs.h <<\_ACEOF
6523#define BROKEN_GETGROUPS 7245#define BROKEN_GETGROUPS 1
6524_ACEOF 7246_ACEOF
6525 7247
6526 7248
6527cat >>confdefs.h <<\_ACEOF 7249cat >>confdefs.h <<\_ACEOF
6528#define BROKEN_MMAP 7250#define BROKEN_MMAP 1
6529_ACEOF 7251_ACEOF
6530 7252
6531 7253 cat >>confdefs.h <<\_ACEOF
6532cat >>confdefs.h <<\_ACEOF 7254#define NEED_SETPGRP 1
6533#define NEED_SETPRGP
6534_ACEOF 7255_ACEOF
6535 7256
6536 7257
@@ -6542,7 +7263,7 @@ _ACEOF
6542 7263
6543*-*-lynxos) 7264*-*-lynxos)
6544 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" 7265 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
6545 cat >>confdefs.h <<\_ACEOF 7266 cat >>confdefs.h <<\_ACEOF
6546#define MISSING_HOWMANY 1 7267#define MISSING_HOWMANY 1
6547_ACEOF 7268_ACEOF
6548 7269
@@ -6610,7 +7331,7 @@ if test "${with_Werror+set}" = set; then
6610 7331
6611 if test -n "$withval" && test "x$withval" != "xno"; then 7332 if test -n "$withval" && test "x$withval" != "xno"; then
6612 werror_flags="-Werror" 7333 werror_flags="-Werror"
6613 if "x${withval}" != "xyes"; then 7334 if test "x${withval}" != "xyes"; then
6614 werror_flags="$withval" 7335 werror_flags="$withval"
6615 fi 7336 fi
6616 fi 7337 fi
@@ -6667,262 +7388,6 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
6667fi 7388fi
6668 7389
6669 7390
6670echo "$as_me:$LINENO: checking for egrep" >&5
6671echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6672if test "${ac_cv_prog_egrep+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6674else
6675 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6676 then ac_cv_prog_egrep='grep -E'
6677 else ac_cv_prog_egrep='egrep'
6678 fi
6679fi
6680echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6681echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6682 EGREP=$ac_cv_prog_egrep
6683
6684
6685echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6686echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6687if test "${ac_cv_header_stdc+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6689else
6690 cat >conftest.$ac_ext <<_ACEOF
6691/* confdefs.h. */
6692_ACEOF
6693cat confdefs.h >>conftest.$ac_ext
6694cat >>conftest.$ac_ext <<_ACEOF
6695/* end confdefs.h. */
6696#include <stdlib.h>
6697#include <stdarg.h>
6698#include <string.h>
6699#include <float.h>
6700
6701int
6702main ()
6703{
6704
6705 ;
6706 return 0;
6707}
6708_ACEOF
6709rm -f conftest.$ac_objext
6710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711 (eval $ac_compile) 2>conftest.er1
6712 ac_status=$?
6713 grep -v '^ *+' conftest.er1 >conftest.err
6714 rm -f conftest.er1
6715 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try='test -z "$ac_c_werror_flag"
6719 || test ! -s conftest.err'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 (eval $ac_try) 2>&5
6722 ac_status=$?
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; } &&
6725 { ac_try='test -s conftest.$ac_objext'
6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6727 (eval $ac_try) 2>&5
6728 ac_status=$?
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); }; }; then
6731 ac_cv_header_stdc=yes
6732else
6733 echo "$as_me: failed program was:" >&5
6734sed 's/^/| /' conftest.$ac_ext >&5
6735
6736ac_cv_header_stdc=no
6737fi
6738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6739
6740if test $ac_cv_header_stdc = yes; then
6741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6742 cat >conftest.$ac_ext <<_ACEOF
6743/* confdefs.h. */
6744_ACEOF
6745cat confdefs.h >>conftest.$ac_ext
6746cat >>conftest.$ac_ext <<_ACEOF
6747/* end confdefs.h. */
6748#include <string.h>
6749
6750_ACEOF
6751if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "memchr" >/dev/null 2>&1; then
6753 :
6754else
6755 ac_cv_header_stdc=no
6756fi
6757rm -f conftest*
6758
6759fi
6760
6761if test $ac_cv_header_stdc = yes; then
6762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6763 cat >conftest.$ac_ext <<_ACEOF
6764/* confdefs.h. */
6765_ACEOF
6766cat confdefs.h >>conftest.$ac_ext
6767cat >>conftest.$ac_ext <<_ACEOF
6768/* end confdefs.h. */
6769#include <stdlib.h>
6770
6771_ACEOF
6772if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6773 $EGREP "free" >/dev/null 2>&1; then
6774 :
6775else
6776 ac_cv_header_stdc=no
6777fi
6778rm -f conftest*
6779
6780fi
6781
6782if test $ac_cv_header_stdc = yes; then
6783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6784 if test "$cross_compiling" = yes; then
6785 :
6786else
6787 cat >conftest.$ac_ext <<_ACEOF
6788/* confdefs.h. */
6789_ACEOF
6790cat confdefs.h >>conftest.$ac_ext
6791cat >>conftest.$ac_ext <<_ACEOF
6792/* end confdefs.h. */
6793#include <ctype.h>
6794#if ((' ' & 0x0FF) == 0x020)
6795# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6796# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6797#else
6798# define ISLOWER(c) \
6799 (('a' <= (c) && (c) <= 'i') \
6800 || ('j' <= (c) && (c) <= 'r') \
6801 || ('s' <= (c) && (c) <= 'z'))
6802# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6803#endif
6804
6805#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6806int
6807main ()
6808{
6809 int i;
6810 for (i = 0; i < 256; i++)
6811 if (XOR (islower (i), ISLOWER (i))
6812 || toupper (i) != TOUPPER (i))
6813 exit(2);
6814 exit (0);
6815}
6816_ACEOF
6817rm -f conftest$ac_exeext
6818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6819 (eval $ac_link) 2>&5
6820 ac_status=$?
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 (eval $ac_try) 2>&5
6825 ac_status=$?
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6828 :
6829else
6830 echo "$as_me: program exited with status $ac_status" >&5
6831echo "$as_me: failed program was:" >&5
6832sed 's/^/| /' conftest.$ac_ext >&5
6833
6834( exit $ac_status )
6835ac_cv_header_stdc=no
6836fi
6837rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6838fi
6839fi
6840fi
6841echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6842echo "${ECHO_T}$ac_cv_header_stdc" >&6
6843if test $ac_cv_header_stdc = yes; then
6844
6845cat >>confdefs.h <<\_ACEOF
6846#define STDC_HEADERS 1
6847_ACEOF
6848
6849fi
6850
6851# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6862 inttypes.h stdint.h unistd.h
6863do
6864as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865echo "$as_me:$LINENO: checking for $ac_header" >&5
6866echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6867if eval "test \"\${$as_ac_Header+set}\" = set"; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6869else
6870 cat >conftest.$ac_ext <<_ACEOF
6871/* confdefs.h. */
6872_ACEOF
6873cat confdefs.h >>conftest.$ac_ext
6874cat >>conftest.$ac_ext <<_ACEOF
6875/* end confdefs.h. */
6876$ac_includes_default
6877
6878#include <$ac_header>
6879_ACEOF
6880rm -f conftest.$ac_objext
6881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882 (eval $ac_compile) 2>conftest.er1
6883 ac_status=$?
6884 grep -v '^ *+' conftest.er1 >conftest.err
6885 rm -f conftest.er1
6886 cat conftest.err >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } &&
6889 { ac_try='test -z "$ac_c_werror_flag"
6890 || test ! -s conftest.err'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 (eval $ac_try) 2>&5
6893 ac_status=$?
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; } &&
6896 { ac_try='test -s conftest.$ac_objext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 (eval $ac_try) 2>&5
6899 ac_status=$?
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6902 eval "$as_ac_Header=yes"
6903else
6904 echo "$as_me: failed program was:" >&5
6905sed 's/^/| /' conftest.$ac_ext >&5
6906
6907eval "$as_ac_Header=no"
6908fi
6909rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6910fi
6911echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6912echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6913if test `eval echo '${'$as_ac_Header'}'` = yes; then
6914 cat >>confdefs.h <<_ACEOF
6915#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6916_ACEOF
6917
6918fi
6919
6920done
6921
6922
6923
6924
6925
6926 7391
6927 7392
6928 7393
@@ -6989,7 +7454,6 @@ for ac_header in \
6989 glob.h \ 7454 glob.h \
6990 ia.h \ 7455 ia.h \
6991 iaf.h \ 7456 iaf.h \
6992 lastlog.h \
6993 limits.h \ 7457 limits.h \
6994 login.h \ 7458 login.h \
6995 login_cap.h \ 7459 login_cap.h \
@@ -6997,7 +7461,6 @@ for ac_header in \
6997 ndir.h \ 7461 ndir.h \
6998 netdb.h \ 7462 netdb.h \
6999 netgroup.h \ 7463 netgroup.h \
7000 netinet/in_systm.h \
7001 pam/pam_appl.h \ 7464 pam/pam_appl.h \
7002 paths.h \ 7465 paths.h \
7003 pty.h \ 7466 pty.h \
@@ -7187,6 +7650,73 @@ fi
7187done 7650done
7188 7651
7189 7652
7653# lastlog.h requires sys/time.h to be included first on Solaris
7654
7655for ac_header in lastlog.h
7656do
7657as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7658echo "$as_me:$LINENO: checking for $ac_header" >&5
7659echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7660if eval "test \"\${$as_ac_Header+set}\" = set"; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662else
7663 cat >conftest.$ac_ext <<_ACEOF
7664/* confdefs.h. */
7665_ACEOF
7666cat confdefs.h >>conftest.$ac_ext
7667cat >>conftest.$ac_ext <<_ACEOF
7668/* end confdefs.h. */
7669
7670#ifdef HAVE_SYS_TIME_H
7671# include <sys/time.h>
7672#endif
7673
7674
7675#include <$ac_header>
7676_ACEOF
7677rm -f conftest.$ac_objext
7678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7679 (eval $ac_compile) 2>conftest.er1
7680 ac_status=$?
7681 grep -v '^ *+' conftest.er1 >conftest.err
7682 rm -f conftest.er1
7683 cat conftest.err >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } &&
7686 { ac_try='test -z "$ac_c_werror_flag"
7687 || test ! -s conftest.err'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 (eval $ac_try) 2>&5
7690 ac_status=$?
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; } &&
7693 { ac_try='test -s conftest.$ac_objext'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 (eval $ac_try) 2>&5
7696 ac_status=$?
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; }; then
7699 eval "$as_ac_Header=yes"
7700else
7701 echo "$as_me: failed program was:" >&5
7702sed 's/^/| /' conftest.$ac_ext >&5
7703
7704eval "$as_ac_Header=no"
7705fi
7706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7707fi
7708echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7709echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7710if test `eval echo '${'$as_ac_Header'}'` = yes; then
7711 cat >>confdefs.h <<_ACEOF
7712#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7713_ACEOF
7714
7715fi
7716
7717done
7718
7719
7190# sys/ptms.h requires sys/stream.h to be included first on Solaris 7720# sys/ptms.h requires sys/stream.h to be included first on Solaris
7191 7721
7192for ac_header in sys/ptms.h 7722for ac_header in sys/ptms.h
@@ -7919,11 +8449,7 @@ else
7919 save_LIBS="$LIBS" 8449 save_LIBS="$LIBS"
7920 LIBS="$LIBS -lgen" 8450 LIBS="$LIBS -lgen"
7921 if test "$cross_compiling" = yes; then 8451 if test "$cross_compiling" = yes; then
7922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 8452 ac_cv_have_broken_dirname="no"
7923See \`config.log' for more details." >&5
7924echo "$as_me: error: cannot run test program while cross compiling
7925See \`config.log' for more details." >&2;}
7926 { (exit 1); exit 1; }; }
7927else 8453else
7928 cat >conftest.$ac_ext <<_ACEOF 8454 cat >conftest.$ac_ext <<_ACEOF
7929/* confdefs.h. */ 8455/* confdefs.h. */
@@ -7967,7 +8493,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
7967 8493
7968( exit $ac_status ) 8494( exit $ac_status )
7969 ac_cv_have_broken_dirname="yes" 8495 ac_cv_have_broken_dirname="yes"
7970
7971fi 8496fi
7972rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8497rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7973fi 8498fi
@@ -8427,7 +8952,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
8427echo "${ECHO_T}$ac_cv_search_basename" >&6 8952echo "${ECHO_T}$ac_cv_search_basename" >&6
8428if test "$ac_cv_search_basename" != no; then 8953if test "$ac_cv_search_basename" != no; then
8429 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" 8954 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
8430 cat >>confdefs.h <<\_ACEOF 8955
8956cat >>confdefs.h <<\_ACEOF
8431#define HAVE_BASENAME 1 8957#define HAVE_BASENAME 1
8432_ACEOF 8958_ACEOF
8433 8959
@@ -9019,9 +9545,13 @@ fi
9019 9545
9020fi 9546fi
9021 9547
9022echo "$as_me:$LINENO: checking for utimes" >&5 9548
9023echo $ECHO_N "checking for utimes... $ECHO_C" >&6 9549for ac_func in utimes
9024if test "${ac_cv_func_utimes+set}" = set; then 9550do
9551as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9552echo "$as_me:$LINENO: checking for $ac_func" >&5
9553echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9554if eval "test \"\${$as_ac_var+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6 9555 echo $ECHO_N "(cached) $ECHO_C" >&6
9026else 9556else
9027 cat >conftest.$ac_ext <<_ACEOF 9557 cat >conftest.$ac_ext <<_ACEOF
@@ -9030,12 +9560,12 @@ _ACEOF
9030cat confdefs.h >>conftest.$ac_ext 9560cat confdefs.h >>conftest.$ac_ext
9031cat >>conftest.$ac_ext <<_ACEOF 9561cat >>conftest.$ac_ext <<_ACEOF
9032/* end confdefs.h. */ 9562/* end confdefs.h. */
9033/* Define utimes to an innocuous variant, in case <limits.h> declares utimes. 9563/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9034 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9035#define utimes innocuous_utimes 9565#define $ac_func innocuous_$ac_func
9036 9566
9037/* System header to define __stub macros and hopefully few prototypes, 9567/* System header to define __stub macros and hopefully few prototypes,
9038 which can conflict with char utimes (); below. 9568 which can conflict with char $ac_func (); below.
9039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9040 <limits.h> exists even on freestanding compilers. */ 9570 <limits.h> exists even on freestanding compilers. */
9041 9571
@@ -9045,7 +9575,7 @@ cat >>conftest.$ac_ext <<_ACEOF
9045# include <assert.h> 9575# include <assert.h>
9046#endif 9576#endif
9047 9577
9048#undef utimes 9578#undef $ac_func
9049 9579
9050/* Override any gcc2 internal prototype to avoid an error. */ 9580/* Override any gcc2 internal prototype to avoid an error. */
9051#ifdef __cplusplus 9581#ifdef __cplusplus
@@ -9054,14 +9584,14 @@ extern "C"
9054#endif 9584#endif
9055/* We use char because int might match the return type of a gcc2 9585/* We use char because int might match the return type of a gcc2
9056 builtin and then its argument prototype would still apply. */ 9586 builtin and then its argument prototype would still apply. */
9057char utimes (); 9587char $ac_func ();
9058/* The GNU C library defines this for functions which it implements 9588/* The GNU C library defines this for functions which it implements
9059 to always fail with ENOSYS. Some functions are actually named 9589 to always fail with ENOSYS. Some functions are actually named
9060 something starting with __ and the normal name is an alias. */ 9590 something starting with __ and the normal name is an alias. */
9061#if defined (__stub_utimes) || defined (__stub___utimes) 9591#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9062choke me 9592choke me
9063#else 9593#else
9064char (*f) () = utimes; 9594char (*f) () = $ac_func;
9065#endif 9595#endif
9066#ifdef __cplusplus 9596#ifdef __cplusplus
9067} 9597}
@@ -9070,7 +9600,7 @@ char (*f) () = utimes;
9070int 9600int
9071main () 9601main ()
9072{ 9602{
9073return f != utimes; 9603return f != $ac_func;
9074 ; 9604 ;
9075 return 0; 9605 return 0;
9076} 9606}
@@ -9097,20 +9627,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 ac_status=$? 9627 ac_status=$?
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; }; then 9629 (exit $ac_status); }; }; then
9100 ac_cv_func_utimes=yes 9630 eval "$as_ac_var=yes"
9101else 9631else
9102 echo "$as_me: failed program was:" >&5 9632 echo "$as_me: failed program was:" >&5
9103sed 's/^/| /' conftest.$ac_ext >&5 9633sed 's/^/| /' conftest.$ac_ext >&5
9104 9634
9105ac_cv_func_utimes=no 9635eval "$as_ac_var=no"
9106fi 9636fi
9107rm -f conftest.err conftest.$ac_objext \ 9637rm -f conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext 9638 conftest$ac_exeext conftest.$ac_ext
9109fi 9639fi
9110echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 9640echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9111echo "${ECHO_T}$ac_cv_func_utimes" >&6 9641echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9112if test $ac_cv_func_utimes = yes; then 9642if test `eval echo '${'$as_ac_var'}'` = yes; then
9113 : 9643 cat >>confdefs.h <<_ACEOF
9644#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9645_ACEOF
9646
9114else 9647else
9115 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 9648 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
9116echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 9649echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
@@ -9186,6 +9719,7 @@ fi
9186 9719
9187 9720
9188fi 9721fi
9722done
9189 9723
9190 9724
9191 9725
@@ -9461,7 +9995,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9461echo "${ECHO_T}$ac_cv_search_login" >&6 9995echo "${ECHO_T}$ac_cv_search_login" >&6
9462if test "$ac_cv_search_login" != no; then 9996if test "$ac_cv_search_login" != no; then
9463 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 9997 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
9464 cat >>confdefs.h <<\_ACEOF 9998
9999cat >>confdefs.h <<\_ACEOF
9465#define HAVE_LOGIN 1 10000#define HAVE_LOGIN 1
9466_ACEOF 10001_ACEOF
9467 10002
@@ -9768,7 +10303,8 @@ _ACEOF
9768if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10303if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9769 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10304 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9770 10305
9771 cat >>confdefs.h <<\_ACEOF 10306
10307cat >>confdefs.h <<\_ACEOF
9772#define GLOB_HAS_ALTDIRFUNC 1 10308#define GLOB_HAS_ALTDIRFUNC 1
9773_ACEOF 10309_ACEOF
9774 10310
@@ -9802,7 +10338,8 @@ _ACEOF
9802if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10338if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9803 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10339 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9804 10340
9805 cat >>confdefs.h <<\_ACEOF 10341
10342cat >>confdefs.h <<\_ACEOF
9806#define GLOB_HAS_GL_MATCHC 1 10343#define GLOB_HAS_GL_MATCHC 1
9807_ACEOF 10344_ACEOF
9808 10345
@@ -9866,7 +10403,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
9866 10403
9867 echo "$as_me:$LINENO: result: no" >&5 10404 echo "$as_me:$LINENO: result: no" >&5
9868echo "${ECHO_T}no" >&6 10405echo "${ECHO_T}no" >&6
9869 cat >>confdefs.h <<\_ACEOF 10406
10407cat >>confdefs.h <<\_ACEOF
9870#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 10408#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9871_ACEOF 10409_ACEOF
9872 10410
@@ -9878,7 +10416,8 @@ fi
9878echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 10416echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
9879echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 10417echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6
9880if test -d "/proc/$$/fd" ; then 10418if test -d "/proc/$$/fd" ; then
9881 cat >>confdefs.h <<\_ACEOF 10419
10420cat >>confdefs.h <<\_ACEOF
9882#define HAVE_PROC_PID 1 10421#define HAVE_PROC_PID 1
9883_ACEOF 10422_ACEOF
9884 10423
@@ -9903,7 +10442,8 @@ if test "${with_skey+set}" = set; then
9903 LDFLAGS="$LDFLAGS -L${withval}/lib" 10442 LDFLAGS="$LDFLAGS -L${withval}/lib"
9904 fi 10443 fi
9905 10444
9906 cat >>confdefs.h <<\_ACEOF 10445
10446cat >>confdefs.h <<\_ACEOF
9907#define SKEY 1 10447#define SKEY 1
9908_ACEOF 10448_ACEOF
9909 10449
@@ -9912,14 +10452,7 @@ _ACEOF
9912 10452
9913 echo "$as_me:$LINENO: checking for s/key support" >&5 10453 echo "$as_me:$LINENO: checking for s/key support" >&5
9914echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 10454echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
9915 if test "$cross_compiling" = yes; then 10455 cat >conftest.$ac_ext <<_ACEOF
9916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9917See \`config.log' for more details." >&5
9918echo "$as_me: error: cannot run test program while cross compiling
9919See \`config.log' for more details." >&2;}
9920 { (exit 1); exit 1; }; }
9921else
9922 cat >conftest.$ac_ext <<_ACEOF
9923/* confdefs.h. */ 10456/* confdefs.h. */
9924_ACEOF 10457_ACEOF
9925cat confdefs.h >>conftest.$ac_ext 10458cat confdefs.h >>conftest.$ac_ext
@@ -9931,12 +10464,23 @@ cat >>conftest.$ac_ext <<_ACEOF
9931int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } 10464int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
9932 10465
9933_ACEOF 10466_ACEOF
9934rm -f conftest$ac_exeext 10467rm -f conftest.$ac_objext conftest$ac_exeext
9935if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10468if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9936 (eval $ac_link) 2>&5 10469 (eval $ac_link) 2>conftest.er1
9937 ac_status=$? 10470 ac_status=$?
10471 grep -v '^ *+' conftest.er1 >conftest.err
10472 rm -f conftest.er1
10473 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10475 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_c_werror_flag"
10477 || test ! -s conftest.err'
10478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479 (eval $ac_try) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); }; } &&
10483 { ac_try='test -s conftest$ac_exeext'
9940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 (eval $ac_try) 2>&5 10485 (eval $ac_try) 2>&5
9942 ac_status=$? 10486 ac_status=$?
@@ -9945,11 +10489,9 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9945 echo "$as_me:$LINENO: result: yes" >&5 10489 echo "$as_me:$LINENO: result: yes" >&5
9946echo "${ECHO_T}yes" >&6 10490echo "${ECHO_T}yes" >&6
9947else 10491else
9948 echo "$as_me: program exited with status $ac_status" >&5 10492 echo "$as_me: failed program was:" >&5
9949echo "$as_me: failed program was:" >&5
9950sed 's/^/| /' conftest.$ac_ext >&5 10493sed 's/^/| /' conftest.$ac_ext >&5
9951 10494
9952( exit $ac_status )
9953 10495
9954 echo "$as_me:$LINENO: result: no" >&5 10496 echo "$as_me:$LINENO: result: no" >&5
9955echo "${ECHO_T}no" >&6 10497echo "${ECHO_T}no" >&6
@@ -9958,8 +10500,8 @@ echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
9958 { (exit 1); exit 1; }; } 10500 { (exit 1); exit 1; }; }
9959 10501
9960fi 10502fi
9961rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10503rm -f conftest.err conftest.$ac_objext \
9962fi 10504 conftest$ac_exeext conftest.$ac_ext
9963 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 10505 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
9964echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 10506echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6
9965 cat >conftest.$ac_ext <<_ACEOF 10507 cat >conftest.$ac_ext <<_ACEOF
@@ -10002,7 +10544,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10002 (exit $ac_status); }; }; then 10544 (exit $ac_status); }; }; then
10003 echo "$as_me:$LINENO: result: yes" >&5 10545 echo "$as_me:$LINENO: result: yes" >&5
10004echo "${ECHO_T}yes" >&6 10546echo "${ECHO_T}yes" >&6
10005 cat >>confdefs.h <<\_ACEOF 10547
10548cat >>confdefs.h <<\_ACEOF
10006#define SKEYCHALLENGE_4ARG 1 10549#define SKEYCHALLENGE_4ARG 1
10007_ACEOF 10550_ACEOF
10008 10551
@@ -10102,7 +10645,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10102 10645
10103 echo "$as_me:$LINENO: result: yes" >&5 10646 echo "$as_me:$LINENO: result: yes" >&5
10104echo "${ECHO_T}yes" >&6 10647echo "${ECHO_T}yes" >&6
10105 cat >>confdefs.h <<\_ACEOF 10648
10649cat >>confdefs.h <<\_ACEOF
10106#define LIBWRAP 1 10650#define LIBWRAP 1
10107_ACEOF 10651_ACEOF
10108 10652
@@ -10136,8 +10680,12 @@ if test "${with_libedit+set}" = set; then
10136 withval="$with_libedit" 10680 withval="$with_libedit"
10137 if test "x$withval" != "xno" ; then 10681 if test "x$withval" != "xno" ; then
10138 if test "x$withval" != "xyes"; then 10682 if test "x$withval" != "xyes"; then
10139 CPPFLAGS="$CPPFLAGS -I$withval/include" 10683 CPPFLAGS="$CPPFLAGS -I${withval}/include"
10140 LDFLAGS="$LDFLAGS -L$withval/lib" 10684 if test -n "${need_dash_r}"; then
10685 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
10686 else
10687 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
10688 fi
10141 fi 10689 fi
10142 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 10690 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
10143echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 10691echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6
@@ -10207,7 +10755,7 @@ echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6
10207if test $ac_cv_lib_edit_el_init = yes; then 10755if test $ac_cv_lib_edit_el_init = yes; then
10208 10756
10209cat >>confdefs.h <<\_ACEOF 10757cat >>confdefs.h <<\_ACEOF
10210#define USE_LIBEDIT 10758#define USE_LIBEDIT 1
10211_ACEOF 10759_ACEOF
10212 10760
10213 LIBEDIT="-ledit -lcurses" 10761 LIBEDIT="-ledit -lcurses"
@@ -10734,7 +11282,7 @@ done
10734 11282
10735 11283
10736cat >>confdefs.h <<\_ACEOF 11284cat >>confdefs.h <<\_ACEOF
10737#define USE_BSM_AUDIT 11285#define USE_BSM_AUDIT 1
10738_ACEOF 11286_ACEOF
10739 11287
10740 ;; 11288 ;;
@@ -10744,7 +11292,7 @@ _ACEOF
10744echo "${ECHO_T}debug" >&6 11292echo "${ECHO_T}debug" >&6
10745 11293
10746cat >>confdefs.h <<\_ACEOF 11294cat >>confdefs.h <<\_ACEOF
10747#define SSH_AUDIT_EVENTS 11295#define SSH_AUDIT_EVENTS 1
10748_ACEOF 11296_ACEOF
10749 11297
10750 ;; 11298 ;;
@@ -10841,8 +11389,10 @@ fi;
10841 11389
10842 11390
10843 11391
11392
10844for ac_func in \ 11393for ac_func in \
10845 arc4random \ 11394 arc4random \
11395 asprintf \
10846 b64_ntop \ 11396 b64_ntop \
10847 __b64_ntop \ 11397 __b64_ntop \
10848 b64_pton \ 11398 b64_pton \
@@ -10918,7 +11468,7 @@ for ac_func in \
10918 truncate \ 11468 truncate \
10919 unsetenv \ 11469 unsetenv \
10920 updwtmpx \ 11470 updwtmpx \
10921 utimes \ 11471 vasprintf \
10922 vhangup \ 11472 vhangup \
10923 vsnprintf \ 11473 vsnprintf \
10924 waitpid \ 11474 waitpid \
@@ -11312,7 +11862,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
11312echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 11862echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
11313if test "$ac_cv_search_nanosleep" != no; then 11863if test "$ac_cv_search_nanosleep" != no; then
11314 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 11864 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
11315 cat >>confdefs.h <<\_ACEOF 11865
11866cat >>confdefs.h <<\_ACEOF
11316#define HAVE_NANOSLEEP 1 11867#define HAVE_NANOSLEEP 1
11317_ACEOF 11868_ACEOF
11318 11869
@@ -12027,6 +12578,7 @@ echo "$as_me: failed program was:" >&5
12027sed 's/^/| /' conftest.$ac_ext >&5 12578sed 's/^/| /' conftest.$ac_ext >&5
12028 12579
12029( exit $ac_status ) 12580( exit $ac_status )
12581
12030cat >>confdefs.h <<\_ACEOF 12582cat >>confdefs.h <<\_ACEOF
12031#define BROKEN_SETRESUID 1 12583#define BROKEN_SETRESUID 1
12032_ACEOF 12584_ACEOF
@@ -12178,6 +12730,7 @@ echo "$as_me: failed program was:" >&5
12178sed 's/^/| /' conftest.$ac_ext >&5 12730sed 's/^/| /' conftest.$ac_ext >&5
12179 12731
12180( exit $ac_status ) 12732( exit $ac_status )
12733
12181cat >>confdefs.h <<\_ACEOF 12734cat >>confdefs.h <<\_ACEOF
12182#define BROKEN_SETRESGID 1 12735#define BROKEN_SETRESGID 1
12183_ACEOF 12736_ACEOF
@@ -12805,7 +13358,8 @@ fi
12805echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 13358echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
12806echo "${ECHO_T}$ac_cv_func_daemon" >&6 13359echo "${ECHO_T}$ac_cv_func_daemon" >&6
12807if test $ac_cv_func_daemon = yes; then 13360if test $ac_cv_func_daemon = yes; then
12808 cat >>confdefs.h <<\_ACEOF 13361
13362cat >>confdefs.h <<\_ACEOF
12809#define HAVE_DAEMON 1 13363#define HAVE_DAEMON 1
12810_ACEOF 13364_ACEOF
12811 13365
@@ -12976,7 +13530,8 @@ fi
12976echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 13530echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
12977echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 13531echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
12978if test $ac_cv_func_getpagesize = yes; then 13532if test $ac_cv_func_getpagesize = yes; then
12979 cat >>confdefs.h <<\_ACEOF 13533
13534cat >>confdefs.h <<\_ACEOF
12980#define HAVE_GETPAGESIZE 1 13535#define HAVE_GETPAGESIZE 1
12981_ACEOF 13536_ACEOF
12982 13537
@@ -13098,7 +13653,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13098 13653
13099 echo "$as_me:$LINENO: result: no" >&5 13654 echo "$as_me:$LINENO: result: no" >&5
13100echo "${ECHO_T}no" >&6 13655echo "${ECHO_T}no" >&6
13101 cat >>confdefs.h <<\_ACEOF 13656
13657cat >>confdefs.h <<\_ACEOF
13102#define BROKEN_SNPRINTF 1 13658#define BROKEN_SNPRINTF 1
13103_ACEOF 13659_ACEOF
13104 13660
@@ -13110,6 +13666,134 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
13110fi 13666fi
13111fi 13667fi
13112 13668
13669# If we don't have a working asprintf, then we strongly depend on vsnprintf
13670# returning the right thing on overflow: the number of characters it tried to
13671# create (as per SUSv3)
13672if test "x$ac_cv_func_asprintf" != "xyes" && \
13673 test "x$ac_cv_func_vsnprintf" = "xyes" ; then
13674 echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5
13675echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6
13676 if test "$cross_compiling" = yes; then
13677 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5
13678echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;}
13679
13680else
13681 cat >conftest.$ac_ext <<_ACEOF
13682/* confdefs.h. */
13683_ACEOF
13684cat confdefs.h >>conftest.$ac_ext
13685cat >>conftest.$ac_ext <<_ACEOF
13686/* end confdefs.h. */
13687
13688#include <sys/types.h>
13689#include <stdio.h>
13690#include <stdarg.h>
13691
13692int x_snprintf(char *str,size_t count,const char *fmt,...)
13693{
13694 size_t ret; va_list ap;
13695 va_start(ap, fmt); ret = vsnprintf(str, count, fmt, ap); va_end(ap);
13696 return ret;
13697}
13698int main(void)
13699{
13700 char x[1];
13701 exit(x_snprintf(x, 1, "%s %d", "hello", 12345) == 11 ? 0 : 1);
13702}
13703_ACEOF
13704rm -f conftest$ac_exeext
13705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13706 (eval $ac_link) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13712 ac_status=$?
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; }; then
13715 echo "$as_me:$LINENO: result: yes" >&5
13716echo "${ECHO_T}yes" >&6
13717else
13718 echo "$as_me: program exited with status $ac_status" >&5
13719echo "$as_me: failed program was:" >&5
13720sed 's/^/| /' conftest.$ac_ext >&5
13721
13722( exit $ac_status )
13723
13724 echo "$as_me:$LINENO: result: no" >&5
13725echo "${ECHO_T}no" >&6
13726
13727cat >>confdefs.h <<\_ACEOF
13728#define BROKEN_SNPRINTF 1
13729_ACEOF
13730
13731 { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5
13732echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;}
13733
13734fi
13735rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13736fi
13737fi
13738
13739# On systems where [v]snprintf is broken, but is declared in stdio,
13740# check that the fmt argument is const char * or just char *.
13741# This is only useful for when BROKEN_SNPRINTF
13742echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5
13743echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6
13744cat >conftest.$ac_ext <<_ACEOF
13745/* confdefs.h. */
13746_ACEOF
13747cat confdefs.h >>conftest.$ac_ext
13748cat >>conftest.$ac_ext <<_ACEOF
13749/* end confdefs.h. */
13750#include <stdio.h>
13751 int snprintf(char *a, size_t b, const char *c, ...) { return 0; }
13752 int main(void) { snprintf(0, 0, 0); }
13753
13754_ACEOF
13755rm -f conftest.$ac_objext
13756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13757 (eval $ac_compile) 2>conftest.er1
13758 ac_status=$?
13759 grep -v '^ *+' conftest.er1 >conftest.err
13760 rm -f conftest.er1
13761 cat conftest.err >&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } &&
13764 { ac_try='test -z "$ac_c_werror_flag"
13765 || test ! -s conftest.err'
13766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13767 (eval $ac_try) 2>&5
13768 ac_status=$?
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); }; } &&
13771 { ac_try='test -s conftest.$ac_objext'
13772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13773 (eval $ac_try) 2>&5
13774 ac_status=$?
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); }; }; then
13777 echo "$as_me:$LINENO: result: yes" >&5
13778echo "${ECHO_T}yes" >&6
13779
13780cat >>confdefs.h <<\_ACEOF
13781#define SNPRINTF_CONST const
13782_ACEOF
13783
13784else
13785 echo "$as_me: failed program was:" >&5
13786sed 's/^/| /' conftest.$ac_ext >&5
13787
13788echo "$as_me:$LINENO: result: no" >&5
13789echo "${ECHO_T}no" >&6
13790 cat >>confdefs.h <<\_ACEOF
13791#define SNPRINTF_CONST /* not const */
13792_ACEOF
13793
13794fi
13795rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13796
13113# Check for missing getpeereid (or equiv) support 13797# Check for missing getpeereid (or equiv) support
13114NO_PEERCHECK="" 13798NO_PEERCHECK=""
13115if test "x$ac_cv_func_getpeereid" != "xyes" ; then 13799if test "x$ac_cv_func_getpeereid" != "xyes" ; then
@@ -13157,7 +13841,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157echo "${ECHO_T}yes" >&6 13841echo "${ECHO_T}yes" >&6
13158 13842
13159cat >>confdefs.h <<\_ACEOF 13843cat >>confdefs.h <<\_ACEOF
13160#define HAVE_SO_PEERCRED 13844#define HAVE_SO_PEERCRED 1
13161_ACEOF 13845_ACEOF
13162 13846
13163 13847
@@ -13226,7 +13910,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13226 13910
13227 echo "$as_me:$LINENO: result: yes" >&5 13911 echo "$as_me:$LINENO: result: yes" >&5
13228echo "${ECHO_T}yes" >&6 13912echo "${ECHO_T}yes" >&6
13229 cat >>confdefs.h <<\_ACEOF 13913
13914cat >>confdefs.h <<\_ACEOF
13230#define HAVE_STRICT_MKSTEMP 1 13915#define HAVE_STRICT_MKSTEMP 1
13231_ACEOF 13916_ACEOF
13232 13917
@@ -13240,11 +13925,11 @@ if test ! -z "$check_for_openpty_ctty_bug"; then
13240 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 13925 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
13241echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 13926echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
13242 if test "$cross_compiling" = yes; then 13927 if test "$cross_compiling" = yes; then
13243 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13928
13244See \`config.log' for more details." >&5 13929 echo "$as_me:$LINENO: result: cross-compiling" >&5
13245echo "$as_me: error: cannot run test program while cross compiling 13930echo "${ECHO_T}cross-compiling" >&6
13246See \`config.log' for more details." >&2;} 13931
13247 { (exit 1); exit 1; }; } 13932
13248else 13933else
13249 cat >conftest.$ac_ext <<_ACEOF 13934 cat >conftest.$ac_ext <<_ACEOF
13250/* confdefs.h. */ 13935/* confdefs.h. */
@@ -13315,7 +14000,6 @@ echo "${ECHO_T}no" >&6
13315_ACEOF 14000_ACEOF
13316 14001
13317 14002
13318
13319fi 14003fi
13320rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14004rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13321fi 14005fi
@@ -13326,11 +14010,11 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13326 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 14010 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13327echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 14011echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13328 if test "$cross_compiling" = yes; then 14012 if test "$cross_compiling" = yes; then
13329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14013
13330See \`config.log' for more details." >&5 14014 echo "$as_me:$LINENO: result: cross-compiling" >&5
13331echo "$as_me: error: cannot run test program while cross compiling 14015echo "${ECHO_T}cross-compiling" >&6
13332See \`config.log' for more details." >&2;} 14016
13333 { (exit 1); exit 1; }; } 14017
13334else 14018else
13335 cat >conftest.$ac_ext <<_ACEOF 14019 cat >conftest.$ac_ext <<_ACEOF
13336/* confdefs.h. */ 14020/* confdefs.h. */
@@ -13423,7 +14107,6 @@ echo "${ECHO_T}no" >&6
13423_ACEOF 14107_ACEOF
13424 14108
13425 14109
13426
13427fi 14110fi
13428rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14111rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13429fi 14112fi
@@ -13434,11 +14117,10 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13434 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 14117 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13435echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 14118echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13436 if test "$cross_compiling" = yes; then 14119 if test "$cross_compiling" = yes; then
13437 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14120 echo "$as_me:$LINENO: result: cross-compiling" >&5
13438See \`config.log' for more details." >&5 14121echo "${ECHO_T}cross-compiling" >&6
13439echo "$as_me: error: cannot run test program while cross compiling 14122
13440See \`config.log' for more details." >&2;} 14123 ]
13441 { (exit 1); exit 1; }; }
13442else 14124else
13443 cat >conftest.$ac_ext <<_ACEOF 14125 cat >conftest.$ac_ext <<_ACEOF
13444/* confdefs.h. */ 14126/* confdefs.h. */
@@ -13506,7 +14188,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13506echo "${ECHO_T}yes" >&6 14188echo "${ECHO_T}yes" >&6
13507 14189
13508cat >>confdefs.h <<\_ACEOF 14190cat >>confdefs.h <<\_ACEOF
13509#define AIX_GETNAMEINFO_HACK 14191#define AIX_GETNAMEINFO_HACK 1
13510_ACEOF 14192_ACEOF
13511 14193
13512 14194
@@ -13524,7 +14206,6 @@ echo "${ECHO_T}no" >&6
13524_ACEOF 14206_ACEOF
13525 14207
13526 14208
13527
13528fi 14209fi
13529rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14210rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13530fi 14211fi
@@ -14021,7 +14702,8 @@ done
14021 14702
14022 PAM_MSG="yes" 14703 PAM_MSG="yes"
14023 14704
14024 cat >>confdefs.h <<\_ACEOF 14705
14706cat >>confdefs.h <<\_ACEOF
14025#define USE_PAM 1 14707#define USE_PAM 1
14026_ACEOF 14708_ACEOF
14027 14709
@@ -14092,7 +14774,8 @@ else
14092sed 's/^/| /' conftest.$ac_ext >&5 14774sed 's/^/| /' conftest.$ac_ext >&5
14093 14775
14094 14776
14095 cat >>confdefs.h <<\_ACEOF 14777
14778cat >>confdefs.h <<\_ACEOF
14096#define HAVE_OLD_PAM 1 14779#define HAVE_OLD_PAM 1
14097_ACEOF 14780_ACEOF
14098 14781
@@ -14185,7 +14868,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 ac_status=$? 14868 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; }; then 14870 (exit $ac_status); }; }; then
14188 cat >>confdefs.h <<\_ACEOF 14871
14872cat >>confdefs.h <<\_ACEOF
14189#define HAVE_OPENSSL 1 14873#define HAVE_OPENSSL 1
14190_ACEOF 14874_ACEOF
14191 14875
@@ -14464,6 +15148,64 @@ fi
14464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15148rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14465fi 15149fi
14466 15150
15151# Check for OpenSSL without EVP_aes_{192,256}_cbc
15152echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5
15153echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6
15154cat >conftest.$ac_ext <<_ACEOF
15155/* confdefs.h. */
15156_ACEOF
15157cat confdefs.h >>conftest.$ac_ext
15158cat >>conftest.$ac_ext <<_ACEOF
15159/* end confdefs.h. */
15160
15161#include <string.h>
15162#include <openssl/evp.h>
15163int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
15164
15165_ACEOF
15166rm -f conftest.$ac_objext
15167if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15168 (eval $ac_compile) 2>conftest.er1
15169 ac_status=$?
15170 grep -v '^ *+' conftest.er1 >conftest.err
15171 rm -f conftest.er1
15172 cat conftest.err >&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } &&
15175 { ac_try='test -z "$ac_c_werror_flag"
15176 || test ! -s conftest.err'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; } &&
15182 { ac_try='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15185 ac_status=$?
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188
15189 echo "$as_me:$LINENO: result: no" >&5
15190echo "${ECHO_T}no" >&6
15191
15192else
15193 echo "$as_me: failed program was:" >&5
15194sed 's/^/| /' conftest.$ac_ext >&5
15195
15196
15197 echo "$as_me:$LINENO: result: yes" >&5
15198echo "${ECHO_T}yes" >&6
15199
15200cat >>confdefs.h <<\_ACEOF
15201#define OPENSSL_LOBOTOMISED_AES 1
15202_ACEOF
15203
15204
15205
15206fi
15207rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15208
14467# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 15209# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
14468# because the system crypt() is more featureful. 15210# because the system crypt() is more featureful.
14469if test "x$check_for_libcrypt_before" = "x1"; then 15211if test "x$check_for_libcrypt_before" = "x1"; then
@@ -14776,7 +15518,8 @@ fi;
14776# Which randomness source do we use? 15518# Which randomness source do we use?
14777if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then 15519if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then
14778 # OpenSSL only 15520 # OpenSSL only
14779 cat >>confdefs.h <<\_ACEOF 15521
15522cat >>confdefs.h <<\_ACEOF
14780#define OPENSSL_PRNG_ONLY 1 15523#define OPENSSL_PRNG_ONLY 1
14781_ACEOF 15524_ACEOF
14782 15525
@@ -14811,7 +15554,8 @@ echo "$as_me: error: You must specify a numeric port number for --with-prngd-por
14811 esac 15554 esac
14812 if test ! -z "$withval" ; then 15555 if test ! -z "$withval" ; then
14813 PRNGD_PORT="$withval" 15556 PRNGD_PORT="$withval"
14814 cat >>confdefs.h <<_ACEOF 15557
15558cat >>confdefs.h <<_ACEOF
14815#define PRNGD_PORT $PRNGD_PORT 15559#define PRNGD_PORT $PRNGD_PORT
14816_ACEOF 15560_ACEOF
14817 15561
@@ -14853,7 +15597,8 @@ echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
14853echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 15597echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
14854 fi 15598 fi
14855 PRNGD_SOCKET="$withval" 15599 PRNGD_SOCKET="$withval"
14856 cat >>confdefs.h <<_ACEOF 15600
15601cat >>confdefs.h <<_ACEOF
14857#define PRNGD_SOCKET "$PRNGD_SOCKET" 15602#define PRNGD_SOCKET "$PRNGD_SOCKET"
14858_ACEOF 15603_ACEOF
14859 15604
@@ -14902,6 +15647,7 @@ if test "${with_entropy_timeout+set}" = set; then
14902 15647
14903 15648
14904fi; 15649fi;
15650
14905cat >>confdefs.h <<_ACEOF 15651cat >>confdefs.h <<_ACEOF
14906#define ENTROPY_TIMEOUT_MSEC $entropy_timeout 15652#define ENTROPY_TIMEOUT_MSEC $entropy_timeout
14907_ACEOF 15653_ACEOF
@@ -14920,6 +15666,7 @@ if test "${with_privsep_user+set}" = set; then
14920 15666
14921 15667
14922fi; 15668fi;
15669
14923cat >>confdefs.h <<_ACEOF 15670cat >>confdefs.h <<_ACEOF
14924#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" 15671#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
14925_ACEOF 15672_ACEOF
@@ -15685,7 +16432,202 @@ if test ! -z "$SONY" ; then
15685 LIBS="$LIBS -liberty"; 16432 LIBS="$LIBS -liberty";
15686fi 16433fi
15687 16434
15688# Checks for data types 16435# Check for long long datatypes
16436echo "$as_me:$LINENO: checking for long long" >&5
16437echo $ECHO_N "checking for long long... $ECHO_C" >&6
16438if test "${ac_cv_type_long_long+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440else
16441 cat >conftest.$ac_ext <<_ACEOF
16442/* confdefs.h. */
16443_ACEOF
16444cat confdefs.h >>conftest.$ac_ext
16445cat >>conftest.$ac_ext <<_ACEOF
16446/* end confdefs.h. */
16447$ac_includes_default
16448int
16449main ()
16450{
16451if ((long long *) 0)
16452 return 0;
16453if (sizeof (long long))
16454 return 0;
16455 ;
16456 return 0;
16457}
16458_ACEOF
16459rm -f conftest.$ac_objext
16460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16461 (eval $ac_compile) 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try='test -z "$ac_c_werror_flag"
16469 || test ! -s conftest.err'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16472 ac_status=$?
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; } &&
16475 { ac_try='test -s conftest.$ac_objext'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; }; then
16481 ac_cv_type_long_long=yes
16482else
16483 echo "$as_me: failed program was:" >&5
16484sed 's/^/| /' conftest.$ac_ext >&5
16485
16486ac_cv_type_long_long=no
16487fi
16488rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16489fi
16490echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16491echo "${ECHO_T}$ac_cv_type_long_long" >&6
16492if test $ac_cv_type_long_long = yes; then
16493
16494cat >>confdefs.h <<_ACEOF
16495#define HAVE_LONG_LONG 1
16496_ACEOF
16497
16498
16499fi
16500echo "$as_me:$LINENO: checking for unsigned long long" >&5
16501echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
16502if test "${ac_cv_type_unsigned_long_long+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504else
16505 cat >conftest.$ac_ext <<_ACEOF
16506/* confdefs.h. */
16507_ACEOF
16508cat confdefs.h >>conftest.$ac_ext
16509cat >>conftest.$ac_ext <<_ACEOF
16510/* end confdefs.h. */
16511$ac_includes_default
16512int
16513main ()
16514{
16515if ((unsigned long long *) 0)
16516 return 0;
16517if (sizeof (unsigned long long))
16518 return 0;
16519 ;
16520 return 0;
16521}
16522_ACEOF
16523rm -f conftest.$ac_objext
16524if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16525 (eval $ac_compile) 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } &&
16532 { ac_try='test -z "$ac_c_werror_flag"
16533 || test ! -s conftest.err'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest.$ac_objext'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; }; then
16545 ac_cv_type_unsigned_long_long=yes
16546else
16547 echo "$as_me: failed program was:" >&5
16548sed 's/^/| /' conftest.$ac_ext >&5
16549
16550ac_cv_type_unsigned_long_long=no
16551fi
16552rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16553fi
16554echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
16555echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
16556if test $ac_cv_type_unsigned_long_long = yes; then
16557
16558cat >>confdefs.h <<_ACEOF
16559#define HAVE_UNSIGNED_LONG_LONG 1
16560_ACEOF
16561
16562
16563fi
16564echo "$as_me:$LINENO: checking for long double" >&5
16565echo $ECHO_N "checking for long double... $ECHO_C" >&6
16566if test "${ac_cv_type_long_double+set}" = set; then
16567 echo $ECHO_N "(cached) $ECHO_C" >&6
16568else
16569 cat >conftest.$ac_ext <<_ACEOF
16570/* confdefs.h. */
16571_ACEOF
16572cat confdefs.h >>conftest.$ac_ext
16573cat >>conftest.$ac_ext <<_ACEOF
16574/* end confdefs.h. */
16575$ac_includes_default
16576int
16577main ()
16578{
16579if ((long double *) 0)
16580 return 0;
16581if (sizeof (long double))
16582 return 0;
16583 ;
16584 return 0;
16585}
16586_ACEOF
16587rm -f conftest.$ac_objext
16588if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16589 (eval $ac_compile) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag"
16597 || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 ac_cv_type_long_double=yes
16610else
16611 echo "$as_me: failed program was:" >&5
16612sed 's/^/| /' conftest.$ac_ext >&5
16613
16614ac_cv_type_long_double=no
16615fi
16616rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16617fi
16618echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
16619echo "${ECHO_T}$ac_cv_type_long_double" >&6
16620if test $ac_cv_type_long_double = yes; then
16621
16622cat >>confdefs.h <<_ACEOF
16623#define HAVE_LONG_DOUBLE 1
16624_ACEOF
16625
16626
16627fi
16628
16629
16630# Check datatype sizes
15689echo "$as_me:$LINENO: checking for char" >&5 16631echo "$as_me:$LINENO: checking for char" >&5
15690echo $ECHO_N "checking for char... $ECHO_C" >&6 16632echo $ECHO_N "checking for char... $ECHO_C" >&6
15691if test "${ac_cv_type_char+set}" = set; then 16633if test "${ac_cv_type_char+set}" = set; then
@@ -17762,6 +18704,124 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
17762 ac_cv_sizeof_long_long_int=0 18704 ac_cv_sizeof_long_long_int=0
17763fi 18705fi
17764 18706
18707# compute LLONG_MIN and LLONG_MAX if we don't know them.
18708if test -z "$have_llong_max"; then
18709 echo "$as_me:$LINENO: checking for max value of long long" >&5
18710echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
18711 if test "$cross_compiling" = yes; then
18712
18713 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
18714echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18715
18716
18717else
18718 cat >conftest.$ac_ext <<_ACEOF
18719/* confdefs.h. */
18720_ACEOF
18721cat confdefs.h >>conftest.$ac_ext
18722cat >>conftest.$ac_ext <<_ACEOF
18723/* end confdefs.h. */
18724
18725#include <stdio.h>
18726/* Why is this so damn hard? */
18727#ifdef __GNUC__
18728# undef __GNUC__
18729#endif
18730#define __USE_ISOC99
18731#include <limits.h>
18732#define DATA "conftest.llminmax"
18733int main(void) {
18734 FILE *f;
18735 long long i, llmin, llmax = 0;
18736
18737 if((f = fopen(DATA,"w")) == NULL)
18738 exit(1);
18739
18740#if defined(LLONG_MIN) && defined(LLONG_MAX)
18741 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
18742 llmin = LLONG_MIN;
18743 llmax = LLONG_MAX;
18744#else
18745 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
18746 /* This will work on one's complement and two's complement */
18747 for (i = 1; i > llmax; i <<= 1, i++)
18748 llmax = i;
18749 llmin = llmax + 1LL; /* wrap */
18750#endif
18751
18752 /* Sanity check */
18753 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
18754 || llmax - 1 > llmax) {
18755 fprintf(f, "unknown unknown\n");
18756 exit(2);
18757 }
18758
18759 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
18760 exit(3);
18761
18762 exit(0);
18763}
18764
18765_ACEOF
18766rm -f conftest$ac_exeext
18767if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18768 (eval $ac_link) 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777
18778 llong_min=`$AWK '{print $1}' conftest.llminmax`
18779 llong_max=`$AWK '{print $2}' conftest.llminmax`
18780
18781 # snprintf on some Tru64s doesn't understand "%lld"
18782 case "$host" in
18783 alpha-dec-osf*)
18784 if test "x$ac_cv_sizeof_long_long_int" = "x8" &&
18785 test "x$llong_max" = "xld"; then
18786 llong_min="-9223372036854775808"
18787 llong_max="9223372036854775807"
18788 fi
18789 ;;
18790 esac
18791
18792 echo "$as_me:$LINENO: result: $llong_max" >&5
18793echo "${ECHO_T}$llong_max" >&6
18794
18795cat >>confdefs.h <<_ACEOF
18796#define LLONG_MAX ${llong_max}LL
18797_ACEOF
18798
18799 echo "$as_me:$LINENO: checking for min value of long long" >&5
18800echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
18801 echo "$as_me:$LINENO: result: $llong_min" >&5
18802echo "${ECHO_T}$llong_min" >&6
18803
18804cat >>confdefs.h <<_ACEOF
18805#define LLONG_MIN ${llong_min}LL
18806_ACEOF
18807
18808
18809else
18810 echo "$as_me: program exited with status $ac_status" >&5
18811echo "$as_me: failed program was:" >&5
18812sed 's/^/| /' conftest.$ac_ext >&5
18813
18814( exit $ac_status )
18815
18816 echo "$as_me:$LINENO: result: not found" >&5
18817echo "${ECHO_T}not found" >&6
18818
18819fi
18820rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18821fi
18822fi
18823
18824
17765# More checks for data types 18825# More checks for data types
17766echo "$as_me:$LINENO: checking for u_int type" >&5 18826echo "$as_me:$LINENO: checking for u_int type" >&5
17767echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 18827echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
@@ -17820,7 +18880,8 @@ fi
17820echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 18880echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
17821echo "${ECHO_T}$ac_cv_have_u_int" >&6 18881echo "${ECHO_T}$ac_cv_have_u_int" >&6
17822if test "x$ac_cv_have_u_int" = "xyes" ; then 18882if test "x$ac_cv_have_u_int" = "xyes" ; then
17823 cat >>confdefs.h <<\_ACEOF 18883
18884cat >>confdefs.h <<\_ACEOF
17824#define HAVE_U_INT 1 18885#define HAVE_U_INT 1
17825_ACEOF 18886_ACEOF
17826 18887
@@ -17884,7 +18945,8 @@ fi
17884echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 18945echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
17885echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 18946echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
17886if test "x$ac_cv_have_intxx_t" = "xyes" ; then 18947if test "x$ac_cv_have_intxx_t" = "xyes" ; then
17887 cat >>confdefs.h <<\_ACEOF 18948
18949cat >>confdefs.h <<\_ACEOF
17888#define HAVE_INTXX_T 1 18950#define HAVE_INTXX_T 1
17889_ACEOF 18951_ACEOF
17890 18952
@@ -18018,7 +19080,8 @@ fi
18018echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 19080echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
18019echo "${ECHO_T}$ac_cv_have_int64_t" >&6 19081echo "${ECHO_T}$ac_cv_have_int64_t" >&6
18020if test "x$ac_cv_have_int64_t" = "xyes" ; then 19082if test "x$ac_cv_have_int64_t" = "xyes" ; then
18021 cat >>confdefs.h <<\_ACEOF 19083
19084cat >>confdefs.h <<\_ACEOF
18022#define HAVE_INT64_T 1 19085#define HAVE_INT64_T 1
18023_ACEOF 19086_ACEOF
18024 19087
@@ -18081,7 +19144,8 @@ fi
18081echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 19144echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
18082echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 19145echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
18083if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 19146if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
18084 cat >>confdefs.h <<\_ACEOF 19147
19148cat >>confdefs.h <<\_ACEOF
18085#define HAVE_U_INTXX_T 1 19149#define HAVE_U_INTXX_T 1
18086_ACEOF 19150_ACEOF
18087 19151
@@ -18204,7 +19268,8 @@ fi
18204echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 19268echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
18205echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 19269echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
18206if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 19270if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
18207 cat >>confdefs.h <<\_ACEOF 19271
19272cat >>confdefs.h <<\_ACEOF
18208#define HAVE_U_INT64_T 1 19273#define HAVE_U_INT64_T 1
18209_ACEOF 19274_ACEOF
18210 19275
@@ -18330,7 +19395,8 @@ fi
18330echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 19395echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
18331echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 19396echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
18332 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 19397 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
18333 cat >>confdefs.h <<\_ACEOF 19398
19399cat >>confdefs.h <<\_ACEOF
18334#define HAVE_UINTXX_T 1 19400#define HAVE_UINTXX_T 1
18335_ACEOF 19401_ACEOF
18336 19402
@@ -18527,7 +19593,8 @@ fi
18527echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 19593echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
18528echo "${ECHO_T}$ac_cv_have_u_char" >&6 19594echo "${ECHO_T}$ac_cv_have_u_char" >&6
18529if test "x$ac_cv_have_u_char" = "xyes" ; then 19595if test "x$ac_cv_have_u_char" = "xyes" ; then
18530 cat >>confdefs.h <<\_ACEOF 19596
19597cat >>confdefs.h <<\_ACEOF
18531#define HAVE_U_CHAR 1 19598#define HAVE_U_CHAR 1
18532_ACEOF 19599_ACEOF
18533 19600
@@ -18878,7 +19945,8 @@ fi
18878echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 19945echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
18879echo "${ECHO_T}$ac_cv_have_size_t" >&6 19946echo "${ECHO_T}$ac_cv_have_size_t" >&6
18880if test "x$ac_cv_have_size_t" = "xyes" ; then 19947if test "x$ac_cv_have_size_t" = "xyes" ; then
18881 cat >>confdefs.h <<\_ACEOF 19948
19949cat >>confdefs.h <<\_ACEOF
18882#define HAVE_SIZE_T 1 19950#define HAVE_SIZE_T 1
18883_ACEOF 19951_ACEOF
18884 19952
@@ -18943,7 +20011,8 @@ fi
18943echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 20011echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
18944echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 20012echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
18945if test "x$ac_cv_have_ssize_t" = "xyes" ; then 20013if test "x$ac_cv_have_ssize_t" = "xyes" ; then
18946 cat >>confdefs.h <<\_ACEOF 20014
20015cat >>confdefs.h <<\_ACEOF
18947#define HAVE_SSIZE_T 1 20016#define HAVE_SSIZE_T 1
18948_ACEOF 20017_ACEOF
18949 20018
@@ -19008,7 +20077,8 @@ fi
19008echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 20077echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
19009echo "${ECHO_T}$ac_cv_have_clock_t" >&6 20078echo "${ECHO_T}$ac_cv_have_clock_t" >&6
19010if test "x$ac_cv_have_clock_t" = "xyes" ; then 20079if test "x$ac_cv_have_clock_t" = "xyes" ; then
19011 cat >>confdefs.h <<\_ACEOF 20080
20081cat >>confdefs.h <<\_ACEOF
19012#define HAVE_CLOCK_T 1 20082#define HAVE_CLOCK_T 1
19013_ACEOF 20083_ACEOF
19014 20084
@@ -19123,7 +20193,8 @@ fi
19123echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 20193echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
19124echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 20194echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
19125if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 20195if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
19126 cat >>confdefs.h <<\_ACEOF 20196
20197cat >>confdefs.h <<\_ACEOF
19127#define HAVE_SA_FAMILY_T 1 20198#define HAVE_SA_FAMILY_T 1
19128_ACEOF 20199_ACEOF
19129 20200
@@ -19188,7 +20259,8 @@ fi
19188echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 20259echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
19189echo "${ECHO_T}$ac_cv_have_pid_t" >&6 20260echo "${ECHO_T}$ac_cv_have_pid_t" >&6
19190if test "x$ac_cv_have_pid_t" = "xyes" ; then 20261if test "x$ac_cv_have_pid_t" = "xyes" ; then
19191 cat >>confdefs.h <<\_ACEOF 20262
20263cat >>confdefs.h <<\_ACEOF
19192#define HAVE_PID_T 1 20264#define HAVE_PID_T 1
19193_ACEOF 20265_ACEOF
19194 20266
@@ -19253,7 +20325,8 @@ fi
19253echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 20325echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
19254echo "${ECHO_T}$ac_cv_have_mode_t" >&6 20326echo "${ECHO_T}$ac_cv_have_mode_t" >&6
19255if test "x$ac_cv_have_mode_t" = "xyes" ; then 20327if test "x$ac_cv_have_mode_t" = "xyes" ; then
19256 cat >>confdefs.h <<\_ACEOF 20328
20329cat >>confdefs.h <<\_ACEOF
19257#define HAVE_MODE_T 1 20330#define HAVE_MODE_T 1
19258_ACEOF 20331_ACEOF
19259 20332
@@ -19320,7 +20393,8 @@ fi
19320echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 20393echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
19321echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 20394echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
19322if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 20395if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
19323 cat >>confdefs.h <<\_ACEOF 20396
20397cat >>confdefs.h <<\_ACEOF
19324#define HAVE_STRUCT_SOCKADDR_STORAGE 1 20398#define HAVE_STRUCT_SOCKADDR_STORAGE 1
19325_ACEOF 20399_ACEOF
19326 20400
@@ -19386,7 +20460,8 @@ fi
19386echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 20460echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
19387echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 20461echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
19388if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 20462if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
19389 cat >>confdefs.h <<\_ACEOF 20463
20464cat >>confdefs.h <<\_ACEOF
19390#define HAVE_STRUCT_SOCKADDR_IN6 1 20465#define HAVE_STRUCT_SOCKADDR_IN6 1
19391_ACEOF 20466_ACEOF
19392 20467
@@ -19452,7 +20527,8 @@ fi
19452echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 20527echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
19453echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 20528echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
19454if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 20529if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
19455 cat >>confdefs.h <<\_ACEOF 20530
20531cat >>confdefs.h <<\_ACEOF
19456#define HAVE_STRUCT_IN6_ADDR 1 20532#define HAVE_STRUCT_IN6_ADDR 1
19457_ACEOF 20533_ACEOF
19458 20534
@@ -19519,7 +20595,8 @@ fi
19519echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 20595echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
19520echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 20596echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
19521if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 20597if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
19522 cat >>confdefs.h <<\_ACEOF 20598
20599cat >>confdefs.h <<\_ACEOF
19523#define HAVE_STRUCT_ADDRINFO 1 20600#define HAVE_STRUCT_ADDRINFO 1
19524_ACEOF 20601_ACEOF
19525 20602
@@ -19582,7 +20659,8 @@ fi
19582echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 20659echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
19583echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 20660echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
19584if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 20661if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
19585 cat >>confdefs.h <<\_ACEOF 20662
20663cat >>confdefs.h <<\_ACEOF
19586#define HAVE_STRUCT_TIMEVAL 1 20664#define HAVE_STRUCT_TIMEVAL 1
19587_ACEOF 20665_ACEOF
19588 20666
@@ -19761,7 +20839,8 @@ fi
19761 echo "$as_me:$LINENO: result: $ossh_result" >&5 20839 echo "$as_me:$LINENO: result: $ossh_result" >&5
19762echo "${ECHO_T}$ossh_result" >&6 20840echo "${ECHO_T}$ossh_result" >&6
19763 if test "x$ossh_result" = "xyes"; then 20841 if test "x$ossh_result" = "xyes"; then
19764 cat >>confdefs.h <<\_ACEOF 20842
20843cat >>confdefs.h <<\_ACEOF
19765#define HAVE_HOST_IN_UTMP 1 20844#define HAVE_HOST_IN_UTMP 1
19766_ACEOF 20845_ACEOF
19767 20846
@@ -19805,7 +20884,8 @@ fi
19805 echo "$as_me:$LINENO: result: $ossh_result" >&5 20884 echo "$as_me:$LINENO: result: $ossh_result" >&5
19806echo "${ECHO_T}$ossh_result" >&6 20885echo "${ECHO_T}$ossh_result" >&6
19807 if test "x$ossh_result" = "xyes"; then 20886 if test "x$ossh_result" = "xyes"; then
19808 cat >>confdefs.h <<\_ACEOF 20887
20888cat >>confdefs.h <<\_ACEOF
19809#define HAVE_HOST_IN_UTMPX 1 20889#define HAVE_HOST_IN_UTMPX 1
19810_ACEOF 20890_ACEOF
19811 20891
@@ -19849,7 +20929,8 @@ fi
19849 echo "$as_me:$LINENO: result: $ossh_result" >&5 20929 echo "$as_me:$LINENO: result: $ossh_result" >&5
19850echo "${ECHO_T}$ossh_result" >&6 20930echo "${ECHO_T}$ossh_result" >&6
19851 if test "x$ossh_result" = "xyes"; then 20931 if test "x$ossh_result" = "xyes"; then
19852 cat >>confdefs.h <<\_ACEOF 20932
20933cat >>confdefs.h <<\_ACEOF
19853#define HAVE_SYSLEN_IN_UTMPX 1 20934#define HAVE_SYSLEN_IN_UTMPX 1
19854_ACEOF 20935_ACEOF
19855 20936
@@ -19893,7 +20974,8 @@ fi
19893 echo "$as_me:$LINENO: result: $ossh_result" >&5 20974 echo "$as_me:$LINENO: result: $ossh_result" >&5
19894echo "${ECHO_T}$ossh_result" >&6 20975echo "${ECHO_T}$ossh_result" >&6
19895 if test "x$ossh_result" = "xyes"; then 20976 if test "x$ossh_result" = "xyes"; then
19896 cat >>confdefs.h <<\_ACEOF 20977
20978cat >>confdefs.h <<\_ACEOF
19897#define HAVE_PID_IN_UTMP 1 20979#define HAVE_PID_IN_UTMP 1
19898_ACEOF 20980_ACEOF
19899 20981
@@ -19937,7 +21019,8 @@ fi
19937 echo "$as_me:$LINENO: result: $ossh_result" >&5 21019 echo "$as_me:$LINENO: result: $ossh_result" >&5
19938echo "${ECHO_T}$ossh_result" >&6 21020echo "${ECHO_T}$ossh_result" >&6
19939 if test "x$ossh_result" = "xyes"; then 21021 if test "x$ossh_result" = "xyes"; then
19940 cat >>confdefs.h <<\_ACEOF 21022
21023cat >>confdefs.h <<\_ACEOF
19941#define HAVE_TYPE_IN_UTMP 1 21024#define HAVE_TYPE_IN_UTMP 1
19942_ACEOF 21025_ACEOF
19943 21026
@@ -19981,7 +21064,8 @@ fi
19981 echo "$as_me:$LINENO: result: $ossh_result" >&5 21064 echo "$as_me:$LINENO: result: $ossh_result" >&5
19982echo "${ECHO_T}$ossh_result" >&6 21065echo "${ECHO_T}$ossh_result" >&6
19983 if test "x$ossh_result" = "xyes"; then 21066 if test "x$ossh_result" = "xyes"; then
19984 cat >>confdefs.h <<\_ACEOF 21067
21068cat >>confdefs.h <<\_ACEOF
19985#define HAVE_TYPE_IN_UTMPX 1 21069#define HAVE_TYPE_IN_UTMPX 1
19986_ACEOF 21070_ACEOF
19987 21071
@@ -20025,7 +21109,8 @@ fi
20025 echo "$as_me:$LINENO: result: $ossh_result" >&5 21109 echo "$as_me:$LINENO: result: $ossh_result" >&5
20026echo "${ECHO_T}$ossh_result" >&6 21110echo "${ECHO_T}$ossh_result" >&6
20027 if test "x$ossh_result" = "xyes"; then 21111 if test "x$ossh_result" = "xyes"; then
20028 cat >>confdefs.h <<\_ACEOF 21112
21113cat >>confdefs.h <<\_ACEOF
20029#define HAVE_TV_IN_UTMP 1 21114#define HAVE_TV_IN_UTMP 1
20030_ACEOF 21115_ACEOF
20031 21116
@@ -20069,7 +21154,8 @@ fi
20069 echo "$as_me:$LINENO: result: $ossh_result" >&5 21154 echo "$as_me:$LINENO: result: $ossh_result" >&5
20070echo "${ECHO_T}$ossh_result" >&6 21155echo "${ECHO_T}$ossh_result" >&6
20071 if test "x$ossh_result" = "xyes"; then 21156 if test "x$ossh_result" = "xyes"; then
20072 cat >>confdefs.h <<\_ACEOF 21157
21158cat >>confdefs.h <<\_ACEOF
20073#define HAVE_ID_IN_UTMP 1 21159#define HAVE_ID_IN_UTMP 1
20074_ACEOF 21160_ACEOF
20075 21161
@@ -20113,7 +21199,8 @@ fi
20113 echo "$as_me:$LINENO: result: $ossh_result" >&5 21199 echo "$as_me:$LINENO: result: $ossh_result" >&5
20114echo "${ECHO_T}$ossh_result" >&6 21200echo "${ECHO_T}$ossh_result" >&6
20115 if test "x$ossh_result" = "xyes"; then 21201 if test "x$ossh_result" = "xyes"; then
20116 cat >>confdefs.h <<\_ACEOF 21202
21203cat >>confdefs.h <<\_ACEOF
20117#define HAVE_ID_IN_UTMPX 1 21204#define HAVE_ID_IN_UTMPX 1
20118_ACEOF 21205_ACEOF
20119 21206
@@ -20157,7 +21244,8 @@ fi
20157 echo "$as_me:$LINENO: result: $ossh_result" >&5 21244 echo "$as_me:$LINENO: result: $ossh_result" >&5
20158echo "${ECHO_T}$ossh_result" >&6 21245echo "${ECHO_T}$ossh_result" >&6
20159 if test "x$ossh_result" = "xyes"; then 21246 if test "x$ossh_result" = "xyes"; then
20160 cat >>confdefs.h <<\_ACEOF 21247
21248cat >>confdefs.h <<\_ACEOF
20161#define HAVE_ADDR_IN_UTMP 1 21249#define HAVE_ADDR_IN_UTMP 1
20162_ACEOF 21250_ACEOF
20163 21251
@@ -20201,7 +21289,8 @@ fi
20201 echo "$as_me:$LINENO: result: $ossh_result" >&5 21289 echo "$as_me:$LINENO: result: $ossh_result" >&5
20202echo "${ECHO_T}$ossh_result" >&6 21290echo "${ECHO_T}$ossh_result" >&6
20203 if test "x$ossh_result" = "xyes"; then 21291 if test "x$ossh_result" = "xyes"; then
20204 cat >>confdefs.h <<\_ACEOF 21292
21293cat >>confdefs.h <<\_ACEOF
20205#define HAVE_ADDR_IN_UTMPX 1 21294#define HAVE_ADDR_IN_UTMPX 1
20206_ACEOF 21295_ACEOF
20207 21296
@@ -20245,7 +21334,8 @@ fi
20245 echo "$as_me:$LINENO: result: $ossh_result" >&5 21334 echo "$as_me:$LINENO: result: $ossh_result" >&5
20246echo "${ECHO_T}$ossh_result" >&6 21335echo "${ECHO_T}$ossh_result" >&6
20247 if test "x$ossh_result" = "xyes"; then 21336 if test "x$ossh_result" = "xyes"; then
20248 cat >>confdefs.h <<\_ACEOF 21337
21338cat >>confdefs.h <<\_ACEOF
20249#define HAVE_ADDR_V6_IN_UTMP 1 21339#define HAVE_ADDR_V6_IN_UTMP 1
20250_ACEOF 21340_ACEOF
20251 21341
@@ -20289,7 +21379,8 @@ fi
20289 echo "$as_me:$LINENO: result: $ossh_result" >&5 21379 echo "$as_me:$LINENO: result: $ossh_result" >&5
20290echo "${ECHO_T}$ossh_result" >&6 21380echo "${ECHO_T}$ossh_result" >&6
20291 if test "x$ossh_result" = "xyes"; then 21381 if test "x$ossh_result" = "xyes"; then
20292 cat >>confdefs.h <<\_ACEOF 21382
21383cat >>confdefs.h <<\_ACEOF
20293#define HAVE_ADDR_V6_IN_UTMPX 1 21384#define HAVE_ADDR_V6_IN_UTMPX 1
20294_ACEOF 21385_ACEOF
20295 21386
@@ -20333,7 +21424,8 @@ fi
20333 echo "$as_me:$LINENO: result: $ossh_result" >&5 21424 echo "$as_me:$LINENO: result: $ossh_result" >&5
20334echo "${ECHO_T}$ossh_result" >&6 21425echo "${ECHO_T}$ossh_result" >&6
20335 if test "x$ossh_result" = "xyes"; then 21426 if test "x$ossh_result" = "xyes"; then
20336 cat >>confdefs.h <<\_ACEOF 21427
21428cat >>confdefs.h <<\_ACEOF
20337#define HAVE_EXIT_IN_UTMP 1 21429#define HAVE_EXIT_IN_UTMP 1
20338_ACEOF 21430_ACEOF
20339 21431
@@ -20377,7 +21469,8 @@ fi
20377 echo "$as_me:$LINENO: result: $ossh_result" >&5 21469 echo "$as_me:$LINENO: result: $ossh_result" >&5
20378echo "${ECHO_T}$ossh_result" >&6 21470echo "${ECHO_T}$ossh_result" >&6
20379 if test "x$ossh_result" = "xyes"; then 21471 if test "x$ossh_result" = "xyes"; then
20380 cat >>confdefs.h <<\_ACEOF 21472
21473cat >>confdefs.h <<\_ACEOF
20381#define HAVE_TIME_IN_UTMP 1 21474#define HAVE_TIME_IN_UTMP 1
20382_ACEOF 21475_ACEOF
20383 21476
@@ -20421,7 +21514,8 @@ fi
20421 echo "$as_me:$LINENO: result: $ossh_result" >&5 21514 echo "$as_me:$LINENO: result: $ossh_result" >&5
20422echo "${ECHO_T}$ossh_result" >&6 21515echo "${ECHO_T}$ossh_result" >&6
20423 if test "x$ossh_result" = "xyes"; then 21516 if test "x$ossh_result" = "xyes"; then
20424 cat >>confdefs.h <<\_ACEOF 21517
21518cat >>confdefs.h <<\_ACEOF
20425#define HAVE_TIME_IN_UTMPX 1 21519#define HAVE_TIME_IN_UTMPX 1
20426_ACEOF 21520_ACEOF
20427 21521
@@ -20465,7 +21559,8 @@ fi
20465 echo "$as_me:$LINENO: result: $ossh_result" >&5 21559 echo "$as_me:$LINENO: result: $ossh_result" >&5
20466echo "${ECHO_T}$ossh_result" >&6 21560echo "${ECHO_T}$ossh_result" >&6
20467 if test "x$ossh_result" = "xyes"; then 21561 if test "x$ossh_result" = "xyes"; then
20468 cat >>confdefs.h <<\_ACEOF 21562
21563cat >>confdefs.h <<\_ACEOF
20469#define HAVE_TV_IN_UTMPX 1 21564#define HAVE_TV_IN_UTMPX 1
20470_ACEOF 21565_ACEOF
20471 21566
@@ -20586,6 +21681,135 @@ _ACEOF
20586 21681
20587fi 21682fi
20588 21683
21684echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5
21685echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6
21686if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21688else
21689 cat >conftest.$ac_ext <<_ACEOF
21690/* confdefs.h. */
21691_ACEOF
21692cat confdefs.h >>conftest.$ac_ext
21693cat >>conftest.$ac_ext <<_ACEOF
21694/* end confdefs.h. */
21695
21696#include <stdio.h>
21697#if HAVE_SYS_TYPES_H
21698# include <sys/types.h>
21699#endif
21700#include <netinet/in.h>
21701#include <arpa/nameser.h>
21702#include <resolv.h>
21703
21704
21705int
21706main ()
21707{
21708static struct __res_state ac_aggr;
21709if (ac_aggr.retrans)
21710return 0;
21711 ;
21712 return 0;
21713}
21714_ACEOF
21715rm -f conftest.$ac_objext
21716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21717 (eval $ac_compile) 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try='test -z "$ac_c_werror_flag"
21725 || test ! -s conftest.err'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; } &&
21731 { ac_try='test -s conftest.$ac_objext'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21734 ac_status=$?
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; }; then
21737 ac_cv_member_struct___res_state_retrans=yes
21738else
21739 echo "$as_me: failed program was:" >&5
21740sed 's/^/| /' conftest.$ac_ext >&5
21741
21742cat >conftest.$ac_ext <<_ACEOF
21743/* confdefs.h. */
21744_ACEOF
21745cat confdefs.h >>conftest.$ac_ext
21746cat >>conftest.$ac_ext <<_ACEOF
21747/* end confdefs.h. */
21748
21749#include <stdio.h>
21750#if HAVE_SYS_TYPES_H
21751# include <sys/types.h>
21752#endif
21753#include <netinet/in.h>
21754#include <arpa/nameser.h>
21755#include <resolv.h>
21756
21757
21758int
21759main ()
21760{
21761static struct __res_state ac_aggr;
21762if (sizeof ac_aggr.retrans)
21763return 0;
21764 ;
21765 return 0;
21766}
21767_ACEOF
21768rm -f conftest.$ac_objext
21769if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21770 (eval $ac_compile) 2>conftest.er1
21771 ac_status=$?
21772 grep -v '^ *+' conftest.er1 >conftest.err
21773 rm -f conftest.er1
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } &&
21777 { ac_try='test -z "$ac_c_werror_flag"
21778 || test ! -s conftest.err'
21779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21780 (eval $ac_try) 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; } &&
21784 { ac_try='test -s conftest.$ac_objext'
21785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21786 (eval $ac_try) 2>&5
21787 ac_status=$?
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; }; then
21790 ac_cv_member_struct___res_state_retrans=yes
21791else
21792 echo "$as_me: failed program was:" >&5
21793sed 's/^/| /' conftest.$ac_ext >&5
21794
21795ac_cv_member_struct___res_state_retrans=no
21796fi
21797rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21798fi
21799rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21800fi
21801echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5
21802echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6
21803if test $ac_cv_member_struct___res_state_retrans = yes; then
21804 :
21805else
21806
21807cat >>confdefs.h <<\_ACEOF
21808#define __res_state state
21809_ACEOF
21810
21811fi
21812
20589 21813
20590echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 21814echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
20591echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 21815echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
@@ -20646,7 +21870,8 @@ fi
20646echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 21870echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
20647echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 21871echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
20648if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 21872if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
20649 cat >>confdefs.h <<\_ACEOF 21873
21874cat >>confdefs.h <<\_ACEOF
20650#define HAVE_SS_FAMILY_IN_SS 1 21875#define HAVE_SS_FAMILY_IN_SS 1
20651_ACEOF 21876_ACEOF
20652 21877
@@ -20712,7 +21937,8 @@ fi
20712echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 21937echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
20713echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 21938echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
20714if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 21939if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
20715 cat >>confdefs.h <<\_ACEOF 21940
21941cat >>confdefs.h <<\_ACEOF
20716#define HAVE___SS_FAMILY_IN_SS 1 21942#define HAVE___SS_FAMILY_IN_SS 1
20717_ACEOF 21943_ACEOF
20718 21944
@@ -20777,7 +22003,8 @@ fi
20777echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 22003echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
20778echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 22004echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
20779if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 22005if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
20780 cat >>confdefs.h <<\_ACEOF 22006
22007cat >>confdefs.h <<\_ACEOF
20781#define HAVE_PW_CLASS_IN_PASSWD 1 22008#define HAVE_PW_CLASS_IN_PASSWD 1
20782_ACEOF 22009_ACEOF
20783 22010
@@ -20842,7 +22069,8 @@ fi
20842echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 22069echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
20843echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 22070echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
20844if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 22071if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
20845 cat >>confdefs.h <<\_ACEOF 22072
22073cat >>confdefs.h <<\_ACEOF
20846#define HAVE_PW_EXPIRE_IN_PASSWD 1 22074#define HAVE_PW_EXPIRE_IN_PASSWD 1
20847_ACEOF 22075_ACEOF
20848 22076
@@ -20907,7 +22135,8 @@ fi
20907echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 22135echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
20908echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 22136echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
20909if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 22137if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
20910 cat >>confdefs.h <<\_ACEOF 22138
22139cat >>confdefs.h <<\_ACEOF
20911#define HAVE_PW_CHANGE_IN_PASSWD 1 22140#define HAVE_PW_CHANGE_IN_PASSWD 1
20912_ACEOF 22141_ACEOF
20913 22142
@@ -20971,7 +22200,8 @@ fi
20971echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 22200echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
20972echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 22201echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
20973if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 22202if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
20974 cat >>confdefs.h <<\_ACEOF 22203
22204cat >>confdefs.h <<\_ACEOF
20975#define HAVE_ACCRIGHTS_IN_MSGHDR 1 22205#define HAVE_ACCRIGHTS_IN_MSGHDR 1
20976_ACEOF 22206_ACEOF
20977 22207
@@ -21035,7 +22265,8 @@ fi
21035echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 22265echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
21036echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 22266echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
21037if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 22267if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
21038 cat >>confdefs.h <<\_ACEOF 22268
22269cat >>confdefs.h <<\_ACEOF
21039#define HAVE_CONTROL_IN_MSGHDR 1 22270#define HAVE_CONTROL_IN_MSGHDR 1
21040_ACEOF 22271_ACEOF
21041 22272
@@ -21099,7 +22330,8 @@ fi
21099echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 22330echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
21100echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 22331echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
21101if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 22332if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
21102 cat >>confdefs.h <<\_ACEOF 22333
22334cat >>confdefs.h <<\_ACEOF
21103#define HAVE___PROGNAME 1 22335#define HAVE___PROGNAME 1
21104_ACEOF 22336_ACEOF
21105 22337
@@ -21165,7 +22397,8 @@ fi
21165echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 22397echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
21166echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 22398echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
21167if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 22399if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
21168 cat >>confdefs.h <<\_ACEOF 22400
22401cat >>confdefs.h <<\_ACEOF
21169#define HAVE___FUNCTION__ 1 22402#define HAVE___FUNCTION__ 1
21170_ACEOF 22403_ACEOF
21171 22404
@@ -21231,12 +22464,145 @@ fi
21231echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 22464echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
21232echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 22465echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
21233if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 22466if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
21234 cat >>confdefs.h <<\_ACEOF 22467
22468cat >>confdefs.h <<\_ACEOF
21235#define HAVE___func__ 1 22469#define HAVE___func__ 1
21236_ACEOF 22470_ACEOF
21237 22471
21238fi 22472fi
21239 22473
22474echo "$as_me:$LINENO: checking whether va_copy exists" >&5
22475echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6
22476if test "${ac_cv_have_va_copy+set}" = set; then
22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22478else
22479
22480 cat >conftest.$ac_ext <<_ACEOF
22481/* confdefs.h. */
22482_ACEOF
22483cat confdefs.h >>conftest.$ac_ext
22484cat >>conftest.$ac_ext <<_ACEOF
22485/* end confdefs.h. */
22486#include <stdarg.h>
22487 va_list x,y;
22488int
22489main ()
22490{
22491va_copy(x,y);
22492 ;
22493 return 0;
22494}
22495_ACEOF
22496rm -f conftest.$ac_objext conftest$ac_exeext
22497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>conftest.er1
22499 ac_status=$?
22500 grep -v '^ *+' conftest.er1 >conftest.err
22501 rm -f conftest.er1
22502 cat conftest.err >&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try='test -z "$ac_c_werror_flag"
22506 || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22509 ac_status=$?
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try='test -s conftest$ac_exeext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22515 ac_status=$?
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_cv_have_va_copy="yes"
22519else
22520 echo "$as_me: failed program was:" >&5
22521sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 ac_cv_have_va_copy="no"
22524
22525fi
22526rm -f conftest.err conftest.$ac_objext \
22527 conftest$ac_exeext conftest.$ac_ext
22528
22529fi
22530echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5
22531echo "${ECHO_T}$ac_cv_have_va_copy" >&6
22532if test "x$ac_cv_have_va_copy" = "xyes" ; then
22533
22534cat >>confdefs.h <<\_ACEOF
22535#define HAVE_VA_COPY 1
22536_ACEOF
22537
22538fi
22539
22540echo "$as_me:$LINENO: checking whether __va_copy exists" >&5
22541echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6
22542if test "${ac_cv_have___va_copy+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22544else
22545
22546 cat >conftest.$ac_ext <<_ACEOF
22547/* confdefs.h. */
22548_ACEOF
22549cat confdefs.h >>conftest.$ac_ext
22550cat >>conftest.$ac_ext <<_ACEOF
22551/* end confdefs.h. */
22552#include <stdarg.h>
22553 va_list x,y;
22554int
22555main ()
22556{
22557__va_copy(x,y);
22558 ;
22559 return 0;
22560}
22561_ACEOF
22562rm -f conftest.$ac_objext conftest$ac_exeext
22563if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22564 (eval $ac_link) 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try='test -z "$ac_c_werror_flag"
22572 || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try='test -s conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_cv_have___va_copy="yes"
22585else
22586 echo "$as_me: failed program was:" >&5
22587sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_cv_have___va_copy="no"
22590
22591fi
22592rm -f conftest.err conftest.$ac_objext \
22593 conftest$ac_exeext conftest.$ac_ext
22594
22595fi
22596echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5
22597echo "${ECHO_T}$ac_cv_have___va_copy" >&6
22598if test "x$ac_cv_have___va_copy" = "xyes" ; then
22599
22600cat >>confdefs.h <<\_ACEOF
22601#define HAVE___VA_COPY 1
22602_ACEOF
22603
22604fi
22605
21240echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 22606echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
21241echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 22607echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
21242if test "${ac_cv_have_getopt_optreset+set}" = set; then 22608if test "${ac_cv_have_getopt_optreset+set}" = set; then
@@ -21297,7 +22663,8 @@ fi
21297echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 22663echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
21298echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 22664echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
21299if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 22665if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
21300 cat >>confdefs.h <<\_ACEOF 22666
22667cat >>confdefs.h <<\_ACEOF
21301#define HAVE_GETOPT_OPTRESET 1 22668#define HAVE_GETOPT_OPTRESET 1
21302_ACEOF 22669_ACEOF
21303 22670
@@ -21361,7 +22728,8 @@ fi
21361echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 22728echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
21362echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 22729echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
21363if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 22730if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
21364 cat >>confdefs.h <<\_ACEOF 22731
22732cat >>confdefs.h <<\_ACEOF
21365#define HAVE_SYS_ERRLIST 1 22733#define HAVE_SYS_ERRLIST 1
21366_ACEOF 22734_ACEOF
21367 22735
@@ -21426,7 +22794,8 @@ fi
21426echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 22794echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
21427echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 22795echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
21428if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 22796if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
21429 cat >>confdefs.h <<\_ACEOF 22797
22798cat >>confdefs.h <<\_ACEOF
21430#define HAVE_SYS_NERR 1 22799#define HAVE_SYS_NERR 1
21431_ACEOF 22800_ACEOF
21432 22801
@@ -21684,11 +23053,13 @@ fi
21684echo "$as_me: error: Can't find libsectok" >&2;} 23053echo "$as_me: error: Can't find libsectok" >&2;}
21685 { (exit 1); exit 1; }; } 23054 { (exit 1); exit 1; }; }
21686 fi 23055 fi
21687 cat >>confdefs.h <<\_ACEOF 23056
23057cat >>confdefs.h <<\_ACEOF
21688#define SMARTCARD 1 23058#define SMARTCARD 1
21689_ACEOF 23059_ACEOF
21690 23060
21691 cat >>confdefs.h <<\_ACEOF 23061
23062cat >>confdefs.h <<\_ACEOF
21692#define USE_SECTOK 1 23063#define USE_SECTOK 1
21693_ACEOF 23064_ACEOF
21694 23065
@@ -21759,7 +23130,8 @@ fi
21759#define SMARTCARD 1 23130#define SMARTCARD 1
21760_ACEOF 23131_ACEOF
21761 23132
21762 cat >>confdefs.h <<\_ACEOF 23133
23134cat >>confdefs.h <<\_ACEOF
21763#define USE_OPENSC 1 23135#define USE_OPENSC 1
21764_ACEOF 23136_ACEOF
21765 23137
@@ -21894,7 +23266,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
21894echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 23266echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
21895if test "$ac_cv_search_getrrsetbyname" != no; then 23267if test "$ac_cv_search_getrrsetbyname" != no; then
21896 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" 23268 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
21897 cat >>confdefs.h <<\_ACEOF 23269
23270cat >>confdefs.h <<\_ACEOF
21898#define HAVE_GETRRSETBYNAME 1 23271#define HAVE_GETRRSETBYNAME 1
21899_ACEOF 23272_ACEOF
21900 23273
@@ -22613,7 +23986,8 @@ fi
22613echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 23986echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
22614echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 23987echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
22615if test $ac_cv_member_HEADER_ad = yes; then 23988if test $ac_cv_member_HEADER_ad = yes; then
22616 cat >>confdefs.h <<\_ACEOF 23989
23990cat >>confdefs.h <<\_ACEOF
22617#define HAVE_HEADER_AD 1 23991#define HAVE_HEADER_AD 1
22618_ACEOF 23992_ACEOF
22619 23993
@@ -22636,7 +24010,8 @@ if test "${with_kerberos5+set}" = set; then
22636 KRB5ROOT=${withval} 24010 KRB5ROOT=${withval}
22637 fi 24011 fi
22638 24012
22639 cat >>confdefs.h <<\_ACEOF 24013
24014cat >>confdefs.h <<\_ACEOF
22640#define KRB5 1 24015#define KRB5 1
22641_ACEOF 24016_ACEOF
22642 24017
@@ -22654,7 +24029,8 @@ echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6
22654 if $KRB5CONF | grep gssapi >/dev/null ; then 24029 if $KRB5CONF | grep gssapi >/dev/null ; then
22655 echo "$as_me:$LINENO: result: yes" >&5 24030 echo "$as_me:$LINENO: result: yes" >&5
22656echo "${ECHO_T}yes" >&6 24031echo "${ECHO_T}yes" >&6
22657 cat >>confdefs.h <<\_ACEOF 24032
24033cat >>confdefs.h <<\_ACEOF
22658#define GSSAPI 1 24034#define GSSAPI 1
22659_ACEOF 24035_ACEOF
22660 24036
@@ -22708,7 +24084,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708 (exit $ac_status); }; }; then 24084 (exit $ac_status); }; }; then
22709 echo "$as_me:$LINENO: result: yes" >&5 24085 echo "$as_me:$LINENO: result: yes" >&5
22710echo "${ECHO_T}yes" >&6 24086echo "${ECHO_T}yes" >&6
22711 cat >>confdefs.h <<\_ACEOF 24087
24088cat >>confdefs.h <<\_ACEOF
22712#define HEIMDAL 1 24089#define HEIMDAL 1
22713_ACEOF 24090_ACEOF
22714 24091
@@ -23586,7 +24963,6 @@ fi
23586 if test ! -z "$blibpath" ; then 24963 if test ! -z "$blibpath" ; then
23587 blibpath="$blibpath:${KRB5ROOT}/lib" 24964 blibpath="$blibpath:${KRB5ROOT}/lib"
23588 fi 24965 fi
23589 fi
23590 24966
23591 24967
23592 24968
@@ -24042,8 +25418,8 @@ fi
24042done 25418done
24043 25419
24044 25420
24045 LIBS="$LIBS $K5LIBS" 25421 LIBS="$LIBS $K5LIBS"
24046 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 25422 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
24047echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 25423echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6
24048if test "${ac_cv_search_k_hasafs+set}" = set; then 25424if test "${ac_cv_search_k_hasafs+set}" = set; then
24049 echo $ECHO_N "(cached) $ECHO_C" >&6 25425 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -24166,12 +25542,14 @@ echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
24166echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 25542echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6
24167if test "$ac_cv_search_k_hasafs" != no; then 25543if test "$ac_cv_search_k_hasafs" != no; then
24168 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" 25544 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS"
24169 cat >>confdefs.h <<\_ACEOF 25545
25546cat >>confdefs.h <<\_ACEOF
24170#define USE_AFS 1 25547#define USE_AFS 1
24171_ACEOF 25548_ACEOF
24172 25549
24173fi 25550fi
24174 25551
25552 fi
24175 25553
24176 25554
24177fi; 25555fi;
@@ -24273,7 +25651,8 @@ if test -z "$xauth_path" ; then
24273 XAUTH_PATH="undefined" 25651 XAUTH_PATH="undefined"
24274 25652
24275else 25653else
24276 cat >>confdefs.h <<_ACEOF 25654
25655cat >>confdefs.h <<_ACEOF
24277#define XAUTH_PATH "$xauth_path" 25656#define XAUTH_PATH "$xauth_path"
24278_ACEOF 25657_ACEOF
24279 25658
@@ -24284,7 +25663,8 @@ fi
24284# Check for mail directory (last resort if we cannot get it from headers) 25663# Check for mail directory (last resort if we cannot get it from headers)
24285if test ! -z "$MAIL" ; then 25664if test ! -z "$MAIL" ; then
24286 maildir=`dirname $MAIL` 25665 maildir=`dirname $MAIL`
24287 cat >>confdefs.h <<_ACEOF 25666
25667cat >>confdefs.h <<_ACEOF
24288#define MAIL_DIRECTORY "$maildir" 25668#define MAIL_DIRECTORY "$maildir"
24289_ACEOF 25669_ACEOF
24290 25670
@@ -24316,7 +25696,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
24316echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 25696echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
24317if test $ac_cv_file___dev_ptmx_ = yes; then 25697if test $ac_cv_file___dev_ptmx_ = yes; then
24318 25698
24319 cat >>confdefs.h <<_ACEOF 25699
25700cat >>confdefs.h <<_ACEOF
24320#define HAVE_DEV_PTMX 1 25701#define HAVE_DEV_PTMX 1
24321_ACEOF 25702_ACEOF
24322 25703
@@ -24348,7 +25729,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
24348echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 25729echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
24349if test $ac_cv_file___dev_ptc_ = yes; then 25730if test $ac_cv_file___dev_ptc_ = yes; then
24350 25731
24351 cat >>confdefs.h <<_ACEOF 25732
25733cat >>confdefs.h <<_ACEOF
24352#define HAVE_DEV_PTS_AND_PTC 1 25734#define HAVE_DEV_PTS_AND_PTC 1
24353_ACEOF 25735_ACEOF
24354 25736
@@ -24452,7 +25834,8 @@ if test "${with_md5_passwords+set}" = set; then
24452 withval="$with_md5_passwords" 25834 withval="$with_md5_passwords"
24453 25835
24454 if test "x$withval" != "xno" ; then 25836 if test "x$withval" != "xno" ; then
24455 cat >>confdefs.h <<\_ACEOF 25837
25838cat >>confdefs.h <<\_ACEOF
24456#define HAVE_MD5_PASSWORDS 1 25839#define HAVE_MD5_PASSWORDS 1
24457_ACEOF 25840_ACEOF
24458 25841
@@ -24536,7 +25919,8 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536 if test "x$sp_expire_available" = "xyes" ; then 25919 if test "x$sp_expire_available" = "xyes" ; then
24537 echo "$as_me:$LINENO: result: yes" >&5 25920 echo "$as_me:$LINENO: result: yes" >&5
24538echo "${ECHO_T}yes" >&6 25921echo "${ECHO_T}yes" >&6
24539 cat >>confdefs.h <<\_ACEOF 25922
25923cat >>confdefs.h <<\_ACEOF
24540#define HAS_SHADOW_EXPIRE 1 25924#define HAS_SHADOW_EXPIRE 1
24541_ACEOF 25925_ACEOF
24542 25926
@@ -24549,7 +25933,8 @@ fi
24549# Use ip address instead of hostname in $DISPLAY 25933# Use ip address instead of hostname in $DISPLAY
24550if test ! -z "$IPADDR_IN_DISPLAY" ; then 25934if test ! -z "$IPADDR_IN_DISPLAY" ; then
24551 DISPLAY_HACK_MSG="yes" 25935 DISPLAY_HACK_MSG="yes"
24552 cat >>confdefs.h <<\_ACEOF 25936
25937cat >>confdefs.h <<\_ACEOF
24553#define IPADDR_IN_DISPLAY 1 25938#define IPADDR_IN_DISPLAY 1
24554_ACEOF 25939_ACEOF
24555 25940
@@ -24584,7 +25969,14 @@ echo "$as_me: /etc/default/login handling disabled" >&6;}
24584 etc_default_login=yes 25969 etc_default_login=yes
24585 fi 25970 fi
24586else 25971else
24587 etc_default_login=yes 25972 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
25973 then
25974 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5
25975echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;}
25976 etc_default_login=no
25977 else
25978 etc_default_login=yes
25979 fi
24588 25980
24589fi; 25981fi;
24590 25982
@@ -24610,12 +26002,9 @@ if test $ac_cv_file___etc_default_login_ = yes; then
24610 external_path_file=/etc/default/login 26002 external_path_file=/etc/default/login
24611fi 26003fi
24612 26004
24613 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; 26005 if test "x$external_path_file" = "x/etc/default/login"; then
24614 then 26006
24615 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /etc/default/login test" >&5 26007cat >>confdefs.h <<\_ACEOF
24616echo "$as_me: WARNING: cross compiling: Disabling /etc/default/login test" >&2;}
24617 elif test "x$external_path_file" = "x/etc/default/login"; then
24618 cat >>confdefs.h <<\_ACEOF
24619#define HAVE_ETC_DEFAULT_LOGIN 1 26008#define HAVE_ETC_DEFAULT_LOGIN 1
24620_ACEOF 26009_ACEOF
24621 26010
@@ -24754,7 +26143,8 @@ echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
24754 26143
24755fi; 26144fi;
24756if test "x$external_path_file" != "x/etc/login.conf" ; then 26145if test "x$external_path_file" != "x/etc/login.conf" ; then
24757 cat >>confdefs.h <<_ACEOF 26146
26147cat >>confdefs.h <<_ACEOF
24758#define USER_PATH "$user_path" 26148#define USER_PATH "$user_path"
24759_ACEOF 26149_ACEOF
24760 26150
@@ -24769,7 +26159,8 @@ if test "${with_superuser_path+set}" = set; then
24769 26159
24770 if test -n "$withval" && test "x$withval" != "xno" && \ 26160 if test -n "$withval" && test "x$withval" != "xno" && \
24771 test "x${withval}" != "xyes"; then 26161 test "x${withval}" != "xyes"; then
24772 cat >>confdefs.h <<_ACEOF 26162
26163cat >>confdefs.h <<_ACEOF
24773#define SUPERUSER_PATH "$withval" 26164#define SUPERUSER_PATH "$withval"
24774_ACEOF 26165_ACEOF
24775 26166
@@ -24791,7 +26182,8 @@ if test "${with_4in6+set}" = set; then
24791 if test "x$withval" != "xno" ; then 26182 if test "x$withval" != "xno" ; then
24792 echo "$as_me:$LINENO: result: yes" >&5 26183 echo "$as_me:$LINENO: result: yes" >&5
24793echo "${ECHO_T}yes" >&6 26184echo "${ECHO_T}yes" >&6
24794 cat >>confdefs.h <<\_ACEOF 26185
26186cat >>confdefs.h <<\_ACEOF
24795#define IPV4_IN_IPV6 1 26187#define IPV4_IN_IPV6 1
24796_ACEOF 26188_ACEOF
24797 26189
@@ -24827,7 +26219,8 @@ if test "${with_bsd_auth+set}" = set; then
24827 withval="$with_bsd_auth" 26219 withval="$with_bsd_auth"
24828 26220
24829 if test "x$withval" != "xno" ; then 26221 if test "x$withval" != "xno" ; then
24830 cat >>confdefs.h <<\_ACEOF 26222
26223cat >>confdefs.h <<\_ACEOF
24831#define BSD_AUTH 1 26224#define BSD_AUTH 1
24832_ACEOF 26225_ACEOF
24833 26226
@@ -24864,6 +26257,7 @@ echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
24864 26257
24865fi; 26258fi;
24866 26259
26260
24867cat >>confdefs.h <<_ACEOF 26261cat >>confdefs.h <<_ACEOF
24868#define _PATH_SSH_PIDDIR "$piddir" 26262#define _PATH_SSH_PIDDIR "$piddir"
24869_ACEOF 26263_ACEOF
@@ -24901,7 +26295,8 @@ if test "${enable_utmpx+set}" = set; then
24901 enableval="$enable_utmpx" 26295 enableval="$enable_utmpx"
24902 26296
24903 if test "x$enableval" = "xno" ; then 26297 if test "x$enableval" = "xno" ; then
24904 cat >>confdefs.h <<\_ACEOF 26298
26299cat >>confdefs.h <<\_ACEOF
24905#define DISABLE_UTMPX 1 26300#define DISABLE_UTMPX 1
24906_ACEOF 26301_ACEOF
24907 26302
@@ -24927,7 +26322,8 @@ if test "${enable_wtmpx+set}" = set; then
24927 enableval="$enable_wtmpx" 26322 enableval="$enable_wtmpx"
24928 26323
24929 if test "x$enableval" = "xno" ; then 26324 if test "x$enableval" = "xno" ; then
24930 cat >>confdefs.h <<\_ACEOF 26325
26326cat >>confdefs.h <<\_ACEOF
24931#define DISABLE_WTMPX 1 26327#define DISABLE_WTMPX 1
24932_ACEOF 26328_ACEOF
24933 26329
@@ -24953,7 +26349,8 @@ if test "${enable_pututline+set}" = set; then
24953 enableval="$enable_pututline" 26349 enableval="$enable_pututline"
24954 26350
24955 if test "x$enableval" = "xno" ; then 26351 if test "x$enableval" = "xno" ; then
24956 cat >>confdefs.h <<\_ACEOF 26352
26353cat >>confdefs.h <<\_ACEOF
24957#define DISABLE_PUTUTLINE 1 26354#define DISABLE_PUTUTLINE 1
24958_ACEOF 26355_ACEOF
24959 26356
@@ -24966,7 +26363,8 @@ if test "${enable_pututxline+set}" = set; then
24966 enableval="$enable_pututxline" 26363 enableval="$enable_pututxline"
24967 26364
24968 if test "x$enableval" = "xno" ; then 26365 if test "x$enableval" = "xno" ; then
24969 cat >>confdefs.h <<\_ACEOF 26366
26367cat >>confdefs.h <<\_ACEOF
24970#define DISABLE_PUTUTXLINE 1 26368#define DISABLE_PUTUTXLINE 1
24971_ACEOF 26369_ACEOF
24972 26370
@@ -25133,7 +26531,8 @@ echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
25133fi 26531fi
25134 26532
25135if test -n "$conf_lastlog_location"; then 26533if test -n "$conf_lastlog_location"; then
25136 cat >>confdefs.h <<_ACEOF 26534
26535cat >>confdefs.h <<_ACEOF
25137#define CONF_LASTLOG_FILE "$conf_lastlog_location" 26536#define CONF_LASTLOG_FILE "$conf_lastlog_location"
25138_ACEOF 26537_ACEOF
25139 26538
@@ -25212,7 +26611,8 @@ _ACEOF
25212 fi 26611 fi
25213fi 26612fi
25214if test -n "$conf_utmp_location"; then 26613if test -n "$conf_utmp_location"; then
25215 cat >>confdefs.h <<_ACEOF 26614
26615cat >>confdefs.h <<_ACEOF
25216#define CONF_UTMP_FILE "$conf_utmp_location" 26616#define CONF_UTMP_FILE "$conf_utmp_location"
25217_ACEOF 26617_ACEOF
25218 26618
@@ -25291,7 +26691,8 @@ _ACEOF
25291 fi 26691 fi
25292fi 26692fi
25293if test -n "$conf_wtmp_location"; then 26693if test -n "$conf_wtmp_location"; then
25294 cat >>confdefs.h <<_ACEOF 26694
26695cat >>confdefs.h <<_ACEOF
25295#define CONF_WTMP_FILE "$conf_wtmp_location" 26696#define CONF_WTMP_FILE "$conf_wtmp_location"
25296_ACEOF 26697_ACEOF
25297 26698
@@ -25366,7 +26767,8 @@ _ACEOF
25366 26767
25367 fi 26768 fi
25368else 26769else
25369 cat >>confdefs.h <<_ACEOF 26770
26771cat >>confdefs.h <<_ACEOF
25370#define CONF_UTMPX_FILE "$conf_utmpx_location" 26772#define CONF_UTMPX_FILE "$conf_utmpx_location"
25371_ACEOF 26773_ACEOF
25372 26774
@@ -25440,7 +26842,8 @@ _ACEOF
25440 26842
25441 fi 26843 fi
25442else 26844else
25443 cat >>confdefs.h <<_ACEOF 26845
26846cat >>confdefs.h <<_ACEOF
25444#define CONF_WTMPX_FILE "$conf_wtmpx_location" 26847#define CONF_WTMPX_FILE "$conf_wtmpx_location"
25445_ACEOF 26848_ACEOF
25446 26849
@@ -26104,6 +27507,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26104s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 27507s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26105s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 27508s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26106s,@INSTALL_DATA@,$INSTALL_DATA,;t t 27509s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27510s,@EGREP@,$EGREP,;t t
26107s,@AR@,$AR,;t t 27511s,@AR@,$AR,;t t
26108s,@CAT@,$CAT,;t t 27512s,@CAT@,$CAT,;t t
26109s,@KILL@,$KILL,;t t 27513s,@KILL@,$KILL,;t t
@@ -26116,10 +27520,10 @@ s,@TEST_SHELL@,$TEST_SHELL,;t t
26116s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t 27520s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t
26117s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t 27521s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t
26118s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t 27522s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t
27523s,@STARTUP_SCRIPT_SHELL@,$STARTUP_SCRIPT_SHELL,;t t
26119s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t 27524s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
26120s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t 27525s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
26121s,@LD@,$LD,;t t 27526s,@LD@,$LD,;t t
26122s,@EGREP@,$EGREP,;t t
26123s,@LIBWRAP@,$LIBWRAP,;t t 27527s,@LIBWRAP@,$LIBWRAP,;t t
26124s,@LIBEDIT@,$LIBEDIT,;t t 27528s,@LIBEDIT@,$LIBEDIT,;t t
26125s,@LIBPAM@,$LIBPAM,;t t 27529s,@LIBPAM@,$LIBPAM,;t t