diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2761 |
1 files changed, 2142 insertions, 619 deletions
@@ -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 | ||
314 | ac_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' | 315 | ac_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' |
315 | ac_subst_files='' | 316 | ac_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 | ||
1364 | ac_ext=c | 1366 | ac_ext=c |
@@ -3036,6 +3038,21 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
3036 | 3038 | ||
3037 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3039 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3038 | 3040 | ||
3041 | echo "$as_me:$LINENO: checking for egrep" >&5 | ||
3042 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
3043 | if test "${ac_cv_prog_egrep+set}" = set; then | ||
3044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3045 | else | ||
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 | ||
3050 | fi | ||
3051 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
3052 | echo "${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. |
3040 | set dummy ar; ac_word=$2 | 3057 | set dummy ar; ac_word=$2 |
3041 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3058 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
@@ -3552,6 +3569,13 @@ else | |||
3552 | echo "${ECHO_T}no" >&6 | 3569 | echo "${ECHO_T}no" >&6 |
3553 | fi | 3570 | fi |
3554 | 3571 | ||
3572 | if test -x /sbin/sh; then | ||
3573 | STARTUP_SCRIPT_SHELL=/sbin/sh | ||
3574 | |||
3575 | else | ||
3576 | STARTUP_SCRIPT_SHELL=/bin/sh | ||
3577 | |||
3578 | fi | ||
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 |
3929 | if test ! -z "$LOGIN_PROGRAM" ; then | 3953 | if test ! -z "$LOGIN_PROGRAM" ; then |
3930 | cat >>confdefs.h <<_ACEOF | 3954 | |
3955 | cat >>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 | |||
4020 | fi | 4045 | fi |
4021 | 4046 | ||
4022 | if test ! -z "$PATH_PASSWD_PROG" ; then | 4047 | if test ! -z "$PATH_PASSWD_PROG" ; then |
4023 | cat >>confdefs.h <<_ACEOF | 4048 | |
4049 | cat >>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 | ||
4168 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 4194 | if 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 |
4248 | fi | 4276 | fi |
4249 | 4277 | ||
4250 | if test -z "$have_llong_max"; then | ||
4251 | echo "$as_me:$LINENO: checking for max value of long long" >&5 | ||
4252 | echo $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 | ||
4256 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
4257 | |||
4258 | |||
4259 | else | ||
4260 | cat >conftest.$ac_ext <<_ACEOF | ||
4261 | /* confdefs.h. */ | ||
4262 | _ACEOF | ||
4263 | cat confdefs.h >>conftest.$ac_ext | ||
4264 | cat >>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" | ||
4275 | int 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 | ||
4308 | rm -f conftest$ac_exeext | ||
4309 | if { (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 | ||
4323 | echo "${ECHO_T}$llong_max" >&6 | ||
4324 | |||
4325 | cat >>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 | ||
4330 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6 | ||
4331 | echo "$as_me:$LINENO: result: $llong_min" >&5 | ||
4332 | echo "${ECHO_T}$llong_min" >&6 | ||
4333 | |||
4334 | cat >>confdefs.h <<_ACEOF | ||
4335 | #define LLONG_MIN ${llong_min}LL | ||
4336 | _ACEOF | ||
4337 | |||
4338 | |||
4339 | else | ||
4340 | echo "$as_me: program exited with status $ac_status" >&5 | ||
4341 | echo "$as_me: failed program was:" >&5 | ||
4342 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4343 | |||
4344 | ( exit $ac_status ) | ||
4345 | |||
4346 | echo "$as_me:$LINENO: result: not found" >&5 | ||
4347 | echo "${ECHO_T}not found" >&6 | ||
4348 | |||
4349 | fi | ||
4350 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4351 | fi | ||
4352 | fi | ||
4353 | |||
4354 | 4278 | ||
4355 | # Check whether --with-rpath or --without-rpath was given. | 4279 | # Check whether --with-rpath or --without-rpath was given. |
4356 | if test "${with_rpath+set}" = set; then | 4280 | if test "${with_rpath+set}" = set; then |
@@ -4527,7 +4451,8 @@ fi | |||
4527 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | 4451 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 |
4528 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 | 4452 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 |
4529 | if test $ac_cv_func_authenticate = yes; then | 4453 | if test $ac_cv_func_authenticate = yes; then |
4530 | cat >>confdefs.h <<\_ACEOF | 4454 | |
4455 | cat >>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 |
5072 | echo "${ECHO_T}yes" >&6 | 4997 | echo "${ECHO_T}yes" >&6 |
5073 | cat >>confdefs.h <<\_ACEOF | 4998 | |
4999 | cat >>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 | |||
5195 | done | 5121 | done |
5196 | 5122 | ||
5197 | check_for_aix_broken_getaddrinfo=1 | 5123 | check_for_aix_broken_getaddrinfo=1 |
5198 | cat >>confdefs.h <<\_ACEOF | 5124 | |
5125 | cat >>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 | |
5130 | cat >>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 | |
5135 | cat >>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 | |
5140 | cat >>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 | |
5145 | cat >>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 | |
5150 | cat >>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 | |
5155 | cat >>confdefs.h <<\_ACEOF | ||
5223 | #define SPT_TYPE SPT_REUSEARGV | 5156 | #define SPT_TYPE SPT_REUSEARGV |
5224 | _ACEOF | 5157 | _ACEOF |
5225 | 5158 | ||
5159 | |||
5160 | cat >>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 | |
5169 | cat >>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 | |
5174 | cat >>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 | |
5179 | cat >>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 | |
5184 | cat >>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 | |
5189 | cat >>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 | |
5194 | cat >>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 | |
5199 | cat >>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 ) |
5316 | echo "$as_me:$LINENO: result: buggy" >&5 | 5261 | echo "$as_me:$LINENO: result: buggy" >&5 |
5317 | echo "${ECHO_T}buggy" >&6 | 5262 | echo "${ECHO_T}buggy" >&6 |
5318 | cat >>confdefs.h <<\_ACEOF | 5263 | |
5264 | cat >>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 | |
5284 | cat >>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 | ||
5289 | echo $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 | ||
5293 | cat confdefs.h >>conftest.$ac_ext | ||
5294 | cat >>conftest.$ac_ext <<_ACEOF | ||
5295 | /* end confdefs.h. */ | ||
5296 | #include <Security/AuthSession.h> | ||
5297 | int | ||
5298 | main () | ||
5299 | { | ||
5300 | SessionCreate(0, 0); | ||
5301 | ; | ||
5302 | return 0; | ||
5303 | } | ||
5304 | _ACEOF | ||
5305 | rm -f conftest.$ac_objext | ||
5306 | if { (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 | |||
5329 | cat >>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 | ||
5335 | echo "${ECHO_T}yes" >&6 | ||
5336 | else | ||
5337 | echo "$as_me: failed program was:" >&5 | ||
5338 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5339 | |||
5340 | ac_cv_use_security_session_api="no" | ||
5341 | echo "$as_me:$LINENO: result: no" >&5 | ||
5342 | echo "${ECHO_T}no" >&6 | ||
5343 | fi | ||
5344 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5345 | echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5 | ||
5346 | echo $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 | ||
5350 | cat confdefs.h >>conftest.$ac_ext | ||
5351 | cat >>conftest.$ac_ext <<_ACEOF | ||
5352 | /* end confdefs.h. */ | ||
5353 | #include <Kerberos/Kerberos.h> | ||
5354 | int | ||
5355 | main () | ||
5356 | { | ||
5357 | cc_context_t c; | ||
5358 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
5359 | ; | ||
5360 | return 0; | ||
5361 | } | ||
5362 | _ACEOF | ||
5363 | rm -f conftest.$ac_objext | ||
5364 | if { (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 | |||
5386 | cat >>confdefs.h <<\_ACEOF | ||
5387 | #define USE_CCAPI 1 | ||
5388 | _ACEOF | ||
5389 | |||
5390 | LIBS="$LIBS -framework Security" | ||
5391 | echo "$as_me:$LINENO: result: yes" >&5 | ||
5392 | echo "${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 | ||
5395 | echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;} | ||
5396 | { (exit 1); exit 1; }; } | ||
5397 | fi | ||
5398 | else | ||
5399 | echo "$as_me: failed program was:" >&5 | ||
5400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5401 | |||
5402 | echo "$as_me:$LINENO: result: no" >&5 | ||
5403 | echo "${ECHO_T}no" >&6 | ||
5404 | |||
5405 | fi | ||
5406 | rm -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 | |
5417 | cat >>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 | |
5426 | cat >>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 | ||
5368 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 5437 | echo "$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 | |
5524 | cat >>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 | |
5529 | cat >>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 | |
5547 | cat >>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 | |
5559 | cat >>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 | |
5576 | cat >>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 | |
5588 | cat >>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 | |
5593 | cat >>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 | |
5598 | cat >>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 | |||
5613 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | 5690 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 |
5614 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | 5691 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 |
5615 | if test $ac_cv_func_jlimit_startjob = yes; then | 5692 | if test $ac_cv_func_jlimit_startjob = yes; then |
5616 | cat >>confdefs.h <<\_ACEOF | 5693 | |
5694 | cat >>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 | |
5717 | cat >>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 | |
5735 | cat >>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 | |
5740 | cat >>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 | |
5745 | cat >>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 | |
5754 | cat >>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 | |
5681 | cat >>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 | |
5771 | cat >>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 | |||
5779 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
5780 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
5781 | if test "${ac_cv_header_stdc+set}" = set; then | ||
5782 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5783 | else | ||
5784 | cat >conftest.$ac_ext <<_ACEOF | ||
5785 | /* confdefs.h. */ | ||
5786 | _ACEOF | ||
5787 | cat confdefs.h >>conftest.$ac_ext | ||
5788 | cat >>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 | |||
5795 | int | ||
5796 | main () | ||
5797 | { | ||
5798 | |||
5799 | ; | ||
5800 | return 0; | ||
5801 | } | ||
5802 | _ACEOF | ||
5803 | rm -f conftest.$ac_objext | ||
5804 | if { (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 | ||
5826 | else | ||
5827 | echo "$as_me: failed program was:" >&5 | ||
5828 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5829 | |||
5830 | ac_cv_header_stdc=no | ||
5831 | fi | ||
5832 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5833 | |||
5834 | if 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 | ||
5839 | cat confdefs.h >>conftest.$ac_ext | ||
5840 | cat >>conftest.$ac_ext <<_ACEOF | ||
5841 | /* end confdefs.h. */ | ||
5842 | #include <string.h> | ||
5843 | |||
5844 | _ACEOF | ||
5845 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5846 | $EGREP "memchr" >/dev/null 2>&1; then | ||
5847 | : | ||
5848 | else | ||
5849 | ac_cv_header_stdc=no | ||
5850 | fi | ||
5851 | rm -f conftest* | ||
5852 | |||
5853 | fi | ||
5854 | |||
5855 | if 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 | ||
5860 | cat confdefs.h >>conftest.$ac_ext | ||
5861 | cat >>conftest.$ac_ext <<_ACEOF | ||
5862 | /* end confdefs.h. */ | ||
5863 | #include <stdlib.h> | ||
5864 | |||
5865 | _ACEOF | ||
5866 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
5867 | $EGREP "free" >/dev/null 2>&1; then | ||
5868 | : | ||
5869 | else | ||
5870 | ac_cv_header_stdc=no | ||
5871 | fi | ||
5872 | rm -f conftest* | ||
5873 | |||
5874 | fi | ||
5875 | |||
5876 | if 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 | : | ||
5880 | else | ||
5881 | cat >conftest.$ac_ext <<_ACEOF | ||
5882 | /* confdefs.h. */ | ||
5883 | _ACEOF | ||
5884 | cat confdefs.h >>conftest.$ac_ext | ||
5885 | cat >>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))) | ||
5900 | int | ||
5901 | main () | ||
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 | ||
5911 | rm -f conftest$ac_exeext | ||
5912 | if { (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 | : | ||
5923 | else | ||
5924 | echo "$as_me: program exited with status $ac_status" >&5 | ||
5925 | echo "$as_me: failed program was:" >&5 | ||
5926 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5927 | |||
5928 | ( exit $ac_status ) | ||
5929 | ac_cv_header_stdc=no | ||
5930 | fi | ||
5931 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
5932 | fi | ||
5933 | fi | ||
5934 | fi | ||
5935 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
5936 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
5937 | if test $ac_cv_header_stdc = yes; then | ||
5938 | |||
5939 | cat >>confdefs.h <<\_ACEOF | ||
5940 | #define STDC_HEADERS 1 | ||
5941 | _ACEOF | ||
5942 | |||
5943 | fi | ||
5944 | |||
5945 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
5946 | |||
5947 | |||
5948 | |||
5949 | |||
5950 | |||
5951 | |||
5952 | |||
5953 | |||
5954 | |||
5955 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
5956 | inttypes.h stdint.h unistd.h | ||
5957 | do | ||
5958 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5959 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5960 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5961 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5962 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5963 | else | ||
5964 | cat >conftest.$ac_ext <<_ACEOF | ||
5965 | /* confdefs.h. */ | ||
5966 | _ACEOF | ||
5967 | cat confdefs.h >>conftest.$ac_ext | ||
5968 | cat >>conftest.$ac_ext <<_ACEOF | ||
5969 | /* end confdefs.h. */ | ||
5970 | $ac_includes_default | ||
5971 | |||
5972 | #include <$ac_header> | ||
5973 | _ACEOF | ||
5974 | rm -f conftest.$ac_objext | ||
5975 | if { (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" | ||
5997 | else | ||
5998 | echo "$as_me: failed program was:" >&5 | ||
5999 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6000 | |||
6001 | eval "$as_ac_Header=no" | ||
6002 | fi | ||
6003 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6004 | fi | ||
6005 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6006 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6007 | if 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 | |||
6012 | fi | ||
6013 | |||
6014 | done | ||
6015 | |||
6016 | |||
6017 | |||
6018 | for ac_header in linux/if_tun.h | ||
6019 | do | ||
6020 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
6021 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6022 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6023 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6024 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6026 | fi | ||
6027 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6028 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6029 | else | ||
6030 | # Is the header compilable? | ||
6031 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
6032 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
6033 | cat >conftest.$ac_ext <<_ACEOF | ||
6034 | /* confdefs.h. */ | ||
6035 | _ACEOF | ||
6036 | cat confdefs.h >>conftest.$ac_ext | ||
6037 | cat >>conftest.$ac_ext <<_ACEOF | ||
6038 | /* end confdefs.h. */ | ||
6039 | $ac_includes_default | ||
6040 | #include <$ac_header> | ||
6041 | _ACEOF | ||
6042 | rm -f conftest.$ac_objext | ||
6043 | if { (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 | ||
6065 | else | ||
6066 | echo "$as_me: failed program was:" >&5 | ||
6067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6068 | |||
6069 | ac_header_compiler=no | ||
6070 | fi | ||
6071 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6072 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
6073 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
6074 | |||
6075 | # Is the header present? | ||
6076 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
6077 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
6078 | cat >conftest.$ac_ext <<_ACEOF | ||
6079 | /* confdefs.h. */ | ||
6080 | _ACEOF | ||
6081 | cat confdefs.h >>conftest.$ac_ext | ||
6082 | cat >>conftest.$ac_ext <<_ACEOF | ||
6083 | /* end confdefs.h. */ | ||
6084 | #include <$ac_header> | ||
6085 | _ACEOF | ||
6086 | if { (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 | ||
6100 | else | ||
6101 | ac_cpp_err=yes | ||
6102 | fi | ||
6103 | if test -z "$ac_cpp_err"; then | ||
6104 | ac_header_preproc=yes | ||
6105 | else | ||
6106 | echo "$as_me: failed program was:" >&5 | ||
6107 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6108 | |||
6109 | ac_header_preproc=no | ||
6110 | fi | ||
6111 | rm -f conftest.err conftest.$ac_ext | ||
6112 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
6113 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
6114 | |||
6115 | # So? What about this header? | ||
6116 | case $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 | ||
6119 | echo "$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 | ||
6121 | echo "$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 | ||
6126 | echo "$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 | ||
6128 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
6129 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
6130 | echo "$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 | ||
6132 | echo "$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 | ||
6134 | echo "$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 | ||
6136 | echo "$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 | ;; | ||
6146 | esac | ||
6147 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6148 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6149 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6150 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6151 | else | ||
6152 | eval "$as_ac_Header=\$ac_header_preproc" | ||
6153 | fi | ||
6154 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6155 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6156 | |||
6157 | fi | ||
6158 | if 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 | |||
6163 | fi | ||
6164 | |||
6165 | done | ||
6166 | |||
6167 | if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then | ||
6168 | |||
6169 | cat >>confdefs.h <<\_ACEOF | ||
6170 | #define SSH_TUN_LINUX 1 | ||
6171 | _ACEOF | ||
6172 | |||
6173 | |||
6174 | cat >>confdefs.h <<\_ACEOF | ||
6175 | #define SSH_TUN_COMPAT_AF 1 | ||
6176 | _ACEOF | ||
6177 | |||
6178 | |||
6179 | cat >>confdefs.h <<\_ACEOF | ||
6180 | #define SSH_TUN_PREPEND_AF 1 | ||
6181 | _ACEOF | ||
6182 | |||
6183 | fi | ||
5694 | ;; | 6184 | ;; |
5695 | mips-sony-bsd|mips-sony-newsos4) | 6185 | mips-sony-bsd|mips-sony-newsos4) |
5696 | 6186 | ||
5697 | cat >>confdefs.h <<\_ACEOF | 6187 | cat >>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 | |||
6199 | cat >>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 | ||
6205 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | ||
6206 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
6207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6208 | fi | ||
6209 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
6210 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | ||
6211 | else | ||
6212 | # Is the header compilable? | ||
6213 | echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
6214 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6 | ||
6215 | cat >conftest.$ac_ext <<_ACEOF | ||
6216 | /* confdefs.h. */ | ||
6217 | _ACEOF | ||
6218 | cat confdefs.h >>conftest.$ac_ext | ||
6219 | cat >>conftest.$ac_ext <<_ACEOF | ||
6220 | /* end confdefs.h. */ | ||
6221 | $ac_includes_default | ||
6222 | #include <net/if_tap.h> | ||
6223 | _ACEOF | ||
6224 | rm -f conftest.$ac_objext | ||
6225 | if { (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 | ||
6247 | else | ||
6248 | echo "$as_me: failed program was:" >&5 | ||
6249 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6250 | |||
6251 | ac_header_compiler=no | ||
6252 | fi | ||
6253 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6254 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
6255 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
6256 | |||
6257 | # Is the header present? | ||
6258 | echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
6259 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6 | ||
6260 | cat >conftest.$ac_ext <<_ACEOF | ||
6261 | /* confdefs.h. */ | ||
6262 | _ACEOF | ||
6263 | cat confdefs.h >>conftest.$ac_ext | ||
6264 | cat >>conftest.$ac_ext <<_ACEOF | ||
6265 | /* end confdefs.h. */ | ||
6266 | #include <net/if_tap.h> | ||
6267 | _ACEOF | ||
6268 | if { (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 | ||
6282 | else | ||
6283 | ac_cpp_err=yes | ||
6284 | fi | ||
6285 | if test -z "$ac_cpp_err"; then | ||
6286 | ac_header_preproc=yes | ||
6287 | else | ||
6288 | echo "$as_me: failed program was:" >&5 | ||
6289 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6290 | |||
6291 | ac_header_preproc=no | ||
6292 | fi | ||
6293 | rm -f conftest.err conftest.$ac_ext | ||
6294 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
6295 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
6296 | |||
6297 | # So? What about this header? | ||
6298 | case $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 | ||
6301 | echo "$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 | ||
6303 | echo "$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 | ||
6308 | echo "$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 | ||
6310 | echo "$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 | ||
6312 | echo "$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 | ||
6314 | echo "$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 | ||
6316 | echo "$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 | ||
6318 | echo "$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 | ;; | ||
6328 | esac | ||
6329 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
6330 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | ||
6331 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
6332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6333 | else | ||
6334 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
6335 | fi | ||
6336 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
6337 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | ||
6338 | |||
6339 | fi | ||
6340 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
6341 | : | ||
6342 | else | ||
6343 | |||
6344 | cat >>confdefs.h <<\_ACEOF | ||
6345 | #define SSH_TUN_NO_L2 1 | ||
6346 | _ACEOF | ||
6347 | |||
6348 | fi | ||
6349 | |||
6350 | |||
6351 | |||
6352 | cat >>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 | |||
6360 | cat >>confdefs.h <<\_ACEOF | ||
6361 | #define LOCKED_PASSWD_PREFIX "*LOCKED*" | ||
6362 | _ACEOF | ||
6363 | |||
6364 | |||
6365 | cat >>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 | ||
6371 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | ||
6372 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
6373 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6374 | fi | ||
6375 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
6376 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | ||
6377 | else | ||
6378 | # Is the header compilable? | ||
6379 | echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
6380 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6 | ||
6381 | cat >conftest.$ac_ext <<_ACEOF | ||
6382 | /* confdefs.h. */ | ||
6383 | _ACEOF | ||
6384 | cat confdefs.h >>conftest.$ac_ext | ||
6385 | cat >>conftest.$ac_ext <<_ACEOF | ||
6386 | /* end confdefs.h. */ | ||
6387 | $ac_includes_default | ||
6388 | #include <net/if_tap.h> | ||
6389 | _ACEOF | ||
6390 | rm -f conftest.$ac_objext | ||
6391 | if { (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 | ||
6413 | else | ||
6414 | echo "$as_me: failed program was:" >&5 | ||
6415 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6416 | |||
6417 | ac_header_compiler=no | ||
6418 | fi | ||
6419 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6420 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
6421 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
6422 | |||
6423 | # Is the header present? | ||
6424 | echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
6425 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6 | ||
6426 | cat >conftest.$ac_ext <<_ACEOF | ||
6427 | /* confdefs.h. */ | ||
6428 | _ACEOF | ||
6429 | cat confdefs.h >>conftest.$ac_ext | ||
6430 | cat >>conftest.$ac_ext <<_ACEOF | ||
6431 | /* end confdefs.h. */ | ||
6432 | #include <net/if_tap.h> | ||
6433 | _ACEOF | ||
6434 | if { (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 | ||
6448 | else | ||
6449 | ac_cpp_err=yes | ||
6450 | fi | ||
6451 | if test -z "$ac_cpp_err"; then | ||
6452 | ac_header_preproc=yes | ||
6453 | else | ||
6454 | echo "$as_me: failed program was:" >&5 | ||
6455 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6456 | |||
6457 | ac_header_preproc=no | ||
6458 | fi | ||
6459 | rm -f conftest.err conftest.$ac_ext | ||
6460 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
6461 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
6462 | |||
6463 | # So? What about this header? | ||
6464 | case $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 | ||
6467 | echo "$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 | ||
6469 | echo "$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 | ||
6474 | echo "$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 | ||
6476 | echo "$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 | ||
6478 | echo "$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 | ||
6480 | echo "$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 | ||
6482 | echo "$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 | ||
6484 | echo "$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 | ;; | ||
6494 | esac | ||
6495 | echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
6496 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6 | ||
6497 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
6498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6499 | else | ||
6500 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
6501 | fi | ||
6502 | echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
6503 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6 | ||
6504 | |||
6505 | fi | ||
6506 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
6507 | : | ||
6508 | else | ||
6509 | |||
6510 | cat >>confdefs.h <<\_ACEOF | ||
6511 | #define SSH_TUN_NO_L2 1 | ||
6512 | _ACEOF | ||
6513 | |||
6514 | fi | ||
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 | |
6538 | cat >>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 | |
6551 | cat >>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 | |||
6563 | cat >>confdefs.h <<\_ACEOF | ||
6564 | #define HAVE_ATTRIBUTE__BOUNDED__ 1 | ||
6565 | _ACEOF | ||
6566 | |||
6567 | |||
6568 | cat >>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 | |
6586 | cat >>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 | |
6595 | cat >>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 | |
6605 | cat >>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 | |
6623 | cat >>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 | ||
6023 | fi | 6845 | fi |
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 |
6027 | echo $ECHO_N "checking for resolv in -lres_query... $ECHO_C" >&6 | 6849 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 |
6028 | if test "${ac_cv_lib_res_query_resolv+set}" = set; then | 6850 | if 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 |
6030 | else | 6852 | else |
6031 | ac_check_lib_save_LIBS=$LIBS | 6853 | ac_check_lib_save_LIBS=$LIBS |
6032 | LIBS="-lres_query $LIBS" | 6854 | LIBS="-lresolv $LIBS" |
6033 | cat >conftest.$ac_ext <<_ACEOF | 6855 | cat >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. */ |
6046 | char resolv (); | 6868 | char res_query (); |
6047 | int | 6869 | int |
6048 | main () | 6870 | main () |
6049 | { | 6871 | { |
6050 | resolv (); | 6872 | res_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 |
6078 | else | 6900 | else |
6079 | echo "$as_me: failed program was:" >&5 | 6901 | echo "$as_me: failed program was:" >&5 |
6080 | sed 's/^/| /' conftest.$ac_ext >&5 | 6902 | sed 's/^/| /' conftest.$ac_ext >&5 |
6081 | 6903 | ||
6082 | ac_cv_lib_res_query_resolv=no | 6904 | ac_cv_lib_resolv_res_query=no |
6083 | fi | 6905 | fi |
6084 | rm -f conftest.err conftest.$ac_objext \ | 6906 | rm -f conftest.err conftest.$ac_objext \ |
6085 | conftest$ac_exeext conftest.$ac_ext | 6907 | conftest$ac_exeext conftest.$ac_ext |
6086 | LIBS=$ac_check_lib_save_LIBS | 6908 | LIBS=$ac_check_lib_save_LIBS |
6087 | fi | 6909 | fi |
6088 | echo "$as_me:$LINENO: result: $ac_cv_lib_res_query_resolv" >&5 | 6910 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
6089 | echo "${ECHO_T}$ac_cv_lib_res_query_resolv" >&6 | 6911 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6 |
6090 | if test $ac_cv_lib_res_query_resolv = yes; then | 6912 | if test $ac_cv_lib_resolv_res_query = yes; then |
6091 | LIBS="$LIBS -lresolv" | 6913 | LIBS="$LIBS -lresolv" |
6092 | fi | 6914 | fi |
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 | |
6173 | cat >>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 | |
6240 | cat >>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 | |
7182 | cat >>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 |
6456 | echo "${ECHO_T}yes" >&6 | 7287 | echo "${ECHO_T}yes" >&6 |
6457 | cat >>confdefs.h <<\_ACEOF | 7288 | |
7289 | cat >>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 | |
7294 | cat >>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 |
6472 | echo "${ECHO_T}no" >&6 | 7305 | echo "${ECHO_T}no" >&6 |
6473 | cat >>confdefs.h <<\_ACEOF | 7306 | |
7307 | cat >>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 | |
7341 | cat >>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 | |
7346 | cat >>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 | |
7351 | cat >>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 | ||
6522 | cat >>confdefs.h <<\_ACEOF | 7363 | cat >>confdefs.h <<\_ACEOF |
6523 | #define BROKEN_GETGROUPS | 7364 | #define BROKEN_GETGROUPS 1 |
6524 | _ACEOF | 7365 | _ACEOF |
6525 | 7366 | ||
6526 | 7367 | ||
6527 | cat >>confdefs.h <<\_ACEOF | 7368 | cat >>confdefs.h <<\_ACEOF |
6528 | #define BROKEN_MMAP | 7369 | #define BROKEN_MMAP 1 |
6529 | _ACEOF | 7370 | _ACEOF |
6530 | 7371 | ||
6531 | 7372 | cat >>confdefs.h <<\_ACEOF | |
6532 | cat >>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 | |||
6667 | fi | 7507 | fi |
6668 | 7508 | ||
6669 | 7509 | ||
6670 | echo "$as_me:$LINENO: checking for egrep" >&5 | ||
6671 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | ||
6672 | if test "${ac_cv_prog_egrep+set}" = set; then | ||
6673 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6674 | else | ||
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 | ||
6679 | fi | ||
6680 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
6681 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
6682 | EGREP=$ac_cv_prog_egrep | ||
6683 | |||
6684 | |||
6685 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | ||
6686 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | ||
6687 | if test "${ac_cv_header_stdc+set}" = set; then | ||
6688 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6689 | else | ||
6690 | cat >conftest.$ac_ext <<_ACEOF | ||
6691 | /* confdefs.h. */ | ||
6692 | _ACEOF | ||
6693 | cat confdefs.h >>conftest.$ac_ext | ||
6694 | cat >>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 | |||
6701 | int | ||
6702 | main () | ||
6703 | { | ||
6704 | |||
6705 | ; | ||
6706 | return 0; | ||
6707 | } | ||
6708 | _ACEOF | ||
6709 | rm -f conftest.$ac_objext | ||
6710 | if { (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 | ||
6732 | else | ||
6733 | echo "$as_me: failed program was:" >&5 | ||
6734 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6735 | |||
6736 | ac_cv_header_stdc=no | ||
6737 | fi | ||
6738 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6739 | |||
6740 | if 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 | ||
6745 | cat confdefs.h >>conftest.$ac_ext | ||
6746 | cat >>conftest.$ac_ext <<_ACEOF | ||
6747 | /* end confdefs.h. */ | ||
6748 | #include <string.h> | ||
6749 | |||
6750 | _ACEOF | ||
6751 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6752 | $EGREP "memchr" >/dev/null 2>&1; then | ||
6753 | : | ||
6754 | else | ||
6755 | ac_cv_header_stdc=no | ||
6756 | fi | ||
6757 | rm -f conftest* | ||
6758 | |||
6759 | fi | ||
6760 | |||
6761 | if 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 | ||
6766 | cat confdefs.h >>conftest.$ac_ext | ||
6767 | cat >>conftest.$ac_ext <<_ACEOF | ||
6768 | /* end confdefs.h. */ | ||
6769 | #include <stdlib.h> | ||
6770 | |||
6771 | _ACEOF | ||
6772 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6773 | $EGREP "free" >/dev/null 2>&1; then | ||
6774 | : | ||
6775 | else | ||
6776 | ac_cv_header_stdc=no | ||
6777 | fi | ||
6778 | rm -f conftest* | ||
6779 | |||
6780 | fi | ||
6781 | |||
6782 | if 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 | : | ||
6786 | else | ||
6787 | cat >conftest.$ac_ext <<_ACEOF | ||
6788 | /* confdefs.h. */ | ||
6789 | _ACEOF | ||
6790 | cat confdefs.h >>conftest.$ac_ext | ||
6791 | cat >>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))) | ||
6806 | int | ||
6807 | main () | ||
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 | ||
6817 | rm -f conftest$ac_exeext | ||
6818 | if { (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 | : | ||
6829 | else | ||
6830 | echo "$as_me: program exited with status $ac_status" >&5 | ||
6831 | echo "$as_me: failed program was:" >&5 | ||
6832 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6833 | |||
6834 | ( exit $ac_status ) | ||
6835 | ac_cv_header_stdc=no | ||
6836 | fi | ||
6837 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6838 | fi | ||
6839 | fi | ||
6840 | fi | ||
6841 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | ||
6842 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
6843 | if test $ac_cv_header_stdc = yes; then | ||
6844 | |||
6845 | cat >>confdefs.h <<\_ACEOF | ||
6846 | #define STDC_HEADERS 1 | ||
6847 | _ACEOF | ||
6848 | |||
6849 | fi | ||
6850 | |||
6851 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | ||
6852 | |||
6853 | |||
6854 | |||
6855 | |||
6856 | |||
6857 | |||
6858 | |||
6859 | |||
6860 | |||
6861 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | ||
6862 | inttypes.h stdint.h unistd.h | ||
6863 | do | ||
6864 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
6865 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6866 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
6867 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
6868 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6869 | else | ||
6870 | cat >conftest.$ac_ext <<_ACEOF | ||
6871 | /* confdefs.h. */ | ||
6872 | _ACEOF | ||
6873 | cat confdefs.h >>conftest.$ac_ext | ||
6874 | cat >>conftest.$ac_ext <<_ACEOF | ||
6875 | /* end confdefs.h. */ | ||
6876 | $ac_includes_default | ||
6877 | |||
6878 | #include <$ac_header> | ||
6879 | _ACEOF | ||
6880 | rm -f conftest.$ac_objext | ||
6881 | if { (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" | ||
6903 | else | ||
6904 | echo "$as_me: failed program was:" >&5 | ||
6905 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
6906 | |||
6907 | eval "$as_ac_Header=no" | ||
6908 | fi | ||
6909 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6910 | fi | ||
6911 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
6912 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
6913 | if 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 | |||
6918 | fi | ||
6919 | |||
6920 | done | ||
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 | |||
7187 | done | 7769 | done |
7188 | 7770 | ||
7189 | 7771 | ||
7772 | # lastlog.h requires sys/time.h to be included first on Solaris | ||
7773 | |||
7774 | for ac_header in lastlog.h | ||
7775 | do | ||
7776 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
7777 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7778 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
7779 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
7780 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7781 | else | ||
7782 | cat >conftest.$ac_ext <<_ACEOF | ||
7783 | /* confdefs.h. */ | ||
7784 | _ACEOF | ||
7785 | cat confdefs.h >>conftest.$ac_ext | ||
7786 | cat >>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 | ||
7796 | rm -f conftest.$ac_objext | ||
7797 | if { (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" | ||
7819 | else | ||
7820 | echo "$as_me: failed program was:" >&5 | ||
7821 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7822 | |||
7823 | eval "$as_ac_Header=no" | ||
7824 | fi | ||
7825 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7826 | fi | ||
7827 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
7828 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
7829 | if 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 | |||
7834 | fi | ||
7835 | |||
7836 | done | ||
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 | ||
7192 | for ac_header in sys/ptms.h | 7841 | for 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" |
7923 | See \`config.log' for more details." >&5 | ||
7924 | echo "$as_me: error: cannot run test program while cross compiling | ||
7925 | See \`config.log' for more details." >&2;} | ||
7926 | { (exit 1); exit 1; }; } | ||
7927 | else | 8572 | else |
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 | |||
7971 | fi | 8615 | fi |
7972 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8616 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7973 | fi | 8617 | fi |
@@ -8427,7 +9071,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | |||
8427 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | 9071 | echo "${ECHO_T}$ac_cv_search_basename" >&6 |
8428 | if test "$ac_cv_search_basename" != no; then | 9072 | if 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 | |
9075 | cat >>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 | ||
9020 | fi | 9665 | fi |
9021 | 9666 | ||
9022 | echo "$as_me:$LINENO: checking for utimes" >&5 | 9667 | |
9023 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 | 9668 | for ac_func in utimes |
9024 | if test "${ac_cv_func_utimes+set}" = set; then | 9669 | do |
9670 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
9671 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
9672 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
9673 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
9025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9674 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9026 | else | 9675 | else |
9027 | cat >conftest.$ac_ext <<_ACEOF | 9676 | cat >conftest.$ac_ext <<_ACEOF |
@@ -9030,12 +9679,12 @@ _ACEOF | |||
9030 | cat confdefs.h >>conftest.$ac_ext | 9679 | cat confdefs.h >>conftest.$ac_ext |
9031 | cat >>conftest.$ac_ext <<_ACEOF | 9680 | cat >>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. */ |
9057 | char utimes (); | 9706 | char $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) |
9062 | choke me | 9711 | choke me |
9063 | #else | 9712 | #else |
9064 | char (*f) () = utimes; | 9713 | char (*f) () = $ac_func; |
9065 | #endif | 9714 | #endif |
9066 | #ifdef __cplusplus | 9715 | #ifdef __cplusplus |
9067 | } | 9716 | } |
@@ -9070,7 +9719,7 @@ char (*f) () = utimes; | |||
9070 | int | 9719 | int |
9071 | main () | 9720 | main () |
9072 | { | 9721 | { |
9073 | return f != utimes; | 9722 | return 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" |
9101 | else | 9750 | else |
9102 | echo "$as_me: failed program was:" >&5 | 9751 | echo "$as_me: failed program was:" >&5 |
9103 | sed 's/^/| /' conftest.$ac_ext >&5 | 9752 | sed 's/^/| /' conftest.$ac_ext >&5 |
9104 | 9753 | ||
9105 | ac_cv_func_utimes=no | 9754 | eval "$as_ac_var=no" |
9106 | fi | 9755 | fi |
9107 | rm -f conftest.err conftest.$ac_objext \ | 9756 | rm -f conftest.err conftest.$ac_objext \ |
9108 | conftest$ac_exeext conftest.$ac_ext | 9757 | conftest$ac_exeext conftest.$ac_ext |
9109 | fi | 9758 | fi |
9110 | echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 | 9759 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9111 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 | 9760 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9112 | if test $ac_cv_func_utimes = yes; then | 9761 | if 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 | |||
9114 | else | 9766 | else |
9115 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | 9767 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 |
9116 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | 9768 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 |
@@ -9186,6 +9838,7 @@ fi | |||
9186 | 9838 | ||
9187 | 9839 | ||
9188 | fi | 9840 | fi |
9841 | done | ||
9189 | 9842 | ||
9190 | 9843 | ||
9191 | 9844 | ||
@@ -9461,7 +10114,8 @@ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | |||
9461 | echo "${ECHO_T}$ac_cv_search_login" >&6 | 10114 | echo "${ECHO_T}$ac_cv_search_login" >&6 |
9462 | if test "$ac_cv_search_login" != no; then | 10115 | if 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 | |
10118 | cat >>confdefs.h <<\_ACEOF | ||
9465 | #define HAVE_LOGIN 1 | 10119 | #define HAVE_LOGIN 1 |
9466 | _ACEOF | 10120 | _ACEOF |
9467 | 10121 | ||
@@ -9768,7 +10422,8 @@ _ACEOF | |||
9768 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10422 | if (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 | |
10426 | cat >>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 | |||
9802 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10457 | if (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 | |
10461 | cat >>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 |
9868 | echo "${ECHO_T}no" >&6 | 10524 | echo "${ECHO_T}no" >&6 |
9869 | cat >>confdefs.h <<\_ACEOF | 10525 | |
10526 | cat >>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 | |||
9878 | echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 | 10535 | echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 |
9879 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 | 10536 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6 |
9880 | if test -d "/proc/$$/fd" ; then | 10537 | if test -d "/proc/$$/fd" ; then |
9881 | cat >>confdefs.h <<\_ACEOF | 10538 | |
10539 | cat >>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 | |
10565 | cat >>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 |
9914 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | 10573 | echo $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 | ||
9917 | See \`config.log' for more details." >&5 | ||
9918 | echo "$as_me: error: cannot run test program while cross compiling | ||
9919 | See \`config.log' for more details." >&2;} | ||
9920 | { (exit 1); exit 1; }; } | ||
9921 | else | ||
9922 | cat >conftest.$ac_ext <<_ACEOF | ||
9923 | /* confdefs.h. */ | 10575 | /* confdefs.h. */ |
9924 | _ACEOF | 10576 | _ACEOF |
9925 | cat confdefs.h >>conftest.$ac_ext | 10577 | cat confdefs.h >>conftest.$ac_ext |
@@ -9931,12 +10583,23 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
9931 | int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | 10583 | int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } |
9932 | 10584 | ||
9933 | _ACEOF | 10585 | _ACEOF |
9934 | rm -f conftest$ac_exeext | 10586 | rm -f conftest.$ac_objext conftest$ac_exeext |
9935 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10587 | if { (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 |
9946 | echo "${ECHO_T}yes" >&6 | 10609 | echo "${ECHO_T}yes" >&6 |
9947 | else | 10610 | else |
9948 | echo "$as_me: program exited with status $ac_status" >&5 | 10611 | echo "$as_me: failed program was:" >&5 |
9949 | echo "$as_me: failed program was:" >&5 | ||
9950 | sed 's/^/| /' conftest.$ac_ext >&5 | 10612 | sed '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 |
9955 | echo "${ECHO_T}no" >&6 | 10616 | echo "${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 | ||
9960 | fi | 10621 | fi |
9961 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10622 | rm -f conftest.err conftest.$ac_objext \ |
9962 | fi | 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 |
9964 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 | 10625 | echo $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 |
10004 | echo "${ECHO_T}yes" >&6 | 10665 | echo "${ECHO_T}yes" >&6 |
10005 | cat >>confdefs.h <<\_ACEOF | 10666 | |
10667 | cat >>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 |
10104 | echo "${ECHO_T}yes" >&6 | 10766 | echo "${ECHO_T}yes" >&6 |
10105 | cat >>confdefs.h <<\_ACEOF | 10767 | |
10768 | cat >>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 |
10143 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 | 10810 | echo $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 | |||
10207 | if test $ac_cv_lib_edit_el_init = yes; then | 10874 | if test $ac_cv_lib_edit_el_init = yes; then |
10208 | 10875 | ||
10209 | cat >>confdefs.h <<\_ACEOF | 10876 | cat >>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 | ||
10736 | cat >>confdefs.h <<\_ACEOF | 11403 | cat >>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 | |||
10744 | echo "${ECHO_T}debug" >&6 | 11411 | echo "${ECHO_T}debug" >&6 |
10745 | 11412 | ||
10746 | cat >>confdefs.h <<\_ACEOF | 11413 | cat >>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 | |||
10844 | for ac_func in \ | 11512 | for 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 | |||
11312 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | 11981 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 |
11313 | if test "$ac_cv_search_nanosleep" != no; then | 11982 | if 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 | |
11985 | cat >>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 | |||
12027 | sed 's/^/| /' conftest.$ac_ext >&5 | 12697 | sed 's/^/| /' conftest.$ac_ext >&5 |
12028 | 12698 | ||
12029 | ( exit $ac_status ) | 12699 | ( exit $ac_status ) |
12700 | |||
12030 | cat >>confdefs.h <<\_ACEOF | 12701 | cat >>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 | |||
12178 | sed 's/^/| /' conftest.$ac_ext >&5 | 12849 | sed 's/^/| /' conftest.$ac_ext >&5 |
12179 | 12850 | ||
12180 | ( exit $ac_status ) | 12851 | ( exit $ac_status ) |
12852 | |||
12181 | cat >>confdefs.h <<\_ACEOF | 12853 | cat >>confdefs.h <<\_ACEOF |
12182 | #define BROKEN_SETRESGID 1 | 12854 | #define BROKEN_SETRESGID 1 |
12183 | _ACEOF | 12855 | _ACEOF |
@@ -12805,7 +13477,8 @@ fi | |||
12805 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | 13477 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 |
12806 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | 13478 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 |
12807 | if test $ac_cv_func_daemon = yes; then | 13479 | if test $ac_cv_func_daemon = yes; then |
12808 | cat >>confdefs.h <<\_ACEOF | 13480 | |
13481 | cat >>confdefs.h <<\_ACEOF | ||
12809 | #define HAVE_DAEMON 1 | 13482 | #define HAVE_DAEMON 1 |
12810 | _ACEOF | 13483 | _ACEOF |
12811 | 13484 | ||
@@ -12976,7 +13649,8 @@ fi | |||
12976 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | 13649 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 |
12977 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | 13650 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 |
12978 | if test $ac_cv_func_getpagesize = yes; then | 13651 | if test $ac_cv_func_getpagesize = yes; then |
12979 | cat >>confdefs.h <<\_ACEOF | 13652 | |
13653 | cat >>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 |
13100 | echo "${ECHO_T}no" >&6 | 13774 | echo "${ECHO_T}no" >&6 |
13101 | cat >>confdefs.h <<\_ACEOF | 13775 | |
13776 | cat >>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 | |||
13110 | fi | 13785 | fi |
13111 | fi | 13786 | fi |
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) | ||
13791 | if 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 | ||
13794 | echo $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 | ||
13797 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} | ||
13798 | |||
13799 | else | ||
13800 | cat >conftest.$ac_ext <<_ACEOF | ||
13801 | /* confdefs.h. */ | ||
13802 | _ACEOF | ||
13803 | cat confdefs.h >>conftest.$ac_ext | ||
13804 | cat >>conftest.$ac_ext <<_ACEOF | ||
13805 | /* end confdefs.h. */ | ||
13806 | |||
13807 | #include <sys/types.h> | ||
13808 | #include <stdio.h> | ||
13809 | #include <stdarg.h> | ||
13810 | |||
13811 | int 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 | } | ||
13817 | int main(void) | ||
13818 | { | ||
13819 | char x[1]; | ||
13820 | exit(x_snprintf(x, 1, "%s %d", "hello", 12345) == 11 ? 0 : 1); | ||
13821 | } | ||
13822 | _ACEOF | ||
13823 | rm -f conftest$ac_exeext | ||
13824 | if { (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 | ||
13835 | echo "${ECHO_T}yes" >&6 | ||
13836 | else | ||
13837 | echo "$as_me: program exited with status $ac_status" >&5 | ||
13838 | echo "$as_me: failed program was:" >&5 | ||
13839 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13840 | |||
13841 | ( exit $ac_status ) | ||
13842 | |||
13843 | echo "$as_me:$LINENO: result: no" >&5 | ||
13844 | echo "${ECHO_T}no" >&6 | ||
13845 | |||
13846 | cat >>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 | ||
13851 | echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} | ||
13852 | |||
13853 | fi | ||
13854 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
13855 | fi | ||
13856 | fi | ||
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 | ||
13861 | echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 | ||
13862 | echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6 | ||
13863 | cat >conftest.$ac_ext <<_ACEOF | ||
13864 | /* confdefs.h. */ | ||
13865 | _ACEOF | ||
13866 | cat confdefs.h >>conftest.$ac_ext | ||
13867 | cat >>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 | ||
13874 | rm -f conftest.$ac_objext | ||
13875 | if { (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 | ||
13897 | echo "${ECHO_T}yes" >&6 | ||
13898 | |||
13899 | cat >>confdefs.h <<\_ACEOF | ||
13900 | #define SNPRINTF_CONST const | ||
13901 | _ACEOF | ||
13902 | |||
13903 | else | ||
13904 | echo "$as_me: failed program was:" >&5 | ||
13905 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13906 | |||
13907 | echo "$as_me:$LINENO: result: no" >&5 | ||
13908 | echo "${ECHO_T}no" >&6 | ||
13909 | cat >>confdefs.h <<\_ACEOF | ||
13910 | #define SNPRINTF_CONST /* not const */ | ||
13911 | _ACEOF | ||
13912 | |||
13913 | fi | ||
13914 | rm -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 |
13114 | NO_PEERCHECK="" | 13917 | NO_PEERCHECK="" |
13115 | if test "x$ac_cv_func_getpeereid" != "xyes" ; then | 13918 | if test "x$ac_cv_func_getpeereid" != "xyes" ; then |
@@ -13157,7 +13960,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
13157 | echo "${ECHO_T}yes" >&6 | 13960 | echo "${ECHO_T}yes" >&6 |
13158 | 13961 | ||
13159 | cat >>confdefs.h <<\_ACEOF | 13962 | cat >>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 |
13228 | echo "${ECHO_T}yes" >&6 | 14031 | echo "${ECHO_T}yes" >&6 |
13229 | cat >>confdefs.h <<\_ACEOF | 14032 | |
14033 | cat >>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 |
13241 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 | 14045 | echo $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 | |
13244 | See \`config.log' for more details." >&5 | 14048 | echo "$as_me:$LINENO: result: cross-compiling" >&5 |
13245 | echo "$as_me: error: cannot run test program while cross compiling | 14049 | echo "${ECHO_T}cross-compiling" >&6 |
13246 | See \`config.log' for more details." >&2;} | 14050 | |
13247 | { (exit 1); exit 1; }; } | 14051 | |
13248 | else | 14052 | else |
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 | |||
13319 | fi | 14122 | fi |
13320 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14123 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13321 | fi | 14124 | fi |
@@ -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 |
13327 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 14130 | echo $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 | |
13330 | See \`config.log' for more details." >&5 | 14133 | echo "$as_me:$LINENO: result: cross-compiling" >&5 |
13331 | echo "$as_me: error: cannot run test program while cross compiling | 14134 | echo "${ECHO_T}cross-compiling" >&6 |
13332 | See \`config.log' for more details." >&2;} | 14135 | |
13333 | { (exit 1); exit 1; }; } | 14136 | |
13334 | else | 14137 | else |
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 | |||
13427 | fi | 14229 | fi |
13428 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14230 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13429 | fi | 14231 | fi |
@@ -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 |
13435 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 14237 | echo $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 |
13438 | See \`config.log' for more details." >&5 | 14240 | echo "${ECHO_T}cross-compiling" >&6 |
13439 | echo "$as_me: error: cannot run test program while cross compiling | 14241 | |
13440 | See \`config.log' for more details." >&2;} | 14242 | ] |
13441 | { (exit 1); exit 1; }; } | ||
13442 | else | 14243 | else |
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 | |||
13506 | echo "${ECHO_T}yes" >&6 | 14307 | echo "${ECHO_T}yes" >&6 |
13507 | 14308 | ||
13508 | cat >>confdefs.h <<\_ACEOF | 14309 | cat >>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 | |||
13528 | fi | 14328 | fi |
13529 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14329 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13530 | fi | 14330 | fi |
@@ -14021,7 +14821,8 @@ done | |||
14021 | 14821 | ||
14022 | PAM_MSG="yes" | 14822 | PAM_MSG="yes" |
14023 | 14823 | ||
14024 | cat >>confdefs.h <<\_ACEOF | 14824 | |
14825 | cat >>confdefs.h <<\_ACEOF | ||
14025 | #define USE_PAM 1 | 14826 | #define USE_PAM 1 |
14026 | _ACEOF | 14827 | _ACEOF |
14027 | 14828 | ||
@@ -14092,7 +14893,8 @@ else | |||
14092 | sed 's/^/| /' conftest.$ac_ext >&5 | 14893 | sed 's/^/| /' conftest.$ac_ext >&5 |
14093 | 14894 | ||
14094 | 14895 | ||
14095 | cat >>confdefs.h <<\_ACEOF | 14896 | |
14897 | cat >>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 | |
14991 | cat >>confdefs.h <<\_ACEOF | ||
14189 | #define HAVE_OPENSSL 1 | 14992 | #define HAVE_OPENSSL 1 |
14190 | _ACEOF | 14993 | _ACEOF |
14191 | 14994 | ||
@@ -14464,6 +15267,64 @@ fi | |||
14464 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15267 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14465 | fi | 15268 | fi |
14466 | 15269 | ||
15270 | # Check for OpenSSL without EVP_aes_{192,256}_cbc | ||
15271 | echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 | ||
15272 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6 | ||
15273 | cat >conftest.$ac_ext <<_ACEOF | ||
15274 | /* confdefs.h. */ | ||
15275 | _ACEOF | ||
15276 | cat confdefs.h >>conftest.$ac_ext | ||
15277 | cat >>conftest.$ac_ext <<_ACEOF | ||
15278 | /* end confdefs.h. */ | ||
15279 | |||
15280 | #include <string.h> | ||
15281 | #include <openssl/evp.h> | ||
15282 | int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);} | ||
15283 | |||
15284 | _ACEOF | ||
15285 | rm -f conftest.$ac_objext | ||
15286 | if { (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 | ||
15309 | echo "${ECHO_T}no" >&6 | ||
15310 | |||
15311 | else | ||
15312 | echo "$as_me: failed program was:" >&5 | ||
15313 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15314 | |||
15315 | |||
15316 | echo "$as_me:$LINENO: result: yes" >&5 | ||
15317 | echo "${ECHO_T}yes" >&6 | ||
15318 | |||
15319 | cat >>confdefs.h <<\_ACEOF | ||
15320 | #define OPENSSL_LOBOTOMISED_AES 1 | ||
15321 | _ACEOF | ||
15322 | |||
15323 | |||
15324 | |||
15325 | fi | ||
15326 | rm -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. |
14469 | if test "x$check_for_libcrypt_before" = "x1"; then | 15330 | if 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? |
14777 | if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then | 15638 | if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then |
14778 | # OpenSSL only | 15639 | # OpenSSL only |
14779 | cat >>confdefs.h <<\_ACEOF | 15640 | |
15641 | cat >>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 | |
15677 | cat >>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;} | |||
14853 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | 15716 | echo "$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 | |
15720 | cat >>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 | ||
14904 | fi; | 15768 | fi; |
15769 | |||
14905 | cat >>confdefs.h <<_ACEOF | 15770 | cat >>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 | ||
14922 | fi; | 15787 | fi; |
15788 | |||
14923 | cat >>confdefs.h <<_ACEOF | 15789 | cat >>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"; |
15686 | fi | 16552 | fi |
15687 | 16553 | ||
15688 | # Checks for data types | 16554 | # Check for long long datatypes |
16555 | echo "$as_me:$LINENO: checking for long long" >&5 | ||
16556 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 | ||
16557 | if test "${ac_cv_type_long_long+set}" = set; then | ||
16558 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16559 | else | ||
16560 | cat >conftest.$ac_ext <<_ACEOF | ||
16561 | /* confdefs.h. */ | ||
16562 | _ACEOF | ||
16563 | cat confdefs.h >>conftest.$ac_ext | ||
16564 | cat >>conftest.$ac_ext <<_ACEOF | ||
16565 | /* end confdefs.h. */ | ||
16566 | $ac_includes_default | ||
16567 | int | ||
16568 | main () | ||
16569 | { | ||
16570 | if ((long long *) 0) | ||
16571 | return 0; | ||
16572 | if (sizeof (long long)) | ||
16573 | return 0; | ||
16574 | ; | ||
16575 | return 0; | ||
16576 | } | ||
16577 | _ACEOF | ||
16578 | rm -f conftest.$ac_objext | ||
16579 | if { (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 | ||
16601 | else | ||
16602 | echo "$as_me: failed program was:" >&5 | ||
16603 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16604 | |||
16605 | ac_cv_type_long_long=no | ||
16606 | fi | ||
16607 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16608 | fi | ||
16609 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | ||
16610 | echo "${ECHO_T}$ac_cv_type_long_long" >&6 | ||
16611 | if test $ac_cv_type_long_long = yes; then | ||
16612 | |||
16613 | cat >>confdefs.h <<_ACEOF | ||
16614 | #define HAVE_LONG_LONG 1 | ||
16615 | _ACEOF | ||
16616 | |||
16617 | |||
16618 | fi | ||
16619 | echo "$as_me:$LINENO: checking for unsigned long long" >&5 | ||
16620 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 | ||
16621 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then | ||
16622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16623 | else | ||
16624 | cat >conftest.$ac_ext <<_ACEOF | ||
16625 | /* confdefs.h. */ | ||
16626 | _ACEOF | ||
16627 | cat confdefs.h >>conftest.$ac_ext | ||
16628 | cat >>conftest.$ac_ext <<_ACEOF | ||
16629 | /* end confdefs.h. */ | ||
16630 | $ac_includes_default | ||
16631 | int | ||
16632 | main () | ||
16633 | { | ||
16634 | if ((unsigned long long *) 0) | ||
16635 | return 0; | ||
16636 | if (sizeof (unsigned long long)) | ||
16637 | return 0; | ||
16638 | ; | ||
16639 | return 0; | ||
16640 | } | ||
16641 | _ACEOF | ||
16642 | rm -f conftest.$ac_objext | ||
16643 | if { (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 | ||
16665 | else | ||
16666 | echo "$as_me: failed program was:" >&5 | ||
16667 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16668 | |||
16669 | ac_cv_type_unsigned_long_long=no | ||
16670 | fi | ||
16671 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16672 | fi | ||
16673 | echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 | ||
16674 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 | ||
16675 | if test $ac_cv_type_unsigned_long_long = yes; then | ||
16676 | |||
16677 | cat >>confdefs.h <<_ACEOF | ||
16678 | #define HAVE_UNSIGNED_LONG_LONG 1 | ||
16679 | _ACEOF | ||
16680 | |||
16681 | |||
16682 | fi | ||
16683 | echo "$as_me:$LINENO: checking for long double" >&5 | ||
16684 | echo $ECHO_N "checking for long double... $ECHO_C" >&6 | ||
16685 | if test "${ac_cv_type_long_double+set}" = set; then | ||
16686 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16687 | else | ||
16688 | cat >conftest.$ac_ext <<_ACEOF | ||
16689 | /* confdefs.h. */ | ||
16690 | _ACEOF | ||
16691 | cat confdefs.h >>conftest.$ac_ext | ||
16692 | cat >>conftest.$ac_ext <<_ACEOF | ||
16693 | /* end confdefs.h. */ | ||
16694 | $ac_includes_default | ||
16695 | int | ||
16696 | main () | ||
16697 | { | ||
16698 | if ((long double *) 0) | ||
16699 | return 0; | ||
16700 | if (sizeof (long double)) | ||
16701 | return 0; | ||
16702 | ; | ||
16703 | return 0; | ||
16704 | } | ||
16705 | _ACEOF | ||
16706 | rm -f conftest.$ac_objext | ||
16707 | if { (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 | ||
16729 | else | ||
16730 | echo "$as_me: failed program was:" >&5 | ||
16731 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16732 | |||
16733 | ac_cv_type_long_double=no | ||
16734 | fi | ||
16735 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16736 | fi | ||
16737 | echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | ||
16738 | echo "${ECHO_T}$ac_cv_type_long_double" >&6 | ||
16739 | if test $ac_cv_type_long_double = yes; then | ||
16740 | |||
16741 | cat >>confdefs.h <<_ACEOF | ||
16742 | #define HAVE_LONG_DOUBLE 1 | ||
16743 | _ACEOF | ||
16744 | |||
16745 | |||
16746 | fi | ||
16747 | |||
16748 | |||
16749 | # Check datatype sizes | ||
15689 | echo "$as_me:$LINENO: checking for char" >&5 | 16750 | echo "$as_me:$LINENO: checking for char" >&5 |
15690 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | 16751 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
15691 | if test "${ac_cv_type_char+set}" = set; then | 16752 | if 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 |
17763 | fi | 18824 | fi |
17764 | 18825 | ||
18826 | # compute LLONG_MIN and LLONG_MAX if we don't know them. | ||
18827 | if test -z "$have_llong_max"; then | ||
18828 | echo "$as_me:$LINENO: checking for max value of long long" >&5 | ||
18829 | echo $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 | ||
18833 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
18834 | |||
18835 | |||
18836 | else | ||
18837 | cat >conftest.$ac_ext <<_ACEOF | ||
18838 | /* confdefs.h. */ | ||
18839 | _ACEOF | ||
18840 | cat confdefs.h >>conftest.$ac_ext | ||
18841 | cat >>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" | ||
18852 | int 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 | ||
18885 | rm -f conftest$ac_exeext | ||
18886 | if { (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 | ||
18912 | echo "${ECHO_T}$llong_max" >&6 | ||
18913 | |||
18914 | cat >>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 | ||
18919 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6 | ||
18920 | echo "$as_me:$LINENO: result: $llong_min" >&5 | ||
18921 | echo "${ECHO_T}$llong_min" >&6 | ||
18922 | |||
18923 | cat >>confdefs.h <<_ACEOF | ||
18924 | #define LLONG_MIN ${llong_min}LL | ||
18925 | _ACEOF | ||
18926 | |||
18927 | |||
18928 | else | ||
18929 | echo "$as_me: program exited with status $ac_status" >&5 | ||
18930 | echo "$as_me: failed program was:" >&5 | ||
18931 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18932 | |||
18933 | ( exit $ac_status ) | ||
18934 | |||
18935 | echo "$as_me:$LINENO: result: not found" >&5 | ||
18936 | echo "${ECHO_T}not found" >&6 | ||
18937 | |||
18938 | fi | ||
18939 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
18940 | fi | ||
18941 | fi | ||
18942 | |||
18943 | |||
17765 | # More checks for data types | 18944 | # More checks for data types |
17766 | echo "$as_me:$LINENO: checking for u_int type" >&5 | 18945 | echo "$as_me:$LINENO: checking for u_int type" >&5 |
17767 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | 18946 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 |
@@ -17820,7 +18999,8 @@ fi | |||
17820 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | 18999 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 |
17821 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | 19000 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 |
17822 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 19001 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
17823 | cat >>confdefs.h <<\_ACEOF | 19002 | |
19003 | cat >>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 | |||
17884 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | 19064 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 |
17885 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | 19065 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 |
17886 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 19066 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
17887 | cat >>confdefs.h <<\_ACEOF | 19067 | |
19068 | cat >>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 | |||
18018 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | 19199 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 |
18019 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | 19200 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 |
18020 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 19201 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
18021 | cat >>confdefs.h <<\_ACEOF | 19202 | |
19203 | cat >>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 | |||
18081 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | 19263 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 |
18082 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | 19264 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 |
18083 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 19265 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
18084 | cat >>confdefs.h <<\_ACEOF | 19266 | |
19267 | cat >>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 | |||
18204 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | 19387 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 |
18205 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | 19388 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 |
18206 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 19389 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
18207 | cat >>confdefs.h <<\_ACEOF | 19390 | |
19391 | cat >>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 | |||
18330 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | 19514 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 |
18331 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | 19515 | echo "${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 | |
19518 | cat >>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 | |||
18527 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | 19712 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 |
18528 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | 19713 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 |
18529 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 19714 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
18530 | cat >>confdefs.h <<\_ACEOF | 19715 | |
19716 | cat >>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 | |||
18878 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | 20064 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 |
18879 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | 20065 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 |
18880 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 20066 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
18881 | cat >>confdefs.h <<\_ACEOF | 20067 | |
20068 | cat >>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 | |||
18943 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | 20130 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 |
18944 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | 20131 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 |
18945 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 20132 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
18946 | cat >>confdefs.h <<\_ACEOF | 20133 | |
20134 | cat >>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 | |||
19008 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | 20196 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 |
19009 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | 20197 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 |
19010 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 20198 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
19011 | cat >>confdefs.h <<\_ACEOF | 20199 | |
20200 | cat >>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 | |||
19123 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | 20312 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 |
19124 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | 20313 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 |
19125 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 20314 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
19126 | cat >>confdefs.h <<\_ACEOF | 20315 | |
20316 | cat >>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 | |||
19188 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | 20378 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 |
19189 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | 20379 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 |
19190 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 20380 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
19191 | cat >>confdefs.h <<\_ACEOF | 20381 | |
20382 | cat >>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 | |||
19253 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | 20444 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 |
19254 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | 20445 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 |
19255 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 20446 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
19256 | cat >>confdefs.h <<\_ACEOF | 20447 | |
20448 | cat >>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 | |||
19320 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 20512 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
19321 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | 20513 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 |
19322 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 20514 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
19323 | cat >>confdefs.h <<\_ACEOF | 20515 | |
20516 | cat >>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 | |||
19386 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 20579 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
19387 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | 20580 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 |
19388 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 20581 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
19389 | cat >>confdefs.h <<\_ACEOF | 20582 | |
20583 | cat >>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 | |||
19452 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | 20646 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 |
19453 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | 20647 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 |
19454 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 20648 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
19455 | cat >>confdefs.h <<\_ACEOF | 20649 | |
20650 | cat >>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 | |||
19519 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | 20714 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 |
19520 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | 20715 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 |
19521 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 20716 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
19522 | cat >>confdefs.h <<\_ACEOF | 20717 | |
20718 | cat >>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 | |||
19582 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | 20778 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 |
19583 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | 20779 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 |
19584 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 20780 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
19585 | cat >>confdefs.h <<\_ACEOF | 20781 | |
20782 | cat >>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 |
19762 | echo "${ECHO_T}$ossh_result" >&6 | 20959 | echo "${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 | |
20962 | cat >>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 |
19806 | echo "${ECHO_T}$ossh_result" >&6 | 21004 | echo "${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 | |
21007 | cat >>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 |
19850 | echo "${ECHO_T}$ossh_result" >&6 | 21049 | echo "${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 | |
21052 | cat >>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 |
19894 | echo "${ECHO_T}$ossh_result" >&6 | 21094 | echo "${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 | |
21097 | cat >>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 |
19938 | echo "${ECHO_T}$ossh_result" >&6 | 21139 | echo "${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 | |
21142 | cat >>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 |
19982 | echo "${ECHO_T}$ossh_result" >&6 | 21184 | echo "${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 | |
21187 | cat >>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 |
20026 | echo "${ECHO_T}$ossh_result" >&6 | 21229 | echo "${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 | |
21232 | cat >>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 |
20070 | echo "${ECHO_T}$ossh_result" >&6 | 21274 | echo "${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 | |
21277 | cat >>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 |
20114 | echo "${ECHO_T}$ossh_result" >&6 | 21319 | echo "${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 | |
21322 | cat >>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 |
20158 | echo "${ECHO_T}$ossh_result" >&6 | 21364 | echo "${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 | |
21367 | cat >>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 |
20202 | echo "${ECHO_T}$ossh_result" >&6 | 21409 | echo "${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 | |
21412 | cat >>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 |
20246 | echo "${ECHO_T}$ossh_result" >&6 | 21454 | echo "${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 | |
21457 | cat >>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 |
20290 | echo "${ECHO_T}$ossh_result" >&6 | 21499 | echo "${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 | |
21502 | cat >>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 |
20334 | echo "${ECHO_T}$ossh_result" >&6 | 21544 | echo "${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 | |
21547 | cat >>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 |
20378 | echo "${ECHO_T}$ossh_result" >&6 | 21589 | echo "${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 | |
21592 | cat >>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 |
20422 | echo "${ECHO_T}$ossh_result" >&6 | 21634 | echo "${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 | |
21637 | cat >>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 |
20466 | echo "${ECHO_T}$ossh_result" >&6 | 21679 | echo "${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 | |
21682 | cat >>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 | ||
20587 | fi | 21801 | fi |
20588 | 21802 | ||
21803 | echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 | ||
21804 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6 | ||
21805 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then | ||
21806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21807 | else | ||
21808 | cat >conftest.$ac_ext <<_ACEOF | ||
21809 | /* confdefs.h. */ | ||
21810 | _ACEOF | ||
21811 | cat confdefs.h >>conftest.$ac_ext | ||
21812 | cat >>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 | |||
21824 | int | ||
21825 | main () | ||
21826 | { | ||
21827 | static struct __res_state ac_aggr; | ||
21828 | if (ac_aggr.retrans) | ||
21829 | return 0; | ||
21830 | ; | ||
21831 | return 0; | ||
21832 | } | ||
21833 | _ACEOF | ||
21834 | rm -f conftest.$ac_objext | ||
21835 | if { (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 | ||
21857 | else | ||
21858 | echo "$as_me: failed program was:" >&5 | ||
21859 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21860 | |||
21861 | cat >conftest.$ac_ext <<_ACEOF | ||
21862 | /* confdefs.h. */ | ||
21863 | _ACEOF | ||
21864 | cat confdefs.h >>conftest.$ac_ext | ||
21865 | cat >>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 | |||
21877 | int | ||
21878 | main () | ||
21879 | { | ||
21880 | static struct __res_state ac_aggr; | ||
21881 | if (sizeof ac_aggr.retrans) | ||
21882 | return 0; | ||
21883 | ; | ||
21884 | return 0; | ||
21885 | } | ||
21886 | _ACEOF | ||
21887 | rm -f conftest.$ac_objext | ||
21888 | if { (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 | ||
21910 | else | ||
21911 | echo "$as_me: failed program was:" >&5 | ||
21912 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21913 | |||
21914 | ac_cv_member_struct___res_state_retrans=no | ||
21915 | fi | ||
21916 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21917 | fi | ||
21918 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21919 | fi | ||
21920 | echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 | ||
21921 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6 | ||
21922 | if test $ac_cv_member_struct___res_state_retrans = yes; then | ||
21923 | : | ||
21924 | else | ||
21925 | |||
21926 | cat >>confdefs.h <<\_ACEOF | ||
21927 | #define __res_state state | ||
21928 | _ACEOF | ||
21929 | |||
21930 | fi | ||
21931 | |||
20589 | 21932 | ||
20590 | echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 | 21933 | echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 |
20591 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 | 21934 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 |
@@ -20646,7 +21989,8 @@ fi | |||
20646 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 21989 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
20647 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | 21990 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 |
20648 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 21991 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
20649 | cat >>confdefs.h <<\_ACEOF | 21992 | |
21993 | cat >>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 | |||
20712 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 22056 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
20713 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | 22057 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 |
20714 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 22058 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
20715 | cat >>confdefs.h <<\_ACEOF | 22059 | |
22060 | cat >>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 | |||
20777 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | 22122 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 |
20778 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | 22123 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 |
20779 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then | 22124 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then |
20780 | cat >>confdefs.h <<\_ACEOF | 22125 | |
22126 | cat >>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 | |||
20842 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | 22188 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 |
20843 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | 22189 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 |
20844 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then | 22190 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then |
20845 | cat >>confdefs.h <<\_ACEOF | 22191 | |
22192 | cat >>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 | |||
20907 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | 22254 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 |
20908 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | 22255 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 |
20909 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then | 22256 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then |
20910 | cat >>confdefs.h <<\_ACEOF | 22257 | |
22258 | cat >>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 | |||
20971 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | 22319 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 |
20972 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | 22320 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 |
20973 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 22321 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
20974 | cat >>confdefs.h <<\_ACEOF | 22322 | |
22323 | cat >>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 | |||
21035 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | 22384 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 |
21036 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | 22385 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 |
21037 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 22386 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
21038 | cat >>confdefs.h <<\_ACEOF | 22387 | |
22388 | cat >>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 | |||
21099 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | 22449 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 |
21100 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | 22450 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 |
21101 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 22451 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
21102 | cat >>confdefs.h <<\_ACEOF | 22452 | |
22453 | cat >>confdefs.h <<\_ACEOF | ||
21103 | #define HAVE___PROGNAME 1 | 22454 | #define HAVE___PROGNAME 1 |
21104 | _ACEOF | 22455 | _ACEOF |
21105 | 22456 | ||
@@ -21165,7 +22516,8 @@ fi | |||
21165 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 22516 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
21166 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | 22517 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 |
21167 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 22518 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
21168 | cat >>confdefs.h <<\_ACEOF | 22519 | |
22520 | cat >>confdefs.h <<\_ACEOF | ||
21169 | #define HAVE___FUNCTION__ 1 | 22521 | #define HAVE___FUNCTION__ 1 |
21170 | _ACEOF | 22522 | _ACEOF |
21171 | 22523 | ||
@@ -21231,12 +22583,145 @@ fi | |||
21231 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | 22583 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 |
21232 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | 22584 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 |
21233 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 22585 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
21234 | cat >>confdefs.h <<\_ACEOF | 22586 | |
22587 | cat >>confdefs.h <<\_ACEOF | ||
21235 | #define HAVE___func__ 1 | 22588 | #define HAVE___func__ 1 |
21236 | _ACEOF | 22589 | _ACEOF |
21237 | 22590 | ||
21238 | fi | 22591 | fi |
21239 | 22592 | ||
22593 | echo "$as_me:$LINENO: checking whether va_copy exists" >&5 | ||
22594 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6 | ||
22595 | if test "${ac_cv_have_va_copy+set}" = set; then | ||
22596 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22597 | else | ||
22598 | |||
22599 | cat >conftest.$ac_ext <<_ACEOF | ||
22600 | /* confdefs.h. */ | ||
22601 | _ACEOF | ||
22602 | cat confdefs.h >>conftest.$ac_ext | ||
22603 | cat >>conftest.$ac_ext <<_ACEOF | ||
22604 | /* end confdefs.h. */ | ||
22605 | #include <stdarg.h> | ||
22606 | va_list x,y; | ||
22607 | int | ||
22608 | main () | ||
22609 | { | ||
22610 | va_copy(x,y); | ||
22611 | ; | ||
22612 | return 0; | ||
22613 | } | ||
22614 | _ACEOF | ||
22615 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22616 | if { (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" | ||
22638 | else | ||
22639 | echo "$as_me: failed program was:" >&5 | ||
22640 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22641 | |||
22642 | ac_cv_have_va_copy="no" | ||
22643 | |||
22644 | fi | ||
22645 | rm -f conftest.err conftest.$ac_objext \ | ||
22646 | conftest$ac_exeext conftest.$ac_ext | ||
22647 | |||
22648 | fi | ||
22649 | echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 | ||
22650 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6 | ||
22651 | if test "x$ac_cv_have_va_copy" = "xyes" ; then | ||
22652 | |||
22653 | cat >>confdefs.h <<\_ACEOF | ||
22654 | #define HAVE_VA_COPY 1 | ||
22655 | _ACEOF | ||
22656 | |||
22657 | fi | ||
22658 | |||
22659 | echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 | ||
22660 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6 | ||
22661 | if test "${ac_cv_have___va_copy+set}" = set; then | ||
22662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22663 | else | ||
22664 | |||
22665 | cat >conftest.$ac_ext <<_ACEOF | ||
22666 | /* confdefs.h. */ | ||
22667 | _ACEOF | ||
22668 | cat confdefs.h >>conftest.$ac_ext | ||
22669 | cat >>conftest.$ac_ext <<_ACEOF | ||
22670 | /* end confdefs.h. */ | ||
22671 | #include <stdarg.h> | ||
22672 | va_list x,y; | ||
22673 | int | ||
22674 | main () | ||
22675 | { | ||
22676 | __va_copy(x,y); | ||
22677 | ; | ||
22678 | return 0; | ||
22679 | } | ||
22680 | _ACEOF | ||
22681 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22682 | if { (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" | ||
22704 | else | ||
22705 | echo "$as_me: failed program was:" >&5 | ||
22706 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22707 | |||
22708 | ac_cv_have___va_copy="no" | ||
22709 | |||
22710 | fi | ||
22711 | rm -f conftest.err conftest.$ac_objext \ | ||
22712 | conftest$ac_exeext conftest.$ac_ext | ||
22713 | |||
22714 | fi | ||
22715 | echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 | ||
22716 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6 | ||
22717 | if test "x$ac_cv_have___va_copy" = "xyes" ; then | ||
22718 | |||
22719 | cat >>confdefs.h <<\_ACEOF | ||
22720 | #define HAVE___VA_COPY 1 | ||
22721 | _ACEOF | ||
22722 | |||
22723 | fi | ||
22724 | |||
21240 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | 22725 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 |
21241 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | 22726 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 |
21242 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 22727 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
@@ -21297,7 +22782,8 @@ fi | |||
21297 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | 22782 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 |
21298 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | 22783 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 |
21299 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 22784 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
21300 | cat >>confdefs.h <<\_ACEOF | 22785 | |
22786 | cat >>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 | |||
21361 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | 22847 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 |
21362 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | 22848 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 |
21363 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 22849 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
21364 | cat >>confdefs.h <<\_ACEOF | 22850 | |
22851 | cat >>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 | |||
21426 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | 22913 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 |
21427 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | 22914 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 |
21428 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 22915 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
21429 | cat >>confdefs.h <<\_ACEOF | 22916 | |
22917 | cat >>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 | |||
21684 | echo "$as_me: error: Can't find libsectok" >&2;} | 23172 | echo "$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 | |
23176 | cat >>confdefs.h <<\_ACEOF | ||
21688 | #define SMARTCARD 1 | 23177 | #define SMARTCARD 1 |
21689 | _ACEOF | 23178 | _ACEOF |
21690 | 23179 | ||
21691 | cat >>confdefs.h <<\_ACEOF | 23180 | |
23181 | cat >>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 | |
23253 | cat >>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 | |||
21894 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 | 23385 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 |
21895 | if test "$ac_cv_search_getrrsetbyname" != no; then | 23386 | if 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 | |
23389 | cat >>confdefs.h <<\_ACEOF | ||
21898 | #define HAVE_GETRRSETBYNAME 1 | 23390 | #define HAVE_GETRRSETBYNAME 1 |
21899 | _ACEOF | 23391 | _ACEOF |
21900 | 23392 | ||
@@ -22613,7 +24105,8 @@ fi | |||
22613 | echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 | 24105 | echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 |
22614 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 | 24106 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 |
22615 | if test $ac_cv_member_HEADER_ad = yes; then | 24107 | if test $ac_cv_member_HEADER_ad = yes; then |
22616 | cat >>confdefs.h <<\_ACEOF | 24108 | |
24109 | cat >>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 | |
24133 | cat >>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 |
22656 | echo "${ECHO_T}yes" >&6 | 24150 | echo "${ECHO_T}yes" >&6 |
22657 | cat >>confdefs.h <<\_ACEOF | 24151 | |
24152 | cat >>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 |
22710 | echo "${ECHO_T}yes" >&6 | 24205 | echo "${ECHO_T}yes" >&6 |
22711 | cat >>confdefs.h <<\_ACEOF | 24206 | |
24207 | cat >>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 | |||
24042 | done | 25537 | done |
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 |
24047 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 | 25542 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 |
24048 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 25543 | if 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 | |||
24166 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 | 25661 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 |
24167 | if test "$ac_cv_search_k_hasafs" != no; then | 25662 | if 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 | |
25665 | cat >>confdefs.h <<\_ACEOF | ||
24170 | #define USE_AFS 1 | 25666 | #define USE_AFS 1 |
24171 | _ACEOF | 25667 | _ACEOF |
24172 | 25668 | ||
24173 | fi | 25669 | fi |
24174 | 25670 | ||
25671 | fi | ||
24175 | 25672 | ||
24176 | 25673 | ||
24177 | fi; | 25674 | fi; |
@@ -24273,7 +25770,8 @@ if test -z "$xauth_path" ; then | |||
24273 | XAUTH_PATH="undefined" | 25770 | XAUTH_PATH="undefined" |
24274 | 25771 | ||
24275 | else | 25772 | else |
24276 | cat >>confdefs.h <<_ACEOF | 25773 | |
25774 | cat >>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) |
24285 | if test ! -z "$MAIL" ; then | 25783 | if test ! -z "$MAIL" ; then |
24286 | maildir=`dirname $MAIL` | 25784 | maildir=`dirname $MAIL` |
24287 | cat >>confdefs.h <<_ACEOF | 25785 | |
25786 | cat >>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 | |||
24316 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | 25815 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 |
24317 | if test $ac_cv_file___dev_ptmx_ = yes; then | 25816 | if test $ac_cv_file___dev_ptmx_ = yes; then |
24318 | 25817 | ||
24319 | cat >>confdefs.h <<_ACEOF | 25818 | |
25819 | cat >>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 | |||
24348 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | 25848 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 |
24349 | if test $ac_cv_file___dev_ptc_ = yes; then | 25849 | if test $ac_cv_file___dev_ptc_ = yes; then |
24350 | 25850 | ||
24351 | cat >>confdefs.h <<_ACEOF | 25851 | |
25852 | cat >>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 | |
25957 | cat >>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 |
24538 | echo "${ECHO_T}yes" >&6 | 26040 | echo "${ECHO_T}yes" >&6 |
24539 | cat >>confdefs.h <<\_ACEOF | 26041 | |
26042 | cat >>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 |
24550 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | 26053 | if test ! -z "$IPADDR_IN_DISPLAY" ; then |
24551 | DISPLAY_HACK_MSG="yes" | 26054 | DISPLAY_HACK_MSG="yes" |
24552 | cat >>confdefs.h <<\_ACEOF | 26055 | |
26056 | cat >>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 |
24586 | else | 26090 | else |
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 | ||
26094 | echo "$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 | ||
24589 | fi; | 26100 | fi; |
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 |
24611 | fi | 26122 | fi |
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 | 26126 | cat >>confdefs.h <<\_ACEOF |
24616 | echo "$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 | ||
24755 | fi; | 26263 | fi; |
24756 | if test "x$external_path_file" != "x/etc/login.conf" ; then | 26264 | if test "x$external_path_file" != "x/etc/login.conf" ; then |
24757 | cat >>confdefs.h <<_ACEOF | 26265 | |
26266 | cat >>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 | |
26282 | cat >>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 |
24793 | echo "${ECHO_T}yes" >&6 | 26303 | echo "${ECHO_T}yes" >&6 |
24794 | cat >>confdefs.h <<\_ACEOF | 26304 | |
26305 | cat >>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 | |
26342 | cat >>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 | ||
24865 | fi; | 26377 | fi; |
24866 | 26378 | ||
26379 | |||
24867 | cat >>confdefs.h <<_ACEOF | 26380 | cat >>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 | |
26418 | cat >>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 | |
26445 | cat >>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 | |
26472 | cat >>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 | |
26486 | cat >>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;} | |||
25133 | fi | 26650 | fi |
25134 | 26651 | ||
25135 | if test -n "$conf_lastlog_location"; then | 26652 | if test -n "$conf_lastlog_location"; then |
25136 | cat >>confdefs.h <<_ACEOF | 26653 | |
26654 | cat >>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 |
25213 | fi | 26731 | fi |
25214 | if test -n "$conf_utmp_location"; then | 26732 | if test -n "$conf_utmp_location"; then |
25215 | cat >>confdefs.h <<_ACEOF | 26733 | |
26734 | cat >>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 |
25292 | fi | 26811 | fi |
25293 | if test -n "$conf_wtmp_location"; then | 26812 | if test -n "$conf_wtmp_location"; then |
25294 | cat >>confdefs.h <<_ACEOF | 26813 | |
26814 | cat >>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 |
25368 | else | 26888 | else |
25369 | cat >>confdefs.h <<_ACEOF | 26889 | |
26890 | cat >>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 |
25442 | else | 26963 | else |
25443 | cat >>confdefs.h <<_ACEOF | 26964 | |
26965 | cat >>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 | |||
25821 | exec 5>>config.log | 27343 | exec 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. ## |
25826 | BOXI_EOF | 27348 | _ASBOX |
25827 | } >&5 | 27349 | } >&5 |
25828 | cat >&5 <<_CSEOF | 27350 | cat >&5 <<_CSEOF |
25829 | 27351 | ||
@@ -26104,6 +27626,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | |||
26104 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 27626 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
26105 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 27627 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
26106 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 27628 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
27629 | s,@EGREP@,$EGREP,;t t | ||
26107 | s,@AR@,$AR,;t t | 27630 | s,@AR@,$AR,;t t |
26108 | s,@CAT@,$CAT,;t t | 27631 | s,@CAT@,$CAT,;t t |
26109 | s,@KILL@,$KILL,;t t | 27632 | s,@KILL@,$KILL,;t t |
@@ -26116,10 +27639,10 @@ s,@TEST_SHELL@,$TEST_SHELL,;t t | |||
26116 | s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t | 27639 | s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t |
26117 | s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t | 27640 | s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t |
26118 | s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t | 27641 | s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t |
27642 | s,@STARTUP_SCRIPT_SHELL@,$STARTUP_SCRIPT_SHELL,;t t | ||
26119 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t | 27643 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t |
26120 | s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t | 27644 | s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t |
26121 | s,@LD@,$LD,;t t | 27645 | s,@LD@,$LD,;t t |
26122 | s,@EGREP@,$EGREP,;t t | ||
26123 | s,@LIBWRAP@,$LIBWRAP,;t t | 27646 | s,@LIBWRAP@,$LIBWRAP,;t t |
26124 | s,@LIBEDIT@,$LIBEDIT,;t t | 27647 | s,@LIBEDIT@,$LIBEDIT,;t t |
26125 | s,@LIBPAM@,$LIBPAM,;t t | 27648 | s,@LIBPAM@,$LIBPAM,;t t |