diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1294 |
1 files changed, 851 insertions, 443 deletions
@@ -2,6 +2,8 @@ | |||
2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.59 for OpenSSH Portable. | 3 | # Generated by GNU Autoconf 2.59 for OpenSSH Portable. |
4 | # | 4 | # |
5 | # Report bugs to <openssh-unix-dev@mindrot.org>. | ||
6 | # | ||
5 | # Copyright (C) 2003 Free Software Foundation, Inc. | 7 | # Copyright (C) 2003 Free Software Foundation, Inc. |
6 | # This configure script is free software; the Free Software Foundation | 8 | # This configure script is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy, distribute and modify it. | 9 | # gives unlimited permission to copy, distribute and modify it. |
@@ -269,7 +271,7 @@ PACKAGE_NAME='OpenSSH' | |||
269 | PACKAGE_TARNAME='openssh' | 271 | PACKAGE_TARNAME='openssh' |
270 | PACKAGE_VERSION='Portable' | 272 | PACKAGE_VERSION='Portable' |
271 | PACKAGE_STRING='OpenSSH Portable' | 273 | PACKAGE_STRING='OpenSSH Portable' |
272 | PACKAGE_BUGREPORT='' | 274 | PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' |
273 | 275 | ||
274 | ac_unique_file="ssh.c" | 276 | ac_unique_file="ssh.c" |
275 | # Factoring default headers for most tests. | 277 | # Factoring default headers for most tests. |
@@ -867,6 +869,7 @@ Optional Packages: | |||
867 | --with-cppflags Specify additional flags to pass to preprocessor | 869 | --with-cppflags Specify additional flags to pass to preprocessor |
868 | --with-ldflags Specify additional flags to pass to linker | 870 | --with-ldflags Specify additional flags to pass to linker |
869 | --with-libs Specify additional libraries to link with | 871 | --with-libs Specify additional libraries to link with |
872 | --with-Werror Build main code with -Werror | ||
870 | --with-zlib=PATH Use zlib in PATH | 873 | --with-zlib=PATH Use zlib in PATH |
871 | --without-zlib-version-check Disable zlib version check | 874 | --without-zlib-version-check Disable zlib version check |
872 | --with-skey[=PATH] Enable S/Key support (optionally in PATH) | 875 | --with-skey[=PATH] Enable S/Key support (optionally in PATH) |
@@ -908,6 +911,7 @@ Some influential environment variables: | |||
908 | Use these variables to override the choices made by `configure' or to help | 911 | Use these variables to override the choices made by `configure' or to help |
909 | it to find libraries and programs with nonstandard names/locations. | 912 | it to find libraries and programs with nonstandard names/locations. |
910 | 913 | ||
914 | Report bugs to <openssh-unix-dev@mindrot.org>. | ||
911 | _ACEOF | 915 | _ACEOF |
912 | fi | 916 | fi |
913 | 917 | ||
@@ -4098,8 +4102,253 @@ _ACEOF | |||
4098 | ;; | 4102 | ;; |
4099 | esac | 4103 | esac |
4100 | 4104 | ||
4105 | |||
4106 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | ||
4107 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | ||
4108 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
4109 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4110 | else | ||
4111 | cat >conftest.$ac_ext <<_ACEOF | ||
4112 | /* confdefs.h. */ | ||
4113 | _ACEOF | ||
4114 | cat confdefs.h >>conftest.$ac_ext | ||
4115 | cat >>conftest.$ac_ext <<_ACEOF | ||
4116 | /* end confdefs.h. */ | ||
4117 | #include <limits.h> | ||
4118 | |||
4119 | int | ||
4120 | main () | ||
4121 | { | ||
4122 | #ifndef LLONG_MAX | ||
4123 | char *p = (char *) LLONG_MAX; | ||
4124 | #endif | ||
4125 | |||
4126 | ; | ||
4127 | return 0; | ||
4128 | } | ||
4129 | _ACEOF | ||
4130 | rm -f conftest.$ac_objext | ||
4131 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4132 | (eval $ac_compile) 2>conftest.er1 | ||
4133 | ac_status=$? | ||
4134 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4135 | rm -f conftest.er1 | ||
4136 | cat conftest.err >&5 | ||
4137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4138 | (exit $ac_status); } && | ||
4139 | { ac_try='test -z "$ac_c_werror_flag" | ||
4140 | || test ! -s conftest.err' | ||
4141 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4142 | (eval $ac_try) 2>&5 | ||
4143 | ac_status=$? | ||
4144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4145 | (exit $ac_status); }; } && | ||
4146 | { ac_try='test -s conftest.$ac_objext' | ||
4147 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4148 | (eval $ac_try) 2>&5 | ||
4149 | ac_status=$? | ||
4150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4151 | (exit $ac_status); }; }; then | ||
4152 | ac_cv_have_decl_LLONG_MAX=yes | ||
4153 | else | ||
4154 | echo "$as_me: failed program was:" >&5 | ||
4155 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4156 | |||
4157 | ac_cv_have_decl_LLONG_MAX=no | ||
4158 | fi | ||
4159 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4160 | fi | ||
4161 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
4162 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | ||
4163 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
4164 | have_llong_max=1 | ||
4165 | fi | ||
4166 | |||
4167 | |||
4101 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 4168 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
4102 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" | 4169 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
4170 | GCC_VER=`$CC --version` | ||
4171 | case $GCC_VER in | ||
4172 | 1.*) ;; | ||
4173 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; | ||
4174 | 2.*) ;; | ||
4175 | *) CFLAGS="$CFLAGS -Wsign-compare" ;; | ||
4176 | esac | ||
4177 | |||
4178 | if test -z "$have_llong_max"; then | ||
4179 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes | ||
4180 | unset ac_cv_have_decl_LLONG_MAX | ||
4181 | saved_CFLAGS="$CFLAGS" | ||
4182 | CFLAGS="$CFLAGS -std=gnu99" | ||
4183 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | ||
4184 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | ||
4185 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
4186 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4187 | else | ||
4188 | cat >conftest.$ac_ext <<_ACEOF | ||
4189 | /* confdefs.h. */ | ||
4190 | _ACEOF | ||
4191 | cat confdefs.h >>conftest.$ac_ext | ||
4192 | cat >>conftest.$ac_ext <<_ACEOF | ||
4193 | /* end confdefs.h. */ | ||
4194 | #include <limits.h> | ||
4195 | |||
4196 | |||
4197 | int | ||
4198 | main () | ||
4199 | { | ||
4200 | #ifndef LLONG_MAX | ||
4201 | char *p = (char *) LLONG_MAX; | ||
4202 | #endif | ||
4203 | |||
4204 | ; | ||
4205 | return 0; | ||
4206 | } | ||
4207 | _ACEOF | ||
4208 | rm -f conftest.$ac_objext | ||
4209 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4210 | (eval $ac_compile) 2>conftest.er1 | ||
4211 | ac_status=$? | ||
4212 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4213 | rm -f conftest.er1 | ||
4214 | cat conftest.err >&5 | ||
4215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4216 | (exit $ac_status); } && | ||
4217 | { ac_try='test -z "$ac_c_werror_flag" | ||
4218 | || test ! -s conftest.err' | ||
4219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4220 | (eval $ac_try) 2>&5 | ||
4221 | ac_status=$? | ||
4222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4223 | (exit $ac_status); }; } && | ||
4224 | { ac_try='test -s conftest.$ac_objext' | ||
4225 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4226 | (eval $ac_try) 2>&5 | ||
4227 | ac_status=$? | ||
4228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4229 | (exit $ac_status); }; }; then | ||
4230 | ac_cv_have_decl_LLONG_MAX=yes | ||
4231 | else | ||
4232 | echo "$as_me: failed program was:" >&5 | ||
4233 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4234 | |||
4235 | ac_cv_have_decl_LLONG_MAX=no | ||
4236 | fi | ||
4237 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4238 | fi | ||
4239 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
4240 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | ||
4241 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
4242 | have_llong_max=1 | ||
4243 | else | ||
4244 | CFLAGS="$saved_CFLAGS" | ||
4245 | fi | ||
4246 | |||
4247 | fi | ||
4248 | fi | ||
4249 | |||
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 | ||
4103 | fi | 4352 | fi |
4104 | 4353 | ||
4105 | 4354 | ||
@@ -5090,121 +5339,8 @@ _ACEOF | |||
5090 | _ACEOF | 5339 | _ACEOF |
5091 | 5340 | ||
5092 | ;; | 5341 | ;; |
5093 | *-*-hpux10.26) | 5342 | *-*-hpux*) |
5094 | if test -z "$GCC"; then | 5343 | # first we define all of the options common to all HP-UX releases |
5095 | CFLAGS="$CFLAGS -Ae" | ||
5096 | fi | ||
5097 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5098 | IPADDR_IN_DISPLAY=yes | ||
5099 | cat >>confdefs.h <<\_ACEOF | ||
5100 | #define HAVE_SECUREWARE 1 | ||
5101 | _ACEOF | ||
5102 | |||
5103 | cat >>confdefs.h <<\_ACEOF | ||
5104 | #define USE_PIPES 1 | ||
5105 | _ACEOF | ||
5106 | |||
5107 | cat >>confdefs.h <<\_ACEOF | ||
5108 | #define LOGIN_NO_ENDOPT 1 | ||
5109 | _ACEOF | ||
5110 | |||
5111 | cat >>confdefs.h <<\_ACEOF | ||
5112 | #define LOGIN_NEEDS_UTMPX 1 | ||
5113 | _ACEOF | ||
5114 | |||
5115 | cat >>confdefs.h <<\_ACEOF | ||
5116 | #define LOCKED_PASSWD_STRING "*" | ||
5117 | _ACEOF | ||
5118 | |||
5119 | cat >>confdefs.h <<\_ACEOF | ||
5120 | #define SPT_TYPE SPT_PSTAT | ||
5121 | _ACEOF | ||
5122 | |||
5123 | LIBS="$LIBS -lsec -lsecpw" | ||
5124 | |||
5125 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5126 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5127 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5128 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5129 | else | ||
5130 | ac_check_lib_save_LIBS=$LIBS | ||
5131 | LIBS="-lxnet $LIBS" | ||
5132 | cat >conftest.$ac_ext <<_ACEOF | ||
5133 | /* confdefs.h. */ | ||
5134 | _ACEOF | ||
5135 | cat confdefs.h >>conftest.$ac_ext | ||
5136 | cat >>conftest.$ac_ext <<_ACEOF | ||
5137 | /* end confdefs.h. */ | ||
5138 | |||
5139 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5140 | #ifdef __cplusplus | ||
5141 | extern "C" | ||
5142 | #endif | ||
5143 | /* We use char because int might match the return type of a gcc2 | ||
5144 | builtin and then its argument prototype would still apply. */ | ||
5145 | char t_error (); | ||
5146 | int | ||
5147 | main () | ||
5148 | { | ||
5149 | t_error (); | ||
5150 | ; | ||
5151 | return 0; | ||
5152 | } | ||
5153 | _ACEOF | ||
5154 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5155 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5156 | (eval $ac_link) 2>conftest.er1 | ||
5157 | ac_status=$? | ||
5158 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5159 | rm -f conftest.er1 | ||
5160 | cat conftest.err >&5 | ||
5161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5162 | (exit $ac_status); } && | ||
5163 | { ac_try='test -z "$ac_c_werror_flag" | ||
5164 | || test ! -s conftest.err' | ||
5165 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5166 | (eval $ac_try) 2>&5 | ||
5167 | ac_status=$? | ||
5168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5169 | (exit $ac_status); }; } && | ||
5170 | { ac_try='test -s conftest$ac_exeext' | ||
5171 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5172 | (eval $ac_try) 2>&5 | ||
5173 | ac_status=$? | ||
5174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5175 | (exit $ac_status); }; }; then | ||
5176 | ac_cv_lib_xnet_t_error=yes | ||
5177 | else | ||
5178 | echo "$as_me: failed program was:" >&5 | ||
5179 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5180 | |||
5181 | ac_cv_lib_xnet_t_error=no | ||
5182 | fi | ||
5183 | rm -f conftest.err conftest.$ac_objext \ | ||
5184 | conftest$ac_exeext conftest.$ac_ext | ||
5185 | LIBS=$ac_check_lib_save_LIBS | ||
5186 | fi | ||
5187 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5188 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5189 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5190 | cat >>confdefs.h <<_ACEOF | ||
5191 | #define HAVE_LIBXNET 1 | ||
5192 | _ACEOF | ||
5193 | |||
5194 | LIBS="-lxnet $LIBS" | ||
5195 | |||
5196 | else | ||
5197 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
5198 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5199 | { (exit 1); exit 1; }; } | ||
5200 | fi | ||
5201 | |||
5202 | disable_ptmx_check=yes | ||
5203 | ;; | ||
5204 | *-*-hpux10*) | ||
5205 | if test -z "$GCC"; then | ||
5206 | CFLAGS="$CFLAGS -Ae" | ||
5207 | fi | ||
5208 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 5344 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
5209 | IPADDR_IN_DISPLAY=yes | 5345 | IPADDR_IN_DISPLAY=yes |
5210 | cat >>confdefs.h <<\_ACEOF | 5346 | cat >>confdefs.h <<\_ACEOF |
@@ -5306,124 +5442,44 @@ echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | |||
5306 | { (exit 1); exit 1; }; } | 5442 | { (exit 1); exit 1; }; } |
5307 | fi | 5443 | fi |
5308 | 5444 | ||
5309 | ;; | ||
5310 | *-*-hpux11*) | ||
5311 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5312 | IPADDR_IN_DISPLAY=yes | ||
5313 | cat >>confdefs.h <<\_ACEOF | ||
5314 | #define PAM_SUN_CODEBASE 1 | ||
5315 | _ACEOF | ||
5316 | |||
5317 | cat >>confdefs.h <<\_ACEOF | ||
5318 | #define USE_PIPES 1 | ||
5319 | _ACEOF | ||
5320 | 5445 | ||
5321 | cat >>confdefs.h <<\_ACEOF | 5446 | # next, we define all of the options specific to major releases |
5322 | #define LOGIN_NO_ENDOPT 1 | 5447 | case "$host" in |
5323 | _ACEOF | 5448 | *-*-hpux10*) |
5324 | 5449 | if test -z "$GCC"; then | |
5325 | cat >>confdefs.h <<\_ACEOF | 5450 | CFLAGS="$CFLAGS -Ae" |
5326 | #define LOGIN_NEEDS_UTMPX 1 | 5451 | fi |
5452 | ;; | ||
5453 | *-*-hpux11*) | ||
5454 | cat >>confdefs.h <<\_ACEOF | ||
5455 | #define PAM_SUN_CODEBASE 1 | ||
5327 | _ACEOF | 5456 | _ACEOF |
5328 | 5457 | ||
5329 | cat >>confdefs.h <<\_ACEOF | 5458 | cat >>confdefs.h <<\_ACEOF |
5330 | #define DISABLE_UTMP 1 | 5459 | #define DISABLE_UTMP 1 |
5331 | _ACEOF | 5460 | _ACEOF |
5332 | 5461 | ||
5333 | cat >>confdefs.h <<\_ACEOF | ||
5334 | #define LOCKED_PASSWD_STRING "*" | ||
5335 | _ACEOF | ||
5336 | |||
5337 | cat >>confdefs.h <<\_ACEOF | ||
5338 | #define SPT_TYPE SPT_PSTAT | ||
5339 | _ACEOF | ||
5340 | |||
5341 | 5462 | ||
5342 | cat >>confdefs.h <<\_ACEOF | 5463 | cat >>confdefs.h <<\_ACEOF |
5343 | #define USE_BTMP 1 | 5464 | #define USE_BTMP 1 |
5344 | _ACEOF | 5465 | _ACEOF |
5345 | 5466 | ||
5346 | check_for_hpux_broken_getaddrinfo=1 | 5467 | check_for_hpux_broken_getaddrinfo=1 |
5347 | check_for_conflicting_getspnam=1 | 5468 | check_for_conflicting_getspnam=1 |
5348 | LIBS="$LIBS -lsec" | 5469 | ;; |
5349 | 5470 | esac | |
5350 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5351 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5352 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5353 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5354 | else | ||
5355 | ac_check_lib_save_LIBS=$LIBS | ||
5356 | LIBS="-lxnet $LIBS" | ||
5357 | cat >conftest.$ac_ext <<_ACEOF | ||
5358 | /* confdefs.h. */ | ||
5359 | _ACEOF | ||
5360 | cat confdefs.h >>conftest.$ac_ext | ||
5361 | cat >>conftest.$ac_ext <<_ACEOF | ||
5362 | /* end confdefs.h. */ | ||
5363 | |||
5364 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5365 | #ifdef __cplusplus | ||
5366 | extern "C" | ||
5367 | #endif | ||
5368 | /* We use char because int might match the return type of a gcc2 | ||
5369 | builtin and then its argument prototype would still apply. */ | ||
5370 | char t_error (); | ||
5371 | int | ||
5372 | main () | ||
5373 | { | ||
5374 | t_error (); | ||
5375 | ; | ||
5376 | return 0; | ||
5377 | } | ||
5378 | _ACEOF | ||
5379 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5380 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5381 | (eval $ac_link) 2>conftest.er1 | ||
5382 | ac_status=$? | ||
5383 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5384 | rm -f conftest.er1 | ||
5385 | cat conftest.err >&5 | ||
5386 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5387 | (exit $ac_status); } && | ||
5388 | { ac_try='test -z "$ac_c_werror_flag" | ||
5389 | || test ! -s conftest.err' | ||
5390 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5391 | (eval $ac_try) 2>&5 | ||
5392 | ac_status=$? | ||
5393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5394 | (exit $ac_status); }; } && | ||
5395 | { ac_try='test -s conftest$ac_exeext' | ||
5396 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5397 | (eval $ac_try) 2>&5 | ||
5398 | ac_status=$? | ||
5399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5400 | (exit $ac_status); }; }; then | ||
5401 | ac_cv_lib_xnet_t_error=yes | ||
5402 | else | ||
5403 | echo "$as_me: failed program was:" >&5 | ||
5404 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5405 | 5471 | ||
5406 | ac_cv_lib_xnet_t_error=no | 5472 | # lastly, we define options specific to minor releases |
5407 | fi | 5473 | case "$host" in |
5408 | rm -f conftest.err conftest.$ac_objext \ | 5474 | *-*-hpux10.26) |
5409 | conftest$ac_exeext conftest.$ac_ext | 5475 | cat >>confdefs.h <<\_ACEOF |
5410 | LIBS=$ac_check_lib_save_LIBS | 5476 | #define HAVE_SECUREWARE 1 |
5411 | fi | ||
5412 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5413 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5414 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5415 | cat >>confdefs.h <<_ACEOF | ||
5416 | #define HAVE_LIBXNET 1 | ||
5417 | _ACEOF | 5477 | _ACEOF |
5418 | 5478 | ||
5419 | LIBS="-lxnet $LIBS" | 5479 | disable_ptmx_check=yes |
5420 | 5480 | LIBS="$LIBS -lsecpw" | |
5421 | else | 5481 | ;; |
5422 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 5482 | esac |
5423 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5424 | { (exit 1); exit 1; }; } | ||
5425 | fi | ||
5426 | |||
5427 | ;; | 5483 | ;; |
5428 | *-*-irix5*) | 5484 | *-*-irix5*) |
5429 | PATH="$PATH:/usr/etc" | 5485 | PATH="$PATH:/usr/etc" |
@@ -5637,8 +5693,9 @@ _ACEOF | |||
5637 | esac | 5693 | esac |
5638 | ;; | 5694 | ;; |
5639 | mips-sony-bsd|mips-sony-newsos4) | 5695 | mips-sony-bsd|mips-sony-newsos4) |
5640 | cat >>confdefs.h <<\_ACEOF | 5696 | |
5641 | #define HAVE_NEWS4 1 | 5697 | cat >>confdefs.h <<\_ACEOF |
5698 | #define NEED_SETPRGP | ||
5642 | _ACEOF | 5699 | _ACEOF |
5643 | 5700 | ||
5644 | SONY=1 | 5701 | SONY=1 |
@@ -5688,6 +5745,13 @@ _ACEOF | |||
5688 | _ACEOF | 5745 | _ACEOF |
5689 | 5746 | ||
5690 | ;; | 5747 | ;; |
5748 | *-*-openbsd*) | ||
5749 | |||
5750 | cat >>confdefs.h <<\_ACEOF | ||
5751 | #define HAVE_ATTRIBUTE__SENTINEL__ 1 | ||
5752 | _ACEOF | ||
5753 | |||
5754 | ;; | ||
5691 | *-*-solaris*) | 5755 | *-*-solaris*) |
5692 | if test "x$withval" != "xno" ; then | 5756 | if test "x$withval" != "xno" ; then |
5693 | need_dash_r=1 | 5757 | need_dash_r=1 |
@@ -6083,6 +6147,12 @@ _ACEOF | |||
6083 | ;; | 6147 | ;; |
6084 | # UnixWare 7.x, OpenUNIX 8 | 6148 | # UnixWare 7.x, OpenUNIX 8 |
6085 | *-*-sysv5*) | 6149 | *-*-sysv5*) |
6150 | check_for_libcrypt_later=1 | ||
6151 | |||
6152 | cat >>confdefs.h <<\_ACEOF | ||
6153 | #define UNIXWARE_LONG_PASSWORDS 1 | ||
6154 | _ACEOF | ||
6155 | |||
6086 | cat >>confdefs.h <<\_ACEOF | 6156 | cat >>confdefs.h <<\_ACEOF |
6087 | #define USE_PIPES 1 | 6157 | #define USE_PIPES 1 |
6088 | _ACEOF | 6158 | _ACEOF |
@@ -6104,6 +6174,16 @@ cat >>confdefs.h <<\_ACEOF | |||
6104 | #define PASSWD_NEEDS_USERNAME 1 | 6174 | #define PASSWD_NEEDS_USERNAME 1 |
6105 | _ACEOF | 6175 | _ACEOF |
6106 | 6176 | ||
6177 | case "$host" in | ||
6178 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x | ||
6179 | TEST_SHELL=/u95/bin/sh | ||
6180 | |||
6181 | cat >>confdefs.h <<\_ACEOF | ||
6182 | #define BROKEN_LIBIAF 1 | ||
6183 | _ACEOF | ||
6184 | |||
6185 | ;; | ||
6186 | esac | ||
6107 | ;; | 6187 | ;; |
6108 | *-*-sysv*) | 6188 | *-*-sysv*) |
6109 | ;; | 6189 | ;; |
@@ -6436,6 +6516,42 @@ _ACEOF | |||
6436 | _ACEOF | 6516 | _ACEOF |
6437 | 6517 | ||
6438 | ;; | 6518 | ;; |
6519 | |||
6520 | *-*-ultrix*) | ||
6521 | |||
6522 | cat >>confdefs.h <<\_ACEOF | ||
6523 | #define BROKEN_GETGROUPS | ||
6524 | _ACEOF | ||
6525 | |||
6526 | |||
6527 | cat >>confdefs.h <<\_ACEOF | ||
6528 | #define BROKEN_MMAP | ||
6529 | _ACEOF | ||
6530 | |||
6531 | |||
6532 | cat >>confdefs.h <<\_ACEOF | ||
6533 | #define NEED_SETPRGP | ||
6534 | _ACEOF | ||
6535 | |||
6536 | |||
6537 | cat >>confdefs.h <<\_ACEOF | ||
6538 | #define HAVE_SYS_SYSLOG_H 1 | ||
6539 | _ACEOF | ||
6540 | |||
6541 | ;; | ||
6542 | |||
6543 | *-*-lynxos) | ||
6544 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" | ||
6545 | cat >>confdefs.h <<\_ACEOF | ||
6546 | #define MISSING_HOWMANY 1 | ||
6547 | _ACEOF | ||
6548 | |||
6549 | |||
6550 | cat >>confdefs.h <<\_ACEOF | ||
6551 | #define BROKEN_SETVBUF 1 | ||
6552 | _ACEOF | ||
6553 | |||
6554 | ;; | ||
6439 | esac | 6555 | esac |
6440 | 6556 | ||
6441 | # Allow user to specify flags | 6557 | # Allow user to specify flags |
@@ -6488,6 +6604,20 @@ if test "${with_libs+set}" = set; then | |||
6488 | 6604 | ||
6489 | fi; | 6605 | fi; |
6490 | 6606 | ||
6607 | # Check whether --with-Werror or --without-Werror was given. | ||
6608 | if test "${with_Werror+set}" = set; then | ||
6609 | withval="$with_Werror" | ||
6610 | |||
6611 | if test -n "$withval" && test "x$withval" != "xno"; then | ||
6612 | werror_flags="-Werror" | ||
6613 | if "x${withval}" != "xyes"; then | ||
6614 | werror_flags="$withval" | ||
6615 | fi | ||
6616 | fi | ||
6617 | |||
6618 | |||
6619 | fi; | ||
6620 | |||
6491 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | 6621 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
6492 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | 6622 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 |
6493 | if test "$cross_compiling" = yes; then | 6623 | if test "$cross_compiling" = yes; then |
@@ -6536,7 +6666,6 @@ fi | |||
6536 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6666 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6537 | fi | 6667 | fi |
6538 | 6668 | ||
6539 | # Checks for header files. | ||
6540 | 6669 | ||
6541 | echo "$as_me:$LINENO: checking for egrep" >&5 | 6670 | echo "$as_me:$LINENO: checking for egrep" >&5 |
6542 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 6671 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
@@ -6846,16 +6975,69 @@ done | |||
6846 | 6975 | ||
6847 | 6976 | ||
6848 | 6977 | ||
6849 | for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ | 6978 | |
6850 | floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ | 6979 | |
6851 | login_cap.h maillock.h ndir.h netdb.h netgroup.h \ | 6980 | |
6852 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 6981 | for ac_header in \ |
6853 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 6982 | bstring.h \ |
6854 | strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ | 6983 | crypt.h \ |
6855 | sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ | 6984 | dirent.h \ |
6856 | sys/pstat.h sys/select.h sys/stat.h sys/stream.h \ | 6985 | endian.h \ |
6857 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ | 6986 | features.h \ |
6858 | time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h | 6987 | floatingpoint.h \ |
6988 | getopt.h \ | ||
6989 | glob.h \ | ||
6990 | ia.h \ | ||
6991 | iaf.h \ | ||
6992 | lastlog.h \ | ||
6993 | limits.h \ | ||
6994 | login.h \ | ||
6995 | login_cap.h \ | ||
6996 | maillock.h \ | ||
6997 | ndir.h \ | ||
6998 | netdb.h \ | ||
6999 | netgroup.h \ | ||
7000 | netinet/in_systm.h \ | ||
7001 | pam/pam_appl.h \ | ||
7002 | paths.h \ | ||
7003 | pty.h \ | ||
7004 | readpassphrase.h \ | ||
7005 | rpc/types.h \ | ||
7006 | security/pam_appl.h \ | ||
7007 | shadow.h \ | ||
7008 | stddef.h \ | ||
7009 | stdint.h \ | ||
7010 | string.h \ | ||
7011 | strings.h \ | ||
7012 | sys/audit.h \ | ||
7013 | sys/bitypes.h \ | ||
7014 | sys/bsdtty.h \ | ||
7015 | sys/cdefs.h \ | ||
7016 | sys/dir.h \ | ||
7017 | sys/mman.h \ | ||
7018 | sys/ndir.h \ | ||
7019 | sys/prctl.h \ | ||
7020 | sys/pstat.h \ | ||
7021 | sys/select.h \ | ||
7022 | sys/stat.h \ | ||
7023 | sys/stream.h \ | ||
7024 | sys/stropts.h \ | ||
7025 | sys/strtio.h \ | ||
7026 | sys/sysmacros.h \ | ||
7027 | sys/time.h \ | ||
7028 | sys/timers.h \ | ||
7029 | sys/un.h \ | ||
7030 | time.h \ | ||
7031 | tmpdir.h \ | ||
7032 | ttyent.h \ | ||
7033 | unistd.h \ | ||
7034 | usersec.h \ | ||
7035 | util.h \ | ||
7036 | utime.h \ | ||
7037 | utmp.h \ | ||
7038 | utmpx.h \ | ||
7039 | vis.h \ | ||
7040 | |||
6859 | do | 7041 | do |
6860 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7042 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6861 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7043 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
@@ -6976,9 +7158,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
6976 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7158 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6977 | ( | 7159 | ( |
6978 | cat <<\_ASBOX | 7160 | cat <<\_ASBOX |
6979 | ## ---------------------------------- ## | 7161 | ## ------------------------------------------- ## |
6980 | ## Report this to the OpenSSH lists. ## | 7162 | ## Report this to openssh-unix-dev@mindrot.org ## |
6981 | ## ---------------------------------- ## | 7163 | ## ------------------------------------------- ## |
6982 | _ASBOX | 7164 | _ASBOX |
6983 | ) | | 7165 | ) | |
6984 | sed "s/^/$as_me: WARNING: /" >&2 | 7166 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7632,9 +7814,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7632 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7814 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7633 | ( | 7815 | ( |
7634 | cat <<\_ASBOX | 7816 | cat <<\_ASBOX |
7635 | ## ---------------------------------- ## | 7817 | ## ------------------------------------------- ## |
7636 | ## Report this to the OpenSSH lists. ## | 7818 | ## Report this to openssh-unix-dev@mindrot.org ## |
7637 | ## ---------------------------------- ## | 7819 | ## ------------------------------------------- ## |
7638 | _ASBOX | 7820 | _ASBOX |
7639 | ) | | 7821 | ) | |
7640 | sed "s/^/$as_me: WARNING: /" >&2 | 7822 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7922,9 +8104,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7922 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 8104 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7923 | ( | 8105 | ( |
7924 | cat <<\_ASBOX | 8106 | cat <<\_ASBOX |
7925 | ## ---------------------------------- ## | 8107 | ## ------------------------------------------- ## |
7926 | ## Report this to the OpenSSH lists. ## | 8108 | ## Report this to openssh-unix-dev@mindrot.org ## |
7927 | ## ---------------------------------- ## | 8109 | ## ------------------------------------------- ## |
7928 | _ASBOX | 8110 | _ASBOX |
7929 | ) | | 8111 | ) | |
7930 | sed "s/^/$as_me: WARNING: /" >&2 | 8112 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8550,9 +8732,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | |||
8550 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 8732 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
8551 | ( | 8733 | ( |
8552 | cat <<\_ASBOX | 8734 | cat <<\_ASBOX |
8553 | ## ---------------------------------- ## | 8735 | ## ------------------------------------------- ## |
8554 | ## Report this to the OpenSSH lists. ## | 8736 | ## Report this to openssh-unix-dev@mindrot.org ## |
8555 | ## ---------------------------------- ## | 8737 | ## ------------------------------------------- ## |
8556 | _ASBOX | 8738 | _ASBOX |
8557 | ) | | 8739 | ) | |
8558 | sed "s/^/$as_me: WARNING: /" >&2 | 8740 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8619,8 +8801,8 @@ int main() | |||
8619 | if (a == 1 && b == 1 && c >= 4) | 8801 | if (a == 1 && b == 1 && c >= 4) |
8620 | exit(0); | 8802 | exit(0); |
8621 | 8803 | ||
8622 | /* 1.2.1.2 and up are OK */ | 8804 | /* 1.2.3 and up are OK */ |
8623 | if (v >= 1020102) | 8805 | if (v >= 1020300) |
8624 | exit(0); | 8806 | exit(0); |
8625 | 8807 | ||
8626 | exit(2); | 8808 | exit(2); |
@@ -8654,14 +8836,14 @@ Your reported zlib version has known security problems. It's possible your | |||
8654 | vendor has fixed these problems without changing the version number. If you | 8836 | vendor has fixed these problems without changing the version number. If you |
8655 | are sure this is the case, you can disable the check by running | 8837 | are sure this is the case, you can disable the check by running |
8656 | \"./configure --without-zlib-version-check\". | 8838 | \"./configure --without-zlib-version-check\". |
8657 | If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. | 8839 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8658 | See http://www.gzip.org/zlib/ for details." >&5 | 8840 | See http://www.gzip.org/zlib/ for details." >&5 |
8659 | echo "$as_me: error: *** zlib too old - check config.log *** | 8841 | echo "$as_me: error: *** zlib too old - check config.log *** |
8660 | Your reported zlib version has known security problems. It's possible your | 8842 | Your reported zlib version has known security problems. It's possible your |
8661 | vendor has fixed these problems without changing the version number. If you | 8843 | vendor has fixed these problems without changing the version number. If you |
8662 | are sure this is the case, you can disable the check by running | 8844 | are sure this is the case, you can disable the check by running |
8663 | \"./configure --without-zlib-version-check\". | 8845 | \"./configure --without-zlib-version-check\". |
8664 | If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. | 8846 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8665 | See http://www.gzip.org/zlib/ for details." >&2;} | 8847 | See http://www.gzip.org/zlib/ for details." >&2;} |
8666 | { (exit 1); exit 1; }; } | 8848 | { (exit 1); exit 1; }; } |
8667 | else | 8849 | else |
@@ -9128,9 +9310,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
9128 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9310 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9129 | ( | 9311 | ( |
9130 | cat <<\_ASBOX | 9312 | cat <<\_ASBOX |
9131 | ## ---------------------------------- ## | 9313 | ## ------------------------------------------- ## |
9132 | ## Report this to the OpenSSH lists. ## | 9314 | ## Report this to openssh-unix-dev@mindrot.org ## |
9133 | ## ---------------------------------- ## | 9315 | ## ------------------------------------------- ## |
9134 | _ASBOX | 9316 | _ASBOX |
9135 | ) | | 9317 | ) | |
9136 | sed "s/^/$as_me: WARNING: /" >&2 | 9318 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -10038,6 +10220,60 @@ echo "$as_me: error: libedit not found" >&2;} | |||
10038 | { (exit 1); exit 1; }; } | 10220 | { (exit 1); exit 1; }; } |
10039 | fi | 10221 | fi |
10040 | 10222 | ||
10223 | echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 | ||
10224 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6 | ||
10225 | cat >conftest.$ac_ext <<_ACEOF | ||
10226 | /* confdefs.h. */ | ||
10227 | _ACEOF | ||
10228 | cat confdefs.h >>conftest.$ac_ext | ||
10229 | cat >>conftest.$ac_ext <<_ACEOF | ||
10230 | /* end confdefs.h. */ | ||
10231 | |||
10232 | #include <histedit.h> | ||
10233 | int main(void) | ||
10234 | { | ||
10235 | int i = H_SETSIZE; | ||
10236 | el_init("", NULL, NULL, NULL); | ||
10237 | exit(0); | ||
10238 | } | ||
10239 | |||
10240 | _ACEOF | ||
10241 | rm -f conftest.$ac_objext | ||
10242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10243 | (eval $ac_compile) 2>conftest.er1 | ||
10244 | ac_status=$? | ||
10245 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10246 | rm -f conftest.er1 | ||
10247 | cat conftest.err >&5 | ||
10248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10249 | (exit $ac_status); } && | ||
10250 | { ac_try='test -z "$ac_c_werror_flag" | ||
10251 | || test ! -s conftest.err' | ||
10252 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10253 | (eval $ac_try) 2>&5 | ||
10254 | ac_status=$? | ||
10255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10256 | (exit $ac_status); }; } && | ||
10257 | { ac_try='test -s conftest.$ac_objext' | ||
10258 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10259 | (eval $ac_try) 2>&5 | ||
10260 | ac_status=$? | ||
10261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10262 | (exit $ac_status); }; }; then | ||
10263 | echo "$as_me:$LINENO: result: yes" >&5 | ||
10264 | echo "${ECHO_T}yes" >&6 | ||
10265 | else | ||
10266 | echo "$as_me: failed program was:" >&5 | ||
10267 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10268 | |||
10269 | echo "$as_me:$LINENO: result: no" >&5 | ||
10270 | echo "${ECHO_T}no" >&6 | ||
10271 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 | ||
10272 | echo "$as_me: error: libedit version is not compatible" >&2;} | ||
10273 | { (exit 1); exit 1; }; } | ||
10274 | |||
10275 | fi | ||
10276 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10041 | fi | 10277 | fi |
10042 | 10278 | ||
10043 | fi; | 10279 | fi; |
@@ -10177,9 +10413,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
10177 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 10413 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10178 | ( | 10414 | ( |
10179 | cat <<\_ASBOX | 10415 | cat <<\_ASBOX |
10180 | ## ---------------------------------- ## | 10416 | ## ------------------------------------------- ## |
10181 | ## Report this to the OpenSSH lists. ## | 10417 | ## Report this to openssh-unix-dev@mindrot.org ## |
10182 | ## ---------------------------------- ## | 10418 | ## ------------------------------------------- ## |
10183 | _ASBOX | 10419 | _ASBOX |
10184 | ) | | 10420 | ) | |
10185 | sed "s/^/$as_me: WARNING: /" >&2 | 10421 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -10512,6 +10748,10 @@ cat >>confdefs.h <<\_ACEOF | |||
10512 | _ACEOF | 10748 | _ACEOF |
10513 | 10749 | ||
10514 | ;; | 10750 | ;; |
10751 | no) | ||
10752 | echo "$as_me:$LINENO: result: no" >&5 | ||
10753 | echo "${ECHO_T}no" >&6 | ||
10754 | ;; | ||
10515 | *) | 10755 | *) |
10516 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | 10756 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 |
10517 | echo "$as_me: error: Unknown audit module $withval" >&2;} | 10757 | echo "$as_me: error: Unknown audit module $withval" >&2;} |
@@ -10599,19 +10839,89 @@ fi; | |||
10599 | 10839 | ||
10600 | 10840 | ||
10601 | 10841 | ||
10842 | |||
10843 | |||
10602 | for ac_func in \ | 10844 | for ac_func in \ |
10603 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ | 10845 | arc4random \ |
10604 | bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \ | 10846 | b64_ntop \ |
10605 | freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \ | 10847 | __b64_ntop \ |
10606 | getopt getpeereid _getpty getrlimit getttyent glob inet_aton \ | 10848 | b64_pton \ |
10607 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 10849 | __b64_pton \ |
10608 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 10850 | bcopy \ |
10609 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ | 10851 | bindresvport_sa \ |
10610 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 10852 | clock \ |
10611 | setproctitle setregid setreuid setrlimit \ | 10853 | closefrom \ |
10612 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ | 10854 | dirfd \ |
10613 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ | 10855 | fchmod \ |
10614 | truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ | 10856 | fchown \ |
10857 | freeaddrinfo \ | ||
10858 | futimes \ | ||
10859 | getaddrinfo \ | ||
10860 | getcwd \ | ||
10861 | getgrouplist \ | ||
10862 | getnameinfo \ | ||
10863 | getopt \ | ||
10864 | getpeereid \ | ||
10865 | _getpty \ | ||
10866 | getrlimit \ | ||
10867 | getttyent \ | ||
10868 | glob \ | ||
10869 | inet_aton \ | ||
10870 | inet_ntoa \ | ||
10871 | inet_ntop \ | ||
10872 | innetgr \ | ||
10873 | login_getcapbool \ | ||
10874 | md5_crypt \ | ||
10875 | memmove \ | ||
10876 | mkdtemp \ | ||
10877 | mmap \ | ||
10878 | ngetaddrinfo \ | ||
10879 | nsleep \ | ||
10880 | ogetaddrinfo \ | ||
10881 | openlog_r \ | ||
10882 | openpty \ | ||
10883 | prctl \ | ||
10884 | pstat \ | ||
10885 | readpassphrase \ | ||
10886 | realpath \ | ||
10887 | recvmsg \ | ||
10888 | rresvport_af \ | ||
10889 | sendmsg \ | ||
10890 | setdtablesize \ | ||
10891 | setegid \ | ||
10892 | setenv \ | ||
10893 | seteuid \ | ||
10894 | setgroups \ | ||
10895 | setlogin \ | ||
10896 | setpcred \ | ||
10897 | setproctitle \ | ||
10898 | setregid \ | ||
10899 | setreuid \ | ||
10900 | setrlimit \ | ||
10901 | setsid \ | ||
10902 | setvbuf \ | ||
10903 | sigaction \ | ||
10904 | sigvec \ | ||
10905 | snprintf \ | ||
10906 | socketpair \ | ||
10907 | strdup \ | ||
10908 | strerror \ | ||
10909 | strlcat \ | ||
10910 | strlcpy \ | ||
10911 | strmode \ | ||
10912 | strnvis \ | ||
10913 | strtonum \ | ||
10914 | strtoll \ | ||
10915 | strtoul \ | ||
10916 | sysconf \ | ||
10917 | tcgetpgrp \ | ||
10918 | truncate \ | ||
10919 | unsetenv \ | ||
10920 | updwtmpx \ | ||
10921 | utimes \ | ||
10922 | vhangup \ | ||
10923 | vsnprintf \ | ||
10924 | waitpid \ | ||
10615 | 10925 | ||
10616 | do | 10926 | do |
10617 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10927 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
@@ -11009,9 +11319,9 @@ _ACEOF | |||
11009 | fi | 11319 | fi |
11010 | 11320 | ||
11011 | 11321 | ||
11012 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | 11322 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 |
11013 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 11323 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 |
11014 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 11324 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
11015 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11325 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11016 | else | 11326 | else |
11017 | cat >conftest.$ac_ext <<_ACEOF | 11327 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11024,8 +11334,8 @@ $ac_includes_default | |||
11024 | int | 11334 | int |
11025 | main () | 11335 | main () |
11026 | { | 11336 | { |
11027 | #ifndef strsep | 11337 | #ifndef getrusage |
11028 | char *p = (char *) strsep; | 11338 | char *p = (char *) getrusage; |
11029 | #endif | 11339 | #endif |
11030 | 11340 | ||
11031 | ; | 11341 | ; |
@@ -11054,20 +11364,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
11054 | ac_status=$? | 11364 | ac_status=$? |
11055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11056 | (exit $ac_status); }; }; then | 11366 | (exit $ac_status); }; }; then |
11057 | ac_cv_have_decl_strsep=yes | 11367 | ac_cv_have_decl_getrusage=yes |
11058 | else | 11368 | else |
11059 | echo "$as_me: failed program was:" >&5 | 11369 | echo "$as_me: failed program was:" >&5 |
11060 | sed 's/^/| /' conftest.$ac_ext >&5 | 11370 | sed 's/^/| /' conftest.$ac_ext >&5 |
11061 | 11371 | ||
11062 | ac_cv_have_decl_strsep=no | 11372 | ac_cv_have_decl_getrusage=no |
11063 | fi | 11373 | fi |
11064 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11374 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11065 | fi | 11375 | fi |
11066 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | 11376 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 |
11067 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 11377 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 |
11068 | if test $ac_cv_have_decl_strsep = yes; then | 11378 | if test $ac_cv_have_decl_getrusage = yes; then |
11069 | 11379 | ||
11070 | for ac_func in strsep | 11380 | for ac_func in getrusage |
11071 | do | 11381 | do |
11072 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11382 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11073 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11383 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -11170,9 +11480,9 @@ done | |||
11170 | 11480 | ||
11171 | fi | 11481 | fi |
11172 | 11482 | ||
11173 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 | 11483 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 |
11174 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | 11484 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 |
11175 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 11485 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
11176 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11486 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11177 | else | 11487 | else |
11178 | cat >conftest.$ac_ext <<_ACEOF | 11488 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11181,12 +11491,17 @@ _ACEOF | |||
11181 | cat confdefs.h >>conftest.$ac_ext | 11491 | cat confdefs.h >>conftest.$ac_ext |
11182 | cat >>conftest.$ac_ext <<_ACEOF | 11492 | cat >>conftest.$ac_ext <<_ACEOF |
11183 | /* end confdefs.h. */ | 11493 | /* end confdefs.h. */ |
11184 | $ac_includes_default | 11494 | |
11495 | #ifdef HAVE_STRING_H | ||
11496 | # include <string.h> | ||
11497 | #endif | ||
11498 | |||
11499 | |||
11185 | int | 11500 | int |
11186 | main () | 11501 | main () |
11187 | { | 11502 | { |
11188 | #ifndef getrusage | 11503 | #ifndef strsep |
11189 | char *p = (char *) getrusage; | 11504 | char *p = (char *) strsep; |
11190 | #endif | 11505 | #endif |
11191 | 11506 | ||
11192 | ; | 11507 | ; |
@@ -11215,20 +11530,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
11215 | ac_status=$? | 11530 | ac_status=$? |
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11217 | (exit $ac_status); }; }; then | 11532 | (exit $ac_status); }; }; then |
11218 | ac_cv_have_decl_getrusage=yes | 11533 | ac_cv_have_decl_strsep=yes |
11219 | else | 11534 | else |
11220 | echo "$as_me: failed program was:" >&5 | 11535 | echo "$as_me: failed program was:" >&5 |
11221 | sed 's/^/| /' conftest.$ac_ext >&5 | 11536 | sed 's/^/| /' conftest.$ac_ext >&5 |
11222 | 11537 | ||
11223 | ac_cv_have_decl_getrusage=no | 11538 | ac_cv_have_decl_strsep=no |
11224 | fi | 11539 | fi |
11225 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11540 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11226 | fi | 11541 | fi |
11227 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | 11542 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 |
11228 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | 11543 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 |
11229 | if test $ac_cv_have_decl_getrusage = yes; then | 11544 | if test $ac_cv_have_decl_strsep = yes; then |
11230 | 11545 | ||
11231 | for ac_func in getrusage | 11546 | for ac_func in strsep |
11232 | do | 11547 | do |
11233 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11548 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11234 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11549 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -14302,6 +14617,80 @@ fi | |||
14302 | fi | 14617 | fi |
14303 | 14618 | ||
14304 | 14619 | ||
14620 | echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | ||
14621 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6 | ||
14622 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | ||
14623 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14624 | else | ||
14625 | ac_check_lib_save_LIBS=$LIBS | ||
14626 | LIBS="-liaf $LIBS" | ||
14627 | cat >conftest.$ac_ext <<_ACEOF | ||
14628 | /* confdefs.h. */ | ||
14629 | _ACEOF | ||
14630 | cat confdefs.h >>conftest.$ac_ext | ||
14631 | cat >>conftest.$ac_ext <<_ACEOF | ||
14632 | /* end confdefs.h. */ | ||
14633 | |||
14634 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14635 | #ifdef __cplusplus | ||
14636 | extern "C" | ||
14637 | #endif | ||
14638 | /* We use char because int might match the return type of a gcc2 | ||
14639 | builtin and then its argument prototype would still apply. */ | ||
14640 | char ia_openinfo (); | ||
14641 | int | ||
14642 | main () | ||
14643 | { | ||
14644 | ia_openinfo (); | ||
14645 | ; | ||
14646 | return 0; | ||
14647 | } | ||
14648 | _ACEOF | ||
14649 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14650 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14651 | (eval $ac_link) 2>conftest.er1 | ||
14652 | ac_status=$? | ||
14653 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14654 | rm -f conftest.er1 | ||
14655 | cat conftest.err >&5 | ||
14656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14657 | (exit $ac_status); } && | ||
14658 | { ac_try='test -z "$ac_c_werror_flag" | ||
14659 | || test ! -s conftest.err' | ||
14660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14661 | (eval $ac_try) 2>&5 | ||
14662 | ac_status=$? | ||
14663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14664 | (exit $ac_status); }; } && | ||
14665 | { ac_try='test -s conftest$ac_exeext' | ||
14666 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14667 | (eval $ac_try) 2>&5 | ||
14668 | ac_status=$? | ||
14669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14670 | (exit $ac_status); }; }; then | ||
14671 | ac_cv_lib_iaf_ia_openinfo=yes | ||
14672 | else | ||
14673 | echo "$as_me: failed program was:" >&5 | ||
14674 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14675 | |||
14676 | ac_cv_lib_iaf_ia_openinfo=no | ||
14677 | fi | ||
14678 | rm -f conftest.err conftest.$ac_objext \ | ||
14679 | conftest$ac_exeext conftest.$ac_ext | ||
14680 | LIBS=$ac_check_lib_save_LIBS | ||
14681 | fi | ||
14682 | echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | ||
14683 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6 | ||
14684 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | ||
14685 | cat >>confdefs.h <<_ACEOF | ||
14686 | #define HAVE_LIBIAF 1 | ||
14687 | _ACEOF | ||
14688 | |||
14689 | LIBS="-liaf $LIBS" | ||
14690 | |||
14691 | fi | ||
14692 | |||
14693 | |||
14305 | ### Configure cryptographic random number support | 14694 | ### Configure cryptographic random number support |
14306 | 14695 | ||
14307 | # Check wheter OpenSSL seeds itself | 14696 | # Check wheter OpenSSL seeds itself |
@@ -21183,9 +21572,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
21183 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21572 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21184 | ( | 21573 | ( |
21185 | cat <<\_ASBOX | 21574 | cat <<\_ASBOX |
21186 | ## ---------------------------------- ## | 21575 | ## ------------------------------------------- ## |
21187 | ## Report this to the OpenSSH lists. ## | 21576 | ## Report this to openssh-unix-dev@mindrot.org ## |
21188 | ## ---------------------------------- ## | 21577 | ## ------------------------------------------- ## |
21189 | _ASBOX | 21578 | _ASBOX |
21190 | ) | | 21579 | ) | |
21191 | sed "s/^/$as_me: WARNING: /" >&2 | 21580 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -21974,6 +22363,152 @@ _ACEOF | |||
21974 | fi | 22363 | fi |
21975 | done | 22364 | done |
21976 | 22365 | ||
22366 | echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 | ||
22367 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6 | ||
22368 | if test "${ac_cv_have_decl__getshort+set}" = set; then | ||
22369 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22370 | else | ||
22371 | cat >conftest.$ac_ext <<_ACEOF | ||
22372 | /* confdefs.h. */ | ||
22373 | _ACEOF | ||
22374 | cat confdefs.h >>conftest.$ac_ext | ||
22375 | cat >>conftest.$ac_ext <<_ACEOF | ||
22376 | /* end confdefs.h. */ | ||
22377 | #include <sys/types.h> | ||
22378 | #include <arpa/nameser.h> | ||
22379 | |||
22380 | int | ||
22381 | main () | ||
22382 | { | ||
22383 | #ifndef _getshort | ||
22384 | char *p = (char *) _getshort; | ||
22385 | #endif | ||
22386 | |||
22387 | ; | ||
22388 | return 0; | ||
22389 | } | ||
22390 | _ACEOF | ||
22391 | rm -f conftest.$ac_objext | ||
22392 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
22393 | (eval $ac_compile) 2>conftest.er1 | ||
22394 | ac_status=$? | ||
22395 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22396 | rm -f conftest.er1 | ||
22397 | cat conftest.err >&5 | ||
22398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22399 | (exit $ac_status); } && | ||
22400 | { ac_try='test -z "$ac_c_werror_flag" | ||
22401 | || test ! -s conftest.err' | ||
22402 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22403 | (eval $ac_try) 2>&5 | ||
22404 | ac_status=$? | ||
22405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22406 | (exit $ac_status); }; } && | ||
22407 | { ac_try='test -s conftest.$ac_objext' | ||
22408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22409 | (eval $ac_try) 2>&5 | ||
22410 | ac_status=$? | ||
22411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22412 | (exit $ac_status); }; }; then | ||
22413 | ac_cv_have_decl__getshort=yes | ||
22414 | else | ||
22415 | echo "$as_me: failed program was:" >&5 | ||
22416 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22417 | |||
22418 | ac_cv_have_decl__getshort=no | ||
22419 | fi | ||
22420 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22421 | fi | ||
22422 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 | ||
22423 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6 | ||
22424 | if test $ac_cv_have_decl__getshort = yes; then | ||
22425 | |||
22426 | cat >>confdefs.h <<_ACEOF | ||
22427 | #define HAVE_DECL__GETSHORT 1 | ||
22428 | _ACEOF | ||
22429 | |||
22430 | |||
22431 | else | ||
22432 | cat >>confdefs.h <<_ACEOF | ||
22433 | #define HAVE_DECL__GETSHORT 0 | ||
22434 | _ACEOF | ||
22435 | |||
22436 | |||
22437 | fi | ||
22438 | echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | ||
22439 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6 | ||
22440 | if test "${ac_cv_have_decl__getlong+set}" = set; then | ||
22441 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22442 | else | ||
22443 | cat >conftest.$ac_ext <<_ACEOF | ||
22444 | /* confdefs.h. */ | ||
22445 | _ACEOF | ||
22446 | cat confdefs.h >>conftest.$ac_ext | ||
22447 | cat >>conftest.$ac_ext <<_ACEOF | ||
22448 | /* end confdefs.h. */ | ||
22449 | #include <sys/types.h> | ||
22450 | #include <arpa/nameser.h> | ||
22451 | |||
22452 | int | ||
22453 | main () | ||
22454 | { | ||
22455 | #ifndef _getlong | ||
22456 | char *p = (char *) _getlong; | ||
22457 | #endif | ||
22458 | |||
22459 | ; | ||
22460 | return 0; | ||
22461 | } | ||
22462 | _ACEOF | ||
22463 | rm -f conftest.$ac_objext | ||
22464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
22465 | (eval $ac_compile) 2>conftest.er1 | ||
22466 | ac_status=$? | ||
22467 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22468 | rm -f conftest.er1 | ||
22469 | cat conftest.err >&5 | ||
22470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22471 | (exit $ac_status); } && | ||
22472 | { ac_try='test -z "$ac_c_werror_flag" | ||
22473 | || test ! -s conftest.err' | ||
22474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22475 | (eval $ac_try) 2>&5 | ||
22476 | ac_status=$? | ||
22477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22478 | (exit $ac_status); }; } && | ||
22479 | { ac_try='test -s conftest.$ac_objext' | ||
22480 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22481 | (eval $ac_try) 2>&5 | ||
22482 | ac_status=$? | ||
22483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22484 | (exit $ac_status); }; }; then | ||
22485 | ac_cv_have_decl__getlong=yes | ||
22486 | else | ||
22487 | echo "$as_me: failed program was:" >&5 | ||
22488 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22489 | |||
22490 | ac_cv_have_decl__getlong=no | ||
22491 | fi | ||
22492 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22493 | fi | ||
22494 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 | ||
22495 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6 | ||
22496 | if test $ac_cv_have_decl__getlong = yes; then | ||
22497 | |||
22498 | cat >>confdefs.h <<_ACEOF | ||
22499 | #define HAVE_DECL__GETLONG 1 | ||
22500 | _ACEOF | ||
22501 | |||
22502 | |||
22503 | else | ||
22504 | cat >>confdefs.h <<_ACEOF | ||
22505 | #define HAVE_DECL__GETLONG 0 | ||
22506 | _ACEOF | ||
22507 | |||
22508 | |||
22509 | fi | ||
22510 | |||
22511 | |||
21977 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | 22512 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 |
21978 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | 22513 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 |
21979 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 22514 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
@@ -22713,9 +23248,9 @@ echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2; | |||
22713 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | 23248 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} |
22714 | ( | 23249 | ( |
22715 | cat <<\_ASBOX | 23250 | cat <<\_ASBOX |
22716 | ## ---------------------------------- ## | 23251 | ## ------------------------------------------- ## |
22717 | ## Report this to the OpenSSH lists. ## | 23252 | ## Report this to openssh-unix-dev@mindrot.org ## |
22718 | ## ---------------------------------- ## | 23253 | ## ------------------------------------------- ## |
22719 | _ASBOX | 23254 | _ASBOX |
22720 | ) | | 23255 | ) | |
22721 | sed "s/^/$as_me: WARNING: /" >&2 | 23256 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22859,9 +23394,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
22859 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23394 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22860 | ( | 23395 | ( |
22861 | cat <<\_ASBOX | 23396 | cat <<\_ASBOX |
22862 | ## ---------------------------------- ## | 23397 | ## ------------------------------------------- ## |
22863 | ## Report this to the OpenSSH lists. ## | 23398 | ## Report this to openssh-unix-dev@mindrot.org ## |
22864 | ## ---------------------------------- ## | 23399 | ## ------------------------------------------- ## |
22865 | _ASBOX | 23400 | _ASBOX |
22866 | ) | | 23401 | ) | |
22867 | sed "s/^/$as_me: WARNING: /" >&2 | 23402 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23017,9 +23552,9 @@ echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" | |||
23017 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | 23552 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} |
23018 | ( | 23553 | ( |
23019 | cat <<\_ASBOX | 23554 | cat <<\_ASBOX |
23020 | ## ---------------------------------- ## | 23555 | ## ------------------------------------------- ## |
23021 | ## Report this to the OpenSSH lists. ## | 23556 | ## Report this to openssh-unix-dev@mindrot.org ## |
23022 | ## ---------------------------------- ## | 23557 | ## ------------------------------------------- ## |
23023 | _ASBOX | 23558 | _ASBOX |
23024 | ) | | 23559 | ) | |
23025 | sed "s/^/$as_me: WARNING: /" >&2 | 23560 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23176,9 +23711,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23176 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23711 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23177 | ( | 23712 | ( |
23178 | cat <<\_ASBOX | 23713 | cat <<\_ASBOX |
23179 | ## ---------------------------------- ## | 23714 | ## ------------------------------------------- ## |
23180 | ## Report this to the OpenSSH lists. ## | 23715 | ## Report this to openssh-unix-dev@mindrot.org ## |
23181 | ## ---------------------------------- ## | 23716 | ## ------------------------------------------- ## |
23182 | _ASBOX | 23717 | _ASBOX |
23183 | ) | | 23718 | ) | |
23184 | sed "s/^/$as_me: WARNING: /" >&2 | 23719 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23327,9 +23862,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23327 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23862 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23328 | ( | 23863 | ( |
23329 | cat <<\_ASBOX | 23864 | cat <<\_ASBOX |
23330 | ## ---------------------------------- ## | 23865 | ## ------------------------------------------- ## |
23331 | ## Report this to the OpenSSH lists. ## | 23866 | ## Report this to openssh-unix-dev@mindrot.org ## |
23332 | ## ---------------------------------- ## | 23867 | ## ------------------------------------------- ## |
23333 | _ASBOX | 23868 | _ASBOX |
23334 | ) | | 23869 | ) | |
23335 | sed "s/^/$as_me: WARNING: /" >&2 | 23870 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23478,9 +24013,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23478 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 24013 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23479 | ( | 24014 | ( |
23480 | cat <<\_ASBOX | 24015 | cat <<\_ASBOX |
23481 | ## ---------------------------------- ## | 24016 | ## ------------------------------------------- ## |
23482 | ## Report this to the OpenSSH lists. ## | 24017 | ## Report this to openssh-unix-dev@mindrot.org ## |
23483 | ## ---------------------------------- ## | 24018 | ## ------------------------------------------- ## |
23484 | _ASBOX | 24019 | _ASBOX |
23485 | ) | | 24020 | ) | |
23486 | sed "s/^/$as_me: WARNING: /" >&2 | 24021 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23637,135 +24172,6 @@ _ACEOF | |||
23637 | 24172 | ||
23638 | fi | 24173 | fi |
23639 | 24174 | ||
23640 | echo "$as_me:$LINENO: checking for library containing krb5_init_ets" >&5 | ||
23641 | echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6 | ||
23642 | if test "${ac_cv_search_krb5_init_ets+set}" = set; then | ||
23643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23644 | else | ||
23645 | ac_func_search_save_LIBS=$LIBS | ||
23646 | ac_cv_search_krb5_init_ets=no | ||
23647 | cat >conftest.$ac_ext <<_ACEOF | ||
23648 | /* confdefs.h. */ | ||
23649 | _ACEOF | ||
23650 | cat confdefs.h >>conftest.$ac_ext | ||
23651 | cat >>conftest.$ac_ext <<_ACEOF | ||
23652 | /* end confdefs.h. */ | ||
23653 | |||
23654 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23655 | #ifdef __cplusplus | ||
23656 | extern "C" | ||
23657 | #endif | ||
23658 | /* We use char because int might match the return type of a gcc2 | ||
23659 | builtin and then its argument prototype would still apply. */ | ||
23660 | char krb5_init_ets (); | ||
23661 | int | ||
23662 | main () | ||
23663 | { | ||
23664 | krb5_init_ets (); | ||
23665 | ; | ||
23666 | return 0; | ||
23667 | } | ||
23668 | _ACEOF | ||
23669 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23670 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23671 | (eval $ac_link) 2>conftest.er1 | ||
23672 | ac_status=$? | ||
23673 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23674 | rm -f conftest.er1 | ||
23675 | cat conftest.err >&5 | ||
23676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23677 | (exit $ac_status); } && | ||
23678 | { ac_try='test -z "$ac_c_werror_flag" | ||
23679 | || test ! -s conftest.err' | ||
23680 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23681 | (eval $ac_try) 2>&5 | ||
23682 | ac_status=$? | ||
23683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23684 | (exit $ac_status); }; } && | ||
23685 | { ac_try='test -s conftest$ac_exeext' | ||
23686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23687 | (eval $ac_try) 2>&5 | ||
23688 | ac_status=$? | ||
23689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23690 | (exit $ac_status); }; }; then | ||
23691 | ac_cv_search_krb5_init_ets="none required" | ||
23692 | else | ||
23693 | echo "$as_me: failed program was:" >&5 | ||
23694 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23695 | |||
23696 | fi | ||
23697 | rm -f conftest.err conftest.$ac_objext \ | ||
23698 | conftest$ac_exeext conftest.$ac_ext | ||
23699 | if test "$ac_cv_search_krb5_init_ets" = no; then | ||
23700 | for ac_lib in $K5LIBS; do | ||
23701 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23702 | cat >conftest.$ac_ext <<_ACEOF | ||
23703 | /* confdefs.h. */ | ||
23704 | _ACEOF | ||
23705 | cat confdefs.h >>conftest.$ac_ext | ||
23706 | cat >>conftest.$ac_ext <<_ACEOF | ||
23707 | /* end confdefs.h. */ | ||
23708 | |||
23709 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23710 | #ifdef __cplusplus | ||
23711 | extern "C" | ||
23712 | #endif | ||
23713 | /* We use char because int might match the return type of a gcc2 | ||
23714 | builtin and then its argument prototype would still apply. */ | ||
23715 | char krb5_init_ets (); | ||
23716 | int | ||
23717 | main () | ||
23718 | { | ||
23719 | krb5_init_ets (); | ||
23720 | ; | ||
23721 | return 0; | ||
23722 | } | ||
23723 | _ACEOF | ||
23724 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23725 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23726 | (eval $ac_link) 2>conftest.er1 | ||
23727 | ac_status=$? | ||
23728 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23729 | rm -f conftest.er1 | ||
23730 | cat conftest.err >&5 | ||
23731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23732 | (exit $ac_status); } && | ||
23733 | { ac_try='test -z "$ac_c_werror_flag" | ||
23734 | || test ! -s conftest.err' | ||
23735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23736 | (eval $ac_try) 2>&5 | ||
23737 | ac_status=$? | ||
23738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23739 | (exit $ac_status); }; } && | ||
23740 | { ac_try='test -s conftest$ac_exeext' | ||
23741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23742 | (eval $ac_try) 2>&5 | ||
23743 | ac_status=$? | ||
23744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23745 | (exit $ac_status); }; }; then | ||
23746 | ac_cv_search_krb5_init_ets="-l$ac_lib" | ||
23747 | break | ||
23748 | else | ||
23749 | echo "$as_me: failed program was:" >&5 | ||
23750 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23751 | |||
23752 | fi | ||
23753 | rm -f conftest.err conftest.$ac_objext \ | ||
23754 | conftest$ac_exeext conftest.$ac_ext | ||
23755 | done | ||
23756 | fi | ||
23757 | LIBS=$ac_func_search_save_LIBS | ||
23758 | fi | ||
23759 | echo "$as_me:$LINENO: result: $ac_cv_search_krb5_init_ets" >&5 | ||
23760 | echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6 | ||
23761 | if test "$ac_cv_search_krb5_init_ets" != no; then | ||
23762 | test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS" | ||
23763 | cat >>confdefs.h <<\_ACEOF | ||
23764 | #define KRB5_INIT_ETS 1 | ||
23765 | _ACEOF | ||
23766 | |||
23767 | fi | ||
23768 | |||
23769 | 24175 | ||
23770 | 24176 | ||
23771 | fi; | 24177 | fi; |
@@ -25054,6 +25460,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | |||
25054 | LIBS=`echo $LIBS | sed 's/-ldl //'` | 25460 | LIBS=`echo $LIBS | sed 's/-ldl //'` |
25055 | fi | 25461 | fi |
25056 | 25462 | ||
25463 | CFLAGS="$CFLAGS $werror_flags" | ||
25464 | |||
25057 | 25465 | ||
25058 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" | 25466 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" |
25059 | 25467 | ||
@@ -25413,9 +25821,9 @@ exec 6>&1 | |||
25413 | exec 5>>config.log | 25821 | exec 5>>config.log |
25414 | { | 25822 | { |
25415 | echo | 25823 | echo |
25416 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 25824 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<BOXI_EOF |
25417 | ## Running $as_me. ## | 25825 | ## Running $as_me. ## |
25418 | _ASBOX | 25826 | BOXI_EOF |
25419 | } >&5 | 25827 | } >&5 |
25420 | cat >&5 <<_CSEOF | 25828 | cat >&5 <<_CSEOF |
25421 | 25829 | ||