summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2006-05-12 08:53:37 +0000
committerColin Watson <cjwatson@debian.org>2006-05-12 08:53:37 +0000
commit2ee73b36b9a35daeaa4b065046882dc1f5f551b6 (patch)
treef64a4ace625514e94759878c0b94ab0a79805bbd /configure
parent3c190ec8e469477ea65fbf4cc83062c65c281434 (diff)
parent3e2e0ac10674d77618c4c7339e18b83ced247492 (diff)
Merge 4.3p2 to the trunk.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2620
1 files changed, 2005 insertions, 615 deletions
diff --git a/configure b/configure
index bc27b88c2..552acba68 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-selinux Enable SELinux support 889 --with-selinux Enable SELinux support
889 --with-kerberos5=PATH Enable Kerberos 5 support 890 --with-kerberos5=PATH Enable Kerberos 5 support
890 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 891 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
@@ -1360,6 +1361,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1360 1361
1361 1362
1362 1363
1364
1363 ac_config_headers="$ac_config_headers config.h" 1365 ac_config_headers="$ac_config_headers config.h"
1364 1366
1365ac_ext=c 1367ac_ext=c
@@ -3028,6 +3030,21 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3028 3030
3029test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3031test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3030 3032
3033echo "$as_me:$LINENO: checking for egrep" >&5
3034echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3035if test "${ac_cv_prog_egrep+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3037else
3038 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3039 then ac_cv_prog_egrep='grep -E'
3040 else ac_cv_prog_egrep='egrep'
3041 fi
3042fi
3043echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3044echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3045 EGREP=$ac_cv_prog_egrep
3046
3047
3031# Extract the first word of "ar", so it can be a program name with args. 3048# Extract the first word of "ar", so it can be a program name with args.
3032set dummy ar; ac_word=$2 3049set dummy ar; ac_word=$2
3033echo "$as_me:$LINENO: checking for $ac_word" >&5 3050echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -3544,6 +3561,13 @@ else
3544echo "${ECHO_T}no" >&6 3561echo "${ECHO_T}no" >&6
3545fi 3562fi
3546 3563
3564if test -x /sbin/sh; then
3565 STARTUP_SCRIPT_SHELL=/sbin/sh
3566
3567else
3568 STARTUP_SCRIPT_SHELL=/bin/sh
3569
3570fi
3547 3571
3548# System features 3572# System features
3549# Check whether --enable-largefile or --disable-largefile was given. 3573# Check whether --enable-largefile or --disable-largefile was given.
@@ -3913,7 +3937,8 @@ fi
3913 3937
3914# Use LOGIN_PROGRAM from environment if possible 3938# Use LOGIN_PROGRAM from environment if possible
3915if test ! -z "$LOGIN_PROGRAM" ; then 3939if test ! -z "$LOGIN_PROGRAM" ; then
3916 cat >>confdefs.h <<_ACEOF 3940
3941cat >>confdefs.h <<_ACEOF
3917#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" 3942#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
3918_ACEOF 3943_ACEOF
3919 3944
@@ -4006,7 +4031,8 @@ echo "${ECHO_T}no" >&6
4006fi 4031fi
4007 4032
4008if test ! -z "$PATH_PASSWD_PROG" ; then 4033if test ! -z "$PATH_PASSWD_PROG" ; then
4009 cat >>confdefs.h <<_ACEOF 4034
4035cat >>confdefs.h <<_ACEOF
4010#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG" 4036#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG"
4011_ACEOF 4037_ACEOF
4012 4038
@@ -4151,12 +4177,14 @@ fi
4151 4177
4152if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 4178if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
4153 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" 4179 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
4154 GCC_VER=`$CC --version` 4180 GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'`
4155 case $GCC_VER in 4181 case $GCC_VER in
4156 1.*) ;; 4182 1.*) ;;
4157 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; 4183 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4158 2.*) ;; 4184 2.*) ;;
4159 *) CFLAGS="$CFLAGS -Wsign-compare" ;; 4185 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4186 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;;
4187 *) ;;
4160 esac 4188 esac
4161 4189
4162 if test -z "$have_llong_max"; then 4190 if test -z "$have_llong_max"; then
@@ -4230,110 +4258,6 @@ fi
4230 fi 4258 fi
4231fi 4259fi
4232 4260
4233if test -z "$have_llong_max"; then
4234 echo "$as_me:$LINENO: checking for max value of long long" >&5
4235echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
4236 if test "$cross_compiling" = yes; then
4237
4238 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
4239echo "$as_me: WARNING: cross compiling: not checking" >&2;}
4240
4241
4242else
4243 cat >conftest.$ac_ext <<_ACEOF
4244/* confdefs.h. */
4245_ACEOF
4246cat confdefs.h >>conftest.$ac_ext
4247cat >>conftest.$ac_ext <<_ACEOF
4248/* end confdefs.h. */
4249
4250#include <stdio.h>
4251/* Why is this so damn hard? */
4252#ifdef __GNUC__
4253# undef __GNUC__
4254#endif
4255#define __USE_ISOC99
4256#include <limits.h>
4257#define DATA "conftest.llminmax"
4258int main(void) {
4259 FILE *f;
4260 long long i, llmin, llmax = 0;
4261
4262 if((f = fopen(DATA,"w")) == NULL)
4263 exit(1);
4264
4265#if defined(LLONG_MIN) && defined(LLONG_MAX)
4266 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
4267 llmin = LLONG_MIN;
4268 llmax = LLONG_MAX;
4269#else
4270 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
4271 /* This will work on one's complement and two's complement */
4272 for (i = 1; i > llmax; i <<= 1, i++)
4273 llmax = i;
4274 llmin = llmax + 1LL; /* wrap */
4275#endif
4276
4277 /* Sanity check */
4278 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
4279 || llmax - 1 > llmax) {
4280 fprintf(f, "unknown unknown\n");
4281 exit(2);
4282 }
4283
4284 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
4285 exit(3);
4286
4287 exit(0);
4288}
4289
4290_ACEOF
4291rm -f conftest$ac_exeext
4292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4293 (eval $ac_link) 2>&5
4294 ac_status=$?
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298 (eval $ac_try) 2>&5
4299 ac_status=$?
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }; }; then
4302
4303 llong_min=`$AWK '{print $1}' conftest.llminmax`
4304 llong_max=`$AWK '{print $2}' conftest.llminmax`
4305 echo "$as_me:$LINENO: result: $llong_max" >&5
4306echo "${ECHO_T}$llong_max" >&6
4307
4308cat >>confdefs.h <<_ACEOF
4309#define LLONG_MAX ${llong_max}LL
4310_ACEOF
4311
4312 echo "$as_me:$LINENO: checking for min value of long long" >&5
4313echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
4314 echo "$as_me:$LINENO: result: $llong_min" >&5
4315echo "${ECHO_T}$llong_min" >&6
4316
4317cat >>confdefs.h <<_ACEOF
4318#define LLONG_MIN ${llong_min}LL
4319_ACEOF
4320
4321
4322else
4323 echo "$as_me: program exited with status $ac_status" >&5
4324echo "$as_me: failed program was:" >&5
4325sed 's/^/| /' conftest.$ac_ext >&5
4326
4327( exit $ac_status )
4328
4329 echo "$as_me:$LINENO: result: not found" >&5
4330echo "${ECHO_T}not found" >&6
4331
4332fi
4333rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4334fi
4335fi
4336
4337 4261
4338# Check whether --with-rpath or --without-rpath was given. 4262# Check whether --with-rpath or --without-rpath was given.
4339if test "${with_rpath+set}" = set; then 4263if test "${with_rpath+set}" = set; then
@@ -4508,7 +4432,8 @@ fi
4508echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 4432echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
4509echo "${ECHO_T}$ac_cv_func_authenticate" >&6 4433echo "${ECHO_T}$ac_cv_func_authenticate" >&6
4510if test $ac_cv_func_authenticate = yes; then 4434if test $ac_cv_func_authenticate = yes; then
4511 cat >>confdefs.h <<\_ACEOF 4435
4436cat >>confdefs.h <<\_ACEOF
4512#define WITH_AIXAUTHENTICATE 1 4437#define WITH_AIXAUTHENTICATE 1
4513_ACEOF 4438_ACEOF
4514 4439
@@ -5043,7 +4968,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5043 (exit $ac_status); }; }; then 4968 (exit $ac_status); }; }; then
5044 echo "$as_me:$LINENO: result: yes" >&5 4969 echo "$as_me:$LINENO: result: yes" >&5
5045echo "${ECHO_T}yes" >&6 4970echo "${ECHO_T}yes" >&6
5046 cat >>confdefs.h <<\_ACEOF 4971
4972cat >>confdefs.h <<\_ACEOF
5047#define AIX_LOGINFAILED_4ARG 1 4973#define AIX_LOGINFAILED_4ARG 1
5048_ACEOF 4974_ACEOF
5049 4975
@@ -5167,63 +5093,82 @@ fi
5167done 5093done
5168 5094
5169 check_for_aix_broken_getaddrinfo=1 5095 check_for_aix_broken_getaddrinfo=1
5170 cat >>confdefs.h <<\_ACEOF 5096
5097cat >>confdefs.h <<\_ACEOF
5171#define BROKEN_REALPATH 1 5098#define BROKEN_REALPATH 1
5172_ACEOF 5099_ACEOF
5173 5100
5174 cat >>confdefs.h <<\_ACEOF 5101
5102cat >>confdefs.h <<\_ACEOF
5175#define SETEUID_BREAKS_SETUID 1 5103#define SETEUID_BREAKS_SETUID 1
5176_ACEOF 5104_ACEOF
5177 5105
5178 cat >>confdefs.h <<\_ACEOF 5106
5107cat >>confdefs.h <<\_ACEOF
5179#define BROKEN_SETREUID 1 5108#define BROKEN_SETREUID 1
5180_ACEOF 5109_ACEOF
5181 5110
5182 cat >>confdefs.h <<\_ACEOF 5111
5112cat >>confdefs.h <<\_ACEOF
5183#define BROKEN_SETREGID 1 5113#define BROKEN_SETREGID 1
5184_ACEOF 5114_ACEOF
5185 5115
5186 cat >>confdefs.h <<\_ACEOF 5116
5117cat >>confdefs.h <<\_ACEOF
5187#define DISABLE_LASTLOG 1 5118#define DISABLE_LASTLOG 1
5188_ACEOF 5119_ACEOF
5189 5120
5190 cat >>confdefs.h <<\_ACEOF 5121
5122cat >>confdefs.h <<\_ACEOF
5191#define LOGIN_NEEDS_UTMPX 1 5123#define LOGIN_NEEDS_UTMPX 1
5192_ACEOF 5124_ACEOF
5193 5125
5194 cat >>confdefs.h <<\_ACEOF 5126
5127cat >>confdefs.h <<\_ACEOF
5195#define SPT_TYPE SPT_REUSEARGV 5128#define SPT_TYPE SPT_REUSEARGV
5196_ACEOF 5129_ACEOF
5197 5130
5131
5132cat >>confdefs.h <<\_ACEOF
5133#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5134_ACEOF
5135
5198 ;; 5136 ;;
5199*-*-cygwin*) 5137*-*-cygwin*)
5200 check_for_libcrypt_later=1 5138 check_for_libcrypt_later=1
5201 LIBS="$LIBS /usr/lib/textmode.o" 5139 LIBS="$LIBS /usr/lib/textmode.o"
5202 cat >>confdefs.h <<\_ACEOF 5140
5141cat >>confdefs.h <<\_ACEOF
5203#define HAVE_CYGWIN 1 5142#define HAVE_CYGWIN 1
5204_ACEOF 5143_ACEOF
5205 5144
5206 cat >>confdefs.h <<\_ACEOF 5145
5146cat >>confdefs.h <<\_ACEOF
5207#define USE_PIPES 1 5147#define USE_PIPES 1
5208_ACEOF 5148_ACEOF
5209 5149
5210 cat >>confdefs.h <<\_ACEOF 5150
5151cat >>confdefs.h <<\_ACEOF
5211#define DISABLE_SHADOW 1 5152#define DISABLE_SHADOW 1
5212_ACEOF 5153_ACEOF
5213 5154
5214 cat >>confdefs.h <<\_ACEOF 5155
5156cat >>confdefs.h <<\_ACEOF
5215#define IP_TOS_IS_BROKEN 1 5157#define IP_TOS_IS_BROKEN 1
5216_ACEOF 5158_ACEOF
5217 5159
5218 cat >>confdefs.h <<\_ACEOF 5160
5161cat >>confdefs.h <<\_ACEOF
5219#define NO_X11_UNIX_SOCKETS 1 5162#define NO_X11_UNIX_SOCKETS 1
5220_ACEOF 5163_ACEOF
5221 5164
5222 cat >>confdefs.h <<\_ACEOF 5165
5166cat >>confdefs.h <<\_ACEOF
5223#define NO_IPPORT_RESERVED_CONCEPT 1 5167#define NO_IPPORT_RESERVED_CONCEPT 1
5224_ACEOF 5168_ACEOF
5225 5169
5226 cat >>confdefs.h <<\_ACEOF 5170
5171cat >>confdefs.h <<\_ACEOF
5227#define DISABLE_FD_PASSING 1 5172#define DISABLE_FD_PASSING 1
5228_ACEOF 5173_ACEOF
5229 5174
@@ -5287,7 +5232,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
5287( exit $ac_status ) 5232( exit $ac_status )
5288echo "$as_me:$LINENO: result: buggy" >&5 5233echo "$as_me:$LINENO: result: buggy" >&5
5289echo "${ECHO_T}buggy" >&6 5234echo "${ECHO_T}buggy" >&6
5290 cat >>confdefs.h <<\_ACEOF 5235
5236cat >>confdefs.h <<\_ACEOF
5291#define BROKEN_GETADDRINFO 1 5237#define BROKEN_GETADDRINFO 1
5292_ACEOF 5238_ACEOF
5293 5239
@@ -5306,7 +5252,8 @@ _ACEOF
5306#define BROKEN_SETREGID 1 5252#define BROKEN_SETREGID 1
5307_ACEOF 5253_ACEOF
5308 5254
5309 cat >>confdefs.h <<_ACEOF 5255
5256cat >>confdefs.h <<_ACEOF
5310#define BIND_8_COMPAT 1 5257#define BIND_8_COMPAT 1
5311_ACEOF 5258_ACEOF
5312 5259
@@ -5319,7 +5266,8 @@ _ACEOF
5319#define USE_PIPES 1 5266#define USE_PIPES 1
5320_ACEOF 5267_ACEOF
5321 5268
5322 cat >>confdefs.h <<\_ACEOF 5269
5270cat >>confdefs.h <<\_ACEOF
5323#define LOGIN_NO_ENDOPT 1 5271#define LOGIN_NO_ENDOPT 1
5324_ACEOF 5272_ACEOF
5325 5273
@@ -5327,7 +5275,8 @@ _ACEOF
5327#define LOGIN_NEEDS_UTMPX 1 5275#define LOGIN_NEEDS_UTMPX 1
5328_ACEOF 5276_ACEOF
5329 5277
5330 cat >>confdefs.h <<\_ACEOF 5278
5279cat >>confdefs.h <<\_ACEOF
5331#define LOCKED_PASSWD_STRING "*" 5280#define LOCKED_PASSWD_STRING "*"
5332_ACEOF 5281_ACEOF
5333 5282
@@ -5335,6 +5284,7 @@ _ACEOF
5335#define SPT_TYPE SPT_PSTAT 5284#define SPT_TYPE SPT_PSTAT
5336_ACEOF 5285_ACEOF
5337 5286
5287 MAIL="/var/mail/username"
5338 LIBS="$LIBS -lsec" 5288 LIBS="$LIBS -lsec"
5339 5289
5340echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 5290echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
@@ -5422,11 +5372,13 @@ fi
5422 fi 5372 fi
5423 ;; 5373 ;;
5424 *-*-hpux11*) 5374 *-*-hpux11*)
5425 cat >>confdefs.h <<\_ACEOF 5375
5376cat >>confdefs.h <<\_ACEOF
5426#define PAM_SUN_CODEBASE 1 5377#define PAM_SUN_CODEBASE 1
5427_ACEOF 5378_ACEOF
5428 5379
5429 cat >>confdefs.h <<\_ACEOF 5380
5381cat >>confdefs.h <<\_ACEOF
5430#define DISABLE_UTMP 1 5382#define DISABLE_UTMP 1
5431_ACEOF 5383_ACEOF
5432 5384
@@ -5443,7 +5395,8 @@ _ACEOF
5443 # lastly, we define options specific to minor releases 5395 # lastly, we define options specific to minor releases
5444 case "$host" in 5396 case "$host" in
5445 *-*-hpux10.26) 5397 *-*-hpux10.26)
5446 cat >>confdefs.h <<\_ACEOF 5398
5399cat >>confdefs.h <<\_ACEOF
5447#define HAVE_SECUREWARE 1 5400#define HAVE_SECUREWARE 1
5448_ACEOF 5401_ACEOF
5449 5402
@@ -5454,7 +5407,8 @@ _ACEOF
5454 ;; 5407 ;;
5455*-*-irix5*) 5408*-*-irix5*)
5456 PATH="$PATH:/usr/etc" 5409 PATH="$PATH:/usr/etc"
5457 cat >>confdefs.h <<\_ACEOF 5410
5411cat >>confdefs.h <<\_ACEOF
5458#define BROKEN_INET_NTOA 1 5412#define BROKEN_INET_NTOA 1
5459_ACEOF 5413_ACEOF
5460 5414
@@ -5470,7 +5424,8 @@ _ACEOF
5470#define BROKEN_SETREGID 1 5424#define BROKEN_SETREGID 1
5471_ACEOF 5425_ACEOF
5472 5426
5473 cat >>confdefs.h <<\_ACEOF 5427
5428cat >>confdefs.h <<\_ACEOF
5474#define WITH_ABBREV_NO_TTY 1 5429#define WITH_ABBREV_NO_TTY 1
5475_ACEOF 5430_ACEOF
5476 5431
@@ -5481,15 +5436,18 @@ _ACEOF
5481 ;; 5436 ;;
5482*-*-irix6*) 5437*-*-irix6*)
5483 PATH="$PATH:/usr/etc" 5438 PATH="$PATH:/usr/etc"
5484 cat >>confdefs.h <<\_ACEOF 5439
5440cat >>confdefs.h <<\_ACEOF
5485#define WITH_IRIX_ARRAY 1 5441#define WITH_IRIX_ARRAY 1
5486_ACEOF 5442_ACEOF
5487 5443
5488 cat >>confdefs.h <<\_ACEOF 5444
5445cat >>confdefs.h <<\_ACEOF
5489#define WITH_IRIX_PROJECT 1 5446#define WITH_IRIX_PROJECT 1
5490_ACEOF 5447_ACEOF
5491 5448
5492 cat >>confdefs.h <<\_ACEOF 5449
5450cat >>confdefs.h <<\_ACEOF
5493#define WITH_IRIX_AUDIT 1 5451#define WITH_IRIX_AUDIT 1
5494_ACEOF 5452_ACEOF
5495 5453
@@ -5583,7 +5541,8 @@ fi
5583echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 5541echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
5584echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 5542echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
5585if test $ac_cv_func_jlimit_startjob = yes; then 5543if test $ac_cv_func_jlimit_startjob = yes; then
5586 cat >>confdefs.h <<\_ACEOF 5544
5545cat >>confdefs.h <<\_ACEOF
5587#define WITH_IRIX_JOBS 1 5546#define WITH_IRIX_JOBS 1
5588_ACEOF 5547_ACEOF
5589 5548
@@ -5605,7 +5564,8 @@ _ACEOF
5605#define BROKEN_SETREGID 1 5564#define BROKEN_SETREGID 1
5606_ACEOF 5565_ACEOF
5607 5566
5608 cat >>confdefs.h <<\_ACEOF 5567
5568cat >>confdefs.h <<\_ACEOF
5609#define BROKEN_UPDWTMPX 1 5569#define BROKEN_UPDWTMPX 1
5610_ACEOF 5570_ACEOF
5611 5571
@@ -5647,15 +5607,18 @@ _ACEOF
5647 no_dev_ptmx=1 5607 no_dev_ptmx=1
5648 check_for_libcrypt_later=1 5608 check_for_libcrypt_later=1
5649 check_for_openpty_ctty_bug=1 5609 check_for_openpty_ctty_bug=1
5650 cat >>confdefs.h <<\_ACEOF 5610
5611cat >>confdefs.h <<\_ACEOF
5651#define DONT_TRY_OTHER_AF 1 5612#define DONT_TRY_OTHER_AF 1
5652_ACEOF 5613_ACEOF
5653 5614
5654 cat >>confdefs.h <<\_ACEOF 5615
5616cat >>confdefs.h <<\_ACEOF
5655#define PAM_TTY_KLUDGE 1 5617#define PAM_TTY_KLUDGE 1
5656_ACEOF 5618_ACEOF
5657 5619
5658 cat >>confdefs.h <<\_ACEOF 5620
5621cat >>confdefs.h <<\_ACEOF
5659#define LOCKED_PASSWD_PREFIX "!" 5622#define LOCKED_PASSWD_PREFIX "!"
5660_ACEOF 5623_ACEOF
5661 5624
@@ -5663,7 +5626,8 @@ _ACEOF
5663#define SPT_TYPE SPT_REUSEARGV 5626#define SPT_TYPE SPT_REUSEARGV
5664_ACEOF 5627_ACEOF
5665 5628
5666 cat >>confdefs.h <<\_ACEOF 5629
5630cat >>confdefs.h <<\_ACEOF
5667#define LINK_OPNOTSUPP_ERRNO EPERM 5631#define LINK_OPNOTSUPP_ERRNO EPERM
5668_ACEOF 5632_ACEOF
5669 5633
@@ -5672,25 +5636,429 @@ cat >>confdefs.h <<\_ACEOF
5672#define _PATH_BTMP "/var/log/btmp" 5636#define _PATH_BTMP "/var/log/btmp"
5673_ACEOF 5637_ACEOF
5674 5638
5675 5639 cat >>confdefs.h <<\_ACEOF
5676cat >>confdefs.h <<\_ACEOF
5677#define USE_BTMP 1 5640#define USE_BTMP 1
5678_ACEOF 5641_ACEOF
5679 5642
5680 inet6_default_4in6=yes 5643 inet6_default_4in6=yes
5681 case `uname -r` in 5644 case `uname -r` in
5682 1.*|2.0.*) 5645 1.*|2.0.*)
5683 cat >>confdefs.h <<\_ACEOF 5646
5647cat >>confdefs.h <<\_ACEOF
5684#define BROKEN_CMSG_TYPE 1 5648#define BROKEN_CMSG_TYPE 1
5685_ACEOF 5649_ACEOF
5686 5650
5687 ;; 5651 ;;
5688 esac 5652 esac
5653 # tun(4) forwarding compat code
5654
5655echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5656echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5657if test "${ac_cv_header_stdc+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5659else
5660 cat >conftest.$ac_ext <<_ACEOF
5661/* confdefs.h. */
5662_ACEOF
5663cat confdefs.h >>conftest.$ac_ext
5664cat >>conftest.$ac_ext <<_ACEOF
5665/* end confdefs.h. */
5666#include <stdlib.h>
5667#include <stdarg.h>
5668#include <string.h>
5669#include <float.h>
5670
5671int
5672main ()
5673{
5674
5675 ;
5676 return 0;
5677}
5678_ACEOF
5679rm -f conftest.$ac_objext
5680if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>conftest.er1
5682 ac_status=$?
5683 grep -v '^ *+' conftest.er1 >conftest.err
5684 rm -f conftest.er1
5685 cat conftest.err >&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); } &&
5688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 (eval $ac_try) 2>&5
5691 ac_status=$?
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); }; } &&
5694 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5700 ac_cv_header_stdc=yes
5701else
5702 echo "$as_me: failed program was:" >&5
5703sed 's/^/| /' conftest.$ac_ext >&5
5704
5705ac_cv_header_stdc=no
5706fi
5707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5708
5709if test $ac_cv_header_stdc = yes; then
5710 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5711 cat >conftest.$ac_ext <<_ACEOF
5712/* confdefs.h. */
5713_ACEOF
5714cat confdefs.h >>conftest.$ac_ext
5715cat >>conftest.$ac_ext <<_ACEOF
5716/* end confdefs.h. */
5717#include <string.h>
5718
5719_ACEOF
5720if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5721 $EGREP "memchr" >/dev/null 2>&1; then
5722 :
5723else
5724 ac_cv_header_stdc=no
5725fi
5726rm -f conftest*
5727
5728fi
5729
5730if test $ac_cv_header_stdc = yes; then
5731 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5732 cat >conftest.$ac_ext <<_ACEOF
5733/* confdefs.h. */
5734_ACEOF
5735cat confdefs.h >>conftest.$ac_ext
5736cat >>conftest.$ac_ext <<_ACEOF
5737/* end confdefs.h. */
5738#include <stdlib.h>
5739
5740_ACEOF
5741if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5742 $EGREP "free" >/dev/null 2>&1; then
5743 :
5744else
5745 ac_cv_header_stdc=no
5746fi
5747rm -f conftest*
5748
5749fi
5750
5751if test $ac_cv_header_stdc = yes; then
5752 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5753 if test "$cross_compiling" = yes; then
5754 :
5755else
5756 cat >conftest.$ac_ext <<_ACEOF
5757/* confdefs.h. */
5758_ACEOF
5759cat confdefs.h >>conftest.$ac_ext
5760cat >>conftest.$ac_ext <<_ACEOF
5761/* end confdefs.h. */
5762#include <ctype.h>
5763#if ((' ' & 0x0FF) == 0x020)
5764# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5765# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5766#else
5767# define ISLOWER(c) \
5768 (('a' <= (c) && (c) <= 'i') \
5769 || ('j' <= (c) && (c) <= 'r') \
5770 || ('s' <= (c) && (c) <= 'z'))
5771# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5772#endif
5773
5774#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5775int
5776main ()
5777{
5778 int i;
5779 for (i = 0; i < 256; i++)
5780 if (XOR (islower (i), ISLOWER (i))
5781 || toupper (i) != TOUPPER (i))
5782 exit(2);
5783 exit (0);
5784}
5785_ACEOF
5786rm -f conftest$ac_exeext
5787if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5788 (eval $ac_link) 2>&5
5789 ac_status=$?
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 (eval $ac_try) 2>&5
5794 ac_status=$?
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; }; then
5797 :
5798else
5799 echo "$as_me: program exited with status $ac_status" >&5
5800echo "$as_me: failed program was:" >&5
5801sed 's/^/| /' conftest.$ac_ext >&5
5802
5803( exit $ac_status )
5804ac_cv_header_stdc=no
5805fi
5806rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5807fi
5808fi
5809fi
5810echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5811echo "${ECHO_T}$ac_cv_header_stdc" >&6
5812if test $ac_cv_header_stdc = yes; then
5813
5814cat >>confdefs.h <<\_ACEOF
5815#define STDC_HEADERS 1
5816_ACEOF
5817
5818fi
5819
5820# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5831 inttypes.h stdint.h unistd.h
5832do
5833as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5834echo "$as_me:$LINENO: checking for $ac_header" >&5
5835echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5836if eval "test \"\${$as_ac_Header+set}\" = set"; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5838else
5839 cat >conftest.$ac_ext <<_ACEOF
5840/* confdefs.h. */
5841_ACEOF
5842cat confdefs.h >>conftest.$ac_ext
5843cat >>conftest.$ac_ext <<_ACEOF
5844/* end confdefs.h. */
5845$ac_includes_default
5846
5847#include <$ac_header>
5848_ACEOF
5849rm -f conftest.$ac_objext
5850if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5851 (eval $ac_compile) 2>conftest.er1
5852 ac_status=$?
5853 grep -v '^ *+' conftest.er1 >conftest.err
5854 rm -f conftest.er1
5855 cat conftest.err >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); } &&
5858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 (eval $ac_try) 2>&5
5861 ac_status=$?
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); }; } &&
5864 { ac_try='test -s conftest.$ac_objext'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 (eval $ac_try) 2>&5
5867 ac_status=$?
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5870 eval "$as_ac_Header=yes"
5871else
5872 echo "$as_me: failed program was:" >&5
5873sed 's/^/| /' conftest.$ac_ext >&5
5874
5875eval "$as_ac_Header=no"
5876fi
5877rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5878fi
5879echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5880echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5881if test `eval echo '${'$as_ac_Header'}'` = yes; then
5882 cat >>confdefs.h <<_ACEOF
5883#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5884_ACEOF
5885
5886fi
5887
5888done
5889
5890
5891
5892for ac_header in linux/if_tun.h
5893do
5894as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5895if eval "test \"\${$as_ac_Header+set}\" = set"; then
5896 echo "$as_me:$LINENO: checking for $ac_header" >&5
5897echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5898if eval "test \"\${$as_ac_Header+set}\" = set"; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5900fi
5901echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5902echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5903else
5904 # Is the header compilable?
5905echo "$as_me:$LINENO: checking $ac_header usability" >&5
5906echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5907cat >conftest.$ac_ext <<_ACEOF
5908/* confdefs.h. */
5909_ACEOF
5910cat confdefs.h >>conftest.$ac_ext
5911cat >>conftest.$ac_ext <<_ACEOF
5912/* end confdefs.h. */
5913$ac_includes_default
5914#include <$ac_header>
5915_ACEOF
5916rm -f conftest.$ac_objext
5917if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5918 (eval $ac_compile) 2>conftest.er1
5919 ac_status=$?
5920 grep -v '^ *+' conftest.er1 >conftest.err
5921 rm -f conftest.er1
5922 cat conftest.err >&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } &&
5925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 (eval $ac_try) 2>&5
5928 ac_status=$?
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); }; } &&
5931 { ac_try='test -s conftest.$ac_objext'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 (eval $ac_try) 2>&5
5934 ac_status=$?
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 ac_header_compiler=yes
5938else
5939 echo "$as_me: failed program was:" >&5
5940sed 's/^/| /' conftest.$ac_ext >&5
5941
5942ac_header_compiler=no
5943fi
5944rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5945echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5946echo "${ECHO_T}$ac_header_compiler" >&6
5947
5948# Is the header present?
5949echo "$as_me:$LINENO: checking $ac_header presence" >&5
5950echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5951cat >conftest.$ac_ext <<_ACEOF
5952/* confdefs.h. */
5953_ACEOF
5954cat confdefs.h >>conftest.$ac_ext
5955cat >>conftest.$ac_ext <<_ACEOF
5956/* end confdefs.h. */
5957#include <$ac_header>
5958_ACEOF
5959if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5961 ac_status=$?
5962 grep -v '^ *+' conftest.er1 >conftest.err
5963 rm -f conftest.er1
5964 cat conftest.err >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } >/dev/null; then
5967 if test -s conftest.err; then
5968 ac_cpp_err=$ac_c_preproc_warn_flag
5969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5970 else
5971 ac_cpp_err=
5972 fi
5973else
5974 ac_cpp_err=yes
5975fi
5976if test -z "$ac_cpp_err"; then
5977 ac_header_preproc=yes
5978else
5979 echo "$as_me: failed program was:" >&5
5980sed 's/^/| /' conftest.$ac_ext >&5
5981
5982 ac_header_preproc=no
5983fi
5984rm -f conftest.err conftest.$ac_ext
5985echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5986echo "${ECHO_T}$ac_header_preproc" >&6
5987
5988# So? What about this header?
5989case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5990 yes:no: )
5991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5992echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5994echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5995 ac_header_preproc=yes
5996 ;;
5997 no:yes:* )
5998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5999echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6001echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6003echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6005echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6007echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6009echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6010 (
6011 cat <<\_ASBOX
6012## ------------------------------------------- ##
6013## Report this to openssh-unix-dev@mindrot.org ##
6014## ------------------------------------------- ##
6015_ASBOX
6016 ) |
6017 sed "s/^/$as_me: WARNING: /" >&2
6018 ;;
6019esac
6020echo "$as_me:$LINENO: checking for $ac_header" >&5
6021echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6022if eval "test \"\${$as_ac_Header+set}\" = set"; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6024else
6025 eval "$as_ac_Header=\$ac_header_preproc"
6026fi
6027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6028echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6029
6030fi
6031if test `eval echo '${'$as_ac_Header'}'` = yes; then
6032 cat >>confdefs.h <<_ACEOF
6033#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6034_ACEOF
6035
6036fi
6037
6038done
6039
6040 if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then
6041
6042cat >>confdefs.h <<\_ACEOF
6043#define SSH_TUN_LINUX 1
6044_ACEOF
6045
6046
6047cat >>confdefs.h <<\_ACEOF
6048#define SSH_TUN_COMPAT_AF 1
6049_ACEOF
6050
6051
6052cat >>confdefs.h <<\_ACEOF
6053#define SSH_TUN_PREPEND_AF 1
6054_ACEOF
6055
6056 fi
5689 ;; 6057 ;;
5690mips-sony-bsd|mips-sony-newsos4) 6058mips-sony-bsd|mips-sony-newsos4)
5691 6059
5692cat >>confdefs.h <<\_ACEOF 6060cat >>confdefs.h <<\_ACEOF
5693#define NEED_SETPRGP 6061#define NEED_SETPGRP 1
5694_ACEOF 6062_ACEOF
5695 6063
5696 SONY=1 6064 SONY=1
@@ -5700,9 +6068,323 @@ _ACEOF
5700 if test "x$withval" != "xno" ; then 6068 if test "x$withval" != "xno" ; then
5701 need_dash_r=1 6069 need_dash_r=1
5702 fi 6070 fi
6071
6072cat >>confdefs.h <<\_ACEOF
6073#define SSH_TUN_FREEBSD 1
6074_ACEOF
6075
6076 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6077 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6078echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6079if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6081fi
6082echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6083echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6084else
6085 # Is the header compilable?
6086echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6087echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6088cat >conftest.$ac_ext <<_ACEOF
6089/* confdefs.h. */
6090_ACEOF
6091cat confdefs.h >>conftest.$ac_ext
6092cat >>conftest.$ac_ext <<_ACEOF
6093/* end confdefs.h. */
6094$ac_includes_default
6095#include <net/if_tap.h>
6096_ACEOF
6097rm -f conftest.$ac_objext
6098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6099 (eval $ac_compile) 2>conftest.er1
6100 ac_status=$?
6101 grep -v '^ *+' conftest.er1 >conftest.err
6102 rm -f conftest.er1
6103 cat conftest.err >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } &&
6106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 (eval $ac_try) 2>&5
6109 ac_status=$?
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; } &&
6112 { ac_try='test -s conftest.$ac_objext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 (eval $ac_try) 2>&5
6115 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 ac_header_compiler=yes
6119else
6120 echo "$as_me: failed program was:" >&5
6121sed 's/^/| /' conftest.$ac_ext >&5
6122
6123ac_header_compiler=no
6124fi
6125rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6126echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6127echo "${ECHO_T}$ac_header_compiler" >&6
6128
6129# Is the header present?
6130echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6131echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6132cat >conftest.$ac_ext <<_ACEOF
6133/* confdefs.h. */
6134_ACEOF
6135cat confdefs.h >>conftest.$ac_ext
6136cat >>conftest.$ac_ext <<_ACEOF
6137/* end confdefs.h. */
6138#include <net/if_tap.h>
6139_ACEOF
6140if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6142 ac_status=$?
6143 grep -v '^ *+' conftest.er1 >conftest.err
6144 rm -f conftest.er1
6145 cat conftest.err >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } >/dev/null; then
6148 if test -s conftest.err; then
6149 ac_cpp_err=$ac_c_preproc_warn_flag
6150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6151 else
6152 ac_cpp_err=
6153 fi
6154else
6155 ac_cpp_err=yes
6156fi
6157if test -z "$ac_cpp_err"; then
6158 ac_header_preproc=yes
6159else
6160 echo "$as_me: failed program was:" >&5
6161sed 's/^/| /' conftest.$ac_ext >&5
6162
6163 ac_header_preproc=no
6164fi
6165rm -f conftest.err conftest.$ac_ext
6166echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6167echo "${ECHO_T}$ac_header_preproc" >&6
6168
6169# So? What about this header?
6170case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6171 yes:no: )
6172 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6173echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6174 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6175echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6176 ac_header_preproc=yes
6177 ;;
6178 no:yes:* )
6179 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6180echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6182echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6183 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6184echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6185 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6186echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6187 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6188echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6189 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6190echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6191 (
6192 cat <<\_ASBOX
6193## ------------------------------------------- ##
6194## Report this to openssh-unix-dev@mindrot.org ##
6195## ------------------------------------------- ##
6196_ASBOX
6197 ) |
6198 sed "s/^/$as_me: WARNING: /" >&2
6199 ;;
6200esac
6201echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6202echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6203if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6205else
6206 ac_cv_header_net_if_tap_h=$ac_header_preproc
6207fi
6208echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6209echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6210
6211fi
6212if test $ac_cv_header_net_if_tap_h = yes; then
6213 :
6214else
6215
6216cat >>confdefs.h <<\_ACEOF
6217#define SSH_TUN_NO_L2 1
6218_ACEOF
6219
6220fi
6221
6222
6223
6224cat >>confdefs.h <<\_ACEOF
6225#define SSH_TUN_PREPEND_AF 1
6226_ACEOF
6227
5703 ;; 6228 ;;
5704*-*-freebsd*) 6229*-*-freebsd*)
5705 check_for_libcrypt_later=1 6230 check_for_libcrypt_later=1
6231
6232cat >>confdefs.h <<\_ACEOF
6233#define LOCKED_PASSWD_PREFIX "*LOCKED*"
6234_ACEOF
6235
6236
6237cat >>confdefs.h <<\_ACEOF
6238#define SSH_TUN_FREEBSD 1
6239_ACEOF
6240
6241 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6242 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6243echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6244if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6246fi
6247echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6248echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6249else
6250 # Is the header compilable?
6251echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6252echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6253cat >conftest.$ac_ext <<_ACEOF
6254/* confdefs.h. */
6255_ACEOF
6256cat confdefs.h >>conftest.$ac_ext
6257cat >>conftest.$ac_ext <<_ACEOF
6258/* end confdefs.h. */
6259$ac_includes_default
6260#include <net/if_tap.h>
6261_ACEOF
6262rm -f conftest.$ac_objext
6263if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6264 (eval $ac_compile) 2>conftest.er1
6265 ac_status=$?
6266 grep -v '^ *+' conftest.er1 >conftest.err
6267 rm -f conftest.er1
6268 cat conftest.err >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); } &&
6271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 (eval $ac_try) 2>&5
6274 ac_status=$?
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }; } &&
6277 { ac_try='test -s conftest.$ac_objext'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279 (eval $ac_try) 2>&5
6280 ac_status=$?
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; }; then
6283 ac_header_compiler=yes
6284else
6285 echo "$as_me: failed program was:" >&5
6286sed 's/^/| /' conftest.$ac_ext >&5
6287
6288ac_header_compiler=no
6289fi
6290rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6291echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6292echo "${ECHO_T}$ac_header_compiler" >&6
6293
6294# Is the header present?
6295echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6296echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6297cat >conftest.$ac_ext <<_ACEOF
6298/* confdefs.h. */
6299_ACEOF
6300cat confdefs.h >>conftest.$ac_ext
6301cat >>conftest.$ac_ext <<_ACEOF
6302/* end confdefs.h. */
6303#include <net/if_tap.h>
6304_ACEOF
6305if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6307 ac_status=$?
6308 grep -v '^ *+' conftest.er1 >conftest.err
6309 rm -f conftest.er1
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } >/dev/null; then
6313 if test -s conftest.err; then
6314 ac_cpp_err=$ac_c_preproc_warn_flag
6315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6316 else
6317 ac_cpp_err=
6318 fi
6319else
6320 ac_cpp_err=yes
6321fi
6322if test -z "$ac_cpp_err"; then
6323 ac_header_preproc=yes
6324else
6325 echo "$as_me: failed program was:" >&5
6326sed 's/^/| /' conftest.$ac_ext >&5
6327
6328 ac_header_preproc=no
6329fi
6330rm -f conftest.err conftest.$ac_ext
6331echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6332echo "${ECHO_T}$ac_header_preproc" >&6
6333
6334# So? What about this header?
6335case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6336 yes:no: )
6337 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6338echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6339 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6340echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6341 ac_header_preproc=yes
6342 ;;
6343 no:yes:* )
6344 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6345echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6346 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6347echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6348 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6349echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6350 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6351echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6352 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6353echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6354 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6355echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6356 (
6357 cat <<\_ASBOX
6358## ------------------------------------------- ##
6359## Report this to openssh-unix-dev@mindrot.org ##
6360## ------------------------------------------- ##
6361_ASBOX
6362 ) |
6363 sed "s/^/$as_me: WARNING: /" >&2
6364 ;;
6365esac
6366echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6367echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6368if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6370else
6371 ac_cv_header_net_if_tap_h=$ac_header_preproc
6372fi
6373echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6374echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6375
6376fi
6377if test $ac_cv_header_net_if_tap_h = yes; then
6378 :
6379else
6380
6381cat >>confdefs.h <<\_ACEOF
6382#define SSH_TUN_NO_L2 1
6383_ACEOF
6384
6385fi
6386
6387
5706 ;; 6388 ;;
5707*-*-bsdi*) 6389*-*-bsdi*)
5708 cat >>confdefs.h <<\_ACEOF 6390 cat >>confdefs.h <<\_ACEOF
@@ -5723,7 +6405,8 @@ _ACEOF
5723 conf_utmp_location=/etc/utmp 6405 conf_utmp_location=/etc/utmp
5724 conf_wtmp_location=/usr/adm/wtmp 6406 conf_wtmp_location=/usr/adm/wtmp
5725 MAIL=/usr/spool/mail 6407 MAIL=/usr/spool/mail
5726 cat >>confdefs.h <<\_ACEOF 6408
6409cat >>confdefs.h <<\_ACEOF
5727#define HAVE_NEXT 1 6410#define HAVE_NEXT 1
5728_ACEOF 6411_ACEOF
5729 6412
@@ -5735,7 +6418,8 @@ _ACEOF
5735#define USE_PIPES 1 6418#define USE_PIPES 1
5736_ACEOF 6419_ACEOF
5737 6420
5738 cat >>confdefs.h <<\_ACEOF 6421
6422cat >>confdefs.h <<\_ACEOF
5739#define BROKEN_SAVED_UIDS 1 6423#define BROKEN_SAVED_UIDS 1
5740_ACEOF 6424_ACEOF
5741 6425
@@ -5746,6 +6430,16 @@ cat >>confdefs.h <<\_ACEOF
5746#define HAVE_ATTRIBUTE__SENTINEL__ 1 6430#define HAVE_ATTRIBUTE__SENTINEL__ 1
5747_ACEOF 6431_ACEOF
5748 6432
6433
6434cat >>confdefs.h <<\_ACEOF
6435#define HAVE_ATTRIBUTE__BOUNDED__ 1
6436_ACEOF
6437
6438
6439cat >>confdefs.h <<\_ACEOF
6440#define SSH_TUN_OPENBSD 1
6441_ACEOF
6442
5749 ;; 6443 ;;
5750*-*-solaris*) 6444*-*-solaris*)
5751 if test "x$withval" != "xno" ; then 6445 if test "x$withval" != "xno" ; then
@@ -5759,7 +6453,8 @@ _ACEOF
5759#define LOGIN_NEEDS_UTMPX 1 6453#define LOGIN_NEEDS_UTMPX 1
5760_ACEOF 6454_ACEOF
5761 6455
5762 cat >>confdefs.h <<\_ACEOF 6456
6457cat >>confdefs.h <<\_ACEOF
5763#define LOGIN_NEEDS_TERM 1 6458#define LOGIN_NEEDS_TERM 1
5764_ACEOF 6459_ACEOF
5765 6460
@@ -5767,7 +6462,8 @@ _ACEOF
5767#define PAM_TTY_KLUDGE 1 6462#define PAM_TTY_KLUDGE 1
5768_ACEOF 6463_ACEOF
5769 6464
5770 cat >>confdefs.h <<\_ACEOF 6465
6466cat >>confdefs.h <<\_ACEOF
5771#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 6467#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5772_ACEOF 6468_ACEOF
5773 6469
@@ -5776,7 +6472,8 @@ _ACEOF
5776_ACEOF 6472_ACEOF
5777 6473
5778 # Pushing STREAMS modules will cause sshd to acquire a controlling tty. 6474 # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
5779 cat >>confdefs.h <<\_ACEOF 6475
6476cat >>confdefs.h <<\_ACEOF
5780#define SSHD_ACQUIRES_CTTY 1 6477#define SSHD_ACQUIRES_CTTY 1
5781_ACEOF 6478_ACEOF
5782 6479
@@ -5793,7 +6490,8 @@ echo "${ECHO_T}yes" >&6
5793#define DISABLE_UTMP 1 6490#define DISABLE_UTMP 1
5794_ACEOF 6491_ACEOF
5795 6492
5796 cat >>confdefs.h <<\_ACEOF 6493
6494cat >>confdefs.h <<\_ACEOF
5797#define DISABLE_WTMP 1 6495#define DISABLE_WTMP 1
5798_ACEOF 6496_ACEOF
5799 6497
@@ -6015,14 +6713,14 @@ _ACEOF
6015 6713
6016fi 6714fi
6017 6715
6018 # -lresolv needs to be at then end of LIBS or DNS lookups break 6716 # -lresolv needs to be at the end of LIBS or DNS lookups break
6019 echo "$as_me:$LINENO: checking for resolv in -lres_query" >&5 6717 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
6020echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6 6718echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
6021if test "${ac_cv_lib_res_query_resolv+set}" = set; then 6719if test "${ac_cv_lib_resolv_res_query+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6 6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6023else 6721else
6024 ac_check_lib_save_LIBS=$LIBS 6722 ac_check_lib_save_LIBS=$LIBS
6025LIBS="-lres_query $LIBS" 6723LIBS="-lresolv $LIBS"
6026cat >conftest.$ac_ext <<_ACEOF 6724cat >conftest.$ac_ext <<_ACEOF
6027/* confdefs.h. */ 6725/* confdefs.h. */
6028_ACEOF 6726_ACEOF
@@ -6036,11 +6734,11 @@ extern "C"
6036#endif 6734#endif
6037/* We use char because int might match the return type of a gcc2 6735/* We use char because int might match the return type of a gcc2
6038 builtin and then its argument prototype would still apply. */ 6736 builtin and then its argument prototype would still apply. */
6039char resolv (); 6737char res_query ();
6040int 6738int
6041main () 6739main ()
6042{ 6740{
6043resolv (); 6741res_query ();
6044 ; 6742 ;
6045 return 0; 6743 return 0;
6046} 6744}
@@ -6066,20 +6764,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6066 ac_status=$? 6764 ac_status=$?
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }; then 6766 (exit $ac_status); }; }; then
6069 ac_cv_lib_res_query_resolv=yes 6767 ac_cv_lib_resolv_res_query=yes
6070else 6768else
6071 echo "$as_me: failed program was:" >&5 6769 echo "$as_me: failed program was:" >&5
6072sed 's/^/| /' conftest.$ac_ext >&5 6770sed 's/^/| /' conftest.$ac_ext >&5
6073 6771
6074ac_cv_lib_res_query_resolv=no 6772ac_cv_lib_resolv_res_query=no
6075fi 6773fi
6076rm -f conftest.err conftest.$ac_objext \ 6774rm -f conftest.err conftest.$ac_objext \
6077 conftest$ac_exeext conftest.$ac_ext 6775 conftest$ac_exeext conftest.$ac_ext
6078LIBS=$ac_check_lib_save_LIBS 6776LIBS=$ac_check_lib_save_LIBS
6079fi 6777fi
6080echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5 6778echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
6081echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6 6779echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
6082if test $ac_cv_lib_res_query_resolv = yes; then 6780if test $ac_cv_lib_resolv_res_query = yes; then
6083 LIBS="$LIBS -lresolv" 6781 LIBS="$LIBS -lresolv"
6084fi 6782fi
6085 6783
@@ -6115,6 +6813,7 @@ _ACEOF
6115 ;; 6813 ;;
6116# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. 6814# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel.
6117*-*-sysv4.2*) 6815*-*-sysv4.2*)
6816 CFLAGS="$CFLAGS -Dva_list=_VA_LIST"
6118 cat >>confdefs.h <<\_ACEOF 6817 cat >>confdefs.h <<\_ACEOF
6119#define USE_PIPES 1 6818#define USE_PIPES 1
6120_ACEOF 6819_ACEOF
@@ -6136,6 +6835,10 @@ cat >>confdefs.h <<\_ACEOF
6136#define PASSWD_NEEDS_USERNAME 1 6835#define PASSWD_NEEDS_USERNAME 1
6137_ACEOF 6836_ACEOF
6138 6837
6838 cat >>confdefs.h <<\_ACEOF
6839#define LOCKED_PASSWD_STRING "*LK*"
6840_ACEOF
6841
6139 ;; 6842 ;;
6140# UnixWare 7.x, OpenUNIX 8 6843# UnixWare 7.x, OpenUNIX 8
6141*-*-sysv5*) 6844*-*-sysv5*)
@@ -6161,8 +6864,7 @@ _ACEOF
6161#define BROKEN_SETREGID 1 6864#define BROKEN_SETREGID 1
6162_ACEOF 6865_ACEOF
6163 6866
6164 6867 cat >>confdefs.h <<\_ACEOF
6165cat >>confdefs.h <<\_ACEOF
6166#define PASSWD_NEEDS_USERNAME 1 6868#define PASSWD_NEEDS_USERNAME 1
6167_ACEOF 6869_ACEOF
6168 6870
@@ -6175,6 +6877,11 @@ cat >>confdefs.h <<\_ACEOF
6175_ACEOF 6877_ACEOF
6176 6878
6177 ;; 6879 ;;
6880 *) cat >>confdefs.h <<\_ACEOF
6881#define LOCKED_PASSWD_STRING "*LK*"
6882_ACEOF
6883
6884 ;;
6178 esac 6885 esac
6179 ;; 6886 ;;
6180*-*-sysv*) 6887*-*-sysv*)
@@ -6228,8 +6935,7 @@ _ACEOF
6228#define BROKEN_UPDWTMPX 1 6935#define BROKEN_UPDWTMPX 1
6229_ACEOF 6936_ACEOF
6230 6937
6231 6938 cat >>confdefs.h <<\_ACEOF
6232cat >>confdefs.h <<\_ACEOF
6233#define PASSWD_NEEDS_USERNAME 1 6939#define PASSWD_NEEDS_USERNAME 1
6234_ACEOF 6940_ACEOF
6235 6941
@@ -6339,7 +7045,8 @@ done
6339 TEST_SHELL=ksh 7045 TEST_SHELL=ksh
6340 ;; 7046 ;;
6341*-*-unicosmk*) 7047*-*-unicosmk*)
6342 cat >>confdefs.h <<\_ACEOF 7048
7049cat >>confdefs.h <<\_ACEOF
6343#define NO_SSH_LASTLOG 1 7050#define NO_SSH_LASTLOG 1
6344_ACEOF 7051_ACEOF
6345 7052
@@ -6445,11 +7152,13 @@ fi;
6445 if test -f /etc/sia/matrix.conf; then 7152 if test -f /etc/sia/matrix.conf; then
6446 echo "$as_me:$LINENO: result: yes" >&5 7153 echo "$as_me:$LINENO: result: yes" >&5
6447echo "${ECHO_T}yes" >&6 7154echo "${ECHO_T}yes" >&6
6448 cat >>confdefs.h <<\_ACEOF 7155
7156cat >>confdefs.h <<\_ACEOF
6449#define HAVE_OSF_SIA 1 7157#define HAVE_OSF_SIA 1
6450_ACEOF 7158_ACEOF
6451 7159
6452 cat >>confdefs.h <<\_ACEOF 7160
7161cat >>confdefs.h <<\_ACEOF
6453#define DISABLE_LOGIN 1 7162#define DISABLE_LOGIN 1
6454_ACEOF 7163_ACEOF
6455 7164
@@ -6461,7 +7170,8 @@ _ACEOF
6461 else 7170 else
6462 echo "$as_me:$LINENO: result: no" >&5 7171 echo "$as_me:$LINENO: result: no" >&5
6463echo "${ECHO_T}no" >&6 7172echo "${ECHO_T}no" >&6
6464 cat >>confdefs.h <<\_ACEOF 7173
7174cat >>confdefs.h <<\_ACEOF
6465#define LOCKED_PASSWD_SUBSTR "Nologin" 7175#define LOCKED_PASSWD_SUBSTR "Nologin"
6466_ACEOF 7176_ACEOF
6467 7177
@@ -6485,7 +7195,7 @@ _ACEOF
6485 7195
6486 ;; 7196 ;;
6487 7197
6488*-*-nto-qnx) 7198*-*-nto-qnx*)
6489 cat >>confdefs.h <<\_ACEOF 7199 cat >>confdefs.h <<\_ACEOF
6490#define USE_PIPES 1 7200#define USE_PIPES 1
6491_ACEOF 7201_ACEOF
@@ -6494,34 +7204,40 @@ _ACEOF
6494#define NO_X11_UNIX_SOCKETS 1 7204#define NO_X11_UNIX_SOCKETS 1
6495_ACEOF 7205_ACEOF
6496 7206
6497 cat >>confdefs.h <<\_ACEOF 7207
7208cat >>confdefs.h <<\_ACEOF
6498#define MISSING_NFDBITS 1 7209#define MISSING_NFDBITS 1
6499_ACEOF 7210_ACEOF
6500 7211
6501 cat >>confdefs.h <<\_ACEOF 7212
7213cat >>confdefs.h <<\_ACEOF
6502#define MISSING_HOWMANY 1 7214#define MISSING_HOWMANY 1
6503_ACEOF 7215_ACEOF
6504 7216
6505 cat >>confdefs.h <<\_ACEOF 7217
7218cat >>confdefs.h <<\_ACEOF
6506#define MISSING_FD_MASK 1 7219#define MISSING_FD_MASK 1
6507_ACEOF 7220_ACEOF
6508 7221
7222 cat >>confdefs.h <<\_ACEOF
7223#define DISABLE_LASTLOG 1
7224_ACEOF
7225
6509 ;; 7226 ;;
6510 7227
6511*-*-ultrix*) 7228*-*-ultrix*)
6512 7229
6513cat >>confdefs.h <<\_ACEOF 7230cat >>confdefs.h <<\_ACEOF
6514#define BROKEN_GETGROUPS 7231#define BROKEN_GETGROUPS 1
6515_ACEOF 7232_ACEOF
6516 7233
6517 7234
6518cat >>confdefs.h <<\_ACEOF 7235cat >>confdefs.h <<\_ACEOF
6519#define BROKEN_MMAP 7236#define BROKEN_MMAP 1
6520_ACEOF 7237_ACEOF
6521 7238
6522 7239 cat >>confdefs.h <<\_ACEOF
6523cat >>confdefs.h <<\_ACEOF 7240#define NEED_SETPGRP 1
6524#define NEED_SETPRGP
6525_ACEOF 7241_ACEOF
6526 7242
6527 7243
@@ -6533,7 +7249,7 @@ _ACEOF
6533 7249
6534*-*-lynxos) 7250*-*-lynxos)
6535 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" 7251 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
6536 cat >>confdefs.h <<\_ACEOF 7252 cat >>confdefs.h <<\_ACEOF
6537#define MISSING_HOWMANY 1 7253#define MISSING_HOWMANY 1
6538_ACEOF 7254_ACEOF
6539 7255
@@ -6601,7 +7317,7 @@ if test "${with_Werror+set}" = set; then
6601 7317
6602 if test -n "$withval" && test "x$withval" != "xno"; then 7318 if test -n "$withval" && test "x$withval" != "xno"; then
6603 werror_flags="-Werror" 7319 werror_flags="-Werror"
6604 if "x${withval}" != "xyes"; then 7320 if test "x${withval}" != "xyes"; then
6605 werror_flags="$withval" 7321 werror_flags="$withval"
6606 fi 7322 fi
6607 fi 7323 fi
@@ -6658,260 +7374,6 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
6658fi 7374fi
6659 7375
6660 7376
6661echo "$as_me:$LINENO: checking for egrep" >&5
6662echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6663if test "${ac_cv_prog_egrep+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6665else
6666 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6667 then ac_cv_prog_egrep='grep -E'
6668 else ac_cv_prog_egrep='egrep'
6669 fi
6670fi
6671echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6672echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6673 EGREP=$ac_cv_prog_egrep
6674
6675
6676echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6677echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6678if test "${ac_cv_header_stdc+set}" = set; then
6679 echo $ECHO_N "(cached) $ECHO_C" >&6
6680else
6681 cat >conftest.$ac_ext <<_ACEOF
6682/* confdefs.h. */
6683_ACEOF
6684cat confdefs.h >>conftest.$ac_ext
6685cat >>conftest.$ac_ext <<_ACEOF
6686/* end confdefs.h. */
6687#include <stdlib.h>
6688#include <stdarg.h>
6689#include <string.h>
6690#include <float.h>
6691
6692int
6693main ()
6694{
6695
6696 ;
6697 return 0;
6698}
6699_ACEOF
6700rm -f conftest.$ac_objext
6701if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>conftest.er1
6703 ac_status=$?
6704 grep -v '^ *+' conftest.er1 >conftest.err
6705 rm -f conftest.er1
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } &&
6709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 (eval $ac_try) 2>&5
6712 ac_status=$?
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); }; } &&
6715 { ac_try='test -s conftest.$ac_objext'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 (eval $ac_try) 2>&5
6718 ac_status=$?
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; }; then
6721 ac_cv_header_stdc=yes
6722else
6723 echo "$as_me: failed program was:" >&5
6724sed 's/^/| /' conftest.$ac_ext >&5
6725
6726ac_cv_header_stdc=no
6727fi
6728rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6729
6730if test $ac_cv_header_stdc = yes; then
6731 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6732 cat >conftest.$ac_ext <<_ACEOF
6733/* confdefs.h. */
6734_ACEOF
6735cat confdefs.h >>conftest.$ac_ext
6736cat >>conftest.$ac_ext <<_ACEOF
6737/* end confdefs.h. */
6738#include <string.h>
6739
6740_ACEOF
6741if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6742 $EGREP "memchr" >/dev/null 2>&1; then
6743 :
6744else
6745 ac_cv_header_stdc=no
6746fi
6747rm -f conftest*
6748
6749fi
6750
6751if test $ac_cv_header_stdc = yes; then
6752 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6753 cat >conftest.$ac_ext <<_ACEOF
6754/* confdefs.h. */
6755_ACEOF
6756cat confdefs.h >>conftest.$ac_ext
6757cat >>conftest.$ac_ext <<_ACEOF
6758/* end confdefs.h. */
6759#include <stdlib.h>
6760
6761_ACEOF
6762if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6763 $EGREP "free" >/dev/null 2>&1; then
6764 :
6765else
6766 ac_cv_header_stdc=no
6767fi
6768rm -f conftest*
6769
6770fi
6771
6772if test $ac_cv_header_stdc = yes; then
6773 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6774 if test "$cross_compiling" = yes; then
6775 :
6776else
6777 cat >conftest.$ac_ext <<_ACEOF
6778/* confdefs.h. */
6779_ACEOF
6780cat confdefs.h >>conftest.$ac_ext
6781cat >>conftest.$ac_ext <<_ACEOF
6782/* end confdefs.h. */
6783#include <ctype.h>
6784#if ((' ' & 0x0FF) == 0x020)
6785# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6786# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6787#else
6788# define ISLOWER(c) \
6789 (('a' <= (c) && (c) <= 'i') \
6790 || ('j' <= (c) && (c) <= 'r') \
6791 || ('s' <= (c) && (c) <= 'z'))
6792# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6793#endif
6794
6795#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6796int
6797main ()
6798{
6799 int i;
6800 for (i = 0; i < 256; i++)
6801 if (XOR (islower (i), ISLOWER (i))
6802 || toupper (i) != TOUPPER (i))
6803 exit(2);
6804 exit (0);
6805}
6806_ACEOF
6807rm -f conftest$ac_exeext
6808if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6809 (eval $ac_link) 2>&5
6810 ac_status=$?
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 (eval $ac_try) 2>&5
6815 ac_status=$?
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; }; then
6818 :
6819else
6820 echo "$as_me: program exited with status $ac_status" >&5
6821echo "$as_me: failed program was:" >&5
6822sed 's/^/| /' conftest.$ac_ext >&5
6823
6824( exit $ac_status )
6825ac_cv_header_stdc=no
6826fi
6827rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6828fi
6829fi
6830fi
6831echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6832echo "${ECHO_T}$ac_cv_header_stdc" >&6
6833if test $ac_cv_header_stdc = yes; then
6834
6835cat >>confdefs.h <<\_ACEOF
6836#define STDC_HEADERS 1
6837_ACEOF
6838
6839fi
6840
6841# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6852 inttypes.h stdint.h unistd.h
6853do
6854as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6855echo "$as_me:$LINENO: checking for $ac_header" >&5
6856echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6857if eval "test \"\${$as_ac_Header+set}\" = set"; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6859else
6860 cat >conftest.$ac_ext <<_ACEOF
6861/* confdefs.h. */
6862_ACEOF
6863cat confdefs.h >>conftest.$ac_ext
6864cat >>conftest.$ac_ext <<_ACEOF
6865/* end confdefs.h. */
6866$ac_includes_default
6867
6868#include <$ac_header>
6869_ACEOF
6870rm -f conftest.$ac_objext
6871if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6872 (eval $ac_compile) 2>conftest.er1
6873 ac_status=$?
6874 grep -v '^ *+' conftest.er1 >conftest.err
6875 rm -f conftest.er1
6876 cat conftest.err >&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); } &&
6879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 (eval $ac_try) 2>&5
6882 ac_status=$?
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); }; } &&
6885 { ac_try='test -s conftest.$ac_objext'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 (eval $ac_try) 2>&5
6888 ac_status=$?
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6891 eval "$as_ac_Header=yes"
6892else
6893 echo "$as_me: failed program was:" >&5
6894sed 's/^/| /' conftest.$ac_ext >&5
6895
6896eval "$as_ac_Header=no"
6897fi
6898rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6899fi
6900echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6901echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6902if test `eval echo '${'$as_ac_Header'}'` = yes; then
6903 cat >>confdefs.h <<_ACEOF
6904#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905_ACEOF
6906
6907fi
6908
6909done
6910
6911
6912
6913
6914
6915 7377
6916 7378
6917 7379
@@ -6978,7 +7440,6 @@ for ac_header in \
6978 glob.h \ 7440 glob.h \
6979 ia.h \ 7441 ia.h \
6980 iaf.h \ 7442 iaf.h \
6981 lastlog.h \
6982 limits.h \ 7443 limits.h \
6983 login.h \ 7444 login.h \
6984 login_cap.h \ 7445 login_cap.h \
@@ -6986,7 +7447,6 @@ for ac_header in \
6986 ndir.h \ 7447 ndir.h \
6987 netdb.h \ 7448 netdb.h \
6988 netgroup.h \ 7449 netgroup.h \
6989 netinet/in_systm.h \
6990 pam/pam_appl.h \ 7450 pam/pam_appl.h \
6991 paths.h \ 7451 paths.h \
6992 pty.h \ 7452 pty.h \
@@ -7175,6 +7635,72 @@ fi
7175done 7635done
7176 7636
7177 7637
7638# lastlog.h requires sys/time.h to be included first on Solaris
7639
7640for ac_header in lastlog.h
7641do
7642as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7643echo "$as_me:$LINENO: checking for $ac_header" >&5
7644echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7645if eval "test \"\${$as_ac_Header+set}\" = set"; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7647else
7648 cat >conftest.$ac_ext <<_ACEOF
7649/* confdefs.h. */
7650_ACEOF
7651cat confdefs.h >>conftest.$ac_ext
7652cat >>conftest.$ac_ext <<_ACEOF
7653/* end confdefs.h. */
7654
7655#ifdef HAVE_SYS_TIME_H
7656# include <sys/time.h>
7657#endif
7658
7659
7660#include <$ac_header>
7661_ACEOF
7662rm -f conftest.$ac_objext
7663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7664 (eval $ac_compile) 2>conftest.er1
7665 ac_status=$?
7666 grep -v '^ *+' conftest.er1 >conftest.err
7667 rm -f conftest.er1
7668 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } &&
7671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 (eval $ac_try) 2>&5
7674 ac_status=$?
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; } &&
7677 { ac_try='test -s conftest.$ac_objext'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679 (eval $ac_try) 2>&5
7680 ac_status=$?
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; }; then
7683 eval "$as_ac_Header=yes"
7684else
7685 echo "$as_me: failed program was:" >&5
7686sed 's/^/| /' conftest.$ac_ext >&5
7687
7688eval "$as_ac_Header=no"
7689fi
7690rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7691fi
7692echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7693echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7694if test `eval echo '${'$as_ac_Header'}'` = yes; then
7695 cat >>confdefs.h <<_ACEOF
7696#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7697_ACEOF
7698
7699fi
7700
7701done
7702
7703
7178# sys/ptms.h requires sys/stream.h to be included first on Solaris 7704# sys/ptms.h requires sys/stream.h to be included first on Solaris
7179 7705
7180for ac_header in sys/ptms.h 7706for ac_header in sys/ptms.h
@@ -7899,11 +8425,7 @@ else
7899 save_LIBS="$LIBS" 8425 save_LIBS="$LIBS"
7900 LIBS="$LIBS -lgen" 8426 LIBS="$LIBS -lgen"
7901 if test "$cross_compiling" = yes; then 8427 if test "$cross_compiling" = yes; then
7902 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 8428 ac_cv_have_broken_dirname="no"
7903See \`config.log' for more details." >&5
7904echo "$as_me: error: cannot run test program while cross compiling
7905See \`config.log' for more details." >&2;}
7906 { (exit 1); exit 1; }; }
7907else 8429else
7908 cat >conftest.$ac_ext <<_ACEOF 8430 cat >conftest.$ac_ext <<_ACEOF
7909/* confdefs.h. */ 8431/* confdefs.h. */
@@ -7947,7 +8469,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
7947 8469
7948( exit $ac_status ) 8470( exit $ac_status )
7949 ac_cv_have_broken_dirname="yes" 8471 ac_cv_have_broken_dirname="yes"
7950
7951fi 8472fi
7952rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8473rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7953fi 8474fi
@@ -8402,7 +8923,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
8402echo "${ECHO_T}$ac_cv_search_basename" >&6 8923echo "${ECHO_T}$ac_cv_search_basename" >&6
8403if test "$ac_cv_search_basename" != no; then 8924if test "$ac_cv_search_basename" != no; then
8404 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" 8925 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
8405 cat >>confdefs.h <<\_ACEOF 8926
8927cat >>confdefs.h <<\_ACEOF
8406#define HAVE_BASENAME 1 8928#define HAVE_BASENAME 1
8407_ACEOF 8929_ACEOF
8408 8930
@@ -8989,9 +9511,13 @@ fi
8989 9511
8990fi 9512fi
8991 9513
8992echo "$as_me:$LINENO: checking for utimes" >&5 9514
8993echo $ECHO_N "checking for utimes... $ECHO_C" >&6 9515for ac_func in utimes
8994if test "${ac_cv_func_utimes+set}" = set; then 9516do
9517as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9518echo "$as_me:$LINENO: checking for $ac_func" >&5
9519echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9520if eval "test \"\${$as_ac_var+set}\" = set"; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6 9521 echo $ECHO_N "(cached) $ECHO_C" >&6
8996else 9522else
8997 cat >conftest.$ac_ext <<_ACEOF 9523 cat >conftest.$ac_ext <<_ACEOF
@@ -9000,12 +9526,12 @@ _ACEOF
9000cat confdefs.h >>conftest.$ac_ext 9526cat confdefs.h >>conftest.$ac_ext
9001cat >>conftest.$ac_ext <<_ACEOF 9527cat >>conftest.$ac_ext <<_ACEOF
9002/* end confdefs.h. */ 9528/* end confdefs.h. */
9003/* Define utimes to an innocuous variant, in case <limits.h> declares utimes. 9529/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9004 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9005#define utimes innocuous_utimes 9531#define $ac_func innocuous_$ac_func
9006 9532
9007/* System header to define __stub macros and hopefully few prototypes, 9533/* System header to define __stub macros and hopefully few prototypes,
9008 which can conflict with char utimes (); below. 9534 which can conflict with char $ac_func (); below.
9009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9010 <limits.h> exists even on freestanding compilers. */ 9536 <limits.h> exists even on freestanding compilers. */
9011 9537
@@ -9015,7 +9541,7 @@ cat >>conftest.$ac_ext <<_ACEOF
9015# include <assert.h> 9541# include <assert.h>
9016#endif 9542#endif
9017 9543
9018#undef utimes 9544#undef $ac_func
9019 9545
9020/* Override any gcc2 internal prototype to avoid an error. */ 9546/* Override any gcc2 internal prototype to avoid an error. */
9021#ifdef __cplusplus 9547#ifdef __cplusplus
@@ -9024,14 +9550,14 @@ extern "C"
9024#endif 9550#endif
9025/* We use char because int might match the return type of a gcc2 9551/* We use char because int might match the return type of a gcc2
9026 builtin and then its argument prototype would still apply. */ 9552 builtin and then its argument prototype would still apply. */
9027char utimes (); 9553char $ac_func ();
9028/* The GNU C library defines this for functions which it implements 9554/* The GNU C library defines this for functions which it implements
9029 to always fail with ENOSYS. Some functions are actually named 9555 to always fail with ENOSYS. Some functions are actually named
9030 something starting with __ and the normal name is an alias. */ 9556 something starting with __ and the normal name is an alias. */
9031#if defined (__stub_utimes) || defined (__stub___utimes) 9557#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9032choke me 9558choke me
9033#else 9559#else
9034char (*f) () = utimes; 9560char (*f) () = $ac_func;
9035#endif 9561#endif
9036#ifdef __cplusplus 9562#ifdef __cplusplus
9037} 9563}
@@ -9040,7 +9566,7 @@ char (*f) () = utimes;
9040int 9566int
9041main () 9567main ()
9042{ 9568{
9043return f != utimes; 9569return f != $ac_func;
9044 ; 9570 ;
9045 return 0; 9571 return 0;
9046} 9572}
@@ -9066,20 +9592,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066 ac_status=$? 9592 ac_status=$?
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; }; then 9594 (exit $ac_status); }; }; then
9069 ac_cv_func_utimes=yes 9595 eval "$as_ac_var=yes"
9070else 9596else
9071 echo "$as_me: failed program was:" >&5 9597 echo "$as_me: failed program was:" >&5
9072sed 's/^/| /' conftest.$ac_ext >&5 9598sed 's/^/| /' conftest.$ac_ext >&5
9073 9599
9074ac_cv_func_utimes=no 9600eval "$as_ac_var=no"
9075fi 9601fi
9076rm -f conftest.err conftest.$ac_objext \ 9602rm -f conftest.err conftest.$ac_objext \
9077 conftest$ac_exeext conftest.$ac_ext 9603 conftest$ac_exeext conftest.$ac_ext
9078fi 9604fi
9079echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 9605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9080echo "${ECHO_T}$ac_cv_func_utimes" >&6 9606echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9081if test $ac_cv_func_utimes = yes; then 9607if test `eval echo '${'$as_ac_var'}'` = yes; then
9082 : 9608 cat >>confdefs.h <<_ACEOF
9609#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9610_ACEOF
9611
9083else 9612else
9084 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 9613 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
9085echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 9614echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
@@ -9154,6 +9683,7 @@ fi
9154 9683
9155 9684
9156fi 9685fi
9686done
9157 9687
9158 9688
9159 9689
@@ -9426,7 +9956,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9426echo "${ECHO_T}$ac_cv_search_login" >&6 9956echo "${ECHO_T}$ac_cv_search_login" >&6
9427if test "$ac_cv_search_login" != no; then 9957if test "$ac_cv_search_login" != no; then
9428 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 9958 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
9429 cat >>confdefs.h <<\_ACEOF 9959
9960cat >>confdefs.h <<\_ACEOF
9430#define HAVE_LOGIN 1 9961#define HAVE_LOGIN 1
9431_ACEOF 9962_ACEOF
9432 9963
@@ -9730,7 +10261,8 @@ _ACEOF
9730if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9731 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10262 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9732 10263
9733 cat >>confdefs.h <<\_ACEOF 10264
10265cat >>confdefs.h <<\_ACEOF
9734#define GLOB_HAS_ALTDIRFUNC 1 10266#define GLOB_HAS_ALTDIRFUNC 1
9735_ACEOF 10267_ACEOF
9736 10268
@@ -9764,7 +10296,8 @@ _ACEOF
9764if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10296if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9765 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10297 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9766 10298
9767 cat >>confdefs.h <<\_ACEOF 10299
10300cat >>confdefs.h <<\_ACEOF
9768#define GLOB_HAS_GL_MATCHC 1 10301#define GLOB_HAS_GL_MATCHC 1
9769_ACEOF 10302_ACEOF
9770 10303
@@ -9828,7 +10361,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
9828 10361
9829 echo "$as_me:$LINENO: result: no" >&5 10362 echo "$as_me:$LINENO: result: no" >&5
9830echo "${ECHO_T}no" >&6 10363echo "${ECHO_T}no" >&6
9831 cat >>confdefs.h <<\_ACEOF 10364
10365cat >>confdefs.h <<\_ACEOF
9832#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 10366#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9833_ACEOF 10367_ACEOF
9834 10368
@@ -9840,7 +10374,8 @@ fi
9840echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 10374echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
9841echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 10375echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6
9842if test -d "/proc/$$/fd" ; then 10376if test -d "/proc/$$/fd" ; then
9843 cat >>confdefs.h <<\_ACEOF 10377
10378cat >>confdefs.h <<\_ACEOF
9844#define HAVE_PROC_PID 1 10379#define HAVE_PROC_PID 1
9845_ACEOF 10380_ACEOF
9846 10381
@@ -9865,7 +10400,8 @@ if test "${with_skey+set}" = set; then
9865 LDFLAGS="$LDFLAGS -L${withval}/lib" 10400 LDFLAGS="$LDFLAGS -L${withval}/lib"
9866 fi 10401 fi
9867 10402
9868 cat >>confdefs.h <<\_ACEOF 10403
10404cat >>confdefs.h <<\_ACEOF
9869#define SKEY 1 10405#define SKEY 1
9870_ACEOF 10406_ACEOF
9871 10407
@@ -9874,14 +10410,7 @@ _ACEOF
9874 10410
9875 echo "$as_me:$LINENO: checking for s/key support" >&5 10411 echo "$as_me:$LINENO: checking for s/key support" >&5
9876echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 10412echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
9877 if test "$cross_compiling" = yes; then 10413 cat >conftest.$ac_ext <<_ACEOF
9878 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9879See \`config.log' for more details." >&5
9880echo "$as_me: error: cannot run test program while cross compiling
9881See \`config.log' for more details." >&2;}
9882 { (exit 1); exit 1; }; }
9883else
9884 cat >conftest.$ac_ext <<_ACEOF
9885/* confdefs.h. */ 10414/* confdefs.h. */
9886_ACEOF 10415_ACEOF
9887cat confdefs.h >>conftest.$ac_ext 10416cat confdefs.h >>conftest.$ac_ext
@@ -9893,12 +10422,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9893int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } 10422int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
9894 10423
9895_ACEOF 10424_ACEOF
9896rm -f conftest$ac_exeext 10425rm -f conftest.$ac_objext conftest$ac_exeext
9897if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10426if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9898 (eval $ac_link) 2>&5 10427 (eval $ac_link) 2>conftest.er1
10428 ac_status=$?
10429 grep -v '^ *+' conftest.er1 >conftest.err
10430 rm -f conftest.er1
10431 cat conftest.err >&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } &&
10434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
9899 ac_status=$? 10437 ac_status=$?
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10439 (exit $ac_status); }; } &&
10440 { ac_try='test -s conftest$ac_exeext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5 10442 (eval $ac_try) 2>&5
9904 ac_status=$? 10443 ac_status=$?
@@ -9907,11 +10446,9 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9907 echo "$as_me:$LINENO: result: yes" >&5 10446 echo "$as_me:$LINENO: result: yes" >&5
9908echo "${ECHO_T}yes" >&6 10447echo "${ECHO_T}yes" >&6
9909else 10448else
9910 echo "$as_me: program exited with status $ac_status" >&5 10449 echo "$as_me: failed program was:" >&5
9911echo "$as_me: failed program was:" >&5
9912sed 's/^/| /' conftest.$ac_ext >&5 10450sed 's/^/| /' conftest.$ac_ext >&5
9913 10451
9914( exit $ac_status )
9915 10452
9916 echo "$as_me:$LINENO: result: no" >&5 10453 echo "$as_me:$LINENO: result: no" >&5
9917echo "${ECHO_T}no" >&6 10454echo "${ECHO_T}no" >&6
@@ -9920,8 +10457,8 @@ echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
9920 { (exit 1); exit 1; }; } 10457 { (exit 1); exit 1; }; }
9921 10458
9922fi 10459fi
9923rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10460rm -f conftest.err conftest.$ac_objext \
9924fi 10461 conftest$ac_exeext conftest.$ac_ext
9925 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 10462 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
9926echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 10463echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6
9927 cat >conftest.$ac_ext <<_ACEOF 10464 cat >conftest.$ac_ext <<_ACEOF
@@ -9963,7 +10500,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9963 (exit $ac_status); }; }; then 10500 (exit $ac_status); }; }; then
9964 echo "$as_me:$LINENO: result: yes" >&5 10501 echo "$as_me:$LINENO: result: yes" >&5
9965echo "${ECHO_T}yes" >&6 10502echo "${ECHO_T}yes" >&6
9966 cat >>confdefs.h <<\_ACEOF 10503
10504cat >>confdefs.h <<\_ACEOF
9967#define SKEYCHALLENGE_4ARG 1 10505#define SKEYCHALLENGE_4ARG 1
9968_ACEOF 10506_ACEOF
9969 10507
@@ -10062,7 +10600,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10062 10600
10063 echo "$as_me:$LINENO: result: yes" >&5 10601 echo "$as_me:$LINENO: result: yes" >&5
10064echo "${ECHO_T}yes" >&6 10602echo "${ECHO_T}yes" >&6
10065 cat >>confdefs.h <<\_ACEOF 10603
10604cat >>confdefs.h <<\_ACEOF
10066#define LIBWRAP 1 10605#define LIBWRAP 1
10067_ACEOF 10606_ACEOF
10068 10607
@@ -10096,8 +10635,12 @@ if test "${with_libedit+set}" = set; then
10096 withval="$with_libedit" 10635 withval="$with_libedit"
10097 if test "x$withval" != "xno" ; then 10636 if test "x$withval" != "xno" ; then
10098 if test "x$withval" != "xyes"; then 10637 if test "x$withval" != "xyes"; then
10099 CPPFLAGS="$CPPFLAGS -I$withval/include" 10638 CPPFLAGS="$CPPFLAGS -I${withval}/include"
10100 LDFLAGS="$LDFLAGS -L$withval/lib" 10639 if test -n "${need_dash_r}"; then
10640 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
10641 else
10642 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
10643 fi
10101 fi 10644 fi
10102 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 10645 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
10103echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 10646echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6
@@ -10166,7 +10709,7 @@ echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6
10166if test $ac_cv_lib_edit_el_init = yes; then 10709if test $ac_cv_lib_edit_el_init = yes; then
10167 10710
10168cat >>confdefs.h <<\_ACEOF 10711cat >>confdefs.h <<\_ACEOF
10169#define USE_LIBEDIT 10712#define USE_LIBEDIT 1
10170_ACEOF 10713_ACEOF
10171 10714
10172 LIBEDIT="-ledit -lcurses" 10715 LIBEDIT="-ledit -lcurses"
@@ -10688,7 +11231,7 @@ done
10688 11231
10689 11232
10690cat >>confdefs.h <<\_ACEOF 11233cat >>confdefs.h <<\_ACEOF
10691#define USE_BSM_AUDIT 11234#define USE_BSM_AUDIT 1
10692_ACEOF 11235_ACEOF
10693 11236
10694 ;; 11237 ;;
@@ -10698,7 +11241,7 @@ _ACEOF
10698echo "${ECHO_T}debug" >&6 11241echo "${ECHO_T}debug" >&6
10699 11242
10700cat >>confdefs.h <<\_ACEOF 11243cat >>confdefs.h <<\_ACEOF
10701#define SSH_AUDIT_EVENTS 11244#define SSH_AUDIT_EVENTS 1
10702_ACEOF 11245_ACEOF
10703 11246
10704 ;; 11247 ;;
@@ -10795,8 +11338,10 @@ fi;
10795 11338
10796 11339
10797 11340
11341
10798for ac_func in \ 11342for ac_func in \
10799 arc4random \ 11343 arc4random \
11344 asprintf \
10800 b64_ntop \ 11345 b64_ntop \
10801 __b64_ntop \ 11346 __b64_ntop \
10802 b64_pton \ 11347 b64_pton \
@@ -10872,7 +11417,7 @@ for ac_func in \
10872 truncate \ 11417 truncate \
10873 unsetenv \ 11418 unsetenv \
10874 updwtmpx \ 11419 updwtmpx \
10875 utimes \ 11420 vasprintf \
10876 vhangup \ 11421 vhangup \
10877 vsnprintf \ 11422 vsnprintf \
10878 waitpid \ 11423 waitpid \
@@ -11261,7 +11806,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
11261echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 11806echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
11262if test "$ac_cv_search_nanosleep" != no; then 11807if test "$ac_cv_search_nanosleep" != no; then
11263 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 11808 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
11264 cat >>confdefs.h <<\_ACEOF 11809
11810cat >>confdefs.h <<\_ACEOF
11265#define HAVE_NANOSLEEP 1 11811#define HAVE_NANOSLEEP 1
11266_ACEOF 11812_ACEOF
11267 11813
@@ -11968,6 +12514,7 @@ echo "$as_me: failed program was:" >&5
11968sed 's/^/| /' conftest.$ac_ext >&5 12514sed 's/^/| /' conftest.$ac_ext >&5
11969 12515
11970( exit $ac_status ) 12516( exit $ac_status )
12517
11971cat >>confdefs.h <<\_ACEOF 12518cat >>confdefs.h <<\_ACEOF
11972#define BROKEN_SETRESUID 1 12519#define BROKEN_SETRESUID 1
11973_ACEOF 12520_ACEOF
@@ -12118,6 +12665,7 @@ echo "$as_me: failed program was:" >&5
12118sed 's/^/| /' conftest.$ac_ext >&5 12665sed 's/^/| /' conftest.$ac_ext >&5
12119 12666
12120( exit $ac_status ) 12667( exit $ac_status )
12668
12121cat >>confdefs.h <<\_ACEOF 12669cat >>confdefs.h <<\_ACEOF
12122#define BROKEN_SETRESGID 1 12670#define BROKEN_SETRESGID 1
12123_ACEOF 12671_ACEOF
@@ -12739,7 +13287,8 @@ fi
12739echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 13287echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
12740echo "${ECHO_T}$ac_cv_func_daemon" >&6 13288echo "${ECHO_T}$ac_cv_func_daemon" >&6
12741if test $ac_cv_func_daemon = yes; then 13289if test $ac_cv_func_daemon = yes; then
12742 cat >>confdefs.h <<\_ACEOF 13290
13291cat >>confdefs.h <<\_ACEOF
12743#define HAVE_DAEMON 1 13292#define HAVE_DAEMON 1
12744_ACEOF 13293_ACEOF
12745 13294
@@ -12908,7 +13457,8 @@ fi
12908echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 13457echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
12909echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 13458echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
12910if test $ac_cv_func_getpagesize = yes; then 13459if test $ac_cv_func_getpagesize = yes; then
12911 cat >>confdefs.h <<\_ACEOF 13460
13461cat >>confdefs.h <<\_ACEOF
12912#define HAVE_GETPAGESIZE 1 13462#define HAVE_GETPAGESIZE 1
12913_ACEOF 13463_ACEOF
12914 13464
@@ -13029,7 +13579,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13029 13579
13030 echo "$as_me:$LINENO: result: no" >&5 13580 echo "$as_me:$LINENO: result: no" >&5
13031echo "${ECHO_T}no" >&6 13581echo "${ECHO_T}no" >&6
13032 cat >>confdefs.h <<\_ACEOF 13582
13583cat >>confdefs.h <<\_ACEOF
13033#define BROKEN_SNPRINTF 1 13584#define BROKEN_SNPRINTF 1
13034_ACEOF 13585_ACEOF
13035 13586
@@ -13041,6 +13592,133 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
13041fi 13592fi
13042fi 13593fi
13043 13594
13595# If we don't have a working asprintf, then we strongly depend on vsnprintf
13596# returning the right thing on overflow: the number of characters it tried to
13597# create (as per SUSv3)
13598if test "x$ac_cv_func_asprintf" != "xyes" && \
13599 test "x$ac_cv_func_vsnprintf" = "xyes" ; then
13600 echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5
13601echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6
13602 if test "$cross_compiling" = yes; then
13603 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5
13604echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;}
13605
13606else
13607 cat >conftest.$ac_ext <<_ACEOF
13608/* confdefs.h. */
13609_ACEOF
13610cat confdefs.h >>conftest.$ac_ext
13611cat >>conftest.$ac_ext <<_ACEOF
13612/* end confdefs.h. */
13613
13614#include <sys/types.h>
13615#include <stdio.h>
13616#include <stdarg.h>
13617
13618int x_snprintf(char *str,size_t count,const char *fmt,...)
13619{
13620 size_t ret; va_list ap;
13621 va_start(ap, fmt); ret = vsnprintf(str, count, fmt, ap); va_end(ap);
13622 return ret;
13623}
13624int main(void)
13625{
13626 char x[1];
13627 exit(x_snprintf(x, 1, "%s %d", "hello", 12345) == 11 ? 0 : 1);
13628}
13629_ACEOF
13630rm -f conftest$ac_exeext
13631if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13632 (eval $ac_link) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; }; then
13641 echo "$as_me:$LINENO: result: yes" >&5
13642echo "${ECHO_T}yes" >&6
13643else
13644 echo "$as_me: program exited with status $ac_status" >&5
13645echo "$as_me: failed program was:" >&5
13646sed 's/^/| /' conftest.$ac_ext >&5
13647
13648( exit $ac_status )
13649
13650 echo "$as_me:$LINENO: result: no" >&5
13651echo "${ECHO_T}no" >&6
13652
13653cat >>confdefs.h <<\_ACEOF
13654#define BROKEN_SNPRINTF 1
13655_ACEOF
13656
13657 { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5
13658echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;}
13659
13660fi
13661rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13662fi
13663fi
13664
13665# On systems where [v]snprintf is broken, but is declared in stdio,
13666# check that the fmt argument is const char * or just char *.
13667# This is only useful for when BROKEN_SNPRINTF
13668echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5
13669echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6
13670cat >conftest.$ac_ext <<_ACEOF
13671/* confdefs.h. */
13672_ACEOF
13673cat confdefs.h >>conftest.$ac_ext
13674cat >>conftest.$ac_ext <<_ACEOF
13675/* end confdefs.h. */
13676#include <stdio.h>
13677 int snprintf(char *a, size_t b, const char *c, ...) { return 0; }
13678 int main(void) { snprintf(0, 0, 0); }
13679
13680_ACEOF
13681rm -f conftest.$ac_objext
13682if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683 (eval $ac_compile) 2>conftest.er1
13684 ac_status=$?
13685 grep -v '^ *+' conftest.er1 >conftest.err
13686 rm -f conftest.er1
13687 cat conftest.err >&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); } &&
13690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 echo "$as_me:$LINENO: result: yes" >&5
13703echo "${ECHO_T}yes" >&6
13704
13705cat >>confdefs.h <<\_ACEOF
13706#define SNPRINTF_CONST const
13707_ACEOF
13708
13709else
13710 echo "$as_me: failed program was:" >&5
13711sed 's/^/| /' conftest.$ac_ext >&5
13712
13713echo "$as_me:$LINENO: result: no" >&5
13714echo "${ECHO_T}no" >&6
13715 cat >>confdefs.h <<\_ACEOF
13716#define SNPRINTF_CONST /* not const */
13717_ACEOF
13718
13719fi
13720rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13721
13044# Check for missing getpeereid (or equiv) support 13722# Check for missing getpeereid (or equiv) support
13045NO_PEERCHECK="" 13723NO_PEERCHECK=""
13046if test "x$ac_cv_func_getpeereid" != "xyes" ; then 13724if test "x$ac_cv_func_getpeereid" != "xyes" ; then
@@ -13087,7 +13765,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13087echo "${ECHO_T}yes" >&6 13765echo "${ECHO_T}yes" >&6
13088 13766
13089cat >>confdefs.h <<\_ACEOF 13767cat >>confdefs.h <<\_ACEOF
13090#define HAVE_SO_PEERCRED 13768#define HAVE_SO_PEERCRED 1
13091_ACEOF 13769_ACEOF
13092 13770
13093 13771
@@ -13156,7 +13834,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13156 13834
13157 echo "$as_me:$LINENO: result: yes" >&5 13835 echo "$as_me:$LINENO: result: yes" >&5
13158echo "${ECHO_T}yes" >&6 13836echo "${ECHO_T}yes" >&6
13159 cat >>confdefs.h <<\_ACEOF 13837
13838cat >>confdefs.h <<\_ACEOF
13160#define HAVE_STRICT_MKSTEMP 1 13839#define HAVE_STRICT_MKSTEMP 1
13161_ACEOF 13840_ACEOF
13162 13841
@@ -13170,11 +13849,11 @@ if test ! -z "$check_for_openpty_ctty_bug"; then
13170 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 13849 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
13171echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 13850echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
13172 if test "$cross_compiling" = yes; then 13851 if test "$cross_compiling" = yes; then
13173 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13852
13174See \`config.log' for more details." >&5 13853 echo "$as_me:$LINENO: result: cross-compiling" >&5
13175echo "$as_me: error: cannot run test program while cross compiling 13854echo "${ECHO_T}cross-compiling" >&6
13176See \`config.log' for more details." >&2;} 13855
13177 { (exit 1); exit 1; }; } 13856
13178else 13857else
13179 cat >conftest.$ac_ext <<_ACEOF 13858 cat >conftest.$ac_ext <<_ACEOF
13180/* confdefs.h. */ 13859/* confdefs.h. */
@@ -13245,7 +13924,6 @@ echo "${ECHO_T}no" >&6
13245_ACEOF 13924_ACEOF
13246 13925
13247 13926
13248
13249fi 13927fi
13250rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13928rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13251fi 13929fi
@@ -13256,11 +13934,11 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13256 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 13934 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13257echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 13935echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13258 if test "$cross_compiling" = yes; then 13936 if test "$cross_compiling" = yes; then
13259 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 13937
13260See \`config.log' for more details." >&5 13938 echo "$as_me:$LINENO: result: cross-compiling" >&5
13261echo "$as_me: error: cannot run test program while cross compiling 13939echo "${ECHO_T}cross-compiling" >&6
13262See \`config.log' for more details." >&2;} 13940
13263 { (exit 1); exit 1; }; } 13941
13264else 13942else
13265 cat >conftest.$ac_ext <<_ACEOF 13943 cat >conftest.$ac_ext <<_ACEOF
13266/* confdefs.h. */ 13944/* confdefs.h. */
@@ -13353,7 +14031,6 @@ echo "${ECHO_T}no" >&6
13353_ACEOF 14031_ACEOF
13354 14032
13355 14033
13356
13357fi 14034fi
13358rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14035rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13359fi 14036fi
@@ -13364,11 +14041,10 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13364 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 14041 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13365echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 14042echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13366 if test "$cross_compiling" = yes; then 14043 if test "$cross_compiling" = yes; then
13367 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14044 echo "$as_me:$LINENO: result: cross-compiling" >&5
13368See \`config.log' for more details." >&5 14045echo "${ECHO_T}cross-compiling" >&6
13369echo "$as_me: error: cannot run test program while cross compiling 14046
13370See \`config.log' for more details." >&2;} 14047 ]
13371 { (exit 1); exit 1; }; }
13372else 14048else
13373 cat >conftest.$ac_ext <<_ACEOF 14049 cat >conftest.$ac_ext <<_ACEOF
13374/* confdefs.h. */ 14050/* confdefs.h. */
@@ -13436,7 +14112,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13436echo "${ECHO_T}yes" >&6 14112echo "${ECHO_T}yes" >&6
13437 14113
13438cat >>confdefs.h <<\_ACEOF 14114cat >>confdefs.h <<\_ACEOF
13439#define AIX_GETNAMEINFO_HACK 14115#define AIX_GETNAMEINFO_HACK 1
13440_ACEOF 14116_ACEOF
13441 14117
13442 14118
@@ -13454,7 +14130,6 @@ echo "${ECHO_T}no" >&6
13454_ACEOF 14130_ACEOF
13455 14131
13456 14132
13457
13458fi 14133fi
13459rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14134rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13460fi 14135fi
@@ -13945,7 +14620,8 @@ done
13945 14620
13946 PAM_MSG="yes" 14621 PAM_MSG="yes"
13947 14622
13948 cat >>confdefs.h <<\_ACEOF 14623
14624cat >>confdefs.h <<\_ACEOF
13949#define USE_PAM 1 14625#define USE_PAM 1
13950_ACEOF 14626_ACEOF
13951 14627
@@ -14015,7 +14691,8 @@ else
14015sed 's/^/| /' conftest.$ac_ext >&5 14691sed 's/^/| /' conftest.$ac_ext >&5
14016 14692
14017 14693
14018 cat >>confdefs.h <<\_ACEOF 14694
14695cat >>confdefs.h <<\_ACEOF
14019#define HAVE_OLD_PAM 1 14696#define HAVE_OLD_PAM 1
14020_ACEOF 14697_ACEOF
14021 14698
@@ -14107,7 +14784,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14107 ac_status=$? 14784 ac_status=$?
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then 14786 (exit $ac_status); }; }; then
14110 cat >>confdefs.h <<\_ACEOF 14787
14788cat >>confdefs.h <<\_ACEOF
14111#define HAVE_OPENSSL 1 14789#define HAVE_OPENSSL 1
14112_ACEOF 14790_ACEOF
14113 14791
@@ -14385,6 +15063,63 @@ fi
14385rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15063rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14386fi 15064fi
14387 15065
15066# Check for OpenSSL without EVP_aes_{192,256}_cbc
15067echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5
15068echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6
15069cat >conftest.$ac_ext <<_ACEOF
15070/* confdefs.h. */
15071_ACEOF
15072cat confdefs.h >>conftest.$ac_ext
15073cat >>conftest.$ac_ext <<_ACEOF
15074/* end confdefs.h. */
15075
15076#include <string.h>
15077#include <openssl/evp.h>
15078int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
15079
15080_ACEOF
15081rm -f conftest.$ac_objext
15082if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>conftest.er1
15084 ac_status=$?
15085 grep -v '^ *+' conftest.er1 >conftest.err
15086 rm -f conftest.er1
15087 cat conftest.err >&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } &&
15090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; } &&
15096 { ac_try='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102
15103 echo "$as_me:$LINENO: result: no" >&5
15104echo "${ECHO_T}no" >&6
15105
15106else
15107 echo "$as_me: failed program was:" >&5
15108sed 's/^/| /' conftest.$ac_ext >&5
15109
15110
15111 echo "$as_me:$LINENO: result: yes" >&5
15112echo "${ECHO_T}yes" >&6
15113
15114cat >>confdefs.h <<\_ACEOF
15115#define OPENSSL_LOBOTOMISED_AES 1
15116_ACEOF
15117
15118
15119
15120fi
15121rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15122
14388# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 15123# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
14389# because the system crypt() is more featureful. 15124# because the system crypt() is more featureful.
14390if test "x$check_for_libcrypt_before" = "x1"; then 15125if test "x$check_for_libcrypt_before" = "x1"; then
@@ -14694,7 +15429,8 @@ fi;
14694# Which randomness source do we use? 15429# Which randomness source do we use?
14695if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then 15430if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then
14696 # OpenSSL only 15431 # OpenSSL only
14697 cat >>confdefs.h <<\_ACEOF 15432
15433cat >>confdefs.h <<\_ACEOF
14698#define OPENSSL_PRNG_ONLY 1 15434#define OPENSSL_PRNG_ONLY 1
14699_ACEOF 15435_ACEOF
14700 15436
@@ -14729,7 +15465,8 @@ echo "$as_me: error: You must specify a numeric port number for --with-prngd-por
14729 esac 15465 esac
14730 if test ! -z "$withval" ; then 15466 if test ! -z "$withval" ; then
14731 PRNGD_PORT="$withval" 15467 PRNGD_PORT="$withval"
14732 cat >>confdefs.h <<_ACEOF 15468
15469cat >>confdefs.h <<_ACEOF
14733#define PRNGD_PORT $PRNGD_PORT 15470#define PRNGD_PORT $PRNGD_PORT
14734_ACEOF 15471_ACEOF
14735 15472
@@ -14771,7 +15508,8 @@ echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
14771echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 15508echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
14772 fi 15509 fi
14773 PRNGD_SOCKET="$withval" 15510 PRNGD_SOCKET="$withval"
14774 cat >>confdefs.h <<_ACEOF 15511
15512cat >>confdefs.h <<_ACEOF
14775#define PRNGD_SOCKET "$PRNGD_SOCKET" 15513#define PRNGD_SOCKET "$PRNGD_SOCKET"
14776_ACEOF 15514_ACEOF
14777 15515
@@ -14820,6 +15558,7 @@ if test "${with_entropy_timeout+set}" = set; then
14820 15558
14821 15559
14822fi; 15560fi;
15561
14823cat >>confdefs.h <<_ACEOF 15562cat >>confdefs.h <<_ACEOF
14824#define ENTROPY_TIMEOUT_MSEC $entropy_timeout 15563#define ENTROPY_TIMEOUT_MSEC $entropy_timeout
14825_ACEOF 15564_ACEOF
@@ -14838,6 +15577,7 @@ if test "${with_privsep_user+set}" = set; then
14838 15577
14839 15578
14840fi; 15579fi;
15580
14841cat >>confdefs.h <<_ACEOF 15581cat >>confdefs.h <<_ACEOF
14842#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" 15582#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
14843_ACEOF 15583_ACEOF
@@ -15603,7 +16343,199 @@ if test ! -z "$SONY" ; then
15603 LIBS="$LIBS -liberty"; 16343 LIBS="$LIBS -liberty";
15604fi 16344fi
15605 16345
15606# Checks for data types 16346# Check for long long datatypes
16347echo "$as_me:$LINENO: checking for long long" >&5
16348echo $ECHO_N "checking for long long... $ECHO_C" >&6
16349if test "${ac_cv_type_long_long+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351else
16352 cat >conftest.$ac_ext <<_ACEOF
16353/* confdefs.h. */
16354_ACEOF
16355cat confdefs.h >>conftest.$ac_ext
16356cat >>conftest.$ac_ext <<_ACEOF
16357/* end confdefs.h. */
16358$ac_includes_default
16359int
16360main ()
16361{
16362if ((long long *) 0)
16363 return 0;
16364if (sizeof (long long))
16365 return 0;
16366 ;
16367 return 0;
16368}
16369_ACEOF
16370rm -f conftest.$ac_objext
16371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16372 (eval $ac_compile) 2>conftest.er1
16373 ac_status=$?
16374 grep -v '^ *+' conftest.er1 >conftest.err
16375 rm -f conftest.er1
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } &&
16379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_cv_type_long_long=yes
16392else
16393 echo "$as_me: failed program was:" >&5
16394sed 's/^/| /' conftest.$ac_ext >&5
16395
16396ac_cv_type_long_long=no
16397fi
16398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16399fi
16400echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16401echo "${ECHO_T}$ac_cv_type_long_long" >&6
16402if test $ac_cv_type_long_long = yes; then
16403
16404cat >>confdefs.h <<_ACEOF
16405#define HAVE_LONG_LONG 1
16406_ACEOF
16407
16408
16409fi
16410echo "$as_me:$LINENO: checking for unsigned long long" >&5
16411echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
16412if test "${ac_cv_type_unsigned_long_long+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414else
16415 cat >conftest.$ac_ext <<_ACEOF
16416/* confdefs.h. */
16417_ACEOF
16418cat confdefs.h >>conftest.$ac_ext
16419cat >>conftest.$ac_ext <<_ACEOF
16420/* end confdefs.h. */
16421$ac_includes_default
16422int
16423main ()
16424{
16425if ((unsigned long long *) 0)
16426 return 0;
16427if (sizeof (unsigned long long))
16428 return 0;
16429 ;
16430 return 0;
16431}
16432_ACEOF
16433rm -f conftest.$ac_objext
16434if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16436 ac_status=$?
16437 grep -v '^ *+' conftest.er1 >conftest.err
16438 rm -f conftest.er1
16439 cat conftest.err >&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try='test -s conftest.$ac_objext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 ac_cv_type_unsigned_long_long=yes
16455else
16456 echo "$as_me: failed program was:" >&5
16457sed 's/^/| /' conftest.$ac_ext >&5
16458
16459ac_cv_type_unsigned_long_long=no
16460fi
16461rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16462fi
16463echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
16464echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
16465if test $ac_cv_type_unsigned_long_long = yes; then
16466
16467cat >>confdefs.h <<_ACEOF
16468#define HAVE_UNSIGNED_LONG_LONG 1
16469_ACEOF
16470
16471
16472fi
16473echo "$as_me:$LINENO: checking for long double" >&5
16474echo $ECHO_N "checking for long double... $ECHO_C" >&6
16475if test "${ac_cv_type_long_double+set}" = set; then
16476 echo $ECHO_N "(cached) $ECHO_C" >&6
16477else
16478 cat >conftest.$ac_ext <<_ACEOF
16479/* confdefs.h. */
16480_ACEOF
16481cat confdefs.h >>conftest.$ac_ext
16482cat >>conftest.$ac_ext <<_ACEOF
16483/* end confdefs.h. */
16484$ac_includes_default
16485int
16486main ()
16487{
16488if ((long double *) 0)
16489 return 0;
16490if (sizeof (long double))
16491 return 0;
16492 ;
16493 return 0;
16494}
16495_ACEOF
16496rm -f conftest.$ac_objext
16497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16498 (eval $ac_compile) 2>conftest.er1
16499 ac_status=$?
16500 grep -v '^ *+' conftest.er1 >conftest.err
16501 rm -f conftest.er1
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; } &&
16511 { ac_try='test -s conftest.$ac_objext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16514 ac_status=$?
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_cv_type_long_double=yes
16518else
16519 echo "$as_me: failed program was:" >&5
16520sed 's/^/| /' conftest.$ac_ext >&5
16521
16522ac_cv_type_long_double=no
16523fi
16524rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16525fi
16526echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
16527echo "${ECHO_T}$ac_cv_type_long_double" >&6
16528if test $ac_cv_type_long_double = yes; then
16529
16530cat >>confdefs.h <<_ACEOF
16531#define HAVE_LONG_DOUBLE 1
16532_ACEOF
16533
16534
16535fi
16536
16537
16538# Check datatype sizes
15607echo "$as_me:$LINENO: checking for char" >&5 16539echo "$as_me:$LINENO: checking for char" >&5
15608echo $ECHO_N "checking for char... $ECHO_C" >&6 16540echo $ECHO_N "checking for char... $ECHO_C" >&6
15609if test "${ac_cv_type_char+set}" = set; then 16541if test "${ac_cv_type_char+set}" = set; then
@@ -17640,6 +18572,124 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
17640 ac_cv_sizeof_long_long_int=0 18572 ac_cv_sizeof_long_long_int=0
17641fi 18573fi
17642 18574
18575# compute LLONG_MIN and LLONG_MAX if we don't know them.
18576if test -z "$have_llong_max"; then
18577 echo "$as_me:$LINENO: checking for max value of long long" >&5
18578echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
18579 if test "$cross_compiling" = yes; then
18580
18581 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
18582echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18583
18584
18585else
18586 cat >conftest.$ac_ext <<_ACEOF
18587/* confdefs.h. */
18588_ACEOF
18589cat confdefs.h >>conftest.$ac_ext
18590cat >>conftest.$ac_ext <<_ACEOF
18591/* end confdefs.h. */
18592
18593#include <stdio.h>
18594/* Why is this so damn hard? */
18595#ifdef __GNUC__
18596# undef __GNUC__
18597#endif
18598#define __USE_ISOC99
18599#include <limits.h>
18600#define DATA "conftest.llminmax"
18601int main(void) {
18602 FILE *f;
18603 long long i, llmin, llmax = 0;
18604
18605 if((f = fopen(DATA,"w")) == NULL)
18606 exit(1);
18607
18608#if defined(LLONG_MIN) && defined(LLONG_MAX)
18609 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
18610 llmin = LLONG_MIN;
18611 llmax = LLONG_MAX;
18612#else
18613 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
18614 /* This will work on one's complement and two's complement */
18615 for (i = 1; i > llmax; i <<= 1, i++)
18616 llmax = i;
18617 llmin = llmax + 1LL; /* wrap */
18618#endif
18619
18620 /* Sanity check */
18621 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
18622 || llmax - 1 > llmax) {
18623 fprintf(f, "unknown unknown\n");
18624 exit(2);
18625 }
18626
18627 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
18628 exit(3);
18629
18630 exit(0);
18631}
18632
18633_ACEOF
18634rm -f conftest$ac_exeext
18635if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18636 (eval $ac_link) 2>&5
18637 ac_status=$?
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18642 ac_status=$?
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; }; then
18645
18646 llong_min=`$AWK '{print $1}' conftest.llminmax`
18647 llong_max=`$AWK '{print $2}' conftest.llminmax`
18648
18649 # snprintf on some Tru64s doesn't understand "%lld"
18650 case "$host" in
18651 alpha-dec-osf*)
18652 if test "x$ac_cv_sizeof_long_long_int" = "x8" &&
18653 test "x$llong_max" = "xld"; then
18654 llong_min="-9223372036854775808"
18655 llong_max="9223372036854775807"
18656 fi
18657 ;;
18658 esac
18659
18660 echo "$as_me:$LINENO: result: $llong_max" >&5
18661echo "${ECHO_T}$llong_max" >&6
18662
18663cat >>confdefs.h <<_ACEOF
18664#define LLONG_MAX ${llong_max}LL
18665_ACEOF
18666
18667 echo "$as_me:$LINENO: checking for min value of long long" >&5
18668echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
18669 echo "$as_me:$LINENO: result: $llong_min" >&5
18670echo "${ECHO_T}$llong_min" >&6
18671
18672cat >>confdefs.h <<_ACEOF
18673#define LLONG_MIN ${llong_min}LL
18674_ACEOF
18675
18676
18677else
18678 echo "$as_me: program exited with status $ac_status" >&5
18679echo "$as_me: failed program was:" >&5
18680sed 's/^/| /' conftest.$ac_ext >&5
18681
18682( exit $ac_status )
18683
18684 echo "$as_me:$LINENO: result: not found" >&5
18685echo "${ECHO_T}not found" >&6
18686
18687fi
18688rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18689fi
18690fi
18691
18692
17643# More checks for data types 18693# More checks for data types
17644echo "$as_me:$LINENO: checking for u_int type" >&5 18694echo "$as_me:$LINENO: checking for u_int type" >&5
17645echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 18695echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
@@ -17697,7 +18747,8 @@ fi
17697echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 18747echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
17698echo "${ECHO_T}$ac_cv_have_u_int" >&6 18748echo "${ECHO_T}$ac_cv_have_u_int" >&6
17699if test "x$ac_cv_have_u_int" = "xyes" ; then 18749if test "x$ac_cv_have_u_int" = "xyes" ; then
17700 cat >>confdefs.h <<\_ACEOF 18750
18751cat >>confdefs.h <<\_ACEOF
17701#define HAVE_U_INT 1 18752#define HAVE_U_INT 1
17702_ACEOF 18753_ACEOF
17703 18754
@@ -17760,7 +18811,8 @@ fi
17760echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 18811echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
17761echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 18812echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
17762if test "x$ac_cv_have_intxx_t" = "xyes" ; then 18813if test "x$ac_cv_have_intxx_t" = "xyes" ; then
17763 cat >>confdefs.h <<\_ACEOF 18814
18815cat >>confdefs.h <<\_ACEOF
17764#define HAVE_INTXX_T 1 18816#define HAVE_INTXX_T 1
17765_ACEOF 18817_ACEOF
17766 18818
@@ -17892,7 +18944,8 @@ fi
17892echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 18944echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
17893echo "${ECHO_T}$ac_cv_have_int64_t" >&6 18945echo "${ECHO_T}$ac_cv_have_int64_t" >&6
17894if test "x$ac_cv_have_int64_t" = "xyes" ; then 18946if test "x$ac_cv_have_int64_t" = "xyes" ; then
17895 cat >>confdefs.h <<\_ACEOF 18947
18948cat >>confdefs.h <<\_ACEOF
17896#define HAVE_INT64_T 1 18949#define HAVE_INT64_T 1
17897_ACEOF 18950_ACEOF
17898 18951
@@ -17954,7 +19007,8 @@ fi
17954echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 19007echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
17955echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 19008echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
17956if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 19009if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
17957 cat >>confdefs.h <<\_ACEOF 19010
19011cat >>confdefs.h <<\_ACEOF
17958#define HAVE_U_INTXX_T 1 19012#define HAVE_U_INTXX_T 1
17959_ACEOF 19013_ACEOF
17960 19014
@@ -18075,7 +19129,8 @@ fi
18075echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 19129echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
18076echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 19130echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
18077if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 19131if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
18078 cat >>confdefs.h <<\_ACEOF 19132
19133cat >>confdefs.h <<\_ACEOF
18079#define HAVE_U_INT64_T 1 19134#define HAVE_U_INT64_T 1
18080_ACEOF 19135_ACEOF
18081 19136
@@ -18199,7 +19254,8 @@ fi
18199echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 19254echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
18200echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 19255echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
18201 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 19256 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
18202 cat >>confdefs.h <<\_ACEOF 19257
19258cat >>confdefs.h <<\_ACEOF
18203#define HAVE_UINTXX_T 1 19259#define HAVE_UINTXX_T 1
18204_ACEOF 19260_ACEOF
18205 19261
@@ -18393,7 +19449,8 @@ fi
18393echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 19449echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
18394echo "${ECHO_T}$ac_cv_have_u_char" >&6 19450echo "${ECHO_T}$ac_cv_have_u_char" >&6
18395if test "x$ac_cv_have_u_char" = "xyes" ; then 19451if test "x$ac_cv_have_u_char" = "xyes" ; then
18396 cat >>confdefs.h <<\_ACEOF 19452
19453cat >>confdefs.h <<\_ACEOF
18397#define HAVE_U_CHAR 1 19454#define HAVE_U_CHAR 1
18398_ACEOF 19455_ACEOF
18399 19456
@@ -18739,7 +19796,8 @@ fi
18739echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 19796echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
18740echo "${ECHO_T}$ac_cv_have_size_t" >&6 19797echo "${ECHO_T}$ac_cv_have_size_t" >&6
18741if test "x$ac_cv_have_size_t" = "xyes" ; then 19798if test "x$ac_cv_have_size_t" = "xyes" ; then
18742 cat >>confdefs.h <<\_ACEOF 19799
19800cat >>confdefs.h <<\_ACEOF
18743#define HAVE_SIZE_T 1 19801#define HAVE_SIZE_T 1
18744_ACEOF 19802_ACEOF
18745 19803
@@ -18803,7 +19861,8 @@ fi
18803echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 19861echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
18804echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 19862echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
18805if test "x$ac_cv_have_ssize_t" = "xyes" ; then 19863if test "x$ac_cv_have_ssize_t" = "xyes" ; then
18806 cat >>confdefs.h <<\_ACEOF 19864
19865cat >>confdefs.h <<\_ACEOF
18807#define HAVE_SSIZE_T 1 19866#define HAVE_SSIZE_T 1
18808_ACEOF 19867_ACEOF
18809 19868
@@ -18867,7 +19926,8 @@ fi
18867echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 19926echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
18868echo "${ECHO_T}$ac_cv_have_clock_t" >&6 19927echo "${ECHO_T}$ac_cv_have_clock_t" >&6
18869if test "x$ac_cv_have_clock_t" = "xyes" ; then 19928if test "x$ac_cv_have_clock_t" = "xyes" ; then
18870 cat >>confdefs.h <<\_ACEOF 19929
19930cat >>confdefs.h <<\_ACEOF
18871#define HAVE_CLOCK_T 1 19931#define HAVE_CLOCK_T 1
18872_ACEOF 19932_ACEOF
18873 19933
@@ -18980,7 +20040,8 @@ fi
18980echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 20040echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
18981echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 20041echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
18982if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 20042if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
18983 cat >>confdefs.h <<\_ACEOF 20043
20044cat >>confdefs.h <<\_ACEOF
18984#define HAVE_SA_FAMILY_T 1 20045#define HAVE_SA_FAMILY_T 1
18985_ACEOF 20046_ACEOF
18986 20047
@@ -19044,7 +20105,8 @@ fi
19044echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 20105echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
19045echo "${ECHO_T}$ac_cv_have_pid_t" >&6 20106echo "${ECHO_T}$ac_cv_have_pid_t" >&6
19046if test "x$ac_cv_have_pid_t" = "xyes" ; then 20107if test "x$ac_cv_have_pid_t" = "xyes" ; then
19047 cat >>confdefs.h <<\_ACEOF 20108
20109cat >>confdefs.h <<\_ACEOF
19048#define HAVE_PID_T 1 20110#define HAVE_PID_T 1
19049_ACEOF 20111_ACEOF
19050 20112
@@ -19108,7 +20170,8 @@ fi
19108echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 20170echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
19109echo "${ECHO_T}$ac_cv_have_mode_t" >&6 20171echo "${ECHO_T}$ac_cv_have_mode_t" >&6
19110if test "x$ac_cv_have_mode_t" = "xyes" ; then 20172if test "x$ac_cv_have_mode_t" = "xyes" ; then
19111 cat >>confdefs.h <<\_ACEOF 20173
20174cat >>confdefs.h <<\_ACEOF
19112#define HAVE_MODE_T 1 20175#define HAVE_MODE_T 1
19113_ACEOF 20176_ACEOF
19114 20177
@@ -19174,7 +20237,8 @@ fi
19174echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 20237echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
19175echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 20238echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
19176if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 20239if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
19177 cat >>confdefs.h <<\_ACEOF 20240
20241cat >>confdefs.h <<\_ACEOF
19178#define HAVE_STRUCT_SOCKADDR_STORAGE 1 20242#define HAVE_STRUCT_SOCKADDR_STORAGE 1
19179_ACEOF 20243_ACEOF
19180 20244
@@ -19239,7 +20303,8 @@ fi
19239echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 20303echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
19240echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 20304echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
19241if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 20305if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
19242 cat >>confdefs.h <<\_ACEOF 20306
20307cat >>confdefs.h <<\_ACEOF
19243#define HAVE_STRUCT_SOCKADDR_IN6 1 20308#define HAVE_STRUCT_SOCKADDR_IN6 1
19244_ACEOF 20309_ACEOF
19245 20310
@@ -19304,7 +20369,8 @@ fi
19304echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 20369echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
19305echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 20370echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
19306if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 20371if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
19307 cat >>confdefs.h <<\_ACEOF 20372
20373cat >>confdefs.h <<\_ACEOF
19308#define HAVE_STRUCT_IN6_ADDR 1 20374#define HAVE_STRUCT_IN6_ADDR 1
19309_ACEOF 20375_ACEOF
19310 20376
@@ -19370,7 +20436,8 @@ fi
19370echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 20436echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
19371echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 20437echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
19372if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 20438if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
19373 cat >>confdefs.h <<\_ACEOF 20439
20440cat >>confdefs.h <<\_ACEOF
19374#define HAVE_STRUCT_ADDRINFO 1 20441#define HAVE_STRUCT_ADDRINFO 1
19375_ACEOF 20442_ACEOF
19376 20443
@@ -19432,7 +20499,8 @@ fi
19432echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 20499echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
19433echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 20500echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
19434if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 20501if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
19435 cat >>confdefs.h <<\_ACEOF 20502
20503cat >>confdefs.h <<\_ACEOF
19436#define HAVE_STRUCT_TIMEVAL 1 20504#define HAVE_STRUCT_TIMEVAL 1
19437_ACEOF 20505_ACEOF
19438 20506
@@ -19610,7 +20678,8 @@ fi
19610 echo "$as_me:$LINENO: result: $ossh_result" >&5 20678 echo "$as_me:$LINENO: result: $ossh_result" >&5
19611echo "${ECHO_T}$ossh_result" >&6 20679echo "${ECHO_T}$ossh_result" >&6
19612 if test "x$ossh_result" = "xyes"; then 20680 if test "x$ossh_result" = "xyes"; then
19613 cat >>confdefs.h <<\_ACEOF 20681
20682cat >>confdefs.h <<\_ACEOF
19614#define HAVE_HOST_IN_UTMP 1 20683#define HAVE_HOST_IN_UTMP 1
19615_ACEOF 20684_ACEOF
19616 20685
@@ -19654,7 +20723,8 @@ fi
19654 echo "$as_me:$LINENO: result: $ossh_result" >&5 20723 echo "$as_me:$LINENO: result: $ossh_result" >&5
19655echo "${ECHO_T}$ossh_result" >&6 20724echo "${ECHO_T}$ossh_result" >&6
19656 if test "x$ossh_result" = "xyes"; then 20725 if test "x$ossh_result" = "xyes"; then
19657 cat >>confdefs.h <<\_ACEOF 20726
20727cat >>confdefs.h <<\_ACEOF
19658#define HAVE_HOST_IN_UTMPX 1 20728#define HAVE_HOST_IN_UTMPX 1
19659_ACEOF 20729_ACEOF
19660 20730
@@ -19698,7 +20768,8 @@ fi
19698 echo "$as_me:$LINENO: result: $ossh_result" >&5 20768 echo "$as_me:$LINENO: result: $ossh_result" >&5
19699echo "${ECHO_T}$ossh_result" >&6 20769echo "${ECHO_T}$ossh_result" >&6
19700 if test "x$ossh_result" = "xyes"; then 20770 if test "x$ossh_result" = "xyes"; then
19701 cat >>confdefs.h <<\_ACEOF 20771
20772cat >>confdefs.h <<\_ACEOF
19702#define HAVE_SYSLEN_IN_UTMPX 1 20773#define HAVE_SYSLEN_IN_UTMPX 1
19703_ACEOF 20774_ACEOF
19704 20775
@@ -19742,7 +20813,8 @@ fi
19742 echo "$as_me:$LINENO: result: $ossh_result" >&5 20813 echo "$as_me:$LINENO: result: $ossh_result" >&5
19743echo "${ECHO_T}$ossh_result" >&6 20814echo "${ECHO_T}$ossh_result" >&6
19744 if test "x$ossh_result" = "xyes"; then 20815 if test "x$ossh_result" = "xyes"; then
19745 cat >>confdefs.h <<\_ACEOF 20816
20817cat >>confdefs.h <<\_ACEOF
19746#define HAVE_PID_IN_UTMP 1 20818#define HAVE_PID_IN_UTMP 1
19747_ACEOF 20819_ACEOF
19748 20820
@@ -19786,7 +20858,8 @@ fi
19786 echo "$as_me:$LINENO: result: $ossh_result" >&5 20858 echo "$as_me:$LINENO: result: $ossh_result" >&5
19787echo "${ECHO_T}$ossh_result" >&6 20859echo "${ECHO_T}$ossh_result" >&6
19788 if test "x$ossh_result" = "xyes"; then 20860 if test "x$ossh_result" = "xyes"; then
19789 cat >>confdefs.h <<\_ACEOF 20861
20862cat >>confdefs.h <<\_ACEOF
19790#define HAVE_TYPE_IN_UTMP 1 20863#define HAVE_TYPE_IN_UTMP 1
19791_ACEOF 20864_ACEOF
19792 20865
@@ -19830,7 +20903,8 @@ fi
19830 echo "$as_me:$LINENO: result: $ossh_result" >&5 20903 echo "$as_me:$LINENO: result: $ossh_result" >&5
19831echo "${ECHO_T}$ossh_result" >&6 20904echo "${ECHO_T}$ossh_result" >&6
19832 if test "x$ossh_result" = "xyes"; then 20905 if test "x$ossh_result" = "xyes"; then
19833 cat >>confdefs.h <<\_ACEOF 20906
20907cat >>confdefs.h <<\_ACEOF
19834#define HAVE_TYPE_IN_UTMPX 1 20908#define HAVE_TYPE_IN_UTMPX 1
19835_ACEOF 20909_ACEOF
19836 20910
@@ -19874,7 +20948,8 @@ fi
19874 echo "$as_me:$LINENO: result: $ossh_result" >&5 20948 echo "$as_me:$LINENO: result: $ossh_result" >&5
19875echo "${ECHO_T}$ossh_result" >&6 20949echo "${ECHO_T}$ossh_result" >&6
19876 if test "x$ossh_result" = "xyes"; then 20950 if test "x$ossh_result" = "xyes"; then
19877 cat >>confdefs.h <<\_ACEOF 20951
20952cat >>confdefs.h <<\_ACEOF
19878#define HAVE_TV_IN_UTMP 1 20953#define HAVE_TV_IN_UTMP 1
19879_ACEOF 20954_ACEOF
19880 20955
@@ -19918,7 +20993,8 @@ fi
19918 echo "$as_me:$LINENO: result: $ossh_result" >&5 20993 echo "$as_me:$LINENO: result: $ossh_result" >&5
19919echo "${ECHO_T}$ossh_result" >&6 20994echo "${ECHO_T}$ossh_result" >&6
19920 if test "x$ossh_result" = "xyes"; then 20995 if test "x$ossh_result" = "xyes"; then
19921 cat >>confdefs.h <<\_ACEOF 20996
20997cat >>confdefs.h <<\_ACEOF
19922#define HAVE_ID_IN_UTMP 1 20998#define HAVE_ID_IN_UTMP 1
19923_ACEOF 20999_ACEOF
19924 21000
@@ -19962,7 +21038,8 @@ fi
19962 echo "$as_me:$LINENO: result: $ossh_result" >&5 21038 echo "$as_me:$LINENO: result: $ossh_result" >&5
19963echo "${ECHO_T}$ossh_result" >&6 21039echo "${ECHO_T}$ossh_result" >&6
19964 if test "x$ossh_result" = "xyes"; then 21040 if test "x$ossh_result" = "xyes"; then
19965 cat >>confdefs.h <<\_ACEOF 21041
21042cat >>confdefs.h <<\_ACEOF
19966#define HAVE_ID_IN_UTMPX 1 21043#define HAVE_ID_IN_UTMPX 1
19967_ACEOF 21044_ACEOF
19968 21045
@@ -20006,7 +21083,8 @@ fi
20006 echo "$as_me:$LINENO: result: $ossh_result" >&5 21083 echo "$as_me:$LINENO: result: $ossh_result" >&5
20007echo "${ECHO_T}$ossh_result" >&6 21084echo "${ECHO_T}$ossh_result" >&6
20008 if test "x$ossh_result" = "xyes"; then 21085 if test "x$ossh_result" = "xyes"; then
20009 cat >>confdefs.h <<\_ACEOF 21086
21087cat >>confdefs.h <<\_ACEOF
20010#define HAVE_ADDR_IN_UTMP 1 21088#define HAVE_ADDR_IN_UTMP 1
20011_ACEOF 21089_ACEOF
20012 21090
@@ -20050,7 +21128,8 @@ fi
20050 echo "$as_me:$LINENO: result: $ossh_result" >&5 21128 echo "$as_me:$LINENO: result: $ossh_result" >&5
20051echo "${ECHO_T}$ossh_result" >&6 21129echo "${ECHO_T}$ossh_result" >&6
20052 if test "x$ossh_result" = "xyes"; then 21130 if test "x$ossh_result" = "xyes"; then
20053 cat >>confdefs.h <<\_ACEOF 21131
21132cat >>confdefs.h <<\_ACEOF
20054#define HAVE_ADDR_IN_UTMPX 1 21133#define HAVE_ADDR_IN_UTMPX 1
20055_ACEOF 21134_ACEOF
20056 21135
@@ -20094,7 +21173,8 @@ fi
20094 echo "$as_me:$LINENO: result: $ossh_result" >&5 21173 echo "$as_me:$LINENO: result: $ossh_result" >&5
20095echo "${ECHO_T}$ossh_result" >&6 21174echo "${ECHO_T}$ossh_result" >&6
20096 if test "x$ossh_result" = "xyes"; then 21175 if test "x$ossh_result" = "xyes"; then
20097 cat >>confdefs.h <<\_ACEOF 21176
21177cat >>confdefs.h <<\_ACEOF
20098#define HAVE_ADDR_V6_IN_UTMP 1 21178#define HAVE_ADDR_V6_IN_UTMP 1
20099_ACEOF 21179_ACEOF
20100 21180
@@ -20138,7 +21218,8 @@ fi
20138 echo "$as_me:$LINENO: result: $ossh_result" >&5 21218 echo "$as_me:$LINENO: result: $ossh_result" >&5
20139echo "${ECHO_T}$ossh_result" >&6 21219echo "${ECHO_T}$ossh_result" >&6
20140 if test "x$ossh_result" = "xyes"; then 21220 if test "x$ossh_result" = "xyes"; then
20141 cat >>confdefs.h <<\_ACEOF 21221
21222cat >>confdefs.h <<\_ACEOF
20142#define HAVE_ADDR_V6_IN_UTMPX 1 21223#define HAVE_ADDR_V6_IN_UTMPX 1
20143_ACEOF 21224_ACEOF
20144 21225
@@ -20182,7 +21263,8 @@ fi
20182 echo "$as_me:$LINENO: result: $ossh_result" >&5 21263 echo "$as_me:$LINENO: result: $ossh_result" >&5
20183echo "${ECHO_T}$ossh_result" >&6 21264echo "${ECHO_T}$ossh_result" >&6
20184 if test "x$ossh_result" = "xyes"; then 21265 if test "x$ossh_result" = "xyes"; then
20185 cat >>confdefs.h <<\_ACEOF 21266
21267cat >>confdefs.h <<\_ACEOF
20186#define HAVE_EXIT_IN_UTMP 1 21268#define HAVE_EXIT_IN_UTMP 1
20187_ACEOF 21269_ACEOF
20188 21270
@@ -20226,7 +21308,8 @@ fi
20226 echo "$as_me:$LINENO: result: $ossh_result" >&5 21308 echo "$as_me:$LINENO: result: $ossh_result" >&5
20227echo "${ECHO_T}$ossh_result" >&6 21309echo "${ECHO_T}$ossh_result" >&6
20228 if test "x$ossh_result" = "xyes"; then 21310 if test "x$ossh_result" = "xyes"; then
20229 cat >>confdefs.h <<\_ACEOF 21311
21312cat >>confdefs.h <<\_ACEOF
20230#define HAVE_TIME_IN_UTMP 1 21313#define HAVE_TIME_IN_UTMP 1
20231_ACEOF 21314_ACEOF
20232 21315
@@ -20270,7 +21353,8 @@ fi
20270 echo "$as_me:$LINENO: result: $ossh_result" >&5 21353 echo "$as_me:$LINENO: result: $ossh_result" >&5
20271echo "${ECHO_T}$ossh_result" >&6 21354echo "${ECHO_T}$ossh_result" >&6
20272 if test "x$ossh_result" = "xyes"; then 21355 if test "x$ossh_result" = "xyes"; then
20273 cat >>confdefs.h <<\_ACEOF 21356
21357cat >>confdefs.h <<\_ACEOF
20274#define HAVE_TIME_IN_UTMPX 1 21358#define HAVE_TIME_IN_UTMPX 1
20275_ACEOF 21359_ACEOF
20276 21360
@@ -20314,7 +21398,8 @@ fi
20314 echo "$as_me:$LINENO: result: $ossh_result" >&5 21398 echo "$as_me:$LINENO: result: $ossh_result" >&5
20315echo "${ECHO_T}$ossh_result" >&6 21399echo "${ECHO_T}$ossh_result" >&6
20316 if test "x$ossh_result" = "xyes"; then 21400 if test "x$ossh_result" = "xyes"; then
20317 cat >>confdefs.h <<\_ACEOF 21401
21402cat >>confdefs.h <<\_ACEOF
20318#define HAVE_TV_IN_UTMPX 1 21403#define HAVE_TV_IN_UTMPX 1
20319_ACEOF 21404_ACEOF
20320 21405
@@ -20433,6 +21518,133 @@ _ACEOF
20433 21518
20434fi 21519fi
20435 21520
21521echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5
21522echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6
21523if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21525else
21526 cat >conftest.$ac_ext <<_ACEOF
21527/* confdefs.h. */
21528_ACEOF
21529cat confdefs.h >>conftest.$ac_ext
21530cat >>conftest.$ac_ext <<_ACEOF
21531/* end confdefs.h. */
21532
21533#include <stdio.h>
21534#if HAVE_SYS_TYPES_H
21535# include <sys/types.h>
21536#endif
21537#include <netinet/in.h>
21538#include <arpa/nameser.h>
21539#include <resolv.h>
21540
21541
21542int
21543main ()
21544{
21545static struct __res_state ac_aggr;
21546if (ac_aggr.retrans)
21547return 0;
21548 ;
21549 return 0;
21550}
21551_ACEOF
21552rm -f conftest.$ac_objext
21553if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21554 (eval $ac_compile) 2>conftest.er1
21555 ac_status=$?
21556 grep -v '^ *+' conftest.er1 >conftest.err
21557 rm -f conftest.er1
21558 cat conftest.err >&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); } &&
21561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 ac_cv_member_struct___res_state_retrans=yes
21574else
21575 echo "$as_me: failed program was:" >&5
21576sed 's/^/| /' conftest.$ac_ext >&5
21577
21578cat >conftest.$ac_ext <<_ACEOF
21579/* confdefs.h. */
21580_ACEOF
21581cat confdefs.h >>conftest.$ac_ext
21582cat >>conftest.$ac_ext <<_ACEOF
21583/* end confdefs.h. */
21584
21585#include <stdio.h>
21586#if HAVE_SYS_TYPES_H
21587# include <sys/types.h>
21588#endif
21589#include <netinet/in.h>
21590#include <arpa/nameser.h>
21591#include <resolv.h>
21592
21593
21594int
21595main ()
21596{
21597static struct __res_state ac_aggr;
21598if (sizeof ac_aggr.retrans)
21599return 0;
21600 ;
21601 return 0;
21602}
21603_ACEOF
21604rm -f conftest.$ac_objext
21605if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21606 (eval $ac_compile) 2>conftest.er1
21607 ac_status=$?
21608 grep -v '^ *+' conftest.er1 >conftest.err
21609 rm -f conftest.er1
21610 cat conftest.err >&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); } &&
21613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try='test -s conftest.$ac_objext'
21620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621 (eval $ac_try) 2>&5
21622 ac_status=$?
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_cv_member_struct___res_state_retrans=yes
21626else
21627 echo "$as_me: failed program was:" >&5
21628sed 's/^/| /' conftest.$ac_ext >&5
21629
21630ac_cv_member_struct___res_state_retrans=no
21631fi
21632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21633fi
21634rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21635fi
21636echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5
21637echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6
21638if test $ac_cv_member_struct___res_state_retrans = yes; then
21639 :
21640else
21641
21642cat >>confdefs.h <<\_ACEOF
21643#define __res_state state
21644_ACEOF
21645
21646fi
21647
20436 21648
20437echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 21649echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
20438echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 21650echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
@@ -20492,7 +21704,8 @@ fi
20492echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 21704echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
20493echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 21705echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
20494if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 21706if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
20495 cat >>confdefs.h <<\_ACEOF 21707
21708cat >>confdefs.h <<\_ACEOF
20496#define HAVE_SS_FAMILY_IN_SS 1 21709#define HAVE_SS_FAMILY_IN_SS 1
20497_ACEOF 21710_ACEOF
20498 21711
@@ -20557,7 +21770,8 @@ fi
20557echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 21770echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
20558echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 21771echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
20559if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 21772if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
20560 cat >>confdefs.h <<\_ACEOF 21773
21774cat >>confdefs.h <<\_ACEOF
20561#define HAVE___SS_FAMILY_IN_SS 1 21775#define HAVE___SS_FAMILY_IN_SS 1
20562_ACEOF 21776_ACEOF
20563 21777
@@ -20621,7 +21835,8 @@ fi
20621echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 21835echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
20622echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 21836echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
20623if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 21837if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
20624 cat >>confdefs.h <<\_ACEOF 21838
21839cat >>confdefs.h <<\_ACEOF
20625#define HAVE_PW_CLASS_IN_PASSWD 1 21840#define HAVE_PW_CLASS_IN_PASSWD 1
20626_ACEOF 21841_ACEOF
20627 21842
@@ -20685,7 +21900,8 @@ fi
20685echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 21900echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
20686echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 21901echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
20687if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 21902if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
20688 cat >>confdefs.h <<\_ACEOF 21903
21904cat >>confdefs.h <<\_ACEOF
20689#define HAVE_PW_EXPIRE_IN_PASSWD 1 21905#define HAVE_PW_EXPIRE_IN_PASSWD 1
20690_ACEOF 21906_ACEOF
20691 21907
@@ -20749,7 +21965,8 @@ fi
20749echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 21965echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
20750echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 21966echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
20751if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 21967if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
20752 cat >>confdefs.h <<\_ACEOF 21968
21969cat >>confdefs.h <<\_ACEOF
20753#define HAVE_PW_CHANGE_IN_PASSWD 1 21970#define HAVE_PW_CHANGE_IN_PASSWD 1
20754_ACEOF 21971_ACEOF
20755 21972
@@ -20812,7 +22029,8 @@ fi
20812echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 22029echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
20813echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 22030echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
20814if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 22031if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
20815 cat >>confdefs.h <<\_ACEOF 22032
22033cat >>confdefs.h <<\_ACEOF
20816#define HAVE_ACCRIGHTS_IN_MSGHDR 1 22034#define HAVE_ACCRIGHTS_IN_MSGHDR 1
20817_ACEOF 22035_ACEOF
20818 22036
@@ -20875,7 +22093,8 @@ fi
20875echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 22093echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
20876echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 22094echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
20877if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 22095if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
20878 cat >>confdefs.h <<\_ACEOF 22096
22097cat >>confdefs.h <<\_ACEOF
20879#define HAVE_CONTROL_IN_MSGHDR 1 22098#define HAVE_CONTROL_IN_MSGHDR 1
20880_ACEOF 22099_ACEOF
20881 22100
@@ -20938,7 +22157,8 @@ fi
20938echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 22157echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
20939echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 22158echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
20940if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 22159if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
20941 cat >>confdefs.h <<\_ACEOF 22160
22161cat >>confdefs.h <<\_ACEOF
20942#define HAVE___PROGNAME 1 22162#define HAVE___PROGNAME 1
20943_ACEOF 22163_ACEOF
20944 22164
@@ -21003,7 +22223,8 @@ fi
21003echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 22223echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
21004echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 22224echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
21005if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 22225if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
21006 cat >>confdefs.h <<\_ACEOF 22226
22227cat >>confdefs.h <<\_ACEOF
21007#define HAVE___FUNCTION__ 1 22228#define HAVE___FUNCTION__ 1
21008_ACEOF 22229_ACEOF
21009 22230
@@ -21068,12 +22289,143 @@ fi
21068echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 22289echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
21069echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 22290echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
21070if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 22291if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
21071 cat >>confdefs.h <<\_ACEOF 22292
22293cat >>confdefs.h <<\_ACEOF
21072#define HAVE___func__ 1 22294#define HAVE___func__ 1
21073_ACEOF 22295_ACEOF
21074 22296
21075fi 22297fi
21076 22298
22299echo "$as_me:$LINENO: checking whether va_copy exists" >&5
22300echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6
22301if test "${ac_cv_have_va_copy+set}" = set; then
22302 echo $ECHO_N "(cached) $ECHO_C" >&6
22303else
22304
22305 cat >conftest.$ac_ext <<_ACEOF
22306/* confdefs.h. */
22307_ACEOF
22308cat confdefs.h >>conftest.$ac_ext
22309cat >>conftest.$ac_ext <<_ACEOF
22310/* end confdefs.h. */
22311#include <stdarg.h>
22312 va_list x,y;
22313int
22314main ()
22315{
22316va_copy(x,y);
22317 ;
22318 return 0;
22319}
22320_ACEOF
22321rm -f conftest.$ac_objext conftest$ac_exeext
22322if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22323 (eval $ac_link) 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22332 (eval $ac_try) 2>&5
22333 ac_status=$?
22334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335 (exit $ac_status); }; } &&
22336 { ac_try='test -s conftest$ac_exeext'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_cv_have_va_copy="yes"
22343else
22344 echo "$as_me: failed program was:" >&5
22345sed 's/^/| /' conftest.$ac_ext >&5
22346
22347 ac_cv_have_va_copy="no"
22348
22349fi
22350rm -f conftest.err conftest.$ac_objext \
22351 conftest$ac_exeext conftest.$ac_ext
22352
22353fi
22354echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5
22355echo "${ECHO_T}$ac_cv_have_va_copy" >&6
22356if test "x$ac_cv_have_va_copy" = "xyes" ; then
22357
22358cat >>confdefs.h <<\_ACEOF
22359#define HAVE_VA_COPY 1
22360_ACEOF
22361
22362fi
22363
22364echo "$as_me:$LINENO: checking whether __va_copy exists" >&5
22365echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6
22366if test "${ac_cv_have___va_copy+set}" = set; then
22367 echo $ECHO_N "(cached) $ECHO_C" >&6
22368else
22369
22370 cat >conftest.$ac_ext <<_ACEOF
22371/* confdefs.h. */
22372_ACEOF
22373cat confdefs.h >>conftest.$ac_ext
22374cat >>conftest.$ac_ext <<_ACEOF
22375/* end confdefs.h. */
22376#include <stdarg.h>
22377 va_list x,y;
22378int
22379main ()
22380{
22381__va_copy(x,y);
22382 ;
22383 return 0;
22384}
22385_ACEOF
22386rm -f conftest.$ac_objext conftest$ac_exeext
22387if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22388 (eval $ac_link) 2>conftest.er1
22389 ac_status=$?
22390 grep -v '^ *+' conftest.er1 >conftest.err
22391 rm -f conftest.er1
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } &&
22395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22398 ac_status=$?
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; } &&
22401 { ac_try='test -s conftest$ac_exeext'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; }; then
22407 ac_cv_have___va_copy="yes"
22408else
22409 echo "$as_me: failed program was:" >&5
22410sed 's/^/| /' conftest.$ac_ext >&5
22411
22412 ac_cv_have___va_copy="no"
22413
22414fi
22415rm -f conftest.err conftest.$ac_objext \
22416 conftest$ac_exeext conftest.$ac_ext
22417
22418fi
22419echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5
22420echo "${ECHO_T}$ac_cv_have___va_copy" >&6
22421if test "x$ac_cv_have___va_copy" = "xyes" ; then
22422
22423cat >>confdefs.h <<\_ACEOF
22424#define HAVE___VA_COPY 1
22425_ACEOF
22426
22427fi
22428
21077echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 22429echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
21078echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 22430echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
21079if test "${ac_cv_have_getopt_optreset+set}" = set; then 22431if test "${ac_cv_have_getopt_optreset+set}" = set; then
@@ -21133,7 +22485,8 @@ fi
21133echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 22485echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
21134echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 22486echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
21135if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 22487if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
21136 cat >>confdefs.h <<\_ACEOF 22488
22489cat >>confdefs.h <<\_ACEOF
21137#define HAVE_GETOPT_OPTRESET 1 22490#define HAVE_GETOPT_OPTRESET 1
21138_ACEOF 22491_ACEOF
21139 22492
@@ -21196,7 +22549,8 @@ fi
21196echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 22549echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
21197echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 22550echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
21198if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 22551if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
21199 cat >>confdefs.h <<\_ACEOF 22552
22553cat >>confdefs.h <<\_ACEOF
21200#define HAVE_SYS_ERRLIST 1 22554#define HAVE_SYS_ERRLIST 1
21201_ACEOF 22555_ACEOF
21202 22556
@@ -21260,7 +22614,8 @@ fi
21260echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 22614echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
21261echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 22615echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
21262if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 22616if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
21263 cat >>confdefs.h <<\_ACEOF 22617
22618cat >>confdefs.h <<\_ACEOF
21264#define HAVE_SYS_NERR 1 22619#define HAVE_SYS_NERR 1
21265_ACEOF 22620_ACEOF
21266 22621
@@ -21516,11 +22871,13 @@ fi
21516echo "$as_me: error: Can't find libsectok" >&2;} 22871echo "$as_me: error: Can't find libsectok" >&2;}
21517 { (exit 1); exit 1; }; } 22872 { (exit 1); exit 1; }; }
21518 fi 22873 fi
21519 cat >>confdefs.h <<\_ACEOF 22874
22875cat >>confdefs.h <<\_ACEOF
21520#define SMARTCARD 1 22876#define SMARTCARD 1
21521_ACEOF 22877_ACEOF
21522 22878
21523 cat >>confdefs.h <<\_ACEOF 22879
22880cat >>confdefs.h <<\_ACEOF
21524#define USE_SECTOK 1 22881#define USE_SECTOK 1
21525_ACEOF 22882_ACEOF
21526 22883
@@ -21591,7 +22948,8 @@ fi
21591#define SMARTCARD 1 22948#define SMARTCARD 1
21592_ACEOF 22949_ACEOF
21593 22950
21594 cat >>confdefs.h <<\_ACEOF 22951
22952cat >>confdefs.h <<\_ACEOF
21595#define USE_OPENSC 1 22953#define USE_OPENSC 1
21596_ACEOF 22954_ACEOF
21597 22955
@@ -21724,7 +23082,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
21724echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 23082echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
21725if test "$ac_cv_search_getrrsetbyname" != no; then 23083if test "$ac_cv_search_getrrsetbyname" != no; then
21726 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" 23084 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
21727 cat >>confdefs.h <<\_ACEOF 23085
23086cat >>confdefs.h <<\_ACEOF
21728#define HAVE_GETRRSETBYNAME 1 23087#define HAVE_GETRRSETBYNAME 1
21729_ACEOF 23088_ACEOF
21730 23089
@@ -22432,7 +23791,8 @@ fi
22432echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 23791echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
22433echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 23792echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
22434if test $ac_cv_member_HEADER_ad = yes; then 23793if test $ac_cv_member_HEADER_ad = yes; then
22435 cat >>confdefs.h <<\_ACEOF 23794
23795cat >>confdefs.h <<\_ACEOF
22436#define HAVE_HEADER_AD 1 23796#define HAVE_HEADER_AD 1
22437_ACEOF 23797_ACEOF
22438 23798
@@ -22622,7 +23982,8 @@ if test "${with_kerberos5+set}" = set; then
22622 KRB5ROOT=${withval} 23982 KRB5ROOT=${withval}
22623 fi 23983 fi
22624 23984
22625 cat >>confdefs.h <<\_ACEOF 23985
23986cat >>confdefs.h <<\_ACEOF
22626#define KRB5 1 23987#define KRB5 1
22627_ACEOF 23988_ACEOF
22628 23989
@@ -22640,7 +24001,8 @@ echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6
22640 if $KRB5CONF | grep gssapi >/dev/null ; then 24001 if $KRB5CONF | grep gssapi >/dev/null ; then
22641 echo "$as_me:$LINENO: result: yes" >&5 24002 echo "$as_me:$LINENO: result: yes" >&5
22642echo "${ECHO_T}yes" >&6 24003echo "${ECHO_T}yes" >&6
22643 cat >>confdefs.h <<\_ACEOF 24004
24005cat >>confdefs.h <<\_ACEOF
22644#define GSSAPI 1 24006#define GSSAPI 1
22645_ACEOF 24007_ACEOF
22646 24008
@@ -22693,7 +24055,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22693 (exit $ac_status); }; }; then 24055 (exit $ac_status); }; }; then
22694 echo "$as_me:$LINENO: result: yes" >&5 24056 echo "$as_me:$LINENO: result: yes" >&5
22695echo "${ECHO_T}yes" >&6 24057echo "${ECHO_T}yes" >&6
22696 cat >>confdefs.h <<\_ACEOF 24058
24059cat >>confdefs.h <<\_ACEOF
22697#define HEIMDAL 1 24060#define HEIMDAL 1
22698_ACEOF 24061_ACEOF
22699 24062
@@ -23562,7 +24925,6 @@ fi
23562 if test ! -z "$blibpath" ; then 24925 if test ! -z "$blibpath" ; then
23563 blibpath="$blibpath:${KRB5ROOT}/lib" 24926 blibpath="$blibpath:${KRB5ROOT}/lib"
23564 fi 24927 fi
23565 fi
23566 24928
23567 24929
23568 24930
@@ -24015,8 +25377,8 @@ fi
24015done 25377done
24016 25378
24017 25379
24018 LIBS="$LIBS $K5LIBS" 25380 LIBS="$LIBS $K5LIBS"
24019 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 25381 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
24020echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 25382echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6
24021if test "${ac_cv_search_k_hasafs+set}" = set; then 25383if test "${ac_cv_search_k_hasafs+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6 25384 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -24137,12 +25499,14 @@ echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
24137echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 25499echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6
24138if test "$ac_cv_search_k_hasafs" != no; then 25500if test "$ac_cv_search_k_hasafs" != no; then
24139 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" 25501 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS"
24140 cat >>confdefs.h <<\_ACEOF 25502
25503cat >>confdefs.h <<\_ACEOF
24141#define USE_AFS 1 25504#define USE_AFS 1
24142_ACEOF 25505_ACEOF
24143 25506
24144fi 25507fi
24145 25508
25509 fi
24146 25510
24147 25511
24148fi; 25512fi;
@@ -24244,7 +25608,8 @@ if test -z "$xauth_path" ; then
24244 XAUTH_PATH="undefined" 25608 XAUTH_PATH="undefined"
24245 25609
24246else 25610else
24247 cat >>confdefs.h <<_ACEOF 25611
25612cat >>confdefs.h <<_ACEOF
24248#define XAUTH_PATH "$xauth_path" 25613#define XAUTH_PATH "$xauth_path"
24249_ACEOF 25614_ACEOF
24250 25615
@@ -24255,7 +25620,8 @@ fi
24255# Check for mail directory (last resort if we cannot get it from headers) 25620# Check for mail directory (last resort if we cannot get it from headers)
24256if test ! -z "$MAIL" ; then 25621if test ! -z "$MAIL" ; then
24257 maildir=`dirname $MAIL` 25622 maildir=`dirname $MAIL`
24258 cat >>confdefs.h <<_ACEOF 25623
25624cat >>confdefs.h <<_ACEOF
24259#define MAIL_DIRECTORY "$maildir" 25625#define MAIL_DIRECTORY "$maildir"
24260_ACEOF 25626_ACEOF
24261 25627
@@ -24287,7 +25653,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
24287echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 25653echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
24288if test $ac_cv_file___dev_ptmx_ = yes; then 25654if test $ac_cv_file___dev_ptmx_ = yes; then
24289 25655
24290 cat >>confdefs.h <<_ACEOF 25656
25657cat >>confdefs.h <<_ACEOF
24291#define HAVE_DEV_PTMX 1 25658#define HAVE_DEV_PTMX 1
24292_ACEOF 25659_ACEOF
24293 25660
@@ -24319,7 +25686,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
24319echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 25686echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
24320if test $ac_cv_file___dev_ptc_ = yes; then 25687if test $ac_cv_file___dev_ptc_ = yes; then
24321 25688
24322 cat >>confdefs.h <<_ACEOF 25689
25690cat >>confdefs.h <<_ACEOF
24323#define HAVE_DEV_PTS_AND_PTC 1 25691#define HAVE_DEV_PTS_AND_PTC 1
24324_ACEOF 25692_ACEOF
24325 25693
@@ -24423,7 +25791,8 @@ if test "${with_md5_passwords+set}" = set; then
24423 withval="$with_md5_passwords" 25791 withval="$with_md5_passwords"
24424 25792
24425 if test "x$withval" != "xno" ; then 25793 if test "x$withval" != "xno" ; then
24426 cat >>confdefs.h <<\_ACEOF 25794
25795cat >>confdefs.h <<\_ACEOF
24427#define HAVE_MD5_PASSWORDS 1 25796#define HAVE_MD5_PASSWORDS 1
24428_ACEOF 25797_ACEOF
24429 25798
@@ -24506,7 +25875,8 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24506 if test "x$sp_expire_available" = "xyes" ; then 25875 if test "x$sp_expire_available" = "xyes" ; then
24507 echo "$as_me:$LINENO: result: yes" >&5 25876 echo "$as_me:$LINENO: result: yes" >&5
24508echo "${ECHO_T}yes" >&6 25877echo "${ECHO_T}yes" >&6
24509 cat >>confdefs.h <<\_ACEOF 25878
25879cat >>confdefs.h <<\_ACEOF
24510#define HAS_SHADOW_EXPIRE 1 25880#define HAS_SHADOW_EXPIRE 1
24511_ACEOF 25881_ACEOF
24512 25882
@@ -24519,7 +25889,8 @@ fi
24519# Use ip address instead of hostname in $DISPLAY 25889# Use ip address instead of hostname in $DISPLAY
24520if test ! -z "$IPADDR_IN_DISPLAY" ; then 25890if test ! -z "$IPADDR_IN_DISPLAY" ; then
24521 DISPLAY_HACK_MSG="yes" 25891 DISPLAY_HACK_MSG="yes"
24522 cat >>confdefs.h <<\_ACEOF 25892
25893cat >>confdefs.h <<\_ACEOF
24523#define IPADDR_IN_DISPLAY 1 25894#define IPADDR_IN_DISPLAY 1
24524_ACEOF 25895_ACEOF
24525 25896
@@ -24554,7 +25925,14 @@ echo "$as_me: /etc/default/login handling disabled" >&6;}
24554 etc_default_login=yes 25925 etc_default_login=yes
24555 fi 25926 fi
24556else 25927else
24557 etc_default_login=yes 25928 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
25929 then
25930 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5
25931echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;}
25932 etc_default_login=no
25933 else
25934 etc_default_login=yes
25935 fi
24558 25936
24559fi; 25937fi;
24560 25938
@@ -24580,12 +25958,9 @@ if test $ac_cv_file___etc_default_login_ = yes; then
24580 external_path_file=/etc/default/login 25958 external_path_file=/etc/default/login
24581fi 25959fi
24582 25960
24583 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; 25961 if test "x$external_path_file" = "x/etc/default/login"; then
24584 then 25962
24585 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /etc/default/login test" >&5 25963cat >>confdefs.h <<\_ACEOF
24586echo "$as_me: WARNING: cross compiling: Disabling /etc/default/login test" >&2;}
24587 elif test "x$external_path_file" = "x/etc/default/login"; then
24588 cat >>confdefs.h <<\_ACEOF
24589#define HAVE_ETC_DEFAULT_LOGIN 1 25964#define HAVE_ETC_DEFAULT_LOGIN 1
24590_ACEOF 25965_ACEOF
24591 25966
@@ -24724,7 +26099,8 @@ echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
24724 26099
24725fi; 26100fi;
24726if test "x$external_path_file" != "x/etc/login.conf" ; then 26101if test "x$external_path_file" != "x/etc/login.conf" ; then
24727 cat >>confdefs.h <<_ACEOF 26102
26103cat >>confdefs.h <<_ACEOF
24728#define USER_PATH "$user_path" 26104#define USER_PATH "$user_path"
24729_ACEOF 26105_ACEOF
24730 26106
@@ -24739,7 +26115,8 @@ if test "${with_superuser_path+set}" = set; then
24739 26115
24740 if test -n "$withval" && test "x$withval" != "xno" && \ 26116 if test -n "$withval" && test "x$withval" != "xno" && \
24741 test "x${withval}" != "xyes"; then 26117 test "x${withval}" != "xyes"; then
24742 cat >>confdefs.h <<_ACEOF 26118
26119cat >>confdefs.h <<_ACEOF
24743#define SUPERUSER_PATH "$withval" 26120#define SUPERUSER_PATH "$withval"
24744_ACEOF 26121_ACEOF
24745 26122
@@ -24761,7 +26138,8 @@ if test "${with_4in6+set}" = set; then
24761 if test "x$withval" != "xno" ; then 26138 if test "x$withval" != "xno" ; then
24762 echo "$as_me:$LINENO: result: yes" >&5 26139 echo "$as_me:$LINENO: result: yes" >&5
24763echo "${ECHO_T}yes" >&6 26140echo "${ECHO_T}yes" >&6
24764 cat >>confdefs.h <<\_ACEOF 26141
26142cat >>confdefs.h <<\_ACEOF
24765#define IPV4_IN_IPV6 1 26143#define IPV4_IN_IPV6 1
24766_ACEOF 26144_ACEOF
24767 26145
@@ -24797,7 +26175,8 @@ if test "${with_bsd_auth+set}" = set; then
24797 withval="$with_bsd_auth" 26175 withval="$with_bsd_auth"
24798 26176
24799 if test "x$withval" != "xno" ; then 26177 if test "x$withval" != "xno" ; then
24800 cat >>confdefs.h <<\_ACEOF 26178
26179cat >>confdefs.h <<\_ACEOF
24801#define BSD_AUTH 1 26180#define BSD_AUTH 1
24802_ACEOF 26181_ACEOF
24803 26182
@@ -24834,6 +26213,7 @@ echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
24834 26213
24835fi; 26214fi;
24836 26215
26216
24837cat >>confdefs.h <<_ACEOF 26217cat >>confdefs.h <<_ACEOF
24838#define _PATH_SSH_PIDDIR "$piddir" 26218#define _PATH_SSH_PIDDIR "$piddir"
24839_ACEOF 26219_ACEOF
@@ -24871,7 +26251,8 @@ if test "${enable_utmpx+set}" = set; then
24871 enableval="$enable_utmpx" 26251 enableval="$enable_utmpx"
24872 26252
24873 if test "x$enableval" = "xno" ; then 26253 if test "x$enableval" = "xno" ; then
24874 cat >>confdefs.h <<\_ACEOF 26254
26255cat >>confdefs.h <<\_ACEOF
24875#define DISABLE_UTMPX 1 26256#define DISABLE_UTMPX 1
24876_ACEOF 26257_ACEOF
24877 26258
@@ -24897,7 +26278,8 @@ if test "${enable_wtmpx+set}" = set; then
24897 enableval="$enable_wtmpx" 26278 enableval="$enable_wtmpx"
24898 26279
24899 if test "x$enableval" = "xno" ; then 26280 if test "x$enableval" = "xno" ; then
24900 cat >>confdefs.h <<\_ACEOF 26281
26282cat >>confdefs.h <<\_ACEOF
24901#define DISABLE_WTMPX 1 26283#define DISABLE_WTMPX 1
24902_ACEOF 26284_ACEOF
24903 26285
@@ -24923,7 +26305,8 @@ if test "${enable_pututline+set}" = set; then
24923 enableval="$enable_pututline" 26305 enableval="$enable_pututline"
24924 26306
24925 if test "x$enableval" = "xno" ; then 26307 if test "x$enableval" = "xno" ; then
24926 cat >>confdefs.h <<\_ACEOF 26308
26309cat >>confdefs.h <<\_ACEOF
24927#define DISABLE_PUTUTLINE 1 26310#define DISABLE_PUTUTLINE 1
24928_ACEOF 26311_ACEOF
24929 26312
@@ -24936,7 +26319,8 @@ if test "${enable_pututxline+set}" = set; then
24936 enableval="$enable_pututxline" 26319 enableval="$enable_pututxline"
24937 26320
24938 if test "x$enableval" = "xno" ; then 26321 if test "x$enableval" = "xno" ; then
24939 cat >>confdefs.h <<\_ACEOF 26322
26323cat >>confdefs.h <<\_ACEOF
24940#define DISABLE_PUTUTXLINE 1 26324#define DISABLE_PUTUTXLINE 1
24941_ACEOF 26325_ACEOF
24942 26326
@@ -25101,7 +26485,8 @@ echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
25101fi 26485fi
25102 26486
25103if test -n "$conf_lastlog_location"; then 26487if test -n "$conf_lastlog_location"; then
25104 cat >>confdefs.h <<_ACEOF 26488
26489cat >>confdefs.h <<_ACEOF
25105#define CONF_LASTLOG_FILE "$conf_lastlog_location" 26490#define CONF_LASTLOG_FILE "$conf_lastlog_location"
25106_ACEOF 26491_ACEOF
25107 26492
@@ -25179,7 +26564,8 @@ _ACEOF
25179 fi 26564 fi
25180fi 26565fi
25181if test -n "$conf_utmp_location"; then 26566if test -n "$conf_utmp_location"; then
25182 cat >>confdefs.h <<_ACEOF 26567
26568cat >>confdefs.h <<_ACEOF
25183#define CONF_UTMP_FILE "$conf_utmp_location" 26569#define CONF_UTMP_FILE "$conf_utmp_location"
25184_ACEOF 26570_ACEOF
25185 26571
@@ -25257,7 +26643,8 @@ _ACEOF
25257 fi 26643 fi
25258fi 26644fi
25259if test -n "$conf_wtmp_location"; then 26645if test -n "$conf_wtmp_location"; then
25260 cat >>confdefs.h <<_ACEOF 26646
26647cat >>confdefs.h <<_ACEOF
25261#define CONF_WTMP_FILE "$conf_wtmp_location" 26648#define CONF_WTMP_FILE "$conf_wtmp_location"
25262_ACEOF 26649_ACEOF
25263 26650
@@ -25331,7 +26718,8 @@ _ACEOF
25331 26718
25332 fi 26719 fi
25333else 26720else
25334 cat >>confdefs.h <<_ACEOF 26721
26722cat >>confdefs.h <<_ACEOF
25335#define CONF_UTMPX_FILE "$conf_utmpx_location" 26723#define CONF_UTMPX_FILE "$conf_utmpx_location"
25336_ACEOF 26724_ACEOF
25337 26725
@@ -25404,7 +26792,8 @@ _ACEOF
25404 26792
25405 fi 26793 fi
25406else 26794else
25407 cat >>confdefs.h <<_ACEOF 26795
26796cat >>confdefs.h <<_ACEOF
25408#define CONF_WTMPX_FILE "$conf_wtmpx_location" 26797#define CONF_WTMPX_FILE "$conf_wtmpx_location"
25409_ACEOF 26798_ACEOF
25410 26799
@@ -26068,6 +27457,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26068s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 27457s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26069s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 27458s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26070s,@INSTALL_DATA@,$INSTALL_DATA,;t t 27459s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27460s,@EGREP@,$EGREP,;t t
26071s,@AR@,$AR,;t t 27461s,@AR@,$AR,;t t
26072s,@CAT@,$CAT,;t t 27462s,@CAT@,$CAT,;t t
26073s,@KILL@,$KILL,;t t 27463s,@KILL@,$KILL,;t t
@@ -26080,10 +27470,10 @@ s,@TEST_SHELL@,$TEST_SHELL,;t t
26080s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t 27470s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t
26081s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t 27471s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t
26082s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t 27472s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t
27473s,@STARTUP_SCRIPT_SHELL@,$STARTUP_SCRIPT_SHELL,;t t
26083s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t 27474s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
26084s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t 27475s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
26085s,@LD@,$LD,;t t 27476s,@LD@,$LD,;t t
26086s,@EGREP@,$EGREP,;t t
26087s,@LIBWRAP@,$LIBWRAP,;t t 27477s,@LIBWRAP@,$LIBWRAP,;t t
26088s,@LIBEDIT@,$LIBEDIT,;t t 27478s,@LIBEDIT@,$LIBEDIT,;t t
26089s,@LIBPAM@,$LIBPAM,;t t 27479s,@LIBPAM@,$LIBPAM,;t t