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