summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2761
1 files changed, 2142 insertions, 619 deletions
diff --git a/configure b/configure
index 362218407..de1d8e81e 100755
--- a/configure
+++ b/configure
@@ -1,4 +1,5 @@
1#! /bin/sh 1#! /bin/sh
2# From configure.ac Revision: 1.322.2.6 .
2# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for OpenSSH Portable. 4# Generated by GNU Autoconf 2.59 for OpenSSH Portable.
4# 5#
@@ -311,7 +312,7 @@ ac_includes_default="\
311# include <unistd.h> 312# include <unistd.h>
312#endif" 313#endif"
313 314
314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD EGREP LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS' 315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED STARTUP_SCRIPT_SHELL LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD LIBWRAP LIBEDIT LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
315ac_subst_files='' 316ac_subst_files=''
316 317
317# Initialize some variables set by options. 318# Initialize some variables set by options.
@@ -884,7 +885,7 @@ Optional Packages:
884 --with-entropy-timeout Specify entropy gathering command timeout (msec) 885 --with-entropy-timeout Specify entropy gathering command timeout (msec)
885 --with-privsep-user=user Specify non-privileged user for privilege separation 886 --with-privsep-user=user Specify non-privileged user for privilege separation
886 --with-sectok Enable smartcard support using libsectok 887 --with-sectok Enable smartcard support using libsectok
887--with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) 888 --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH)
888 --with-kerberos5=PATH Enable Kerberos 5 support 889 --with-kerberos5=PATH Enable Kerberos 5 support
889 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 890 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
890 --with-xauth=PATH Specify path to xauth program 891 --with-xauth=PATH Specify path to xauth program
@@ -1359,6 +1360,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1359 1360
1360 1361
1361 1362
1363
1362 ac_config_headers="$ac_config_headers config.h" 1364 ac_config_headers="$ac_config_headers config.h"
1363 1365
1364ac_ext=c 1366ac_ext=c
@@ -3036,6 +3038,21 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3036 3038
3037test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3039test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3038 3040
3041echo "$as_me:$LINENO: checking for egrep" >&5
3042echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3043if test "${ac_cv_prog_egrep+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045else
3046 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3047 then ac_cv_prog_egrep='grep -E'
3048 else ac_cv_prog_egrep='egrep'
3049 fi
3050fi
3051echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3052echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3053 EGREP=$ac_cv_prog_egrep
3054
3055
3039# Extract the first word of "ar", so it can be a program name with args. 3056# Extract the first word of "ar", so it can be a program name with args.
3040set dummy ar; ac_word=$2 3057set dummy ar; ac_word=$2
3041echo "$as_me:$LINENO: checking for $ac_word" >&5 3058echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -3552,6 +3569,13 @@ else
3552echo "${ECHO_T}no" >&6 3569echo "${ECHO_T}no" >&6
3553fi 3570fi
3554 3571
3572if test -x /sbin/sh; then
3573 STARTUP_SCRIPT_SHELL=/sbin/sh
3574
3575else
3576 STARTUP_SCRIPT_SHELL=/bin/sh
3577
3578fi
3555 3579
3556# System features 3580# System features
3557# Check whether --enable-largefile or --disable-largefile was given. 3581# Check whether --enable-largefile or --disable-largefile was given.
@@ -3927,7 +3951,8 @@ fi
3927 3951
3928# Use LOGIN_PROGRAM from environment if possible 3952# Use LOGIN_PROGRAM from environment if possible
3929if test ! -z "$LOGIN_PROGRAM" ; then 3953if test ! -z "$LOGIN_PROGRAM" ; then
3930 cat >>confdefs.h <<_ACEOF 3954
3955cat >>confdefs.h <<_ACEOF
3931#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" 3956#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
3932_ACEOF 3957_ACEOF
3933 3958
@@ -4020,7 +4045,8 @@ echo "${ECHO_T}no" >&6
4020fi 4045fi
4021 4046
4022if test ! -z "$PATH_PASSWD_PROG" ; then 4047if test ! -z "$PATH_PASSWD_PROG" ; then
4023 cat >>confdefs.h <<_ACEOF 4048
4049cat >>confdefs.h <<_ACEOF
4024#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG" 4050#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG"
4025_ACEOF 4051_ACEOF
4026 4052
@@ -4167,12 +4193,14 @@ fi
4167 4193
4168if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 4194if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
4169 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" 4195 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized"
4170 GCC_VER=`$CC --version` 4196 GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'`
4171 case $GCC_VER in 4197 case $GCC_VER in
4172 1.*) ;; 4198 1.*) ;;
4173 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; 4199 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4174 2.*) ;; 4200 2.*) ;;
4175 *) CFLAGS="$CFLAGS -Wsign-compare" ;; 4201 3.*) CFLAGS="$CFLAGS -Wsign-compare" ;;
4202 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign" ;;
4203 *) ;;
4176 esac 4204 esac
4177 4205
4178 if test -z "$have_llong_max"; then 4206 if test -z "$have_llong_max"; then
@@ -4247,110 +4275,6 @@ fi
4247 fi 4275 fi
4248fi 4276fi
4249 4277
4250if test -z "$have_llong_max"; then
4251 echo "$as_me:$LINENO: checking for max value of long long" >&5
4252echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
4253 if test "$cross_compiling" = yes; then
4254
4255 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
4256echo "$as_me: WARNING: cross compiling: not checking" >&2;}
4257
4258
4259else
4260 cat >conftest.$ac_ext <<_ACEOF
4261/* confdefs.h. */
4262_ACEOF
4263cat confdefs.h >>conftest.$ac_ext
4264cat >>conftest.$ac_ext <<_ACEOF
4265/* end confdefs.h. */
4266
4267#include <stdio.h>
4268/* Why is this so damn hard? */
4269#ifdef __GNUC__
4270# undef __GNUC__
4271#endif
4272#define __USE_ISOC99
4273#include <limits.h>
4274#define DATA "conftest.llminmax"
4275int main(void) {
4276 FILE *f;
4277 long long i, llmin, llmax = 0;
4278
4279 if((f = fopen(DATA,"w")) == NULL)
4280 exit(1);
4281
4282#if defined(LLONG_MIN) && defined(LLONG_MAX)
4283 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
4284 llmin = LLONG_MIN;
4285 llmax = LLONG_MAX;
4286#else
4287 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
4288 /* This will work on one's complement and two's complement */
4289 for (i = 1; i > llmax; i <<= 1, i++)
4290 llmax = i;
4291 llmin = llmax + 1LL; /* wrap */
4292#endif
4293
4294 /* Sanity check */
4295 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
4296 || llmax - 1 > llmax) {
4297 fprintf(f, "unknown unknown\n");
4298 exit(2);
4299 }
4300
4301 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
4302 exit(3);
4303
4304 exit(0);
4305}
4306
4307_ACEOF
4308rm -f conftest$ac_exeext
4309if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4310 (eval $ac_link) 2>&5
4311 ac_status=$?
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 (eval $ac_try) 2>&5
4316 ac_status=$?
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4319
4320 llong_min=`$AWK '{print $1}' conftest.llminmax`
4321 llong_max=`$AWK '{print $2}' conftest.llminmax`
4322 echo "$as_me:$LINENO: result: $llong_max" >&5
4323echo "${ECHO_T}$llong_max" >&6
4324
4325cat >>confdefs.h <<_ACEOF
4326#define LLONG_MAX ${llong_max}LL
4327_ACEOF
4328
4329 echo "$as_me:$LINENO: checking for min value of long long" >&5
4330echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
4331 echo "$as_me:$LINENO: result: $llong_min" >&5
4332echo "${ECHO_T}$llong_min" >&6
4333
4334cat >>confdefs.h <<_ACEOF
4335#define LLONG_MIN ${llong_min}LL
4336_ACEOF
4337
4338
4339else
4340 echo "$as_me: program exited with status $ac_status" >&5
4341echo "$as_me: failed program was:" >&5
4342sed 's/^/| /' conftest.$ac_ext >&5
4343
4344( exit $ac_status )
4345
4346 echo "$as_me:$LINENO: result: not found" >&5
4347echo "${ECHO_T}not found" >&6
4348
4349fi
4350rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4351fi
4352fi
4353
4354 4278
4355# Check whether --with-rpath or --without-rpath was given. 4279# Check whether --with-rpath or --without-rpath was given.
4356if test "${with_rpath+set}" = set; then 4280if test "${with_rpath+set}" = set; then
@@ -4527,7 +4451,8 @@ fi
4527echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 4451echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
4528echo "${ECHO_T}$ac_cv_func_authenticate" >&6 4452echo "${ECHO_T}$ac_cv_func_authenticate" >&6
4529if test $ac_cv_func_authenticate = yes; then 4453if test $ac_cv_func_authenticate = yes; then
4530 cat >>confdefs.h <<\_ACEOF 4454
4455cat >>confdefs.h <<\_ACEOF
4531#define WITH_AIXAUTHENTICATE 1 4456#define WITH_AIXAUTHENTICATE 1
4532_ACEOF 4457_ACEOF
4533 4458
@@ -5070,7 +4995,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5070 (exit $ac_status); }; }; then 4995 (exit $ac_status); }; }; then
5071 echo "$as_me:$LINENO: result: yes" >&5 4996 echo "$as_me:$LINENO: result: yes" >&5
5072echo "${ECHO_T}yes" >&6 4997echo "${ECHO_T}yes" >&6
5073 cat >>confdefs.h <<\_ACEOF 4998
4999cat >>confdefs.h <<\_ACEOF
5074#define AIX_LOGINFAILED_4ARG 1 5000#define AIX_LOGINFAILED_4ARG 1
5075_ACEOF 5001_ACEOF
5076 5002
@@ -5195,63 +5121,82 @@ fi
5195done 5121done
5196 5122
5197 check_for_aix_broken_getaddrinfo=1 5123 check_for_aix_broken_getaddrinfo=1
5198 cat >>confdefs.h <<\_ACEOF 5124
5125cat >>confdefs.h <<\_ACEOF
5199#define BROKEN_REALPATH 1 5126#define BROKEN_REALPATH 1
5200_ACEOF 5127_ACEOF
5201 5128
5202 cat >>confdefs.h <<\_ACEOF 5129
5130cat >>confdefs.h <<\_ACEOF
5203#define SETEUID_BREAKS_SETUID 1 5131#define SETEUID_BREAKS_SETUID 1
5204_ACEOF 5132_ACEOF
5205 5133
5206 cat >>confdefs.h <<\_ACEOF 5134
5135cat >>confdefs.h <<\_ACEOF
5207#define BROKEN_SETREUID 1 5136#define BROKEN_SETREUID 1
5208_ACEOF 5137_ACEOF
5209 5138
5210 cat >>confdefs.h <<\_ACEOF 5139
5140cat >>confdefs.h <<\_ACEOF
5211#define BROKEN_SETREGID 1 5141#define BROKEN_SETREGID 1
5212_ACEOF 5142_ACEOF
5213 5143
5214 cat >>confdefs.h <<\_ACEOF 5144
5145cat >>confdefs.h <<\_ACEOF
5215#define DISABLE_LASTLOG 1 5146#define DISABLE_LASTLOG 1
5216_ACEOF 5147_ACEOF
5217 5148
5218 cat >>confdefs.h <<\_ACEOF 5149
5150cat >>confdefs.h <<\_ACEOF
5219#define LOGIN_NEEDS_UTMPX 1 5151#define LOGIN_NEEDS_UTMPX 1
5220_ACEOF 5152_ACEOF
5221 5153
5222 cat >>confdefs.h <<\_ACEOF 5154
5155cat >>confdefs.h <<\_ACEOF
5223#define SPT_TYPE SPT_REUSEARGV 5156#define SPT_TYPE SPT_REUSEARGV
5224_ACEOF 5157_ACEOF
5225 5158
5159
5160cat >>confdefs.h <<\_ACEOF
5161#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5162_ACEOF
5163
5226 ;; 5164 ;;
5227*-*-cygwin*) 5165*-*-cygwin*)
5228 check_for_libcrypt_later=1 5166 check_for_libcrypt_later=1
5229 LIBS="$LIBS /usr/lib/textmode.o" 5167 LIBS="$LIBS /usr/lib/textmode.o"
5230 cat >>confdefs.h <<\_ACEOF 5168
5169cat >>confdefs.h <<\_ACEOF
5231#define HAVE_CYGWIN 1 5170#define HAVE_CYGWIN 1
5232_ACEOF 5171_ACEOF
5233 5172
5234 cat >>confdefs.h <<\_ACEOF 5173
5174cat >>confdefs.h <<\_ACEOF
5235#define USE_PIPES 1 5175#define USE_PIPES 1
5236_ACEOF 5176_ACEOF
5237 5177
5238 cat >>confdefs.h <<\_ACEOF 5178
5179cat >>confdefs.h <<\_ACEOF
5239#define DISABLE_SHADOW 1 5180#define DISABLE_SHADOW 1
5240_ACEOF 5181_ACEOF
5241 5182
5242 cat >>confdefs.h <<\_ACEOF 5183
5184cat >>confdefs.h <<\_ACEOF
5243#define IP_TOS_IS_BROKEN 1 5185#define IP_TOS_IS_BROKEN 1
5244_ACEOF 5186_ACEOF
5245 5187
5246 cat >>confdefs.h <<\_ACEOF 5188
5189cat >>confdefs.h <<\_ACEOF
5247#define NO_X11_UNIX_SOCKETS 1 5190#define NO_X11_UNIX_SOCKETS 1
5248_ACEOF 5191_ACEOF
5249 5192
5250 cat >>confdefs.h <<\_ACEOF 5193
5194cat >>confdefs.h <<\_ACEOF
5251#define NO_IPPORT_RESERVED_CONCEPT 1 5195#define NO_IPPORT_RESERVED_CONCEPT 1
5252_ACEOF 5196_ACEOF
5253 5197
5254 cat >>confdefs.h <<\_ACEOF 5198
5199cat >>confdefs.h <<\_ACEOF
5255#define DISABLE_FD_PASSING 1 5200#define DISABLE_FD_PASSING 1
5256_ACEOF 5201_ACEOF
5257 5202
@@ -5315,7 +5260,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
5315( exit $ac_status ) 5260( exit $ac_status )
5316echo "$as_me:$LINENO: result: buggy" >&5 5261echo "$as_me:$LINENO: result: buggy" >&5
5317echo "${ECHO_T}buggy" >&6 5262echo "${ECHO_T}buggy" >&6
5318 cat >>confdefs.h <<\_ACEOF 5263
5264cat >>confdefs.h <<\_ACEOF
5319#define BROKEN_GETADDRINFO 1 5265#define BROKEN_GETADDRINFO 1
5320_ACEOF 5266_ACEOF
5321 5267
@@ -5334,10 +5280,130 @@ _ACEOF
5334#define BROKEN_SETREGID 1 5280#define BROKEN_SETREGID 1
5335_ACEOF 5281_ACEOF
5336 5282
5337 cat >>confdefs.h <<_ACEOF 5283
5284cat >>confdefs.h <<_ACEOF
5338#define BIND_8_COMPAT 1 5285#define BIND_8_COMPAT 1
5339_ACEOF 5286_ACEOF
5340 5287
5288 echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5
5289echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6
5290 cat >conftest.$ac_ext <<_ACEOF
5291/* confdefs.h. */
5292_ACEOF
5293cat confdefs.h >>conftest.$ac_ext
5294cat >>conftest.$ac_ext <<_ACEOF
5295/* end confdefs.h. */
5296#include <Security/AuthSession.h>
5297int
5298main ()
5299{
5300SessionCreate(0, 0);
5301 ;
5302 return 0;
5303}
5304_ACEOF
5305rm -f conftest.$ac_objext
5306if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5307 (eval $ac_compile) 2>conftest.er1
5308 ac_status=$?
5309 grep -v '^ *+' conftest.er1 >conftest.err
5310 rm -f conftest.er1
5311 cat conftest.err >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); } &&
5314 { ac_try='test -z "$ac_c_werror_flag"
5315 || test ! -s conftest.err'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317 (eval $ac_try) 2>&5
5318 ac_status=$?
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; } &&
5321 { ac_try='test -s conftest.$ac_objext'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 (eval $ac_try) 2>&5
5324 ac_status=$?
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; }; then
5327 ac_cv_use_security_session_api="yes"
5328
5329cat >>confdefs.h <<\_ACEOF
5330#define USE_SECURITY_SESSION_API 1
5331_ACEOF
5332
5333 LIBS="$LIBS -framework Security"
5334 echo "$as_me:$LINENO: result: yes" >&5
5335echo "${ECHO_T}yes" >&6
5336else
5337 echo "$as_me: failed program was:" >&5
5338sed 's/^/| /' conftest.$ac_ext >&5
5339
5340ac_cv_use_security_session_api="no"
5341 echo "$as_me:$LINENO: result: no" >&5
5342echo "${ECHO_T}no" >&6
5343fi
5344rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5345 echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5
5346echo $ECHO_N "checking if we have an in-memory credentials cache... $ECHO_C" >&6
5347 cat >conftest.$ac_ext <<_ACEOF
5348/* confdefs.h. */
5349_ACEOF
5350cat confdefs.h >>conftest.$ac_ext
5351cat >>conftest.$ac_ext <<_ACEOF
5352/* end confdefs.h. */
5353#include <Kerberos/Kerberos.h>
5354int
5355main ()
5356{
5357cc_context_t c;
5358 (void) cc_initialize (&c, 0, NULL, NULL);
5359 ;
5360 return 0;
5361}
5362_ACEOF
5363rm -f conftest.$ac_objext
5364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5365 (eval $ac_compile) 2>conftest.er1
5366 ac_status=$?
5367 grep -v '^ *+' conftest.er1 >conftest.err
5368 rm -f conftest.er1
5369 cat conftest.err >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } &&
5372 { ac_try='test -z "$ac_c_werror_flag"
5373 || test ! -s conftest.err'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 (eval $ac_try) 2>&5
5376 ac_status=$?
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; } &&
5379 { ac_try='test -s conftest.$ac_objext'
5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5381 (eval $ac_try) 2>&5
5382 ac_status=$?
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; }; then
5385
5386cat >>confdefs.h <<\_ACEOF
5387#define USE_CCAPI 1
5388_ACEOF
5389
5390 LIBS="$LIBS -framework Security"
5391 echo "$as_me:$LINENO: result: yes" >&5
5392echo "${ECHO_T}yes" >&6
5393 if test "x$ac_cv_use_security_session_api" = "xno"; then
5394 { { echo "$as_me:$LINENO: error: *** Need a security framework to use the credentials cache API ***" >&5
5395echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;}
5396 { (exit 1); exit 1; }; }
5397 fi
5398else
5399 echo "$as_me: failed program was:" >&5
5400sed 's/^/| /' conftest.$ac_ext >&5
5401
5402echo "$as_me:$LINENO: result: no" >&5
5403echo "${ECHO_T}no" >&6
5404
5405fi
5406rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5341 ;; 5407 ;;
5342*-*-hpux*) 5408*-*-hpux*)
5343 # first we define all of the options common to all HP-UX releases 5409 # first we define all of the options common to all HP-UX releases
@@ -5347,7 +5413,8 @@ _ACEOF
5347#define USE_PIPES 1 5413#define USE_PIPES 1
5348_ACEOF 5414_ACEOF
5349 5415
5350 cat >>confdefs.h <<\_ACEOF 5416
5417cat >>confdefs.h <<\_ACEOF
5351#define LOGIN_NO_ENDOPT 1 5418#define LOGIN_NO_ENDOPT 1
5352_ACEOF 5419_ACEOF
5353 5420
@@ -5355,7 +5422,8 @@ _ACEOF
5355#define LOGIN_NEEDS_UTMPX 1 5422#define LOGIN_NEEDS_UTMPX 1
5356_ACEOF 5423_ACEOF
5357 5424
5358 cat >>confdefs.h <<\_ACEOF 5425
5426cat >>confdefs.h <<\_ACEOF
5359#define LOCKED_PASSWD_STRING "*" 5427#define LOCKED_PASSWD_STRING "*"
5360_ACEOF 5428_ACEOF
5361 5429
@@ -5363,6 +5431,7 @@ _ACEOF
5363#define SPT_TYPE SPT_PSTAT 5431#define SPT_TYPE SPT_PSTAT
5364_ACEOF 5432_ACEOF
5365 5433
5434 MAIL="/var/mail/username"
5366 LIBS="$LIBS -lsec" 5435 LIBS="$LIBS -lsec"
5367 5436
5368echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 5437echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
@@ -5451,11 +5520,13 @@ fi
5451 fi 5520 fi
5452 ;; 5521 ;;
5453 *-*-hpux11*) 5522 *-*-hpux11*)
5454 cat >>confdefs.h <<\_ACEOF 5523
5524cat >>confdefs.h <<\_ACEOF
5455#define PAM_SUN_CODEBASE 1 5525#define PAM_SUN_CODEBASE 1
5456_ACEOF 5526_ACEOF
5457 5527
5458 cat >>confdefs.h <<\_ACEOF 5528
5529cat >>confdefs.h <<\_ACEOF
5459#define DISABLE_UTMP 1 5530#define DISABLE_UTMP 1
5460_ACEOF 5531_ACEOF
5461 5532
@@ -5472,7 +5543,8 @@ _ACEOF
5472 # lastly, we define options specific to minor releases 5543 # lastly, we define options specific to minor releases
5473 case "$host" in 5544 case "$host" in
5474 *-*-hpux10.26) 5545 *-*-hpux10.26)
5475 cat >>confdefs.h <<\_ACEOF 5546
5547cat >>confdefs.h <<\_ACEOF
5476#define HAVE_SECUREWARE 1 5548#define HAVE_SECUREWARE 1
5477_ACEOF 5549_ACEOF
5478 5550
@@ -5483,7 +5555,8 @@ _ACEOF
5483 ;; 5555 ;;
5484*-*-irix5*) 5556*-*-irix5*)
5485 PATH="$PATH:/usr/etc" 5557 PATH="$PATH:/usr/etc"
5486 cat >>confdefs.h <<\_ACEOF 5558
5559cat >>confdefs.h <<\_ACEOF
5487#define BROKEN_INET_NTOA 1 5560#define BROKEN_INET_NTOA 1
5488_ACEOF 5561_ACEOF
5489 5562
@@ -5499,7 +5572,8 @@ _ACEOF
5499#define BROKEN_SETREGID 1 5572#define BROKEN_SETREGID 1
5500_ACEOF 5573_ACEOF
5501 5574
5502 cat >>confdefs.h <<\_ACEOF 5575
5576cat >>confdefs.h <<\_ACEOF
5503#define WITH_ABBREV_NO_TTY 1 5577#define WITH_ABBREV_NO_TTY 1
5504_ACEOF 5578_ACEOF
5505 5579
@@ -5510,15 +5584,18 @@ _ACEOF
5510 ;; 5584 ;;
5511*-*-irix6*) 5585*-*-irix6*)
5512 PATH="$PATH:/usr/etc" 5586 PATH="$PATH:/usr/etc"
5513 cat >>confdefs.h <<\_ACEOF 5587
5588cat >>confdefs.h <<\_ACEOF
5514#define WITH_IRIX_ARRAY 1 5589#define WITH_IRIX_ARRAY 1
5515_ACEOF 5590_ACEOF
5516 5591
5517 cat >>confdefs.h <<\_ACEOF 5592
5593cat >>confdefs.h <<\_ACEOF
5518#define WITH_IRIX_PROJECT 1 5594#define WITH_IRIX_PROJECT 1
5519_ACEOF 5595_ACEOF
5520 5596
5521 cat >>confdefs.h <<\_ACEOF 5597
5598cat >>confdefs.h <<\_ACEOF
5522#define WITH_IRIX_AUDIT 1 5599#define WITH_IRIX_AUDIT 1
5523_ACEOF 5600_ACEOF
5524 5601
@@ -5613,7 +5690,8 @@ fi
5613echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 5690echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
5614echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 5691echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
5615if test $ac_cv_func_jlimit_startjob = yes; then 5692if test $ac_cv_func_jlimit_startjob = yes; then
5616 cat >>confdefs.h <<\_ACEOF 5693
5694cat >>confdefs.h <<\_ACEOF
5617#define WITH_IRIX_JOBS 1 5695#define WITH_IRIX_JOBS 1
5618_ACEOF 5696_ACEOF
5619 5697
@@ -5635,7 +5713,8 @@ _ACEOF
5635#define BROKEN_SETREGID 1 5713#define BROKEN_SETREGID 1
5636_ACEOF 5714_ACEOF
5637 5715
5638 cat >>confdefs.h <<\_ACEOF 5716
5717cat >>confdefs.h <<\_ACEOF
5639#define BROKEN_UPDWTMPX 1 5718#define BROKEN_UPDWTMPX 1
5640_ACEOF 5719_ACEOF
5641 5720
@@ -5652,15 +5731,18 @@ _ACEOF
5652 no_dev_ptmx=1 5731 no_dev_ptmx=1
5653 check_for_libcrypt_later=1 5732 check_for_libcrypt_later=1
5654 check_for_openpty_ctty_bug=1 5733 check_for_openpty_ctty_bug=1
5655 cat >>confdefs.h <<\_ACEOF 5734
5735cat >>confdefs.h <<\_ACEOF
5656#define DONT_TRY_OTHER_AF 1 5736#define DONT_TRY_OTHER_AF 1
5657_ACEOF 5737_ACEOF
5658 5738
5659 cat >>confdefs.h <<\_ACEOF 5739
5740cat >>confdefs.h <<\_ACEOF
5660#define PAM_TTY_KLUDGE 1 5741#define PAM_TTY_KLUDGE 1
5661_ACEOF 5742_ACEOF
5662 5743
5663 cat >>confdefs.h <<\_ACEOF 5744
5745cat >>confdefs.h <<\_ACEOF
5664#define LOCKED_PASSWD_PREFIX "!" 5746#define LOCKED_PASSWD_PREFIX "!"
5665_ACEOF 5747_ACEOF
5666 5748
@@ -5668,7 +5750,8 @@ _ACEOF
5668#define SPT_TYPE SPT_REUSEARGV 5750#define SPT_TYPE SPT_REUSEARGV
5669_ACEOF 5751_ACEOF
5670 5752
5671 cat >>confdefs.h <<\_ACEOF 5753
5754cat >>confdefs.h <<\_ACEOF
5672#define LINK_OPNOTSUPP_ERRNO EPERM 5755#define LINK_OPNOTSUPP_ERRNO EPERM
5673_ACEOF 5756_ACEOF
5674 5757
@@ -5677,25 +5760,432 @@ cat >>confdefs.h <<\_ACEOF
5677#define _PATH_BTMP "/var/log/btmp" 5760#define _PATH_BTMP "/var/log/btmp"
5678_ACEOF 5761_ACEOF
5679 5762
5680 5763 cat >>confdefs.h <<\_ACEOF
5681cat >>confdefs.h <<\_ACEOF
5682#define USE_BTMP 1 5764#define USE_BTMP 1
5683_ACEOF 5765_ACEOF
5684 5766
5685 inet6_default_4in6=yes 5767 inet6_default_4in6=yes
5686 case `uname -r` in 5768 case `uname -r` in
5687 1.*|2.0.*) 5769 1.*|2.0.*)
5688 cat >>confdefs.h <<\_ACEOF 5770
5771cat >>confdefs.h <<\_ACEOF
5689#define BROKEN_CMSG_TYPE 1 5772#define BROKEN_CMSG_TYPE 1
5690_ACEOF 5773_ACEOF
5691 5774
5692 ;; 5775 ;;
5693 esac 5776 esac
5777 # tun(4) forwarding compat code
5778
5779echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5780echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5781if test "${ac_cv_header_stdc+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5783else
5784 cat >conftest.$ac_ext <<_ACEOF
5785/* confdefs.h. */
5786_ACEOF
5787cat confdefs.h >>conftest.$ac_ext
5788cat >>conftest.$ac_ext <<_ACEOF
5789/* end confdefs.h. */
5790#include <stdlib.h>
5791#include <stdarg.h>
5792#include <string.h>
5793#include <float.h>
5794
5795int
5796main ()
5797{
5798
5799 ;
5800 return 0;
5801}
5802_ACEOF
5803rm -f conftest.$ac_objext
5804if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5805 (eval $ac_compile) 2>conftest.er1
5806 ac_status=$?
5807 grep -v '^ *+' conftest.er1 >conftest.err
5808 rm -f conftest.er1
5809 cat conftest.err >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } &&
5812 { ac_try='test -z "$ac_c_werror_flag"
5813 || test ! -s conftest.err'
5814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815 (eval $ac_try) 2>&5
5816 ac_status=$?
5817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); }; } &&
5819 { ac_try='test -s conftest.$ac_objext'
5820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5821 (eval $ac_try) 2>&5
5822 ac_status=$?
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; }; then
5825 ac_cv_header_stdc=yes
5826else
5827 echo "$as_me: failed program was:" >&5
5828sed 's/^/| /' conftest.$ac_ext >&5
5829
5830ac_cv_header_stdc=no
5831fi
5832rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5833
5834if test $ac_cv_header_stdc = yes; then
5835 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5836 cat >conftest.$ac_ext <<_ACEOF
5837/* confdefs.h. */
5838_ACEOF
5839cat confdefs.h >>conftest.$ac_ext
5840cat >>conftest.$ac_ext <<_ACEOF
5841/* end confdefs.h. */
5842#include <string.h>
5843
5844_ACEOF
5845if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5846 $EGREP "memchr" >/dev/null 2>&1; then
5847 :
5848else
5849 ac_cv_header_stdc=no
5850fi
5851rm -f conftest*
5852
5853fi
5854
5855if test $ac_cv_header_stdc = yes; then
5856 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5857 cat >conftest.$ac_ext <<_ACEOF
5858/* confdefs.h. */
5859_ACEOF
5860cat confdefs.h >>conftest.$ac_ext
5861cat >>conftest.$ac_ext <<_ACEOF
5862/* end confdefs.h. */
5863#include <stdlib.h>
5864
5865_ACEOF
5866if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5867 $EGREP "free" >/dev/null 2>&1; then
5868 :
5869else
5870 ac_cv_header_stdc=no
5871fi
5872rm -f conftest*
5873
5874fi
5875
5876if test $ac_cv_header_stdc = yes; then
5877 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5878 if test "$cross_compiling" = yes; then
5879 :
5880else
5881 cat >conftest.$ac_ext <<_ACEOF
5882/* confdefs.h. */
5883_ACEOF
5884cat confdefs.h >>conftest.$ac_ext
5885cat >>conftest.$ac_ext <<_ACEOF
5886/* end confdefs.h. */
5887#include <ctype.h>
5888#if ((' ' & 0x0FF) == 0x020)
5889# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5890# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5891#else
5892# define ISLOWER(c) \
5893 (('a' <= (c) && (c) <= 'i') \
5894 || ('j' <= (c) && (c) <= 'r') \
5895 || ('s' <= (c) && (c) <= 'z'))
5896# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5897#endif
5898
5899#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5900int
5901main ()
5902{
5903 int i;
5904 for (i = 0; i < 256; i++)
5905 if (XOR (islower (i), ISLOWER (i))
5906 || toupper (i) != TOUPPER (i))
5907 exit(2);
5908 exit (0);
5909}
5910_ACEOF
5911rm -f conftest$ac_exeext
5912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5913 (eval $ac_link) 2>&5
5914 ac_status=$?
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 (eval $ac_try) 2>&5
5919 ac_status=$?
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); }; }; then
5922 :
5923else
5924 echo "$as_me: program exited with status $ac_status" >&5
5925echo "$as_me: failed program was:" >&5
5926sed 's/^/| /' conftest.$ac_ext >&5
5927
5928( exit $ac_status )
5929ac_cv_header_stdc=no
5930fi
5931rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5932fi
5933fi
5934fi
5935echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5936echo "${ECHO_T}$ac_cv_header_stdc" >&6
5937if test $ac_cv_header_stdc = yes; then
5938
5939cat >>confdefs.h <<\_ACEOF
5940#define STDC_HEADERS 1
5941_ACEOF
5942
5943fi
5944
5945# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5956 inttypes.h stdint.h unistd.h
5957do
5958as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5959echo "$as_me:$LINENO: checking for $ac_header" >&5
5960echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5961if eval "test \"\${$as_ac_Header+set}\" = set"; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5963else
5964 cat >conftest.$ac_ext <<_ACEOF
5965/* confdefs.h. */
5966_ACEOF
5967cat confdefs.h >>conftest.$ac_ext
5968cat >>conftest.$ac_ext <<_ACEOF
5969/* end confdefs.h. */
5970$ac_includes_default
5971
5972#include <$ac_header>
5973_ACEOF
5974rm -f conftest.$ac_objext
5975if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5976 (eval $ac_compile) 2>conftest.er1
5977 ac_status=$?
5978 grep -v '^ *+' conftest.er1 >conftest.err
5979 rm -f conftest.er1
5980 cat conftest.err >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try='test -z "$ac_c_werror_flag"
5984 || test ! -s conftest.err'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 (eval $ac_try) 2>&5
5987 ac_status=$?
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; } &&
5990 { ac_try='test -s conftest.$ac_objext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5992 (eval $ac_try) 2>&5
5993 ac_status=$?
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5996 eval "$as_ac_Header=yes"
5997else
5998 echo "$as_me: failed program was:" >&5
5999sed 's/^/| /' conftest.$ac_ext >&5
6000
6001eval "$as_ac_Header=no"
6002fi
6003rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6004fi
6005echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6006echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6007if test `eval echo '${'$as_ac_Header'}'` = yes; then
6008 cat >>confdefs.h <<_ACEOF
6009#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010_ACEOF
6011
6012fi
6013
6014done
6015
6016
6017
6018for ac_header in linux/if_tun.h
6019do
6020as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6021if eval "test \"\${$as_ac_Header+set}\" = set"; then
6022 echo "$as_me:$LINENO: checking for $ac_header" >&5
6023echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6024if eval "test \"\${$as_ac_Header+set}\" = set"; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6026fi
6027echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6028echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6029else
6030 # Is the header compilable?
6031echo "$as_me:$LINENO: checking $ac_header usability" >&5
6032echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6033cat >conftest.$ac_ext <<_ACEOF
6034/* confdefs.h. */
6035_ACEOF
6036cat confdefs.h >>conftest.$ac_ext
6037cat >>conftest.$ac_ext <<_ACEOF
6038/* end confdefs.h. */
6039$ac_includes_default
6040#include <$ac_header>
6041_ACEOF
6042rm -f conftest.$ac_objext
6043if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6044 (eval $ac_compile) 2>conftest.er1
6045 ac_status=$?
6046 grep -v '^ *+' conftest.er1 >conftest.err
6047 rm -f conftest.er1
6048 cat conftest.err >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); } &&
6051 { ac_try='test -z "$ac_c_werror_flag"
6052 || test ! -s conftest.err'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 (eval $ac_try) 2>&5
6055 ac_status=$?
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; } &&
6058 { ac_try='test -s conftest.$ac_objext'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6060 (eval $ac_try) 2>&5
6061 ac_status=$?
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; }; then
6064 ac_header_compiler=yes
6065else
6066 echo "$as_me: failed program was:" >&5
6067sed 's/^/| /' conftest.$ac_ext >&5
6068
6069ac_header_compiler=no
6070fi
6071rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6072echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6073echo "${ECHO_T}$ac_header_compiler" >&6
6074
6075# Is the header present?
6076echo "$as_me:$LINENO: checking $ac_header presence" >&5
6077echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6078cat >conftest.$ac_ext <<_ACEOF
6079/* confdefs.h. */
6080_ACEOF
6081cat confdefs.h >>conftest.$ac_ext
6082cat >>conftest.$ac_ext <<_ACEOF
6083/* end confdefs.h. */
6084#include <$ac_header>
6085_ACEOF
6086if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6088 ac_status=$?
6089 grep -v '^ *+' conftest.er1 >conftest.err
6090 rm -f conftest.er1
6091 cat conftest.err >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } >/dev/null; then
6094 if test -s conftest.err; then
6095 ac_cpp_err=$ac_c_preproc_warn_flag
6096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6097 else
6098 ac_cpp_err=
6099 fi
6100else
6101 ac_cpp_err=yes
6102fi
6103if test -z "$ac_cpp_err"; then
6104 ac_header_preproc=yes
6105else
6106 echo "$as_me: failed program was:" >&5
6107sed 's/^/| /' conftest.$ac_ext >&5
6108
6109 ac_header_preproc=no
6110fi
6111rm -f conftest.err conftest.$ac_ext
6112echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6113echo "${ECHO_T}$ac_header_preproc" >&6
6114
6115# So? What about this header?
6116case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6117 yes:no: )
6118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6119echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6121echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6122 ac_header_preproc=yes
6123 ;;
6124 no:yes:* )
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6126echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6128echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6130echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6132echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6134echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6136echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6137 (
6138 cat <<\_ASBOX
6139## ------------------------------------------- ##
6140## Report this to openssh-unix-dev@mindrot.org ##
6141## ------------------------------------------- ##
6142_ASBOX
6143 ) |
6144 sed "s/^/$as_me: WARNING: /" >&2
6145 ;;
6146esac
6147echo "$as_me:$LINENO: checking for $ac_header" >&5
6148echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6151else
6152 eval "$as_ac_Header=\$ac_header_preproc"
6153fi
6154echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6155echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6156
6157fi
6158if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159 cat >>confdefs.h <<_ACEOF
6160#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161_ACEOF
6162
6163fi
6164
6165done
6166
6167 if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then
6168
6169cat >>confdefs.h <<\_ACEOF
6170#define SSH_TUN_LINUX 1
6171_ACEOF
6172
6173
6174cat >>confdefs.h <<\_ACEOF
6175#define SSH_TUN_COMPAT_AF 1
6176_ACEOF
6177
6178
6179cat >>confdefs.h <<\_ACEOF
6180#define SSH_TUN_PREPEND_AF 1
6181_ACEOF
6182
6183 fi
5694 ;; 6184 ;;
5695mips-sony-bsd|mips-sony-newsos4) 6185mips-sony-bsd|mips-sony-newsos4)
5696 6186
5697cat >>confdefs.h <<\_ACEOF 6187cat >>confdefs.h <<\_ACEOF
5698#define NEED_SETPRGP 6188#define NEED_SETPGRP 1
5699_ACEOF 6189_ACEOF
5700 6190
5701 SONY=1 6191 SONY=1
@@ -5705,9 +6195,325 @@ _ACEOF
5705 if test "x$withval" != "xno" ; then 6195 if test "x$withval" != "xno" ; then
5706 need_dash_r=1 6196 need_dash_r=1
5707 fi 6197 fi
6198
6199cat >>confdefs.h <<\_ACEOF
6200#define SSH_TUN_FREEBSD 1
6201_ACEOF
6202
6203 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6204 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6205echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6206if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6208fi
6209echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6210echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6211else
6212 # Is the header compilable?
6213echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6214echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6215cat >conftest.$ac_ext <<_ACEOF
6216/* confdefs.h. */
6217_ACEOF
6218cat confdefs.h >>conftest.$ac_ext
6219cat >>conftest.$ac_ext <<_ACEOF
6220/* end confdefs.h. */
6221$ac_includes_default
6222#include <net/if_tap.h>
6223_ACEOF
6224rm -f conftest.$ac_objext
6225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6226 (eval $ac_compile) 2>conftest.er1
6227 ac_status=$?
6228 grep -v '^ *+' conftest.er1 >conftest.err
6229 rm -f conftest.er1
6230 cat conftest.err >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } &&
6233 { ac_try='test -z "$ac_c_werror_flag"
6234 || test ! -s conftest.err'
6235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 (eval $ac_try) 2>&5
6237 ac_status=$?
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); }; } &&
6240 { ac_try='test -s conftest.$ac_objext'
6241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 (eval $ac_try) 2>&5
6243 ac_status=$?
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }; }; then
6246 ac_header_compiler=yes
6247else
6248 echo "$as_me: failed program was:" >&5
6249sed 's/^/| /' conftest.$ac_ext >&5
6250
6251ac_header_compiler=no
6252fi
6253rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6254echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6255echo "${ECHO_T}$ac_header_compiler" >&6
6256
6257# Is the header present?
6258echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6259echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6260cat >conftest.$ac_ext <<_ACEOF
6261/* confdefs.h. */
6262_ACEOF
6263cat confdefs.h >>conftest.$ac_ext
6264cat >>conftest.$ac_ext <<_ACEOF
6265/* end confdefs.h. */
6266#include <net/if_tap.h>
6267_ACEOF
6268if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6270 ac_status=$?
6271 grep -v '^ *+' conftest.er1 >conftest.err
6272 rm -f conftest.er1
6273 cat conftest.err >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } >/dev/null; then
6276 if test -s conftest.err; then
6277 ac_cpp_err=$ac_c_preproc_warn_flag
6278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6279 else
6280 ac_cpp_err=
6281 fi
6282else
6283 ac_cpp_err=yes
6284fi
6285if test -z "$ac_cpp_err"; then
6286 ac_header_preproc=yes
6287else
6288 echo "$as_me: failed program was:" >&5
6289sed 's/^/| /' conftest.$ac_ext >&5
6290
6291 ac_header_preproc=no
6292fi
6293rm -f conftest.err conftest.$ac_ext
6294echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6295echo "${ECHO_T}$ac_header_preproc" >&6
6296
6297# So? What about this header?
6298case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6299 yes:no: )
6300 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6301echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6302 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6303echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6304 ac_header_preproc=yes
6305 ;;
6306 no:yes:* )
6307 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6308echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6309 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6310echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6311 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6312echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6313 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6314echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6315 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6316echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6318echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6319 (
6320 cat <<\_ASBOX
6321## ------------------------------------------- ##
6322## Report this to openssh-unix-dev@mindrot.org ##
6323## ------------------------------------------- ##
6324_ASBOX
6325 ) |
6326 sed "s/^/$as_me: WARNING: /" >&2
6327 ;;
6328esac
6329echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6330echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6331if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6333else
6334 ac_cv_header_net_if_tap_h=$ac_header_preproc
6335fi
6336echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6337echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6338
6339fi
6340if test $ac_cv_header_net_if_tap_h = yes; then
6341 :
6342else
6343
6344cat >>confdefs.h <<\_ACEOF
6345#define SSH_TUN_NO_L2 1
6346_ACEOF
6347
6348fi
6349
6350
6351
6352cat >>confdefs.h <<\_ACEOF
6353#define SSH_TUN_PREPEND_AF 1
6354_ACEOF
6355
5708 ;; 6356 ;;
5709*-*-freebsd*) 6357*-*-freebsd*)
5710 check_for_libcrypt_later=1 6358 check_for_libcrypt_later=1
6359
6360cat >>confdefs.h <<\_ACEOF
6361#define LOCKED_PASSWD_PREFIX "*LOCKED*"
6362_ACEOF
6363
6364
6365cat >>confdefs.h <<\_ACEOF
6366#define SSH_TUN_FREEBSD 1
6367_ACEOF
6368
6369 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6370 echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6371echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6372if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6374fi
6375echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6376echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6377else
6378 # Is the header compilable?
6379echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
6380echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6
6381cat >conftest.$ac_ext <<_ACEOF
6382/* confdefs.h. */
6383_ACEOF
6384cat confdefs.h >>conftest.$ac_ext
6385cat >>conftest.$ac_ext <<_ACEOF
6386/* end confdefs.h. */
6387$ac_includes_default
6388#include <net/if_tap.h>
6389_ACEOF
6390rm -f conftest.$ac_objext
6391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6392 (eval $ac_compile) 2>conftest.er1
6393 ac_status=$?
6394 grep -v '^ *+' conftest.er1 >conftest.err
6395 rm -f conftest.er1
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } &&
6399 { ac_try='test -z "$ac_c_werror_flag"
6400 || test ! -s conftest.err'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 (eval $ac_try) 2>&5
6403 ac_status=$?
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; } &&
6406 { ac_try='test -s conftest.$ac_objext'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 (eval $ac_try) 2>&5
6409 ac_status=$?
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }; then
6412 ac_header_compiler=yes
6413else
6414 echo "$as_me: failed program was:" >&5
6415sed 's/^/| /' conftest.$ac_ext >&5
6416
6417ac_header_compiler=no
6418fi
6419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6420echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6421echo "${ECHO_T}$ac_header_compiler" >&6
6422
6423# Is the header present?
6424echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
6425echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6
6426cat >conftest.$ac_ext <<_ACEOF
6427/* confdefs.h. */
6428_ACEOF
6429cat confdefs.h >>conftest.$ac_ext
6430cat >>conftest.$ac_ext <<_ACEOF
6431/* end confdefs.h. */
6432#include <net/if_tap.h>
6433_ACEOF
6434if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6436 ac_status=$?
6437 grep -v '^ *+' conftest.er1 >conftest.err
6438 rm -f conftest.er1
6439 cat conftest.err >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } >/dev/null; then
6442 if test -s conftest.err; then
6443 ac_cpp_err=$ac_c_preproc_warn_flag
6444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6445 else
6446 ac_cpp_err=
6447 fi
6448else
6449 ac_cpp_err=yes
6450fi
6451if test -z "$ac_cpp_err"; then
6452 ac_header_preproc=yes
6453else
6454 echo "$as_me: failed program was:" >&5
6455sed 's/^/| /' conftest.$ac_ext >&5
6456
6457 ac_header_preproc=no
6458fi
6459rm -f conftest.err conftest.$ac_ext
6460echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6461echo "${ECHO_T}$ac_header_preproc" >&6
6462
6463# So? What about this header?
6464case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6465 yes:no: )
6466 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6467echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
6469echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
6470 ac_header_preproc=yes
6471 ;;
6472 no:yes:* )
6473 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
6474echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
6475 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
6476echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
6477 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
6478echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
6480echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
6482echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
6484echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
6485 (
6486 cat <<\_ASBOX
6487## ------------------------------------------- ##
6488## Report this to openssh-unix-dev@mindrot.org ##
6489## ------------------------------------------- ##
6490_ASBOX
6491 ) |
6492 sed "s/^/$as_me: WARNING: /" >&2
6493 ;;
6494esac
6495echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
6496echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6
6497if test "${ac_cv_header_net_if_tap_h+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6499else
6500 ac_cv_header_net_if_tap_h=$ac_header_preproc
6501fi
6502echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
6503echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6
6504
6505fi
6506if test $ac_cv_header_net_if_tap_h = yes; then
6507 :
6508else
6509
6510cat >>confdefs.h <<\_ACEOF
6511#define SSH_TUN_NO_L2 1
6512_ACEOF
6513
6514fi
6515
6516
5711 ;; 6517 ;;
5712*-*-bsdi*) 6518*-*-bsdi*)
5713 cat >>confdefs.h <<\_ACEOF 6519 cat >>confdefs.h <<\_ACEOF
@@ -5728,7 +6534,8 @@ _ACEOF
5728 conf_utmp_location=/etc/utmp 6534 conf_utmp_location=/etc/utmp
5729 conf_wtmp_location=/usr/adm/wtmp 6535 conf_wtmp_location=/usr/adm/wtmp
5730 MAIL=/usr/spool/mail 6536 MAIL=/usr/spool/mail
5731 cat >>confdefs.h <<\_ACEOF 6537
6538cat >>confdefs.h <<\_ACEOF
5732#define HAVE_NEXT 1 6539#define HAVE_NEXT 1
5733_ACEOF 6540_ACEOF
5734 6541
@@ -5740,7 +6547,8 @@ _ACEOF
5740#define USE_PIPES 1 6547#define USE_PIPES 1
5741_ACEOF 6548_ACEOF
5742 6549
5743 cat >>confdefs.h <<\_ACEOF 6550
6551cat >>confdefs.h <<\_ACEOF
5744#define BROKEN_SAVED_UIDS 1 6552#define BROKEN_SAVED_UIDS 1
5745_ACEOF 6553_ACEOF
5746 6554
@@ -5751,6 +6559,16 @@ cat >>confdefs.h <<\_ACEOF
5751#define HAVE_ATTRIBUTE__SENTINEL__ 1 6559#define HAVE_ATTRIBUTE__SENTINEL__ 1
5752_ACEOF 6560_ACEOF
5753 6561
6562
6563cat >>confdefs.h <<\_ACEOF
6564#define HAVE_ATTRIBUTE__BOUNDED__ 1
6565_ACEOF
6566
6567
6568cat >>confdefs.h <<\_ACEOF
6569#define SSH_TUN_OPENBSD 1
6570_ACEOF
6571
5754 ;; 6572 ;;
5755*-*-solaris*) 6573*-*-solaris*)
5756 if test "x$withval" != "xno" ; then 6574 if test "x$withval" != "xno" ; then
@@ -5764,7 +6582,8 @@ _ACEOF
5764#define LOGIN_NEEDS_UTMPX 1 6582#define LOGIN_NEEDS_UTMPX 1
5765_ACEOF 6583_ACEOF
5766 6584
5767 cat >>confdefs.h <<\_ACEOF 6585
6586cat >>confdefs.h <<\_ACEOF
5768#define LOGIN_NEEDS_TERM 1 6587#define LOGIN_NEEDS_TERM 1
5769_ACEOF 6588_ACEOF
5770 6589
@@ -5772,7 +6591,8 @@ _ACEOF
5772#define PAM_TTY_KLUDGE 1 6591#define PAM_TTY_KLUDGE 1
5773_ACEOF 6592_ACEOF
5774 6593
5775 cat >>confdefs.h <<\_ACEOF 6594
6595cat >>confdefs.h <<\_ACEOF
5776#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 6596#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5777_ACEOF 6597_ACEOF
5778 6598
@@ -5781,7 +6601,8 @@ _ACEOF
5781_ACEOF 6601_ACEOF
5782 6602
5783 # Pushing STREAMS modules will cause sshd to acquire a controlling tty. 6603 # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
5784 cat >>confdefs.h <<\_ACEOF 6604
6605cat >>confdefs.h <<\_ACEOF
5785#define SSHD_ACQUIRES_CTTY 1 6606#define SSHD_ACQUIRES_CTTY 1
5786_ACEOF 6607_ACEOF
5787 6608
@@ -5798,7 +6619,8 @@ echo "${ECHO_T}yes" >&6
5798#define DISABLE_UTMP 1 6619#define DISABLE_UTMP 1
5799_ACEOF 6620_ACEOF
5800 6621
5801 cat >>confdefs.h <<\_ACEOF 6622
6623cat >>confdefs.h <<\_ACEOF
5802#define DISABLE_WTMP 1 6624#define DISABLE_WTMP 1
5803_ACEOF 6625_ACEOF
5804 6626
@@ -6022,14 +6844,14 @@ _ACEOF
6022 6844
6023fi 6845fi
6024 6846
6025 # -lresolv needs to be at then end of LIBS or DNS lookups break 6847 # -lresolv needs to be at the end of LIBS or DNS lookups break
6026 echo "$as_me:$LINENO: checking for resolv in -lres_query" >&5 6848 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
6027echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6 6849echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
6028if test "${ac_cv_lib_res_query_resolv+set}" = set; then 6850if test "${ac_cv_lib_resolv_res_query+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6 6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6030else 6852else
6031 ac_check_lib_save_LIBS=$LIBS 6853 ac_check_lib_save_LIBS=$LIBS
6032LIBS="-lres_query $LIBS" 6854LIBS="-lresolv $LIBS"
6033cat >conftest.$ac_ext <<_ACEOF 6855cat >conftest.$ac_ext <<_ACEOF
6034/* confdefs.h. */ 6856/* confdefs.h. */
6035_ACEOF 6857_ACEOF
@@ -6043,11 +6865,11 @@ extern "C"
6043#endif 6865#endif
6044/* We use char because int might match the return type of a gcc2 6866/* We use char because int might match the return type of a gcc2
6045 builtin and then its argument prototype would still apply. */ 6867 builtin and then its argument prototype would still apply. */
6046char resolv (); 6868char res_query ();
6047int 6869int
6048main () 6870main ()
6049{ 6871{
6050resolv (); 6872res_query ();
6051 ; 6873 ;
6052 return 0; 6874 return 0;
6053} 6875}
@@ -6074,20 +6896,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6074 ac_status=$? 6896 ac_status=$?
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }; }; then 6898 (exit $ac_status); }; }; then
6077 ac_cv_lib_res_query_resolv=yes 6899 ac_cv_lib_resolv_res_query=yes
6078else 6900else
6079 echo "$as_me: failed program was:" >&5 6901 echo "$as_me: failed program was:" >&5
6080sed 's/^/| /' conftest.$ac_ext >&5 6902sed 's/^/| /' conftest.$ac_ext >&5
6081 6903
6082ac_cv_lib_res_query_resolv=no 6904ac_cv_lib_resolv_res_query=no
6083fi 6905fi
6084rm -f conftest.err conftest.$ac_objext \ 6906rm -f conftest.err conftest.$ac_objext \
6085 conftest$ac_exeext conftest.$ac_ext 6907 conftest$ac_exeext conftest.$ac_ext
6086LIBS=$ac_check_lib_save_LIBS 6908LIBS=$ac_check_lib_save_LIBS
6087fi 6909fi
6088echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5 6910echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
6089echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6 6911echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
6090if test $ac_cv_lib_res_query_resolv = yes; then 6912if test $ac_cv_lib_resolv_res_query = yes; then
6091 LIBS="$LIBS -lresolv" 6913 LIBS="$LIBS -lresolv"
6092fi 6914fi
6093 6915
@@ -6123,6 +6945,7 @@ _ACEOF
6123 ;; 6945 ;;
6124# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. 6946# UnixWare 1.x, UnixWare 2.x, and others based on code from Univel.
6125*-*-sysv4.2*) 6947*-*-sysv4.2*)
6948 CFLAGS="$CFLAGS -Dva_list=_VA_LIST"
6126 cat >>confdefs.h <<\_ACEOF 6949 cat >>confdefs.h <<\_ACEOF
6127#define USE_PIPES 1 6950#define USE_PIPES 1
6128_ACEOF 6951_ACEOF
@@ -6144,6 +6967,10 @@ cat >>confdefs.h <<\_ACEOF
6144#define PASSWD_NEEDS_USERNAME 1 6967#define PASSWD_NEEDS_USERNAME 1
6145_ACEOF 6968_ACEOF
6146 6969
6970 cat >>confdefs.h <<\_ACEOF
6971#define LOCKED_PASSWD_STRING "*LK*"
6972_ACEOF
6973
6147 ;; 6974 ;;
6148# UnixWare 7.x, OpenUNIX 8 6975# UnixWare 7.x, OpenUNIX 8
6149*-*-sysv5*) 6976*-*-sysv5*)
@@ -6169,8 +6996,7 @@ _ACEOF
6169#define BROKEN_SETREGID 1 6996#define BROKEN_SETREGID 1
6170_ACEOF 6997_ACEOF
6171 6998
6172 6999 cat >>confdefs.h <<\_ACEOF
6173cat >>confdefs.h <<\_ACEOF
6174#define PASSWD_NEEDS_USERNAME 1 7000#define PASSWD_NEEDS_USERNAME 1
6175_ACEOF 7001_ACEOF
6176 7002
@@ -6183,6 +7009,11 @@ cat >>confdefs.h <<\_ACEOF
6183_ACEOF 7009_ACEOF
6184 7010
6185 ;; 7011 ;;
7012 *) cat >>confdefs.h <<\_ACEOF
7013#define LOCKED_PASSWD_STRING "*LK*"
7014_ACEOF
7015
7016 ;;
6186 esac 7017 esac
6187 ;; 7018 ;;
6188*-*-sysv*) 7019*-*-sysv*)
@@ -6236,8 +7067,7 @@ _ACEOF
6236#define BROKEN_UPDWTMPX 1 7067#define BROKEN_UPDWTMPX 1
6237_ACEOF 7068_ACEOF
6238 7069
6239 7070 cat >>confdefs.h <<\_ACEOF
6240cat >>confdefs.h <<\_ACEOF
6241#define PASSWD_NEEDS_USERNAME 1 7071#define PASSWD_NEEDS_USERNAME 1
6242_ACEOF 7072_ACEOF
6243 7073
@@ -6348,7 +7178,8 @@ done
6348 TEST_SHELL=ksh 7178 TEST_SHELL=ksh
6349 ;; 7179 ;;
6350*-*-unicosmk*) 7180*-*-unicosmk*)
6351 cat >>confdefs.h <<\_ACEOF 7181
7182cat >>confdefs.h <<\_ACEOF
6352#define NO_SSH_LASTLOG 1 7183#define NO_SSH_LASTLOG 1
6353_ACEOF 7184_ACEOF
6354 7185
@@ -6454,11 +7285,13 @@ fi;
6454 if test -f /etc/sia/matrix.conf; then 7285 if test -f /etc/sia/matrix.conf; then
6455 echo "$as_me:$LINENO: result: yes" >&5 7286 echo "$as_me:$LINENO: result: yes" >&5
6456echo "${ECHO_T}yes" >&6 7287echo "${ECHO_T}yes" >&6
6457 cat >>confdefs.h <<\_ACEOF 7288
7289cat >>confdefs.h <<\_ACEOF
6458#define HAVE_OSF_SIA 1 7290#define HAVE_OSF_SIA 1
6459_ACEOF 7291_ACEOF
6460 7292
6461 cat >>confdefs.h <<\_ACEOF 7293
7294cat >>confdefs.h <<\_ACEOF
6462#define DISABLE_LOGIN 1 7295#define DISABLE_LOGIN 1
6463_ACEOF 7296_ACEOF
6464 7297
@@ -6470,7 +7303,8 @@ _ACEOF
6470 else 7303 else
6471 echo "$as_me:$LINENO: result: no" >&5 7304 echo "$as_me:$LINENO: result: no" >&5
6472echo "${ECHO_T}no" >&6 7305echo "${ECHO_T}no" >&6
6473 cat >>confdefs.h <<\_ACEOF 7306
7307cat >>confdefs.h <<\_ACEOF
6474#define LOCKED_PASSWD_SUBSTR "Nologin" 7308#define LOCKED_PASSWD_SUBSTR "Nologin"
6475_ACEOF 7309_ACEOF
6476 7310
@@ -6494,7 +7328,7 @@ _ACEOF
6494 7328
6495 ;; 7329 ;;
6496 7330
6497*-*-nto-qnx) 7331*-*-nto-qnx*)
6498 cat >>confdefs.h <<\_ACEOF 7332 cat >>confdefs.h <<\_ACEOF
6499#define USE_PIPES 1 7333#define USE_PIPES 1
6500_ACEOF 7334_ACEOF
@@ -6503,34 +7337,40 @@ _ACEOF
6503#define NO_X11_UNIX_SOCKETS 1 7337#define NO_X11_UNIX_SOCKETS 1
6504_ACEOF 7338_ACEOF
6505 7339
6506 cat >>confdefs.h <<\_ACEOF 7340
7341cat >>confdefs.h <<\_ACEOF
6507#define MISSING_NFDBITS 1 7342#define MISSING_NFDBITS 1
6508_ACEOF 7343_ACEOF
6509 7344
6510 cat >>confdefs.h <<\_ACEOF 7345
7346cat >>confdefs.h <<\_ACEOF
6511#define MISSING_HOWMANY 1 7347#define MISSING_HOWMANY 1
6512_ACEOF 7348_ACEOF
6513 7349
6514 cat >>confdefs.h <<\_ACEOF 7350
7351cat >>confdefs.h <<\_ACEOF
6515#define MISSING_FD_MASK 1 7352#define MISSING_FD_MASK 1
6516_ACEOF 7353_ACEOF
6517 7354
7355 cat >>confdefs.h <<\_ACEOF
7356#define DISABLE_LASTLOG 1
7357_ACEOF
7358
6518 ;; 7359 ;;
6519 7360
6520*-*-ultrix*) 7361*-*-ultrix*)
6521 7362
6522cat >>confdefs.h <<\_ACEOF 7363cat >>confdefs.h <<\_ACEOF
6523#define BROKEN_GETGROUPS 7364#define BROKEN_GETGROUPS 1
6524_ACEOF 7365_ACEOF
6525 7366
6526 7367
6527cat >>confdefs.h <<\_ACEOF 7368cat >>confdefs.h <<\_ACEOF
6528#define BROKEN_MMAP 7369#define BROKEN_MMAP 1
6529_ACEOF 7370_ACEOF
6530 7371
6531 7372 cat >>confdefs.h <<\_ACEOF
6532cat >>confdefs.h <<\_ACEOF 7373#define NEED_SETPGRP 1
6533#define NEED_SETPRGP
6534_ACEOF 7374_ACEOF
6535 7375
6536 7376
@@ -6542,7 +7382,7 @@ _ACEOF
6542 7382
6543*-*-lynxos) 7383*-*-lynxos)
6544 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" 7384 CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
6545 cat >>confdefs.h <<\_ACEOF 7385 cat >>confdefs.h <<\_ACEOF
6546#define MISSING_HOWMANY 1 7386#define MISSING_HOWMANY 1
6547_ACEOF 7387_ACEOF
6548 7388
@@ -6610,7 +7450,7 @@ if test "${with_Werror+set}" = set; then
6610 7450
6611 if test -n "$withval" && test "x$withval" != "xno"; then 7451 if test -n "$withval" && test "x$withval" != "xno"; then
6612 werror_flags="-Werror" 7452 werror_flags="-Werror"
6613 if "x${withval}" != "xyes"; then 7453 if test "x${withval}" != "xyes"; then
6614 werror_flags="$withval" 7454 werror_flags="$withval"
6615 fi 7455 fi
6616 fi 7456 fi
@@ -6667,262 +7507,6 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
6667fi 7507fi
6668 7508
6669 7509
6670echo "$as_me:$LINENO: checking for egrep" >&5
6671echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6672if test "${ac_cv_prog_egrep+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6674else
6675 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6676 then ac_cv_prog_egrep='grep -E'
6677 else ac_cv_prog_egrep='egrep'
6678 fi
6679fi
6680echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6681echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6682 EGREP=$ac_cv_prog_egrep
6683
6684
6685echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6686echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6687if test "${ac_cv_header_stdc+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6689else
6690 cat >conftest.$ac_ext <<_ACEOF
6691/* confdefs.h. */
6692_ACEOF
6693cat confdefs.h >>conftest.$ac_ext
6694cat >>conftest.$ac_ext <<_ACEOF
6695/* end confdefs.h. */
6696#include <stdlib.h>
6697#include <stdarg.h>
6698#include <string.h>
6699#include <float.h>
6700
6701int
6702main ()
6703{
6704
6705 ;
6706 return 0;
6707}
6708_ACEOF
6709rm -f conftest.$ac_objext
6710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711 (eval $ac_compile) 2>conftest.er1
6712 ac_status=$?
6713 grep -v '^ *+' conftest.er1 >conftest.err
6714 rm -f conftest.er1
6715 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try='test -z "$ac_c_werror_flag"
6719 || test ! -s conftest.err'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 (eval $ac_try) 2>&5
6722 ac_status=$?
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; } &&
6725 { ac_try='test -s conftest.$ac_objext'
6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6727 (eval $ac_try) 2>&5
6728 ac_status=$?
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); }; }; then
6731 ac_cv_header_stdc=yes
6732else
6733 echo "$as_me: failed program was:" >&5
6734sed 's/^/| /' conftest.$ac_ext >&5
6735
6736ac_cv_header_stdc=no
6737fi
6738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6739
6740if test $ac_cv_header_stdc = yes; then
6741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6742 cat >conftest.$ac_ext <<_ACEOF
6743/* confdefs.h. */
6744_ACEOF
6745cat confdefs.h >>conftest.$ac_ext
6746cat >>conftest.$ac_ext <<_ACEOF
6747/* end confdefs.h. */
6748#include <string.h>
6749
6750_ACEOF
6751if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "memchr" >/dev/null 2>&1; then
6753 :
6754else
6755 ac_cv_header_stdc=no
6756fi
6757rm -f conftest*
6758
6759fi
6760
6761if test $ac_cv_header_stdc = yes; then
6762 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6763 cat >conftest.$ac_ext <<_ACEOF
6764/* confdefs.h. */
6765_ACEOF
6766cat confdefs.h >>conftest.$ac_ext
6767cat >>conftest.$ac_ext <<_ACEOF
6768/* end confdefs.h. */
6769#include <stdlib.h>
6770
6771_ACEOF
6772if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6773 $EGREP "free" >/dev/null 2>&1; then
6774 :
6775else
6776 ac_cv_header_stdc=no
6777fi
6778rm -f conftest*
6779
6780fi
6781
6782if test $ac_cv_header_stdc = yes; then
6783 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6784 if test "$cross_compiling" = yes; then
6785 :
6786else
6787 cat >conftest.$ac_ext <<_ACEOF
6788/* confdefs.h. */
6789_ACEOF
6790cat confdefs.h >>conftest.$ac_ext
6791cat >>conftest.$ac_ext <<_ACEOF
6792/* end confdefs.h. */
6793#include <ctype.h>
6794#if ((' ' & 0x0FF) == 0x020)
6795# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6796# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6797#else
6798# define ISLOWER(c) \
6799 (('a' <= (c) && (c) <= 'i') \
6800 || ('j' <= (c) && (c) <= 'r') \
6801 || ('s' <= (c) && (c) <= 'z'))
6802# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6803#endif
6804
6805#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6806int
6807main ()
6808{
6809 int i;
6810 for (i = 0; i < 256; i++)
6811 if (XOR (islower (i), ISLOWER (i))
6812 || toupper (i) != TOUPPER (i))
6813 exit(2);
6814 exit (0);
6815}
6816_ACEOF
6817rm -f conftest$ac_exeext
6818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6819 (eval $ac_link) 2>&5
6820 ac_status=$?
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 (eval $ac_try) 2>&5
6825 ac_status=$?
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6828 :
6829else
6830 echo "$as_me: program exited with status $ac_status" >&5
6831echo "$as_me: failed program was:" >&5
6832sed 's/^/| /' conftest.$ac_ext >&5
6833
6834( exit $ac_status )
6835ac_cv_header_stdc=no
6836fi
6837rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6838fi
6839fi
6840fi
6841echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6842echo "${ECHO_T}$ac_cv_header_stdc" >&6
6843if test $ac_cv_header_stdc = yes; then
6844
6845cat >>confdefs.h <<\_ACEOF
6846#define STDC_HEADERS 1
6847_ACEOF
6848
6849fi
6850
6851# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6862 inttypes.h stdint.h unistd.h
6863do
6864as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6865echo "$as_me:$LINENO: checking for $ac_header" >&5
6866echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6867if eval "test \"\${$as_ac_Header+set}\" = set"; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6869else
6870 cat >conftest.$ac_ext <<_ACEOF
6871/* confdefs.h. */
6872_ACEOF
6873cat confdefs.h >>conftest.$ac_ext
6874cat >>conftest.$ac_ext <<_ACEOF
6875/* end confdefs.h. */
6876$ac_includes_default
6877
6878#include <$ac_header>
6879_ACEOF
6880rm -f conftest.$ac_objext
6881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882 (eval $ac_compile) 2>conftest.er1
6883 ac_status=$?
6884 grep -v '^ *+' conftest.er1 >conftest.err
6885 rm -f conftest.er1
6886 cat conftest.err >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } &&
6889 { ac_try='test -z "$ac_c_werror_flag"
6890 || test ! -s conftest.err'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 (eval $ac_try) 2>&5
6893 ac_status=$?
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; } &&
6896 { ac_try='test -s conftest.$ac_objext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 (eval $ac_try) 2>&5
6899 ac_status=$?
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6902 eval "$as_ac_Header=yes"
6903else
6904 echo "$as_me: failed program was:" >&5
6905sed 's/^/| /' conftest.$ac_ext >&5
6906
6907eval "$as_ac_Header=no"
6908fi
6909rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6910fi
6911echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6912echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6913if test `eval echo '${'$as_ac_Header'}'` = yes; then
6914 cat >>confdefs.h <<_ACEOF
6915#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6916_ACEOF
6917
6918fi
6919
6920done
6921
6922
6923
6924
6925
6926 7510
6927 7511
6928 7512
@@ -6989,7 +7573,6 @@ for ac_header in \
6989 glob.h \ 7573 glob.h \
6990 ia.h \ 7574 ia.h \
6991 iaf.h \ 7575 iaf.h \
6992 lastlog.h \
6993 limits.h \ 7576 limits.h \
6994 login.h \ 7577 login.h \
6995 login_cap.h \ 7578 login_cap.h \
@@ -6997,7 +7580,6 @@ for ac_header in \
6997 ndir.h \ 7580 ndir.h \
6998 netdb.h \ 7581 netdb.h \
6999 netgroup.h \ 7582 netgroup.h \
7000 netinet/in_systm.h \
7001 pam/pam_appl.h \ 7583 pam/pam_appl.h \
7002 paths.h \ 7584 paths.h \
7003 pty.h \ 7585 pty.h \
@@ -7187,6 +7769,73 @@ fi
7187done 7769done
7188 7770
7189 7771
7772# lastlog.h requires sys/time.h to be included first on Solaris
7773
7774for ac_header in lastlog.h
7775do
7776as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7777echo "$as_me:$LINENO: checking for $ac_header" >&5
7778echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7779if eval "test \"\${$as_ac_Header+set}\" = set"; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7781else
7782 cat >conftest.$ac_ext <<_ACEOF
7783/* confdefs.h. */
7784_ACEOF
7785cat confdefs.h >>conftest.$ac_ext
7786cat >>conftest.$ac_ext <<_ACEOF
7787/* end confdefs.h. */
7788
7789#ifdef HAVE_SYS_TIME_H
7790# include <sys/time.h>
7791#endif
7792
7793
7794#include <$ac_header>
7795_ACEOF
7796rm -f conftest.$ac_objext
7797if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7798 (eval $ac_compile) 2>conftest.er1
7799 ac_status=$?
7800 grep -v '^ *+' conftest.er1 >conftest.err
7801 rm -f conftest.er1
7802 cat conftest.err >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); } &&
7805 { ac_try='test -z "$ac_c_werror_flag"
7806 || test ! -s conftest.err'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808 (eval $ac_try) 2>&5
7809 ac_status=$?
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; } &&
7812 { ac_try='test -s conftest.$ac_objext'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7814 (eval $ac_try) 2>&5
7815 ac_status=$?
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; }; then
7818 eval "$as_ac_Header=yes"
7819else
7820 echo "$as_me: failed program was:" >&5
7821sed 's/^/| /' conftest.$ac_ext >&5
7822
7823eval "$as_ac_Header=no"
7824fi
7825rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7826fi
7827echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7828echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7829if test `eval echo '${'$as_ac_Header'}'` = yes; then
7830 cat >>confdefs.h <<_ACEOF
7831#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7832_ACEOF
7833
7834fi
7835
7836done
7837
7838
7190# sys/ptms.h requires sys/stream.h to be included first on Solaris 7839# sys/ptms.h requires sys/stream.h to be included first on Solaris
7191 7840
7192for ac_header in sys/ptms.h 7841for ac_header in sys/ptms.h
@@ -7919,11 +8568,7 @@ else
7919 save_LIBS="$LIBS" 8568 save_LIBS="$LIBS"
7920 LIBS="$LIBS -lgen" 8569 LIBS="$LIBS -lgen"
7921 if test "$cross_compiling" = yes; then 8570 if test "$cross_compiling" = yes; then
7922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 8571 ac_cv_have_broken_dirname="no"
7923See \`config.log' for more details." >&5
7924echo "$as_me: error: cannot run test program while cross compiling
7925See \`config.log' for more details." >&2;}
7926 { (exit 1); exit 1; }; }
7927else 8572else
7928 cat >conftest.$ac_ext <<_ACEOF 8573 cat >conftest.$ac_ext <<_ACEOF
7929/* confdefs.h. */ 8574/* confdefs.h. */
@@ -7967,7 +8612,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
7967 8612
7968( exit $ac_status ) 8613( exit $ac_status )
7969 ac_cv_have_broken_dirname="yes" 8614 ac_cv_have_broken_dirname="yes"
7970
7971fi 8615fi
7972rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8616rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7973fi 8617fi
@@ -8427,7 +9071,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
8427echo "${ECHO_T}$ac_cv_search_basename" >&6 9071echo "${ECHO_T}$ac_cv_search_basename" >&6
8428if test "$ac_cv_search_basename" != no; then 9072if test "$ac_cv_search_basename" != no; then
8429 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" 9073 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
8430 cat >>confdefs.h <<\_ACEOF 9074
9075cat >>confdefs.h <<\_ACEOF
8431#define HAVE_BASENAME 1 9076#define HAVE_BASENAME 1
8432_ACEOF 9077_ACEOF
8433 9078
@@ -9019,9 +9664,13 @@ fi
9019 9664
9020fi 9665fi
9021 9666
9022echo "$as_me:$LINENO: checking for utimes" >&5 9667
9023echo $ECHO_N "checking for utimes... $ECHO_C" >&6 9668for ac_func in utimes
9024if test "${ac_cv_func_utimes+set}" = set; then 9669do
9670as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9671echo "$as_me:$LINENO: checking for $ac_func" >&5
9672echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9673if eval "test \"\${$as_ac_var+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6 9674 echo $ECHO_N "(cached) $ECHO_C" >&6
9026else 9675else
9027 cat >conftest.$ac_ext <<_ACEOF 9676 cat >conftest.$ac_ext <<_ACEOF
@@ -9030,12 +9679,12 @@ _ACEOF
9030cat confdefs.h >>conftest.$ac_ext 9679cat confdefs.h >>conftest.$ac_ext
9031cat >>conftest.$ac_ext <<_ACEOF 9680cat >>conftest.$ac_ext <<_ACEOF
9032/* end confdefs.h. */ 9681/* end confdefs.h. */
9033/* Define utimes to an innocuous variant, in case <limits.h> declares utimes. 9682/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9034 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9035#define utimes innocuous_utimes 9684#define $ac_func innocuous_$ac_func
9036 9685
9037/* System header to define __stub macros and hopefully few prototypes, 9686/* System header to define __stub macros and hopefully few prototypes,
9038 which can conflict with char utimes (); below. 9687 which can conflict with char $ac_func (); below.
9039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9040 <limits.h> exists even on freestanding compilers. */ 9689 <limits.h> exists even on freestanding compilers. */
9041 9690
@@ -9045,7 +9694,7 @@ cat >>conftest.$ac_ext <<_ACEOF
9045# include <assert.h> 9694# include <assert.h>
9046#endif 9695#endif
9047 9696
9048#undef utimes 9697#undef $ac_func
9049 9698
9050/* Override any gcc2 internal prototype to avoid an error. */ 9699/* Override any gcc2 internal prototype to avoid an error. */
9051#ifdef __cplusplus 9700#ifdef __cplusplus
@@ -9054,14 +9703,14 @@ extern "C"
9054#endif 9703#endif
9055/* We use char because int might match the return type of a gcc2 9704/* We use char because int might match the return type of a gcc2
9056 builtin and then its argument prototype would still apply. */ 9705 builtin and then its argument prototype would still apply. */
9057char utimes (); 9706char $ac_func ();
9058/* The GNU C library defines this for functions which it implements 9707/* The GNU C library defines this for functions which it implements
9059 to always fail with ENOSYS. Some functions are actually named 9708 to always fail with ENOSYS. Some functions are actually named
9060 something starting with __ and the normal name is an alias. */ 9709 something starting with __ and the normal name is an alias. */
9061#if defined (__stub_utimes) || defined (__stub___utimes) 9710#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9062choke me 9711choke me
9063#else 9712#else
9064char (*f) () = utimes; 9713char (*f) () = $ac_func;
9065#endif 9714#endif
9066#ifdef __cplusplus 9715#ifdef __cplusplus
9067} 9716}
@@ -9070,7 +9719,7 @@ char (*f) () = utimes;
9070int 9719int
9071main () 9720main ()
9072{ 9721{
9073return f != utimes; 9722return f != $ac_func;
9074 ; 9723 ;
9075 return 0; 9724 return 0;
9076} 9725}
@@ -9097,20 +9746,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9097 ac_status=$? 9746 ac_status=$?
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; }; then 9748 (exit $ac_status); }; }; then
9100 ac_cv_func_utimes=yes 9749 eval "$as_ac_var=yes"
9101else 9750else
9102 echo "$as_me: failed program was:" >&5 9751 echo "$as_me: failed program was:" >&5
9103sed 's/^/| /' conftest.$ac_ext >&5 9752sed 's/^/| /' conftest.$ac_ext >&5
9104 9753
9105ac_cv_func_utimes=no 9754eval "$as_ac_var=no"
9106fi 9755fi
9107rm -f conftest.err conftest.$ac_objext \ 9756rm -f conftest.err conftest.$ac_objext \
9108 conftest$ac_exeext conftest.$ac_ext 9757 conftest$ac_exeext conftest.$ac_ext
9109fi 9758fi
9110echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 9759echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9111echo "${ECHO_T}$ac_cv_func_utimes" >&6 9760echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9112if test $ac_cv_func_utimes = yes; then 9761if test `eval echo '${'$as_ac_var'}'` = yes; then
9113 : 9762 cat >>confdefs.h <<_ACEOF
9763#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9764_ACEOF
9765
9114else 9766else
9115 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 9767 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
9116echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 9768echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
@@ -9186,6 +9838,7 @@ fi
9186 9838
9187 9839
9188fi 9840fi
9841done
9189 9842
9190 9843
9191 9844
@@ -9461,7 +10114,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9461echo "${ECHO_T}$ac_cv_search_login" >&6 10114echo "${ECHO_T}$ac_cv_search_login" >&6
9462if test "$ac_cv_search_login" != no; then 10115if test "$ac_cv_search_login" != no; then
9463 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 10116 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
9464 cat >>confdefs.h <<\_ACEOF 10117
10118cat >>confdefs.h <<\_ACEOF
9465#define HAVE_LOGIN 1 10119#define HAVE_LOGIN 1
9466_ACEOF 10120_ACEOF
9467 10121
@@ -9768,7 +10422,8 @@ _ACEOF
9768if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10422if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9769 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10423 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9770 10424
9771 cat >>confdefs.h <<\_ACEOF 10425
10426cat >>confdefs.h <<\_ACEOF
9772#define GLOB_HAS_ALTDIRFUNC 1 10427#define GLOB_HAS_ALTDIRFUNC 1
9773_ACEOF 10428_ACEOF
9774 10429
@@ -9802,7 +10457,8 @@ _ACEOF
9802if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10457if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9803 $EGREP "FOUNDIT" >/dev/null 2>&1; then 10458 $EGREP "FOUNDIT" >/dev/null 2>&1; then
9804 10459
9805 cat >>confdefs.h <<\_ACEOF 10460
10461cat >>confdefs.h <<\_ACEOF
9806#define GLOB_HAS_GL_MATCHC 1 10462#define GLOB_HAS_GL_MATCHC 1
9807_ACEOF 10463_ACEOF
9808 10464
@@ -9866,7 +10522,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
9866 10522
9867 echo "$as_me:$LINENO: result: no" >&5 10523 echo "$as_me:$LINENO: result: no" >&5
9868echo "${ECHO_T}no" >&6 10524echo "${ECHO_T}no" >&6
9869 cat >>confdefs.h <<\_ACEOF 10525
10526cat >>confdefs.h <<\_ACEOF
9870#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 10527#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9871_ACEOF 10528_ACEOF
9872 10529
@@ -9878,7 +10535,8 @@ fi
9878echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 10535echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
9879echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 10536echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6
9880if test -d "/proc/$$/fd" ; then 10537if test -d "/proc/$$/fd" ; then
9881 cat >>confdefs.h <<\_ACEOF 10538
10539cat >>confdefs.h <<\_ACEOF
9882#define HAVE_PROC_PID 1 10540#define HAVE_PROC_PID 1
9883_ACEOF 10541_ACEOF
9884 10542
@@ -9903,7 +10561,8 @@ if test "${with_skey+set}" = set; then
9903 LDFLAGS="$LDFLAGS -L${withval}/lib" 10561 LDFLAGS="$LDFLAGS -L${withval}/lib"
9904 fi 10562 fi
9905 10563
9906 cat >>confdefs.h <<\_ACEOF 10564
10565cat >>confdefs.h <<\_ACEOF
9907#define SKEY 1 10566#define SKEY 1
9908_ACEOF 10567_ACEOF
9909 10568
@@ -9912,14 +10571,7 @@ _ACEOF
9912 10571
9913 echo "$as_me:$LINENO: checking for s/key support" >&5 10572 echo "$as_me:$LINENO: checking for s/key support" >&5
9914echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 10573echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
9915 if test "$cross_compiling" = yes; then 10574 cat >conftest.$ac_ext <<_ACEOF
9916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9917See \`config.log' for more details." >&5
9918echo "$as_me: error: cannot run test program while cross compiling
9919See \`config.log' for more details." >&2;}
9920 { (exit 1); exit 1; }; }
9921else
9922 cat >conftest.$ac_ext <<_ACEOF
9923/* confdefs.h. */ 10575/* confdefs.h. */
9924_ACEOF 10576_ACEOF
9925cat confdefs.h >>conftest.$ac_ext 10577cat confdefs.h >>conftest.$ac_ext
@@ -9931,12 +10583,23 @@ cat >>conftest.$ac_ext <<_ACEOF
9931int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } 10583int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
9932 10584
9933_ACEOF 10585_ACEOF
9934rm -f conftest$ac_exeext 10586rm -f conftest.$ac_objext conftest$ac_exeext
9935if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10587if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9936 (eval $ac_link) 2>&5 10588 (eval $ac_link) 2>conftest.er1
9937 ac_status=$? 10589 ac_status=$?
10590 grep -v '^ *+' conftest.er1 >conftest.err
10591 rm -f conftest.er1
10592 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10594 (exit $ac_status); } &&
10595 { ac_try='test -z "$ac_c_werror_flag"
10596 || test ! -s conftest.err'
10597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10598 (eval $ac_try) 2>&5
10599 ac_status=$?
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }; } &&
10602 { ac_try='test -s conftest$ac_exeext'
9940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 (eval $ac_try) 2>&5 10604 (eval $ac_try) 2>&5
9942 ac_status=$? 10605 ac_status=$?
@@ -9945,11 +10608,9 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9945 echo "$as_me:$LINENO: result: yes" >&5 10608 echo "$as_me:$LINENO: result: yes" >&5
9946echo "${ECHO_T}yes" >&6 10609echo "${ECHO_T}yes" >&6
9947else 10610else
9948 echo "$as_me: program exited with status $ac_status" >&5 10611 echo "$as_me: failed program was:" >&5
9949echo "$as_me: failed program was:" >&5
9950sed 's/^/| /' conftest.$ac_ext >&5 10612sed 's/^/| /' conftest.$ac_ext >&5
9951 10613
9952( exit $ac_status )
9953 10614
9954 echo "$as_me:$LINENO: result: no" >&5 10615 echo "$as_me:$LINENO: result: no" >&5
9955echo "${ECHO_T}no" >&6 10616echo "${ECHO_T}no" >&6
@@ -9958,8 +10619,8 @@ echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
9958 { (exit 1); exit 1; }; } 10619 { (exit 1); exit 1; }; }
9959 10620
9960fi 10621fi
9961rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10622rm -f conftest.err conftest.$ac_objext \
9962fi 10623 conftest$ac_exeext conftest.$ac_ext
9963 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 10624 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
9964echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 10625echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6
9965 cat >conftest.$ac_ext <<_ACEOF 10626 cat >conftest.$ac_ext <<_ACEOF
@@ -10002,7 +10663,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10002 (exit $ac_status); }; }; then 10663 (exit $ac_status); }; }; then
10003 echo "$as_me:$LINENO: result: yes" >&5 10664 echo "$as_me:$LINENO: result: yes" >&5
10004echo "${ECHO_T}yes" >&6 10665echo "${ECHO_T}yes" >&6
10005 cat >>confdefs.h <<\_ACEOF 10666
10667cat >>confdefs.h <<\_ACEOF
10006#define SKEYCHALLENGE_4ARG 1 10668#define SKEYCHALLENGE_4ARG 1
10007_ACEOF 10669_ACEOF
10008 10670
@@ -10102,7 +10764,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10102 10764
10103 echo "$as_me:$LINENO: result: yes" >&5 10765 echo "$as_me:$LINENO: result: yes" >&5
10104echo "${ECHO_T}yes" >&6 10766echo "${ECHO_T}yes" >&6
10105 cat >>confdefs.h <<\_ACEOF 10767
10768cat >>confdefs.h <<\_ACEOF
10106#define LIBWRAP 1 10769#define LIBWRAP 1
10107_ACEOF 10770_ACEOF
10108 10771
@@ -10136,8 +10799,12 @@ if test "${with_libedit+set}" = set; then
10136 withval="$with_libedit" 10799 withval="$with_libedit"
10137 if test "x$withval" != "xno" ; then 10800 if test "x$withval" != "xno" ; then
10138 if test "x$withval" != "xyes"; then 10801 if test "x$withval" != "xyes"; then
10139 CPPFLAGS="$CPPFLAGS -I$withval/include" 10802 CPPFLAGS="$CPPFLAGS -I${withval}/include"
10140 LDFLAGS="$LDFLAGS -L$withval/lib" 10803 if test -n "${need_dash_r}"; then
10804 LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
10805 else
10806 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
10807 fi
10141 fi 10808 fi
10142 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 10809 echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
10143echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 10810echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6
@@ -10207,7 +10874,7 @@ echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6
10207if test $ac_cv_lib_edit_el_init = yes; then 10874if test $ac_cv_lib_edit_el_init = yes; then
10208 10875
10209cat >>confdefs.h <<\_ACEOF 10876cat >>confdefs.h <<\_ACEOF
10210#define USE_LIBEDIT 10877#define USE_LIBEDIT 1
10211_ACEOF 10878_ACEOF
10212 10879
10213 LIBEDIT="-ledit -lcurses" 10880 LIBEDIT="-ledit -lcurses"
@@ -10734,7 +11401,7 @@ done
10734 11401
10735 11402
10736cat >>confdefs.h <<\_ACEOF 11403cat >>confdefs.h <<\_ACEOF
10737#define USE_BSM_AUDIT 11404#define USE_BSM_AUDIT 1
10738_ACEOF 11405_ACEOF
10739 11406
10740 ;; 11407 ;;
@@ -10744,7 +11411,7 @@ _ACEOF
10744echo "${ECHO_T}debug" >&6 11411echo "${ECHO_T}debug" >&6
10745 11412
10746cat >>confdefs.h <<\_ACEOF 11413cat >>confdefs.h <<\_ACEOF
10747#define SSH_AUDIT_EVENTS 11414#define SSH_AUDIT_EVENTS 1
10748_ACEOF 11415_ACEOF
10749 11416
10750 ;; 11417 ;;
@@ -10841,8 +11508,10 @@ fi;
10841 11508
10842 11509
10843 11510
11511
10844for ac_func in \ 11512for ac_func in \
10845 arc4random \ 11513 arc4random \
11514 asprintf \
10846 b64_ntop \ 11515 b64_ntop \
10847 __b64_ntop \ 11516 __b64_ntop \
10848 b64_pton \ 11517 b64_pton \
@@ -10918,7 +11587,7 @@ for ac_func in \
10918 truncate \ 11587 truncate \
10919 unsetenv \ 11588 unsetenv \
10920 updwtmpx \ 11589 updwtmpx \
10921 utimes \ 11590 vasprintf \
10922 vhangup \ 11591 vhangup \
10923 vsnprintf \ 11592 vsnprintf \
10924 waitpid \ 11593 waitpid \
@@ -11312,7 +11981,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
11312echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 11981echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
11313if test "$ac_cv_search_nanosleep" != no; then 11982if test "$ac_cv_search_nanosleep" != no; then
11314 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 11983 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
11315 cat >>confdefs.h <<\_ACEOF 11984
11985cat >>confdefs.h <<\_ACEOF
11316#define HAVE_NANOSLEEP 1 11986#define HAVE_NANOSLEEP 1
11317_ACEOF 11987_ACEOF
11318 11988
@@ -12027,6 +12697,7 @@ echo "$as_me: failed program was:" >&5
12027sed 's/^/| /' conftest.$ac_ext >&5 12697sed 's/^/| /' conftest.$ac_ext >&5
12028 12698
12029( exit $ac_status ) 12699( exit $ac_status )
12700
12030cat >>confdefs.h <<\_ACEOF 12701cat >>confdefs.h <<\_ACEOF
12031#define BROKEN_SETRESUID 1 12702#define BROKEN_SETRESUID 1
12032_ACEOF 12703_ACEOF
@@ -12178,6 +12849,7 @@ echo "$as_me: failed program was:" >&5
12178sed 's/^/| /' conftest.$ac_ext >&5 12849sed 's/^/| /' conftest.$ac_ext >&5
12179 12850
12180( exit $ac_status ) 12851( exit $ac_status )
12852
12181cat >>confdefs.h <<\_ACEOF 12853cat >>confdefs.h <<\_ACEOF
12182#define BROKEN_SETRESGID 1 12854#define BROKEN_SETRESGID 1
12183_ACEOF 12855_ACEOF
@@ -12805,7 +13477,8 @@ fi
12805echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 13477echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
12806echo "${ECHO_T}$ac_cv_func_daemon" >&6 13478echo "${ECHO_T}$ac_cv_func_daemon" >&6
12807if test $ac_cv_func_daemon = yes; then 13479if test $ac_cv_func_daemon = yes; then
12808 cat >>confdefs.h <<\_ACEOF 13480
13481cat >>confdefs.h <<\_ACEOF
12809#define HAVE_DAEMON 1 13482#define HAVE_DAEMON 1
12810_ACEOF 13483_ACEOF
12811 13484
@@ -12976,7 +13649,8 @@ fi
12976echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 13649echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
12977echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 13650echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
12978if test $ac_cv_func_getpagesize = yes; then 13651if test $ac_cv_func_getpagesize = yes; then
12979 cat >>confdefs.h <<\_ACEOF 13652
13653cat >>confdefs.h <<\_ACEOF
12980#define HAVE_GETPAGESIZE 1 13654#define HAVE_GETPAGESIZE 1
12981_ACEOF 13655_ACEOF
12982 13656
@@ -13098,7 +13772,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13098 13772
13099 echo "$as_me:$LINENO: result: no" >&5 13773 echo "$as_me:$LINENO: result: no" >&5
13100echo "${ECHO_T}no" >&6 13774echo "${ECHO_T}no" >&6
13101 cat >>confdefs.h <<\_ACEOF 13775
13776cat >>confdefs.h <<\_ACEOF
13102#define BROKEN_SNPRINTF 1 13777#define BROKEN_SNPRINTF 1
13103_ACEOF 13778_ACEOF
13104 13779
@@ -13110,6 +13785,134 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes
13110fi 13785fi
13111fi 13786fi
13112 13787
13788# If we don't have a working asprintf, then we strongly depend on vsnprintf
13789# returning the right thing on overflow: the number of characters it tried to
13790# create (as per SUSv3)
13791if test "x$ac_cv_func_asprintf" != "xyes" && \
13792 test "x$ac_cv_func_vsnprintf" = "xyes" ; then
13793 echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5
13794echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6
13795 if test "$cross_compiling" = yes; then
13796 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5
13797echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;}
13798
13799else
13800 cat >conftest.$ac_ext <<_ACEOF
13801/* confdefs.h. */
13802_ACEOF
13803cat confdefs.h >>conftest.$ac_ext
13804cat >>conftest.$ac_ext <<_ACEOF
13805/* end confdefs.h. */
13806
13807#include <sys/types.h>
13808#include <stdio.h>
13809#include <stdarg.h>
13810
13811int x_snprintf(char *str,size_t count,const char *fmt,...)
13812{
13813 size_t ret; va_list ap;
13814 va_start(ap, fmt); ret = vsnprintf(str, count, fmt, ap); va_end(ap);
13815 return ret;
13816}
13817int main(void)
13818{
13819 char x[1];
13820 exit(x_snprintf(x, 1, "%s %d", "hello", 12345) == 11 ? 0 : 1);
13821}
13822_ACEOF
13823rm -f conftest$ac_exeext
13824if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13825 (eval $ac_link) 2>&5
13826 ac_status=$?
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13831 ac_status=$?
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13834 echo "$as_me:$LINENO: result: yes" >&5
13835echo "${ECHO_T}yes" >&6
13836else
13837 echo "$as_me: program exited with status $ac_status" >&5
13838echo "$as_me: failed program was:" >&5
13839sed 's/^/| /' conftest.$ac_ext >&5
13840
13841( exit $ac_status )
13842
13843 echo "$as_me:$LINENO: result: no" >&5
13844echo "${ECHO_T}no" >&6
13845
13846cat >>confdefs.h <<\_ACEOF
13847#define BROKEN_SNPRINTF 1
13848_ACEOF
13849
13850 { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5
13851echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;}
13852
13853fi
13854rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13855fi
13856fi
13857
13858# On systems where [v]snprintf is broken, but is declared in stdio,
13859# check that the fmt argument is const char * or just char *.
13860# This is only useful for when BROKEN_SNPRINTF
13861echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5
13862echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6
13863cat >conftest.$ac_ext <<_ACEOF
13864/* confdefs.h. */
13865_ACEOF
13866cat confdefs.h >>conftest.$ac_ext
13867cat >>conftest.$ac_ext <<_ACEOF
13868/* end confdefs.h. */
13869#include <stdio.h>
13870 int snprintf(char *a, size_t b, const char *c, ...) { return 0; }
13871 int main(void) { snprintf(0, 0, 0); }
13872
13873_ACEOF
13874rm -f conftest.$ac_objext
13875if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13876 (eval $ac_compile) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 echo "$as_me:$LINENO: result: yes" >&5
13897echo "${ECHO_T}yes" >&6
13898
13899cat >>confdefs.h <<\_ACEOF
13900#define SNPRINTF_CONST const
13901_ACEOF
13902
13903else
13904 echo "$as_me: failed program was:" >&5
13905sed 's/^/| /' conftest.$ac_ext >&5
13906
13907echo "$as_me:$LINENO: result: no" >&5
13908echo "${ECHO_T}no" >&6
13909 cat >>confdefs.h <<\_ACEOF
13910#define SNPRINTF_CONST /* not const */
13911_ACEOF
13912
13913fi
13914rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13915
13113# Check for missing getpeereid (or equiv) support 13916# Check for missing getpeereid (or equiv) support
13114NO_PEERCHECK="" 13917NO_PEERCHECK=""
13115if test "x$ac_cv_func_getpeereid" != "xyes" ; then 13918if test "x$ac_cv_func_getpeereid" != "xyes" ; then
@@ -13157,7 +13960,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157echo "${ECHO_T}yes" >&6 13960echo "${ECHO_T}yes" >&6
13158 13961
13159cat >>confdefs.h <<\_ACEOF 13962cat >>confdefs.h <<\_ACEOF
13160#define HAVE_SO_PEERCRED 13963#define HAVE_SO_PEERCRED 1
13161_ACEOF 13964_ACEOF
13162 13965
13163 13966
@@ -13226,7 +14029,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
13226 14029
13227 echo "$as_me:$LINENO: result: yes" >&5 14030 echo "$as_me:$LINENO: result: yes" >&5
13228echo "${ECHO_T}yes" >&6 14031echo "${ECHO_T}yes" >&6
13229 cat >>confdefs.h <<\_ACEOF 14032
14033cat >>confdefs.h <<\_ACEOF
13230#define HAVE_STRICT_MKSTEMP 1 14034#define HAVE_STRICT_MKSTEMP 1
13231_ACEOF 14035_ACEOF
13232 14036
@@ -13240,11 +14044,11 @@ if test ! -z "$check_for_openpty_ctty_bug"; then
13240 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 14044 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
13241echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 14045echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
13242 if test "$cross_compiling" = yes; then 14046 if test "$cross_compiling" = yes; then
13243 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14047
13244See \`config.log' for more details." >&5 14048 echo "$as_me:$LINENO: result: cross-compiling" >&5
13245echo "$as_me: error: cannot run test program while cross compiling 14049echo "${ECHO_T}cross-compiling" >&6
13246See \`config.log' for more details." >&2;} 14050
13247 { (exit 1); exit 1; }; } 14051
13248else 14052else
13249 cat >conftest.$ac_ext <<_ACEOF 14053 cat >conftest.$ac_ext <<_ACEOF
13250/* confdefs.h. */ 14054/* confdefs.h. */
@@ -13315,7 +14119,6 @@ echo "${ECHO_T}no" >&6
13315_ACEOF 14119_ACEOF
13316 14120
13317 14121
13318
13319fi 14122fi
13320rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14123rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13321fi 14124fi
@@ -13326,11 +14129,11 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13326 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 14129 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13327echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 14130echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13328 if test "$cross_compiling" = yes; then 14131 if test "$cross_compiling" = yes; then
13329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14132
13330See \`config.log' for more details." >&5 14133 echo "$as_me:$LINENO: result: cross-compiling" >&5
13331echo "$as_me: error: cannot run test program while cross compiling 14134echo "${ECHO_T}cross-compiling" >&6
13332See \`config.log' for more details." >&2;} 14135
13333 { (exit 1); exit 1; }; } 14136
13334else 14137else
13335 cat >conftest.$ac_ext <<_ACEOF 14138 cat >conftest.$ac_ext <<_ACEOF
13336/* confdefs.h. */ 14139/* confdefs.h. */
@@ -13423,7 +14226,6 @@ echo "${ECHO_T}no" >&6
13423_ACEOF 14226_ACEOF
13424 14227
13425 14228
13426
13427fi 14229fi
13428rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14230rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13429fi 14231fi
@@ -13434,11 +14236,10 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
13434 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 14236 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
13435echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 14237echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
13436 if test "$cross_compiling" = yes; then 14238 if test "$cross_compiling" = yes; then
13437 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 14239 echo "$as_me:$LINENO: result: cross-compiling" >&5
13438See \`config.log' for more details." >&5 14240echo "${ECHO_T}cross-compiling" >&6
13439echo "$as_me: error: cannot run test program while cross compiling 14241
13440See \`config.log' for more details." >&2;} 14242 ]
13441 { (exit 1); exit 1; }; }
13442else 14243else
13443 cat >conftest.$ac_ext <<_ACEOF 14244 cat >conftest.$ac_ext <<_ACEOF
13444/* confdefs.h. */ 14245/* confdefs.h. */
@@ -13506,7 +14307,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13506echo "${ECHO_T}yes" >&6 14307echo "${ECHO_T}yes" >&6
13507 14308
13508cat >>confdefs.h <<\_ACEOF 14309cat >>confdefs.h <<\_ACEOF
13509#define AIX_GETNAMEINFO_HACK 14310#define AIX_GETNAMEINFO_HACK 1
13510_ACEOF 14311_ACEOF
13511 14312
13512 14313
@@ -13524,7 +14325,6 @@ echo "${ECHO_T}no" >&6
13524_ACEOF 14325_ACEOF
13525 14326
13526 14327
13527
13528fi 14328fi
13529rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14329rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13530fi 14330fi
@@ -14021,7 +14821,8 @@ done
14021 14821
14022 PAM_MSG="yes" 14822 PAM_MSG="yes"
14023 14823
14024 cat >>confdefs.h <<\_ACEOF 14824
14825cat >>confdefs.h <<\_ACEOF
14025#define USE_PAM 1 14826#define USE_PAM 1
14026_ACEOF 14827_ACEOF
14027 14828
@@ -14092,7 +14893,8 @@ else
14092sed 's/^/| /' conftest.$ac_ext >&5 14893sed 's/^/| /' conftest.$ac_ext >&5
14093 14894
14094 14895
14095 cat >>confdefs.h <<\_ACEOF 14896
14897cat >>confdefs.h <<\_ACEOF
14096#define HAVE_OLD_PAM 1 14898#define HAVE_OLD_PAM 1
14097_ACEOF 14899_ACEOF
14098 14900
@@ -14185,7 +14987,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 ac_status=$? 14987 ac_status=$?
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; }; then 14989 (exit $ac_status); }; }; then
14188 cat >>confdefs.h <<\_ACEOF 14990
14991cat >>confdefs.h <<\_ACEOF
14189#define HAVE_OPENSSL 1 14992#define HAVE_OPENSSL 1
14190_ACEOF 14993_ACEOF
14191 14994
@@ -14464,6 +15267,64 @@ fi
14464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15267rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14465fi 15268fi
14466 15269
15270# Check for OpenSSL without EVP_aes_{192,256}_cbc
15271echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5
15272echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6
15273cat >conftest.$ac_ext <<_ACEOF
15274/* confdefs.h. */
15275_ACEOF
15276cat confdefs.h >>conftest.$ac_ext
15277cat >>conftest.$ac_ext <<_ACEOF
15278/* end confdefs.h. */
15279
15280#include <string.h>
15281#include <openssl/evp.h>
15282int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
15283
15284_ACEOF
15285rm -f conftest.$ac_objext
15286if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>conftest.er1
15288 ac_status=$?
15289 grep -v '^ *+' conftest.er1 >conftest.err
15290 rm -f conftest.er1
15291 cat conftest.err >&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try='test -z "$ac_c_werror_flag"
15295 || test ! -s conftest.err'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15298 ac_status=$?
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; } &&
15301 { ac_try='test -s conftest.$ac_objext'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; }; then
15307
15308 echo "$as_me:$LINENO: result: no" >&5
15309echo "${ECHO_T}no" >&6
15310
15311else
15312 echo "$as_me: failed program was:" >&5
15313sed 's/^/| /' conftest.$ac_ext >&5
15314
15315
15316 echo "$as_me:$LINENO: result: yes" >&5
15317echo "${ECHO_T}yes" >&6
15318
15319cat >>confdefs.h <<\_ACEOF
15320#define OPENSSL_LOBOTOMISED_AES 1
15321_ACEOF
15322
15323
15324
15325fi
15326rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15327
14467# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 15328# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
14468# because the system crypt() is more featureful. 15329# because the system crypt() is more featureful.
14469if test "x$check_for_libcrypt_before" = "x1"; then 15330if test "x$check_for_libcrypt_before" = "x1"; then
@@ -14776,7 +15637,8 @@ fi;
14776# Which randomness source do we use? 15637# Which randomness source do we use?
14777if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then 15638if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then
14778 # OpenSSL only 15639 # OpenSSL only
14779 cat >>confdefs.h <<\_ACEOF 15640
15641cat >>confdefs.h <<\_ACEOF
14780#define OPENSSL_PRNG_ONLY 1 15642#define OPENSSL_PRNG_ONLY 1
14781_ACEOF 15643_ACEOF
14782 15644
@@ -14811,7 +15673,8 @@ echo "$as_me: error: You must specify a numeric port number for --with-prngd-por
14811 esac 15673 esac
14812 if test ! -z "$withval" ; then 15674 if test ! -z "$withval" ; then
14813 PRNGD_PORT="$withval" 15675 PRNGD_PORT="$withval"
14814 cat >>confdefs.h <<_ACEOF 15676
15677cat >>confdefs.h <<_ACEOF
14815#define PRNGD_PORT $PRNGD_PORT 15678#define PRNGD_PORT $PRNGD_PORT
14816_ACEOF 15679_ACEOF
14817 15680
@@ -14853,7 +15716,8 @@ echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
14853echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 15716echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
14854 fi 15717 fi
14855 PRNGD_SOCKET="$withval" 15718 PRNGD_SOCKET="$withval"
14856 cat >>confdefs.h <<_ACEOF 15719
15720cat >>confdefs.h <<_ACEOF
14857#define PRNGD_SOCKET "$PRNGD_SOCKET" 15721#define PRNGD_SOCKET "$PRNGD_SOCKET"
14858_ACEOF 15722_ACEOF
14859 15723
@@ -14902,6 +15766,7 @@ if test "${with_entropy_timeout+set}" = set; then
14902 15766
14903 15767
14904fi; 15768fi;
15769
14905cat >>confdefs.h <<_ACEOF 15770cat >>confdefs.h <<_ACEOF
14906#define ENTROPY_TIMEOUT_MSEC $entropy_timeout 15771#define ENTROPY_TIMEOUT_MSEC $entropy_timeout
14907_ACEOF 15772_ACEOF
@@ -14920,6 +15785,7 @@ if test "${with_privsep_user+set}" = set; then
14920 15785
14921 15786
14922fi; 15787fi;
15788
14923cat >>confdefs.h <<_ACEOF 15789cat >>confdefs.h <<_ACEOF
14924#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" 15790#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
14925_ACEOF 15791_ACEOF
@@ -15685,7 +16551,202 @@ if test ! -z "$SONY" ; then
15685 LIBS="$LIBS -liberty"; 16551 LIBS="$LIBS -liberty";
15686fi 16552fi
15687 16553
15688# Checks for data types 16554# Check for long long datatypes
16555echo "$as_me:$LINENO: checking for long long" >&5
16556echo $ECHO_N "checking for long long... $ECHO_C" >&6
16557if test "${ac_cv_type_long_long+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16559else
16560 cat >conftest.$ac_ext <<_ACEOF
16561/* confdefs.h. */
16562_ACEOF
16563cat confdefs.h >>conftest.$ac_ext
16564cat >>conftest.$ac_ext <<_ACEOF
16565/* end confdefs.h. */
16566$ac_includes_default
16567int
16568main ()
16569{
16570if ((long long *) 0)
16571 return 0;
16572if (sizeof (long long))
16573 return 0;
16574 ;
16575 return 0;
16576}
16577_ACEOF
16578rm -f conftest.$ac_objext
16579if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16581 ac_status=$?
16582 grep -v '^ *+' conftest.er1 >conftest.err
16583 rm -f conftest.er1
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try='test -z "$ac_c_werror_flag"
16588 || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16591 ac_status=$?
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try='test -s conftest.$ac_objext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16597 ac_status=$?
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 ac_cv_type_long_long=yes
16601else
16602 echo "$as_me: failed program was:" >&5
16603sed 's/^/| /' conftest.$ac_ext >&5
16604
16605ac_cv_type_long_long=no
16606fi
16607rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16608fi
16609echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16610echo "${ECHO_T}$ac_cv_type_long_long" >&6
16611if test $ac_cv_type_long_long = yes; then
16612
16613cat >>confdefs.h <<_ACEOF
16614#define HAVE_LONG_LONG 1
16615_ACEOF
16616
16617
16618fi
16619echo "$as_me:$LINENO: checking for unsigned long long" >&5
16620echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
16621if test "${ac_cv_type_unsigned_long_long+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16623else
16624 cat >conftest.$ac_ext <<_ACEOF
16625/* confdefs.h. */
16626_ACEOF
16627cat confdefs.h >>conftest.$ac_ext
16628cat >>conftest.$ac_ext <<_ACEOF
16629/* end confdefs.h. */
16630$ac_includes_default
16631int
16632main ()
16633{
16634if ((unsigned long long *) 0)
16635 return 0;
16636if (sizeof (unsigned long long))
16637 return 0;
16638 ;
16639 return 0;
16640}
16641_ACEOF
16642rm -f conftest.$ac_objext
16643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16645 ac_status=$?
16646 grep -v '^ *+' conftest.er1 >conftest.err
16647 rm -f conftest.er1
16648 cat conftest.err >&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_type_unsigned_long_long=yes
16665else
16666 echo "$as_me: failed program was:" >&5
16667sed 's/^/| /' conftest.$ac_ext >&5
16668
16669ac_cv_type_unsigned_long_long=no
16670fi
16671rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16672fi
16673echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
16674echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
16675if test $ac_cv_type_unsigned_long_long = yes; then
16676
16677cat >>confdefs.h <<_ACEOF
16678#define HAVE_UNSIGNED_LONG_LONG 1
16679_ACEOF
16680
16681
16682fi
16683echo "$as_me:$LINENO: checking for long double" >&5
16684echo $ECHO_N "checking for long double... $ECHO_C" >&6
16685if test "${ac_cv_type_long_double+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687else
16688 cat >conftest.$ac_ext <<_ACEOF
16689/* confdefs.h. */
16690_ACEOF
16691cat confdefs.h >>conftest.$ac_ext
16692cat >>conftest.$ac_ext <<_ACEOF
16693/* end confdefs.h. */
16694$ac_includes_default
16695int
16696main ()
16697{
16698if ((long double *) 0)
16699 return 0;
16700if (sizeof (long double))
16701 return 0;
16702 ;
16703 return 0;
16704}
16705_ACEOF
16706rm -f conftest.$ac_objext
16707if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16708 (eval $ac_compile) 2>conftest.er1
16709 ac_status=$?
16710 grep -v '^ *+' conftest.er1 >conftest.err
16711 rm -f conftest.er1
16712 cat conftest.err >&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } &&
16715 { ac_try='test -z "$ac_c_werror_flag"
16716 || test ! -s conftest.err'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; } &&
16722 { ac_try='test -s conftest.$ac_objext'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16725 ac_status=$?
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; }; then
16728 ac_cv_type_long_double=yes
16729else
16730 echo "$as_me: failed program was:" >&5
16731sed 's/^/| /' conftest.$ac_ext >&5
16732
16733ac_cv_type_long_double=no
16734fi
16735rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16736fi
16737echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
16738echo "${ECHO_T}$ac_cv_type_long_double" >&6
16739if test $ac_cv_type_long_double = yes; then
16740
16741cat >>confdefs.h <<_ACEOF
16742#define HAVE_LONG_DOUBLE 1
16743_ACEOF
16744
16745
16746fi
16747
16748
16749# Check datatype sizes
15689echo "$as_me:$LINENO: checking for char" >&5 16750echo "$as_me:$LINENO: checking for char" >&5
15690echo $ECHO_N "checking for char... $ECHO_C" >&6 16751echo $ECHO_N "checking for char... $ECHO_C" >&6
15691if test "${ac_cv_type_char+set}" = set; then 16752if test "${ac_cv_type_char+set}" = set; then
@@ -17762,6 +18823,124 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
17762 ac_cv_sizeof_long_long_int=0 18823 ac_cv_sizeof_long_long_int=0
17763fi 18824fi
17764 18825
18826# compute LLONG_MIN and LLONG_MAX if we don't know them.
18827if test -z "$have_llong_max"; then
18828 echo "$as_me:$LINENO: checking for max value of long long" >&5
18829echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6
18830 if test "$cross_compiling" = yes; then
18831
18832 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
18833echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18834
18835
18836else
18837 cat >conftest.$ac_ext <<_ACEOF
18838/* confdefs.h. */
18839_ACEOF
18840cat confdefs.h >>conftest.$ac_ext
18841cat >>conftest.$ac_ext <<_ACEOF
18842/* end confdefs.h. */
18843
18844#include <stdio.h>
18845/* Why is this so damn hard? */
18846#ifdef __GNUC__
18847# undef __GNUC__
18848#endif
18849#define __USE_ISOC99
18850#include <limits.h>
18851#define DATA "conftest.llminmax"
18852int main(void) {
18853 FILE *f;
18854 long long i, llmin, llmax = 0;
18855
18856 if((f = fopen(DATA,"w")) == NULL)
18857 exit(1);
18858
18859#if defined(LLONG_MIN) && defined(LLONG_MAX)
18860 fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n");
18861 llmin = LLONG_MIN;
18862 llmax = LLONG_MAX;
18863#else
18864 fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n");
18865 /* This will work on one's complement and two's complement */
18866 for (i = 1; i > llmax; i <<= 1, i++)
18867 llmax = i;
18868 llmin = llmax + 1LL; /* wrap */
18869#endif
18870
18871 /* Sanity check */
18872 if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax
18873 || llmax - 1 > llmax) {
18874 fprintf(f, "unknown unknown\n");
18875 exit(2);
18876 }
18877
18878 if (fprintf(f ,"%lld %lld", llmin, llmax) < 0)
18879 exit(3);
18880
18881 exit(0);
18882}
18883
18884_ACEOF
18885rm -f conftest$ac_exeext
18886if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18887 (eval $ac_link) 2>&5
18888 ac_status=$?
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18893 ac_status=$?
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; }; then
18896
18897 llong_min=`$AWK '{print $1}' conftest.llminmax`
18898 llong_max=`$AWK '{print $2}' conftest.llminmax`
18899
18900 # snprintf on some Tru64s doesn't understand "%lld"
18901 case "$host" in
18902 alpha-dec-osf*)
18903 if test "x$ac_cv_sizeof_long_long_int" = "x8" &&
18904 test "x$llong_max" = "xld"; then
18905 llong_min="-9223372036854775808"
18906 llong_max="9223372036854775807"
18907 fi
18908 ;;
18909 esac
18910
18911 echo "$as_me:$LINENO: result: $llong_max" >&5
18912echo "${ECHO_T}$llong_max" >&6
18913
18914cat >>confdefs.h <<_ACEOF
18915#define LLONG_MAX ${llong_max}LL
18916_ACEOF
18917
18918 echo "$as_me:$LINENO: checking for min value of long long" >&5
18919echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6
18920 echo "$as_me:$LINENO: result: $llong_min" >&5
18921echo "${ECHO_T}$llong_min" >&6
18922
18923cat >>confdefs.h <<_ACEOF
18924#define LLONG_MIN ${llong_min}LL
18925_ACEOF
18926
18927
18928else
18929 echo "$as_me: program exited with status $ac_status" >&5
18930echo "$as_me: failed program was:" >&5
18931sed 's/^/| /' conftest.$ac_ext >&5
18932
18933( exit $ac_status )
18934
18935 echo "$as_me:$LINENO: result: not found" >&5
18936echo "${ECHO_T}not found" >&6
18937
18938fi
18939rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18940fi
18941fi
18942
18943
17765# More checks for data types 18944# More checks for data types
17766echo "$as_me:$LINENO: checking for u_int type" >&5 18945echo "$as_me:$LINENO: checking for u_int type" >&5
17767echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 18946echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
@@ -17820,7 +18999,8 @@ fi
17820echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 18999echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
17821echo "${ECHO_T}$ac_cv_have_u_int" >&6 19000echo "${ECHO_T}$ac_cv_have_u_int" >&6
17822if test "x$ac_cv_have_u_int" = "xyes" ; then 19001if test "x$ac_cv_have_u_int" = "xyes" ; then
17823 cat >>confdefs.h <<\_ACEOF 19002
19003cat >>confdefs.h <<\_ACEOF
17824#define HAVE_U_INT 1 19004#define HAVE_U_INT 1
17825_ACEOF 19005_ACEOF
17826 19006
@@ -17884,7 +19064,8 @@ fi
17884echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 19064echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
17885echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 19065echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
17886if test "x$ac_cv_have_intxx_t" = "xyes" ; then 19066if test "x$ac_cv_have_intxx_t" = "xyes" ; then
17887 cat >>confdefs.h <<\_ACEOF 19067
19068cat >>confdefs.h <<\_ACEOF
17888#define HAVE_INTXX_T 1 19069#define HAVE_INTXX_T 1
17889_ACEOF 19070_ACEOF
17890 19071
@@ -18018,7 +19199,8 @@ fi
18018echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 19199echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
18019echo "${ECHO_T}$ac_cv_have_int64_t" >&6 19200echo "${ECHO_T}$ac_cv_have_int64_t" >&6
18020if test "x$ac_cv_have_int64_t" = "xyes" ; then 19201if test "x$ac_cv_have_int64_t" = "xyes" ; then
18021 cat >>confdefs.h <<\_ACEOF 19202
19203cat >>confdefs.h <<\_ACEOF
18022#define HAVE_INT64_T 1 19204#define HAVE_INT64_T 1
18023_ACEOF 19205_ACEOF
18024 19206
@@ -18081,7 +19263,8 @@ fi
18081echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 19263echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
18082echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 19264echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
18083if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 19265if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
18084 cat >>confdefs.h <<\_ACEOF 19266
19267cat >>confdefs.h <<\_ACEOF
18085#define HAVE_U_INTXX_T 1 19268#define HAVE_U_INTXX_T 1
18086_ACEOF 19269_ACEOF
18087 19270
@@ -18204,7 +19387,8 @@ fi
18204echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 19387echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
18205echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 19388echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
18206if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 19389if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
18207 cat >>confdefs.h <<\_ACEOF 19390
19391cat >>confdefs.h <<\_ACEOF
18208#define HAVE_U_INT64_T 1 19392#define HAVE_U_INT64_T 1
18209_ACEOF 19393_ACEOF
18210 19394
@@ -18330,7 +19514,8 @@ fi
18330echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 19514echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
18331echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 19515echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
18332 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 19516 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
18333 cat >>confdefs.h <<\_ACEOF 19517
19518cat >>confdefs.h <<\_ACEOF
18334#define HAVE_UINTXX_T 1 19519#define HAVE_UINTXX_T 1
18335_ACEOF 19520_ACEOF
18336 19521
@@ -18527,7 +19712,8 @@ fi
18527echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 19712echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
18528echo "${ECHO_T}$ac_cv_have_u_char" >&6 19713echo "${ECHO_T}$ac_cv_have_u_char" >&6
18529if test "x$ac_cv_have_u_char" = "xyes" ; then 19714if test "x$ac_cv_have_u_char" = "xyes" ; then
18530 cat >>confdefs.h <<\_ACEOF 19715
19716cat >>confdefs.h <<\_ACEOF
18531#define HAVE_U_CHAR 1 19717#define HAVE_U_CHAR 1
18532_ACEOF 19718_ACEOF
18533 19719
@@ -18878,7 +20064,8 @@ fi
18878echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 20064echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
18879echo "${ECHO_T}$ac_cv_have_size_t" >&6 20065echo "${ECHO_T}$ac_cv_have_size_t" >&6
18880if test "x$ac_cv_have_size_t" = "xyes" ; then 20066if test "x$ac_cv_have_size_t" = "xyes" ; then
18881 cat >>confdefs.h <<\_ACEOF 20067
20068cat >>confdefs.h <<\_ACEOF
18882#define HAVE_SIZE_T 1 20069#define HAVE_SIZE_T 1
18883_ACEOF 20070_ACEOF
18884 20071
@@ -18943,7 +20130,8 @@ fi
18943echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 20130echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
18944echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 20131echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
18945if test "x$ac_cv_have_ssize_t" = "xyes" ; then 20132if test "x$ac_cv_have_ssize_t" = "xyes" ; then
18946 cat >>confdefs.h <<\_ACEOF 20133
20134cat >>confdefs.h <<\_ACEOF
18947#define HAVE_SSIZE_T 1 20135#define HAVE_SSIZE_T 1
18948_ACEOF 20136_ACEOF
18949 20137
@@ -19008,7 +20196,8 @@ fi
19008echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 20196echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
19009echo "${ECHO_T}$ac_cv_have_clock_t" >&6 20197echo "${ECHO_T}$ac_cv_have_clock_t" >&6
19010if test "x$ac_cv_have_clock_t" = "xyes" ; then 20198if test "x$ac_cv_have_clock_t" = "xyes" ; then
19011 cat >>confdefs.h <<\_ACEOF 20199
20200cat >>confdefs.h <<\_ACEOF
19012#define HAVE_CLOCK_T 1 20201#define HAVE_CLOCK_T 1
19013_ACEOF 20202_ACEOF
19014 20203
@@ -19123,7 +20312,8 @@ fi
19123echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 20312echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
19124echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 20313echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
19125if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 20314if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
19126 cat >>confdefs.h <<\_ACEOF 20315
20316cat >>confdefs.h <<\_ACEOF
19127#define HAVE_SA_FAMILY_T 1 20317#define HAVE_SA_FAMILY_T 1
19128_ACEOF 20318_ACEOF
19129 20319
@@ -19188,7 +20378,8 @@ fi
19188echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 20378echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
19189echo "${ECHO_T}$ac_cv_have_pid_t" >&6 20379echo "${ECHO_T}$ac_cv_have_pid_t" >&6
19190if test "x$ac_cv_have_pid_t" = "xyes" ; then 20380if test "x$ac_cv_have_pid_t" = "xyes" ; then
19191 cat >>confdefs.h <<\_ACEOF 20381
20382cat >>confdefs.h <<\_ACEOF
19192#define HAVE_PID_T 1 20383#define HAVE_PID_T 1
19193_ACEOF 20384_ACEOF
19194 20385
@@ -19253,7 +20444,8 @@ fi
19253echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 20444echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
19254echo "${ECHO_T}$ac_cv_have_mode_t" >&6 20445echo "${ECHO_T}$ac_cv_have_mode_t" >&6
19255if test "x$ac_cv_have_mode_t" = "xyes" ; then 20446if test "x$ac_cv_have_mode_t" = "xyes" ; then
19256 cat >>confdefs.h <<\_ACEOF 20447
20448cat >>confdefs.h <<\_ACEOF
19257#define HAVE_MODE_T 1 20449#define HAVE_MODE_T 1
19258_ACEOF 20450_ACEOF
19259 20451
@@ -19320,7 +20512,8 @@ fi
19320echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 20512echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
19321echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 20513echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
19322if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 20514if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
19323 cat >>confdefs.h <<\_ACEOF 20515
20516cat >>confdefs.h <<\_ACEOF
19324#define HAVE_STRUCT_SOCKADDR_STORAGE 1 20517#define HAVE_STRUCT_SOCKADDR_STORAGE 1
19325_ACEOF 20518_ACEOF
19326 20519
@@ -19386,7 +20579,8 @@ fi
19386echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 20579echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
19387echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 20580echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
19388if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 20581if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
19389 cat >>confdefs.h <<\_ACEOF 20582
20583cat >>confdefs.h <<\_ACEOF
19390#define HAVE_STRUCT_SOCKADDR_IN6 1 20584#define HAVE_STRUCT_SOCKADDR_IN6 1
19391_ACEOF 20585_ACEOF
19392 20586
@@ -19452,7 +20646,8 @@ fi
19452echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 20646echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
19453echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 20647echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
19454if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 20648if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
19455 cat >>confdefs.h <<\_ACEOF 20649
20650cat >>confdefs.h <<\_ACEOF
19456#define HAVE_STRUCT_IN6_ADDR 1 20651#define HAVE_STRUCT_IN6_ADDR 1
19457_ACEOF 20652_ACEOF
19458 20653
@@ -19519,7 +20714,8 @@ fi
19519echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 20714echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
19520echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 20715echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
19521if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 20716if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
19522 cat >>confdefs.h <<\_ACEOF 20717
20718cat >>confdefs.h <<\_ACEOF
19523#define HAVE_STRUCT_ADDRINFO 1 20719#define HAVE_STRUCT_ADDRINFO 1
19524_ACEOF 20720_ACEOF
19525 20721
@@ -19582,7 +20778,8 @@ fi
19582echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 20778echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
19583echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 20779echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
19584if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 20780if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
19585 cat >>confdefs.h <<\_ACEOF 20781
20782cat >>confdefs.h <<\_ACEOF
19586#define HAVE_STRUCT_TIMEVAL 1 20783#define HAVE_STRUCT_TIMEVAL 1
19587_ACEOF 20784_ACEOF
19588 20785
@@ -19761,7 +20958,8 @@ fi
19761 echo "$as_me:$LINENO: result: $ossh_result" >&5 20958 echo "$as_me:$LINENO: result: $ossh_result" >&5
19762echo "${ECHO_T}$ossh_result" >&6 20959echo "${ECHO_T}$ossh_result" >&6
19763 if test "x$ossh_result" = "xyes"; then 20960 if test "x$ossh_result" = "xyes"; then
19764 cat >>confdefs.h <<\_ACEOF 20961
20962cat >>confdefs.h <<\_ACEOF
19765#define HAVE_HOST_IN_UTMP 1 20963#define HAVE_HOST_IN_UTMP 1
19766_ACEOF 20964_ACEOF
19767 20965
@@ -19805,7 +21003,8 @@ fi
19805 echo "$as_me:$LINENO: result: $ossh_result" >&5 21003 echo "$as_me:$LINENO: result: $ossh_result" >&5
19806echo "${ECHO_T}$ossh_result" >&6 21004echo "${ECHO_T}$ossh_result" >&6
19807 if test "x$ossh_result" = "xyes"; then 21005 if test "x$ossh_result" = "xyes"; then
19808 cat >>confdefs.h <<\_ACEOF 21006
21007cat >>confdefs.h <<\_ACEOF
19809#define HAVE_HOST_IN_UTMPX 1 21008#define HAVE_HOST_IN_UTMPX 1
19810_ACEOF 21009_ACEOF
19811 21010
@@ -19849,7 +21048,8 @@ fi
19849 echo "$as_me:$LINENO: result: $ossh_result" >&5 21048 echo "$as_me:$LINENO: result: $ossh_result" >&5
19850echo "${ECHO_T}$ossh_result" >&6 21049echo "${ECHO_T}$ossh_result" >&6
19851 if test "x$ossh_result" = "xyes"; then 21050 if test "x$ossh_result" = "xyes"; then
19852 cat >>confdefs.h <<\_ACEOF 21051
21052cat >>confdefs.h <<\_ACEOF
19853#define HAVE_SYSLEN_IN_UTMPX 1 21053#define HAVE_SYSLEN_IN_UTMPX 1
19854_ACEOF 21054_ACEOF
19855 21055
@@ -19893,7 +21093,8 @@ fi
19893 echo "$as_me:$LINENO: result: $ossh_result" >&5 21093 echo "$as_me:$LINENO: result: $ossh_result" >&5
19894echo "${ECHO_T}$ossh_result" >&6 21094echo "${ECHO_T}$ossh_result" >&6
19895 if test "x$ossh_result" = "xyes"; then 21095 if test "x$ossh_result" = "xyes"; then
19896 cat >>confdefs.h <<\_ACEOF 21096
21097cat >>confdefs.h <<\_ACEOF
19897#define HAVE_PID_IN_UTMP 1 21098#define HAVE_PID_IN_UTMP 1
19898_ACEOF 21099_ACEOF
19899 21100
@@ -19937,7 +21138,8 @@ fi
19937 echo "$as_me:$LINENO: result: $ossh_result" >&5 21138 echo "$as_me:$LINENO: result: $ossh_result" >&5
19938echo "${ECHO_T}$ossh_result" >&6 21139echo "${ECHO_T}$ossh_result" >&6
19939 if test "x$ossh_result" = "xyes"; then 21140 if test "x$ossh_result" = "xyes"; then
19940 cat >>confdefs.h <<\_ACEOF 21141
21142cat >>confdefs.h <<\_ACEOF
19941#define HAVE_TYPE_IN_UTMP 1 21143#define HAVE_TYPE_IN_UTMP 1
19942_ACEOF 21144_ACEOF
19943 21145
@@ -19981,7 +21183,8 @@ fi
19981 echo "$as_me:$LINENO: result: $ossh_result" >&5 21183 echo "$as_me:$LINENO: result: $ossh_result" >&5
19982echo "${ECHO_T}$ossh_result" >&6 21184echo "${ECHO_T}$ossh_result" >&6
19983 if test "x$ossh_result" = "xyes"; then 21185 if test "x$ossh_result" = "xyes"; then
19984 cat >>confdefs.h <<\_ACEOF 21186
21187cat >>confdefs.h <<\_ACEOF
19985#define HAVE_TYPE_IN_UTMPX 1 21188#define HAVE_TYPE_IN_UTMPX 1
19986_ACEOF 21189_ACEOF
19987 21190
@@ -20025,7 +21228,8 @@ fi
20025 echo "$as_me:$LINENO: result: $ossh_result" >&5 21228 echo "$as_me:$LINENO: result: $ossh_result" >&5
20026echo "${ECHO_T}$ossh_result" >&6 21229echo "${ECHO_T}$ossh_result" >&6
20027 if test "x$ossh_result" = "xyes"; then 21230 if test "x$ossh_result" = "xyes"; then
20028 cat >>confdefs.h <<\_ACEOF 21231
21232cat >>confdefs.h <<\_ACEOF
20029#define HAVE_TV_IN_UTMP 1 21233#define HAVE_TV_IN_UTMP 1
20030_ACEOF 21234_ACEOF
20031 21235
@@ -20069,7 +21273,8 @@ fi
20069 echo "$as_me:$LINENO: result: $ossh_result" >&5 21273 echo "$as_me:$LINENO: result: $ossh_result" >&5
20070echo "${ECHO_T}$ossh_result" >&6 21274echo "${ECHO_T}$ossh_result" >&6
20071 if test "x$ossh_result" = "xyes"; then 21275 if test "x$ossh_result" = "xyes"; then
20072 cat >>confdefs.h <<\_ACEOF 21276
21277cat >>confdefs.h <<\_ACEOF
20073#define HAVE_ID_IN_UTMP 1 21278#define HAVE_ID_IN_UTMP 1
20074_ACEOF 21279_ACEOF
20075 21280
@@ -20113,7 +21318,8 @@ fi
20113 echo "$as_me:$LINENO: result: $ossh_result" >&5 21318 echo "$as_me:$LINENO: result: $ossh_result" >&5
20114echo "${ECHO_T}$ossh_result" >&6 21319echo "${ECHO_T}$ossh_result" >&6
20115 if test "x$ossh_result" = "xyes"; then 21320 if test "x$ossh_result" = "xyes"; then
20116 cat >>confdefs.h <<\_ACEOF 21321
21322cat >>confdefs.h <<\_ACEOF
20117#define HAVE_ID_IN_UTMPX 1 21323#define HAVE_ID_IN_UTMPX 1
20118_ACEOF 21324_ACEOF
20119 21325
@@ -20157,7 +21363,8 @@ fi
20157 echo "$as_me:$LINENO: result: $ossh_result" >&5 21363 echo "$as_me:$LINENO: result: $ossh_result" >&5
20158echo "${ECHO_T}$ossh_result" >&6 21364echo "${ECHO_T}$ossh_result" >&6
20159 if test "x$ossh_result" = "xyes"; then 21365 if test "x$ossh_result" = "xyes"; then
20160 cat >>confdefs.h <<\_ACEOF 21366
21367cat >>confdefs.h <<\_ACEOF
20161#define HAVE_ADDR_IN_UTMP 1 21368#define HAVE_ADDR_IN_UTMP 1
20162_ACEOF 21369_ACEOF
20163 21370
@@ -20201,7 +21408,8 @@ fi
20201 echo "$as_me:$LINENO: result: $ossh_result" >&5 21408 echo "$as_me:$LINENO: result: $ossh_result" >&5
20202echo "${ECHO_T}$ossh_result" >&6 21409echo "${ECHO_T}$ossh_result" >&6
20203 if test "x$ossh_result" = "xyes"; then 21410 if test "x$ossh_result" = "xyes"; then
20204 cat >>confdefs.h <<\_ACEOF 21411
21412cat >>confdefs.h <<\_ACEOF
20205#define HAVE_ADDR_IN_UTMPX 1 21413#define HAVE_ADDR_IN_UTMPX 1
20206_ACEOF 21414_ACEOF
20207 21415
@@ -20245,7 +21453,8 @@ fi
20245 echo "$as_me:$LINENO: result: $ossh_result" >&5 21453 echo "$as_me:$LINENO: result: $ossh_result" >&5
20246echo "${ECHO_T}$ossh_result" >&6 21454echo "${ECHO_T}$ossh_result" >&6
20247 if test "x$ossh_result" = "xyes"; then 21455 if test "x$ossh_result" = "xyes"; then
20248 cat >>confdefs.h <<\_ACEOF 21456
21457cat >>confdefs.h <<\_ACEOF
20249#define HAVE_ADDR_V6_IN_UTMP 1 21458#define HAVE_ADDR_V6_IN_UTMP 1
20250_ACEOF 21459_ACEOF
20251 21460
@@ -20289,7 +21498,8 @@ fi
20289 echo "$as_me:$LINENO: result: $ossh_result" >&5 21498 echo "$as_me:$LINENO: result: $ossh_result" >&5
20290echo "${ECHO_T}$ossh_result" >&6 21499echo "${ECHO_T}$ossh_result" >&6
20291 if test "x$ossh_result" = "xyes"; then 21500 if test "x$ossh_result" = "xyes"; then
20292 cat >>confdefs.h <<\_ACEOF 21501
21502cat >>confdefs.h <<\_ACEOF
20293#define HAVE_ADDR_V6_IN_UTMPX 1 21503#define HAVE_ADDR_V6_IN_UTMPX 1
20294_ACEOF 21504_ACEOF
20295 21505
@@ -20333,7 +21543,8 @@ fi
20333 echo "$as_me:$LINENO: result: $ossh_result" >&5 21543 echo "$as_me:$LINENO: result: $ossh_result" >&5
20334echo "${ECHO_T}$ossh_result" >&6 21544echo "${ECHO_T}$ossh_result" >&6
20335 if test "x$ossh_result" = "xyes"; then 21545 if test "x$ossh_result" = "xyes"; then
20336 cat >>confdefs.h <<\_ACEOF 21546
21547cat >>confdefs.h <<\_ACEOF
20337#define HAVE_EXIT_IN_UTMP 1 21548#define HAVE_EXIT_IN_UTMP 1
20338_ACEOF 21549_ACEOF
20339 21550
@@ -20377,7 +21588,8 @@ fi
20377 echo "$as_me:$LINENO: result: $ossh_result" >&5 21588 echo "$as_me:$LINENO: result: $ossh_result" >&5
20378echo "${ECHO_T}$ossh_result" >&6 21589echo "${ECHO_T}$ossh_result" >&6
20379 if test "x$ossh_result" = "xyes"; then 21590 if test "x$ossh_result" = "xyes"; then
20380 cat >>confdefs.h <<\_ACEOF 21591
21592cat >>confdefs.h <<\_ACEOF
20381#define HAVE_TIME_IN_UTMP 1 21593#define HAVE_TIME_IN_UTMP 1
20382_ACEOF 21594_ACEOF
20383 21595
@@ -20421,7 +21633,8 @@ fi
20421 echo "$as_me:$LINENO: result: $ossh_result" >&5 21633 echo "$as_me:$LINENO: result: $ossh_result" >&5
20422echo "${ECHO_T}$ossh_result" >&6 21634echo "${ECHO_T}$ossh_result" >&6
20423 if test "x$ossh_result" = "xyes"; then 21635 if test "x$ossh_result" = "xyes"; then
20424 cat >>confdefs.h <<\_ACEOF 21636
21637cat >>confdefs.h <<\_ACEOF
20425#define HAVE_TIME_IN_UTMPX 1 21638#define HAVE_TIME_IN_UTMPX 1
20426_ACEOF 21639_ACEOF
20427 21640
@@ -20465,7 +21678,8 @@ fi
20465 echo "$as_me:$LINENO: result: $ossh_result" >&5 21678 echo "$as_me:$LINENO: result: $ossh_result" >&5
20466echo "${ECHO_T}$ossh_result" >&6 21679echo "${ECHO_T}$ossh_result" >&6
20467 if test "x$ossh_result" = "xyes"; then 21680 if test "x$ossh_result" = "xyes"; then
20468 cat >>confdefs.h <<\_ACEOF 21681
21682cat >>confdefs.h <<\_ACEOF
20469#define HAVE_TV_IN_UTMPX 1 21683#define HAVE_TV_IN_UTMPX 1
20470_ACEOF 21684_ACEOF
20471 21685
@@ -20586,6 +21800,135 @@ _ACEOF
20586 21800
20587fi 21801fi
20588 21802
21803echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5
21804echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6
21805if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807else
21808 cat >conftest.$ac_ext <<_ACEOF
21809/* confdefs.h. */
21810_ACEOF
21811cat confdefs.h >>conftest.$ac_ext
21812cat >>conftest.$ac_ext <<_ACEOF
21813/* end confdefs.h. */
21814
21815#include <stdio.h>
21816#if HAVE_SYS_TYPES_H
21817# include <sys/types.h>
21818#endif
21819#include <netinet/in.h>
21820#include <arpa/nameser.h>
21821#include <resolv.h>
21822
21823
21824int
21825main ()
21826{
21827static struct __res_state ac_aggr;
21828if (ac_aggr.retrans)
21829return 0;
21830 ;
21831 return 0;
21832}
21833_ACEOF
21834rm -f conftest.$ac_objext
21835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag"
21844 || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856 ac_cv_member_struct___res_state_retrans=yes
21857else
21858 echo "$as_me: failed program was:" >&5
21859sed 's/^/| /' conftest.$ac_ext >&5
21860
21861cat >conftest.$ac_ext <<_ACEOF
21862/* confdefs.h. */
21863_ACEOF
21864cat confdefs.h >>conftest.$ac_ext
21865cat >>conftest.$ac_ext <<_ACEOF
21866/* end confdefs.h. */
21867
21868#include <stdio.h>
21869#if HAVE_SYS_TYPES_H
21870# include <sys/types.h>
21871#endif
21872#include <netinet/in.h>
21873#include <arpa/nameser.h>
21874#include <resolv.h>
21875
21876
21877int
21878main ()
21879{
21880static struct __res_state ac_aggr;
21881if (sizeof ac_aggr.retrans)
21882return 0;
21883 ;
21884 return 0;
21885}
21886_ACEOF
21887rm -f conftest.$ac_objext
21888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21889 (eval $ac_compile) 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_c_werror_flag"
21897 || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21900 ac_status=$?
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try='test -s conftest.$ac_objext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 ac_cv_member_struct___res_state_retrans=yes
21910else
21911 echo "$as_me: failed program was:" >&5
21912sed 's/^/| /' conftest.$ac_ext >&5
21913
21914ac_cv_member_struct___res_state_retrans=no
21915fi
21916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21917fi
21918rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21919fi
21920echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5
21921echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6
21922if test $ac_cv_member_struct___res_state_retrans = yes; then
21923 :
21924else
21925
21926cat >>confdefs.h <<\_ACEOF
21927#define __res_state state
21928_ACEOF
21929
21930fi
21931
20589 21932
20590echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 21933echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
20591echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 21934echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
@@ -20646,7 +21989,8 @@ fi
20646echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 21989echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
20647echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 21990echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
20648if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 21991if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
20649 cat >>confdefs.h <<\_ACEOF 21992
21993cat >>confdefs.h <<\_ACEOF
20650#define HAVE_SS_FAMILY_IN_SS 1 21994#define HAVE_SS_FAMILY_IN_SS 1
20651_ACEOF 21995_ACEOF
20652 21996
@@ -20712,7 +22056,8 @@ fi
20712echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 22056echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
20713echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 22057echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
20714if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 22058if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
20715 cat >>confdefs.h <<\_ACEOF 22059
22060cat >>confdefs.h <<\_ACEOF
20716#define HAVE___SS_FAMILY_IN_SS 1 22061#define HAVE___SS_FAMILY_IN_SS 1
20717_ACEOF 22062_ACEOF
20718 22063
@@ -20777,7 +22122,8 @@ fi
20777echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 22122echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
20778echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 22123echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
20779if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 22124if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
20780 cat >>confdefs.h <<\_ACEOF 22125
22126cat >>confdefs.h <<\_ACEOF
20781#define HAVE_PW_CLASS_IN_PASSWD 1 22127#define HAVE_PW_CLASS_IN_PASSWD 1
20782_ACEOF 22128_ACEOF
20783 22129
@@ -20842,7 +22188,8 @@ fi
20842echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 22188echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
20843echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 22189echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
20844if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 22190if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
20845 cat >>confdefs.h <<\_ACEOF 22191
22192cat >>confdefs.h <<\_ACEOF
20846#define HAVE_PW_EXPIRE_IN_PASSWD 1 22193#define HAVE_PW_EXPIRE_IN_PASSWD 1
20847_ACEOF 22194_ACEOF
20848 22195
@@ -20907,7 +22254,8 @@ fi
20907echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 22254echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
20908echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 22255echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
20909if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 22256if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
20910 cat >>confdefs.h <<\_ACEOF 22257
22258cat >>confdefs.h <<\_ACEOF
20911#define HAVE_PW_CHANGE_IN_PASSWD 1 22259#define HAVE_PW_CHANGE_IN_PASSWD 1
20912_ACEOF 22260_ACEOF
20913 22261
@@ -20971,7 +22319,8 @@ fi
20971echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 22319echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
20972echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 22320echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
20973if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 22321if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
20974 cat >>confdefs.h <<\_ACEOF 22322
22323cat >>confdefs.h <<\_ACEOF
20975#define HAVE_ACCRIGHTS_IN_MSGHDR 1 22324#define HAVE_ACCRIGHTS_IN_MSGHDR 1
20976_ACEOF 22325_ACEOF
20977 22326
@@ -21035,7 +22384,8 @@ fi
21035echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 22384echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
21036echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 22385echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
21037if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 22386if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
21038 cat >>confdefs.h <<\_ACEOF 22387
22388cat >>confdefs.h <<\_ACEOF
21039#define HAVE_CONTROL_IN_MSGHDR 1 22389#define HAVE_CONTROL_IN_MSGHDR 1
21040_ACEOF 22390_ACEOF
21041 22391
@@ -21099,7 +22449,8 @@ fi
21099echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 22449echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
21100echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 22450echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
21101if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 22451if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
21102 cat >>confdefs.h <<\_ACEOF 22452
22453cat >>confdefs.h <<\_ACEOF
21103#define HAVE___PROGNAME 1 22454#define HAVE___PROGNAME 1
21104_ACEOF 22455_ACEOF
21105 22456
@@ -21165,7 +22516,8 @@ fi
21165echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 22516echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
21166echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 22517echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
21167if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 22518if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
21168 cat >>confdefs.h <<\_ACEOF 22519
22520cat >>confdefs.h <<\_ACEOF
21169#define HAVE___FUNCTION__ 1 22521#define HAVE___FUNCTION__ 1
21170_ACEOF 22522_ACEOF
21171 22523
@@ -21231,12 +22583,145 @@ fi
21231echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 22583echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
21232echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 22584echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
21233if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 22585if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
21234 cat >>confdefs.h <<\_ACEOF 22586
22587cat >>confdefs.h <<\_ACEOF
21235#define HAVE___func__ 1 22588#define HAVE___func__ 1
21236_ACEOF 22589_ACEOF
21237 22590
21238fi 22591fi
21239 22592
22593echo "$as_me:$LINENO: checking whether va_copy exists" >&5
22594echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6
22595if test "${ac_cv_have_va_copy+set}" = set; then
22596 echo $ECHO_N "(cached) $ECHO_C" >&6
22597else
22598
22599 cat >conftest.$ac_ext <<_ACEOF
22600/* confdefs.h. */
22601_ACEOF
22602cat confdefs.h >>conftest.$ac_ext
22603cat >>conftest.$ac_ext <<_ACEOF
22604/* end confdefs.h. */
22605#include <stdarg.h>
22606 va_list x,y;
22607int
22608main ()
22609{
22610va_copy(x,y);
22611 ;
22612 return 0;
22613}
22614_ACEOF
22615rm -f conftest.$ac_objext conftest$ac_exeext
22616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22617 (eval $ac_link) 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } &&
22624 { ac_try='test -z "$ac_c_werror_flag"
22625 || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest$ac_exeext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22634 ac_status=$?
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_cv_have_va_copy="yes"
22638else
22639 echo "$as_me: failed program was:" >&5
22640sed 's/^/| /' conftest.$ac_ext >&5
22641
22642 ac_cv_have_va_copy="no"
22643
22644fi
22645rm -f conftest.err conftest.$ac_objext \
22646 conftest$ac_exeext conftest.$ac_ext
22647
22648fi
22649echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5
22650echo "${ECHO_T}$ac_cv_have_va_copy" >&6
22651if test "x$ac_cv_have_va_copy" = "xyes" ; then
22652
22653cat >>confdefs.h <<\_ACEOF
22654#define HAVE_VA_COPY 1
22655_ACEOF
22656
22657fi
22658
22659echo "$as_me:$LINENO: checking whether __va_copy exists" >&5
22660echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6
22661if test "${ac_cv_have___va_copy+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22663else
22664
22665 cat >conftest.$ac_ext <<_ACEOF
22666/* confdefs.h. */
22667_ACEOF
22668cat confdefs.h >>conftest.$ac_ext
22669cat >>conftest.$ac_ext <<_ACEOF
22670/* end confdefs.h. */
22671#include <stdarg.h>
22672 va_list x,y;
22673int
22674main ()
22675{
22676__va_copy(x,y);
22677 ;
22678 return 0;
22679}
22680_ACEOF
22681rm -f conftest.$ac_objext conftest$ac_exeext
22682if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 (eval $ac_link) 2>conftest.er1
22684 ac_status=$?
22685 grep -v '^ *+' conftest.er1 >conftest.err
22686 rm -f conftest.er1
22687 cat conftest.err >&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } &&
22690 { ac_try='test -z "$ac_c_werror_flag"
22691 || test ! -s conftest.err'
22692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22693 (eval $ac_try) 2>&5
22694 ac_status=$?
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; } &&
22697 { ac_try='test -s conftest$ac_exeext'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; }; then
22703 ac_cv_have___va_copy="yes"
22704else
22705 echo "$as_me: failed program was:" >&5
22706sed 's/^/| /' conftest.$ac_ext >&5
22707
22708 ac_cv_have___va_copy="no"
22709
22710fi
22711rm -f conftest.err conftest.$ac_objext \
22712 conftest$ac_exeext conftest.$ac_ext
22713
22714fi
22715echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5
22716echo "${ECHO_T}$ac_cv_have___va_copy" >&6
22717if test "x$ac_cv_have___va_copy" = "xyes" ; then
22718
22719cat >>confdefs.h <<\_ACEOF
22720#define HAVE___VA_COPY 1
22721_ACEOF
22722
22723fi
22724
21240echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 22725echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
21241echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 22726echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
21242if test "${ac_cv_have_getopt_optreset+set}" = set; then 22727if test "${ac_cv_have_getopt_optreset+set}" = set; then
@@ -21297,7 +22782,8 @@ fi
21297echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 22782echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
21298echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 22783echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
21299if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 22784if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
21300 cat >>confdefs.h <<\_ACEOF 22785
22786cat >>confdefs.h <<\_ACEOF
21301#define HAVE_GETOPT_OPTRESET 1 22787#define HAVE_GETOPT_OPTRESET 1
21302_ACEOF 22788_ACEOF
21303 22789
@@ -21361,7 +22847,8 @@ fi
21361echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 22847echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
21362echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 22848echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
21363if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 22849if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
21364 cat >>confdefs.h <<\_ACEOF 22850
22851cat >>confdefs.h <<\_ACEOF
21365#define HAVE_SYS_ERRLIST 1 22852#define HAVE_SYS_ERRLIST 1
21366_ACEOF 22853_ACEOF
21367 22854
@@ -21426,7 +22913,8 @@ fi
21426echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 22913echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
21427echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 22914echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
21428if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 22915if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
21429 cat >>confdefs.h <<\_ACEOF 22916
22917cat >>confdefs.h <<\_ACEOF
21430#define HAVE_SYS_NERR 1 22918#define HAVE_SYS_NERR 1
21431_ACEOF 22919_ACEOF
21432 22920
@@ -21684,11 +23172,13 @@ fi
21684echo "$as_me: error: Can't find libsectok" >&2;} 23172echo "$as_me: error: Can't find libsectok" >&2;}
21685 { (exit 1); exit 1; }; } 23173 { (exit 1); exit 1; }; }
21686 fi 23174 fi
21687 cat >>confdefs.h <<\_ACEOF 23175
23176cat >>confdefs.h <<\_ACEOF
21688#define SMARTCARD 1 23177#define SMARTCARD 1
21689_ACEOF 23178_ACEOF
21690 23179
21691 cat >>confdefs.h <<\_ACEOF 23180
23181cat >>confdefs.h <<\_ACEOF
21692#define USE_SECTOK 1 23182#define USE_SECTOK 1
21693_ACEOF 23183_ACEOF
21694 23184
@@ -21759,7 +23249,8 @@ fi
21759#define SMARTCARD 1 23249#define SMARTCARD 1
21760_ACEOF 23250_ACEOF
21761 23251
21762 cat >>confdefs.h <<\_ACEOF 23252
23253cat >>confdefs.h <<\_ACEOF
21763#define USE_OPENSC 1 23254#define USE_OPENSC 1
21764_ACEOF 23255_ACEOF
21765 23256
@@ -21894,7 +23385,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
21894echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 23385echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
21895if test "$ac_cv_search_getrrsetbyname" != no; then 23386if test "$ac_cv_search_getrrsetbyname" != no; then
21896 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" 23387 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
21897 cat >>confdefs.h <<\_ACEOF 23388
23389cat >>confdefs.h <<\_ACEOF
21898#define HAVE_GETRRSETBYNAME 1 23390#define HAVE_GETRRSETBYNAME 1
21899_ACEOF 23391_ACEOF
21900 23392
@@ -22613,7 +24105,8 @@ fi
22613echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 24105echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
22614echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 24106echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
22615if test $ac_cv_member_HEADER_ad = yes; then 24107if test $ac_cv_member_HEADER_ad = yes; then
22616 cat >>confdefs.h <<\_ACEOF 24108
24109cat >>confdefs.h <<\_ACEOF
22617#define HAVE_HEADER_AD 1 24110#define HAVE_HEADER_AD 1
22618_ACEOF 24111_ACEOF
22619 24112
@@ -22636,7 +24129,8 @@ if test "${with_kerberos5+set}" = set; then
22636 KRB5ROOT=${withval} 24129 KRB5ROOT=${withval}
22637 fi 24130 fi
22638 24131
22639 cat >>confdefs.h <<\_ACEOF 24132
24133cat >>confdefs.h <<\_ACEOF
22640#define KRB5 1 24134#define KRB5 1
22641_ACEOF 24135_ACEOF
22642 24136
@@ -22654,7 +24148,8 @@ echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6
22654 if $KRB5CONF | grep gssapi >/dev/null ; then 24148 if $KRB5CONF | grep gssapi >/dev/null ; then
22655 echo "$as_me:$LINENO: result: yes" >&5 24149 echo "$as_me:$LINENO: result: yes" >&5
22656echo "${ECHO_T}yes" >&6 24150echo "${ECHO_T}yes" >&6
22657 cat >>confdefs.h <<\_ACEOF 24151
24152cat >>confdefs.h <<\_ACEOF
22658#define GSSAPI 1 24153#define GSSAPI 1
22659_ACEOF 24154_ACEOF
22660 24155
@@ -22708,7 +24203,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708 (exit $ac_status); }; }; then 24203 (exit $ac_status); }; }; then
22709 echo "$as_me:$LINENO: result: yes" >&5 24204 echo "$as_me:$LINENO: result: yes" >&5
22710echo "${ECHO_T}yes" >&6 24205echo "${ECHO_T}yes" >&6
22711 cat >>confdefs.h <<\_ACEOF 24206
24207cat >>confdefs.h <<\_ACEOF
22712#define HEIMDAL 1 24208#define HEIMDAL 1
22713_ACEOF 24209_ACEOF
22714 24210
@@ -23586,7 +25082,6 @@ fi
23586 if test ! -z "$blibpath" ; then 25082 if test ! -z "$blibpath" ; then
23587 blibpath="$blibpath:${KRB5ROOT}/lib" 25083 blibpath="$blibpath:${KRB5ROOT}/lib"
23588 fi 25084 fi
23589 fi
23590 25085
23591 25086
23592 25087
@@ -24042,8 +25537,8 @@ fi
24042done 25537done
24043 25538
24044 25539
24045 LIBS="$LIBS $K5LIBS" 25540 LIBS="$LIBS $K5LIBS"
24046 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 25541 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
24047echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 25542echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6
24048if test "${ac_cv_search_k_hasafs+set}" = set; then 25543if test "${ac_cv_search_k_hasafs+set}" = set; then
24049 echo $ECHO_N "(cached) $ECHO_C" >&6 25544 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -24166,12 +25661,14 @@ echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
24166echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 25661echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6
24167if test "$ac_cv_search_k_hasafs" != no; then 25662if test "$ac_cv_search_k_hasafs" != no; then
24168 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" 25663 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS"
24169 cat >>confdefs.h <<\_ACEOF 25664
25665cat >>confdefs.h <<\_ACEOF
24170#define USE_AFS 1 25666#define USE_AFS 1
24171_ACEOF 25667_ACEOF
24172 25668
24173fi 25669fi
24174 25670
25671 fi
24175 25672
24176 25673
24177fi; 25674fi;
@@ -24273,7 +25770,8 @@ if test -z "$xauth_path" ; then
24273 XAUTH_PATH="undefined" 25770 XAUTH_PATH="undefined"
24274 25771
24275else 25772else
24276 cat >>confdefs.h <<_ACEOF 25773
25774cat >>confdefs.h <<_ACEOF
24277#define XAUTH_PATH "$xauth_path" 25775#define XAUTH_PATH "$xauth_path"
24278_ACEOF 25776_ACEOF
24279 25777
@@ -24284,7 +25782,8 @@ fi
24284# Check for mail directory (last resort if we cannot get it from headers) 25782# Check for mail directory (last resort if we cannot get it from headers)
24285if test ! -z "$MAIL" ; then 25783if test ! -z "$MAIL" ; then
24286 maildir=`dirname $MAIL` 25784 maildir=`dirname $MAIL`
24287 cat >>confdefs.h <<_ACEOF 25785
25786cat >>confdefs.h <<_ACEOF
24288#define MAIL_DIRECTORY "$maildir" 25787#define MAIL_DIRECTORY "$maildir"
24289_ACEOF 25788_ACEOF
24290 25789
@@ -24316,7 +25815,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
24316echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 25815echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
24317if test $ac_cv_file___dev_ptmx_ = yes; then 25816if test $ac_cv_file___dev_ptmx_ = yes; then
24318 25817
24319 cat >>confdefs.h <<_ACEOF 25818
25819cat >>confdefs.h <<_ACEOF
24320#define HAVE_DEV_PTMX 1 25820#define HAVE_DEV_PTMX 1
24321_ACEOF 25821_ACEOF
24322 25822
@@ -24348,7 +25848,8 @@ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
24348echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 25848echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
24349if test $ac_cv_file___dev_ptc_ = yes; then 25849if test $ac_cv_file___dev_ptc_ = yes; then
24350 25850
24351 cat >>confdefs.h <<_ACEOF 25851
25852cat >>confdefs.h <<_ACEOF
24352#define HAVE_DEV_PTS_AND_PTC 1 25853#define HAVE_DEV_PTS_AND_PTC 1
24353_ACEOF 25854_ACEOF
24354 25855
@@ -24452,7 +25953,8 @@ if test "${with_md5_passwords+set}" = set; then
24452 withval="$with_md5_passwords" 25953 withval="$with_md5_passwords"
24453 25954
24454 if test "x$withval" != "xno" ; then 25955 if test "x$withval" != "xno" ; then
24455 cat >>confdefs.h <<\_ACEOF 25956
25957cat >>confdefs.h <<\_ACEOF
24456#define HAVE_MD5_PASSWORDS 1 25958#define HAVE_MD5_PASSWORDS 1
24457_ACEOF 25959_ACEOF
24458 25960
@@ -24536,7 +26038,8 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536 if test "x$sp_expire_available" = "xyes" ; then 26038 if test "x$sp_expire_available" = "xyes" ; then
24537 echo "$as_me:$LINENO: result: yes" >&5 26039 echo "$as_me:$LINENO: result: yes" >&5
24538echo "${ECHO_T}yes" >&6 26040echo "${ECHO_T}yes" >&6
24539 cat >>confdefs.h <<\_ACEOF 26041
26042cat >>confdefs.h <<\_ACEOF
24540#define HAS_SHADOW_EXPIRE 1 26043#define HAS_SHADOW_EXPIRE 1
24541_ACEOF 26044_ACEOF
24542 26045
@@ -24549,7 +26052,8 @@ fi
24549# Use ip address instead of hostname in $DISPLAY 26052# Use ip address instead of hostname in $DISPLAY
24550if test ! -z "$IPADDR_IN_DISPLAY" ; then 26053if test ! -z "$IPADDR_IN_DISPLAY" ; then
24551 DISPLAY_HACK_MSG="yes" 26054 DISPLAY_HACK_MSG="yes"
24552 cat >>confdefs.h <<\_ACEOF 26055
26056cat >>confdefs.h <<\_ACEOF
24553#define IPADDR_IN_DISPLAY 1 26057#define IPADDR_IN_DISPLAY 1
24554_ACEOF 26058_ACEOF
24555 26059
@@ -24584,7 +26088,14 @@ echo "$as_me: /etc/default/login handling disabled" >&6;}
24584 etc_default_login=yes 26088 etc_default_login=yes
24585 fi 26089 fi
24586else 26090else
24587 etc_default_login=yes 26091 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
26092 then
26093 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5
26094echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;}
26095 etc_default_login=no
26096 else
26097 etc_default_login=yes
26098 fi
24588 26099
24589fi; 26100fi;
24590 26101
@@ -24610,12 +26121,9 @@ if test $ac_cv_file___etc_default_login_ = yes; then
24610 external_path_file=/etc/default/login 26121 external_path_file=/etc/default/login
24611fi 26122fi
24612 26123
24613 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; 26124 if test "x$external_path_file" = "x/etc/default/login"; then
24614 then 26125
24615 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /etc/default/login test" >&5 26126cat >>confdefs.h <<\_ACEOF
24616echo "$as_me: WARNING: cross compiling: Disabling /etc/default/login test" >&2;}
24617 elif test "x$external_path_file" = "x/etc/default/login"; then
24618 cat >>confdefs.h <<\_ACEOF
24619#define HAVE_ETC_DEFAULT_LOGIN 1 26127#define HAVE_ETC_DEFAULT_LOGIN 1
24620_ACEOF 26128_ACEOF
24621 26129
@@ -24754,7 +26262,8 @@ echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
24754 26262
24755fi; 26263fi;
24756if test "x$external_path_file" != "x/etc/login.conf" ; then 26264if test "x$external_path_file" != "x/etc/login.conf" ; then
24757 cat >>confdefs.h <<_ACEOF 26265
26266cat >>confdefs.h <<_ACEOF
24758#define USER_PATH "$user_path" 26267#define USER_PATH "$user_path"
24759_ACEOF 26268_ACEOF
24760 26269
@@ -24769,7 +26278,8 @@ if test "${with_superuser_path+set}" = set; then
24769 26278
24770 if test -n "$withval" && test "x$withval" != "xno" && \ 26279 if test -n "$withval" && test "x$withval" != "xno" && \
24771 test "x${withval}" != "xyes"; then 26280 test "x${withval}" != "xyes"; then
24772 cat >>confdefs.h <<_ACEOF 26281
26282cat >>confdefs.h <<_ACEOF
24773#define SUPERUSER_PATH "$withval" 26283#define SUPERUSER_PATH "$withval"
24774_ACEOF 26284_ACEOF
24775 26285
@@ -24791,7 +26301,8 @@ if test "${with_4in6+set}" = set; then
24791 if test "x$withval" != "xno" ; then 26301 if test "x$withval" != "xno" ; then
24792 echo "$as_me:$LINENO: result: yes" >&5 26302 echo "$as_me:$LINENO: result: yes" >&5
24793echo "${ECHO_T}yes" >&6 26303echo "${ECHO_T}yes" >&6
24794 cat >>confdefs.h <<\_ACEOF 26304
26305cat >>confdefs.h <<\_ACEOF
24795#define IPV4_IN_IPV6 1 26306#define IPV4_IN_IPV6 1
24796_ACEOF 26307_ACEOF
24797 26308
@@ -24827,7 +26338,8 @@ if test "${with_bsd_auth+set}" = set; then
24827 withval="$with_bsd_auth" 26338 withval="$with_bsd_auth"
24828 26339
24829 if test "x$withval" != "xno" ; then 26340 if test "x$withval" != "xno" ; then
24830 cat >>confdefs.h <<\_ACEOF 26341
26342cat >>confdefs.h <<\_ACEOF
24831#define BSD_AUTH 1 26343#define BSD_AUTH 1
24832_ACEOF 26344_ACEOF
24833 26345
@@ -24864,6 +26376,7 @@ echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
24864 26376
24865fi; 26377fi;
24866 26378
26379
24867cat >>confdefs.h <<_ACEOF 26380cat >>confdefs.h <<_ACEOF
24868#define _PATH_SSH_PIDDIR "$piddir" 26381#define _PATH_SSH_PIDDIR "$piddir"
24869_ACEOF 26382_ACEOF
@@ -24901,7 +26414,8 @@ if test "${enable_utmpx+set}" = set; then
24901 enableval="$enable_utmpx" 26414 enableval="$enable_utmpx"
24902 26415
24903 if test "x$enableval" = "xno" ; then 26416 if test "x$enableval" = "xno" ; then
24904 cat >>confdefs.h <<\_ACEOF 26417
26418cat >>confdefs.h <<\_ACEOF
24905#define DISABLE_UTMPX 1 26419#define DISABLE_UTMPX 1
24906_ACEOF 26420_ACEOF
24907 26421
@@ -24927,7 +26441,8 @@ if test "${enable_wtmpx+set}" = set; then
24927 enableval="$enable_wtmpx" 26441 enableval="$enable_wtmpx"
24928 26442
24929 if test "x$enableval" = "xno" ; then 26443 if test "x$enableval" = "xno" ; then
24930 cat >>confdefs.h <<\_ACEOF 26444
26445cat >>confdefs.h <<\_ACEOF
24931#define DISABLE_WTMPX 1 26446#define DISABLE_WTMPX 1
24932_ACEOF 26447_ACEOF
24933 26448
@@ -24953,7 +26468,8 @@ if test "${enable_pututline+set}" = set; then
24953 enableval="$enable_pututline" 26468 enableval="$enable_pututline"
24954 26469
24955 if test "x$enableval" = "xno" ; then 26470 if test "x$enableval" = "xno" ; then
24956 cat >>confdefs.h <<\_ACEOF 26471
26472cat >>confdefs.h <<\_ACEOF
24957#define DISABLE_PUTUTLINE 1 26473#define DISABLE_PUTUTLINE 1
24958_ACEOF 26474_ACEOF
24959 26475
@@ -24966,7 +26482,8 @@ if test "${enable_pututxline+set}" = set; then
24966 enableval="$enable_pututxline" 26482 enableval="$enable_pututxline"
24967 26483
24968 if test "x$enableval" = "xno" ; then 26484 if test "x$enableval" = "xno" ; then
24969 cat >>confdefs.h <<\_ACEOF 26485
26486cat >>confdefs.h <<\_ACEOF
24970#define DISABLE_PUTUTXLINE 1 26487#define DISABLE_PUTUTXLINE 1
24971_ACEOF 26488_ACEOF
24972 26489
@@ -25133,7 +26650,8 @@ echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
25133fi 26650fi
25134 26651
25135if test -n "$conf_lastlog_location"; then 26652if test -n "$conf_lastlog_location"; then
25136 cat >>confdefs.h <<_ACEOF 26653
26654cat >>confdefs.h <<_ACEOF
25137#define CONF_LASTLOG_FILE "$conf_lastlog_location" 26655#define CONF_LASTLOG_FILE "$conf_lastlog_location"
25138_ACEOF 26656_ACEOF
25139 26657
@@ -25212,7 +26730,8 @@ _ACEOF
25212 fi 26730 fi
25213fi 26731fi
25214if test -n "$conf_utmp_location"; then 26732if test -n "$conf_utmp_location"; then
25215 cat >>confdefs.h <<_ACEOF 26733
26734cat >>confdefs.h <<_ACEOF
25216#define CONF_UTMP_FILE "$conf_utmp_location" 26735#define CONF_UTMP_FILE "$conf_utmp_location"
25217_ACEOF 26736_ACEOF
25218 26737
@@ -25291,7 +26810,8 @@ _ACEOF
25291 fi 26810 fi
25292fi 26811fi
25293if test -n "$conf_wtmp_location"; then 26812if test -n "$conf_wtmp_location"; then
25294 cat >>confdefs.h <<_ACEOF 26813
26814cat >>confdefs.h <<_ACEOF
25295#define CONF_WTMP_FILE "$conf_wtmp_location" 26815#define CONF_WTMP_FILE "$conf_wtmp_location"
25296_ACEOF 26816_ACEOF
25297 26817
@@ -25366,7 +26886,8 @@ _ACEOF
25366 26886
25367 fi 26887 fi
25368else 26888else
25369 cat >>confdefs.h <<_ACEOF 26889
26890cat >>confdefs.h <<_ACEOF
25370#define CONF_UTMPX_FILE "$conf_utmpx_location" 26891#define CONF_UTMPX_FILE "$conf_utmpx_location"
25371_ACEOF 26892_ACEOF
25372 26893
@@ -25440,7 +26961,8 @@ _ACEOF
25440 26961
25441 fi 26962 fi
25442else 26963else
25443 cat >>confdefs.h <<_ACEOF 26964
26965cat >>confdefs.h <<_ACEOF
25444#define CONF_WTMPX_FILE "$conf_wtmpx_location" 26966#define CONF_WTMPX_FILE "$conf_wtmpx_location"
25445_ACEOF 26967_ACEOF
25446 26968
@@ -25821,9 +27343,9 @@ exec 6>&1
25821exec 5>>config.log 27343exec 5>>config.log
25822{ 27344{
25823 echo 27345 echo
25824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<BOXI_EOF 27346 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25825## Running $as_me. ## 27347## Running $as_me. ##
25826BOXI_EOF 27348_ASBOX
25827} >&5 27349} >&5
25828cat >&5 <<_CSEOF 27350cat >&5 <<_CSEOF
25829 27351
@@ -26104,6 +27626,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26104s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 27626s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26105s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 27627s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26106s,@INSTALL_DATA@,$INSTALL_DATA,;t t 27628s,@INSTALL_DATA@,$INSTALL_DATA,;t t
27629s,@EGREP@,$EGREP,;t t
26107s,@AR@,$AR,;t t 27630s,@AR@,$AR,;t t
26108s,@CAT@,$CAT,;t t 27631s,@CAT@,$CAT,;t t
26109s,@KILL@,$KILL,;t t 27632s,@KILL@,$KILL,;t t
@@ -26116,10 +27639,10 @@ s,@TEST_SHELL@,$TEST_SHELL,;t t
26116s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t 27639s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t
26117s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t 27640s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t
26118s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t 27641s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t
27642s,@STARTUP_SCRIPT_SHELL@,$STARTUP_SCRIPT_SHELL,;t t
26119s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t 27643s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
26120s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t 27644s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
26121s,@LD@,$LD,;t t 27645s,@LD@,$LD,;t t
26122s,@EGREP@,$EGREP,;t t
26123s,@LIBWRAP@,$LIBWRAP,;t t 27646s,@LIBWRAP@,$LIBWRAP,;t t
26124s,@LIBEDIT@,$LIBEDIT,;t t 27647s,@LIBEDIT@,$LIBEDIT,;t t
26125s,@LIBPAM@,$LIBPAM,;t t 27648s,@LIBPAM@,$LIBPAM,;t t