diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1286 |
1 files changed, 846 insertions, 440 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) |
@@ -909,6 +912,7 @@ Some influential environment variables: | |||
909 | Use these variables to override the choices made by `configure' or to help | 912 | Use these variables to override the choices made by `configure' or to help |
910 | it to find libraries and programs with nonstandard names/locations. | 913 | it to find libraries and programs with nonstandard names/locations. |
911 | 914 | ||
915 | Report bugs to <openssh-unix-dev@mindrot.org>. | ||
912 | _ACEOF | 916 | _ACEOF |
913 | fi | 917 | fi |
914 | 918 | ||
@@ -4083,8 +4087,251 @@ _ACEOF | |||
4083 | ;; | 4087 | ;; |
4084 | esac | 4088 | esac |
4085 | 4089 | ||
4090 | |||
4091 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | ||
4092 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | ||
4093 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
4094 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4095 | else | ||
4096 | cat >conftest.$ac_ext <<_ACEOF | ||
4097 | /* confdefs.h. */ | ||
4098 | _ACEOF | ||
4099 | cat confdefs.h >>conftest.$ac_ext | ||
4100 | cat >>conftest.$ac_ext <<_ACEOF | ||
4101 | /* end confdefs.h. */ | ||
4102 | #include <limits.h> | ||
4103 | |||
4104 | int | ||
4105 | main () | ||
4106 | { | ||
4107 | #ifndef LLONG_MAX | ||
4108 | char *p = (char *) LLONG_MAX; | ||
4109 | #endif | ||
4110 | |||
4111 | ; | ||
4112 | return 0; | ||
4113 | } | ||
4114 | _ACEOF | ||
4115 | rm -f conftest.$ac_objext | ||
4116 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4117 | (eval $ac_compile) 2>conftest.er1 | ||
4118 | ac_status=$? | ||
4119 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4120 | rm -f conftest.er1 | ||
4121 | cat conftest.err >&5 | ||
4122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4123 | (exit $ac_status); } && | ||
4124 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
4125 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4126 | (eval $ac_try) 2>&5 | ||
4127 | ac_status=$? | ||
4128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4129 | (exit $ac_status); }; } && | ||
4130 | { ac_try='test -s conftest.$ac_objext' | ||
4131 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4132 | (eval $ac_try) 2>&5 | ||
4133 | ac_status=$? | ||
4134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4135 | (exit $ac_status); }; }; then | ||
4136 | ac_cv_have_decl_LLONG_MAX=yes | ||
4137 | else | ||
4138 | echo "$as_me: failed program was:" >&5 | ||
4139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4140 | |||
4141 | ac_cv_have_decl_LLONG_MAX=no | ||
4142 | fi | ||
4143 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4144 | fi | ||
4145 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
4146 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | ||
4147 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
4148 | have_llong_max=1 | ||
4149 | fi | ||
4150 | |||
4151 | |||
4086 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 4152 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
4087 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" | 4153 | CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" |
4154 | GCC_VER=`$CC --version` | ||
4155 | case $GCC_VER in | ||
4156 | 1.*) ;; | ||
4157 | 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" ;; | ||
4158 | 2.*) ;; | ||
4159 | *) CFLAGS="$CFLAGS -Wsign-compare" ;; | ||
4160 | esac | ||
4161 | |||
4162 | if test -z "$have_llong_max"; then | ||
4163 | # retry LLONG_MAX with -std=gnu99, needed on some Linuxes | ||
4164 | unset ac_cv_have_decl_LLONG_MAX | ||
4165 | saved_CFLAGS="$CFLAGS" | ||
4166 | CFLAGS="$CFLAGS -std=gnu99" | ||
4167 | echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | ||
4168 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6 | ||
4169 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
4170 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4171 | else | ||
4172 | cat >conftest.$ac_ext <<_ACEOF | ||
4173 | /* confdefs.h. */ | ||
4174 | _ACEOF | ||
4175 | cat confdefs.h >>conftest.$ac_ext | ||
4176 | cat >>conftest.$ac_ext <<_ACEOF | ||
4177 | /* end confdefs.h. */ | ||
4178 | #include <limits.h> | ||
4179 | |||
4180 | |||
4181 | int | ||
4182 | main () | ||
4183 | { | ||
4184 | #ifndef LLONG_MAX | ||
4185 | char *p = (char *) LLONG_MAX; | ||
4186 | #endif | ||
4187 | |||
4188 | ; | ||
4189 | return 0; | ||
4190 | } | ||
4191 | _ACEOF | ||
4192 | rm -f conftest.$ac_objext | ||
4193 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4194 | (eval $ac_compile) 2>conftest.er1 | ||
4195 | ac_status=$? | ||
4196 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4197 | rm -f conftest.er1 | ||
4198 | cat conftest.err >&5 | ||
4199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4200 | (exit $ac_status); } && | ||
4201 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
4202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4203 | (eval $ac_try) 2>&5 | ||
4204 | ac_status=$? | ||
4205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4206 | (exit $ac_status); }; } && | ||
4207 | { ac_try='test -s conftest.$ac_objext' | ||
4208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4209 | (eval $ac_try) 2>&5 | ||
4210 | ac_status=$? | ||
4211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4212 | (exit $ac_status); }; }; then | ||
4213 | ac_cv_have_decl_LLONG_MAX=yes | ||
4214 | else | ||
4215 | echo "$as_me: failed program was:" >&5 | ||
4216 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4217 | |||
4218 | ac_cv_have_decl_LLONG_MAX=no | ||
4219 | fi | ||
4220 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4221 | fi | ||
4222 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
4223 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6 | ||
4224 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
4225 | have_llong_max=1 | ||
4226 | else | ||
4227 | CFLAGS="$saved_CFLAGS" | ||
4228 | fi | ||
4229 | |||
4230 | fi | ||
4231 | fi | ||
4232 | |||
4233 | if test -z "$have_llong_max"; then | ||
4234 | echo "$as_me:$LINENO: checking for max value of long long" >&5 | ||
4235 | echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6 | ||
4236 | if test "$cross_compiling" = yes; then | ||
4237 | |||
4238 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | ||
4239 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
4240 | |||
4241 | |||
4242 | else | ||
4243 | cat >conftest.$ac_ext <<_ACEOF | ||
4244 | /* confdefs.h. */ | ||
4245 | _ACEOF | ||
4246 | cat confdefs.h >>conftest.$ac_ext | ||
4247 | cat >>conftest.$ac_ext <<_ACEOF | ||
4248 | /* end confdefs.h. */ | ||
4249 | |||
4250 | #include <stdio.h> | ||
4251 | /* Why is this so damn hard? */ | ||
4252 | #ifdef __GNUC__ | ||
4253 | # undef __GNUC__ | ||
4254 | #endif | ||
4255 | #define __USE_ISOC99 | ||
4256 | #include <limits.h> | ||
4257 | #define DATA "conftest.llminmax" | ||
4258 | int main(void) { | ||
4259 | FILE *f; | ||
4260 | long long i, llmin, llmax = 0; | ||
4261 | |||
4262 | if((f = fopen(DATA,"w")) == NULL) | ||
4263 | exit(1); | ||
4264 | |||
4265 | #if defined(LLONG_MIN) && defined(LLONG_MAX) | ||
4266 | fprintf(stderr, "Using system header for LLONG_MIN and LLONG_MAX\n"); | ||
4267 | llmin = LLONG_MIN; | ||
4268 | llmax = LLONG_MAX; | ||
4269 | #else | ||
4270 | fprintf(stderr, "Calculating LLONG_MIN and LLONG_MAX\n"); | ||
4271 | /* This will work on one's complement and two's complement */ | ||
4272 | for (i = 1; i > llmax; i <<= 1, i++) | ||
4273 | llmax = i; | ||
4274 | llmin = llmax + 1LL; /* wrap */ | ||
4275 | #endif | ||
4276 | |||
4277 | /* Sanity check */ | ||
4278 | if (llmin + 1 < llmin || llmin - 1 < llmin || llmax + 1 > llmax | ||
4279 | || llmax - 1 > llmax) { | ||
4280 | fprintf(f, "unknown unknown\n"); | ||
4281 | exit(2); | ||
4282 | } | ||
4283 | |||
4284 | if (fprintf(f ,"%lld %lld", llmin, llmax) < 0) | ||
4285 | exit(3); | ||
4286 | |||
4287 | exit(0); | ||
4288 | } | ||
4289 | |||
4290 | _ACEOF | ||
4291 | rm -f conftest$ac_exeext | ||
4292 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4293 | (eval $ac_link) 2>&5 | ||
4294 | ac_status=$? | ||
4295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4296 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
4297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4298 | (eval $ac_try) 2>&5 | ||
4299 | ac_status=$? | ||
4300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4301 | (exit $ac_status); }; }; then | ||
4302 | |||
4303 | llong_min=`$AWK '{print $1}' conftest.llminmax` | ||
4304 | llong_max=`$AWK '{print $2}' conftest.llminmax` | ||
4305 | echo "$as_me:$LINENO: result: $llong_max" >&5 | ||
4306 | echo "${ECHO_T}$llong_max" >&6 | ||
4307 | |||
4308 | cat >>confdefs.h <<_ACEOF | ||
4309 | #define LLONG_MAX ${llong_max}LL | ||
4310 | _ACEOF | ||
4311 | |||
4312 | echo "$as_me:$LINENO: checking for min value of long long" >&5 | ||
4313 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6 | ||
4314 | echo "$as_me:$LINENO: result: $llong_min" >&5 | ||
4315 | echo "${ECHO_T}$llong_min" >&6 | ||
4316 | |||
4317 | cat >>confdefs.h <<_ACEOF | ||
4318 | #define LLONG_MIN ${llong_min}LL | ||
4319 | _ACEOF | ||
4320 | |||
4321 | |||
4322 | else | ||
4323 | echo "$as_me: program exited with status $ac_status" >&5 | ||
4324 | echo "$as_me: failed program was:" >&5 | ||
4325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4326 | |||
4327 | ( exit $ac_status ) | ||
4328 | |||
4329 | echo "$as_me:$LINENO: result: not found" >&5 | ||
4330 | echo "${ECHO_T}not found" >&6 | ||
4331 | |||
4332 | fi | ||
4333 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
4334 | fi | ||
4088 | fi | 4335 | fi |
4089 | 4336 | ||
4090 | 4337 | ||
@@ -5064,120 +5311,8 @@ _ACEOF | |||
5064 | _ACEOF | 5311 | _ACEOF |
5065 | 5312 | ||
5066 | ;; | 5313 | ;; |
5067 | *-*-hpux10.26) | 5314 | *-*-hpux*) |
5068 | if test -z "$GCC"; then | 5315 | # first we define all of the options common to all HP-UX releases |
5069 | CFLAGS="$CFLAGS -Ae" | ||
5070 | fi | ||
5071 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5072 | IPADDR_IN_DISPLAY=yes | ||
5073 | cat >>confdefs.h <<\_ACEOF | ||
5074 | #define HAVE_SECUREWARE 1 | ||
5075 | _ACEOF | ||
5076 | |||
5077 | cat >>confdefs.h <<\_ACEOF | ||
5078 | #define USE_PIPES 1 | ||
5079 | _ACEOF | ||
5080 | |||
5081 | cat >>confdefs.h <<\_ACEOF | ||
5082 | #define LOGIN_NO_ENDOPT 1 | ||
5083 | _ACEOF | ||
5084 | |||
5085 | cat >>confdefs.h <<\_ACEOF | ||
5086 | #define LOGIN_NEEDS_UTMPX 1 | ||
5087 | _ACEOF | ||
5088 | |||
5089 | cat >>confdefs.h <<\_ACEOF | ||
5090 | #define LOCKED_PASSWD_STRING "*" | ||
5091 | _ACEOF | ||
5092 | |||
5093 | cat >>confdefs.h <<\_ACEOF | ||
5094 | #define SPT_TYPE SPT_PSTAT | ||
5095 | _ACEOF | ||
5096 | |||
5097 | LIBS="$LIBS -lsec -lsecpw" | ||
5098 | |||
5099 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5100 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5101 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5102 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5103 | else | ||
5104 | ac_check_lib_save_LIBS=$LIBS | ||
5105 | LIBS="-lxnet $LIBS" | ||
5106 | cat >conftest.$ac_ext <<_ACEOF | ||
5107 | /* confdefs.h. */ | ||
5108 | _ACEOF | ||
5109 | cat confdefs.h >>conftest.$ac_ext | ||
5110 | cat >>conftest.$ac_ext <<_ACEOF | ||
5111 | /* end confdefs.h. */ | ||
5112 | |||
5113 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5114 | #ifdef __cplusplus | ||
5115 | extern "C" | ||
5116 | #endif | ||
5117 | /* We use char because int might match the return type of a gcc2 | ||
5118 | builtin and then its argument prototype would still apply. */ | ||
5119 | char t_error (); | ||
5120 | int | ||
5121 | main () | ||
5122 | { | ||
5123 | t_error (); | ||
5124 | ; | ||
5125 | return 0; | ||
5126 | } | ||
5127 | _ACEOF | ||
5128 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5129 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5130 | (eval $ac_link) 2>conftest.er1 | ||
5131 | ac_status=$? | ||
5132 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5133 | rm -f conftest.er1 | ||
5134 | cat conftest.err >&5 | ||
5135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5136 | (exit $ac_status); } && | ||
5137 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
5138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5139 | (eval $ac_try) 2>&5 | ||
5140 | ac_status=$? | ||
5141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5142 | (exit $ac_status); }; } && | ||
5143 | { ac_try='test -s conftest$ac_exeext' | ||
5144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5145 | (eval $ac_try) 2>&5 | ||
5146 | ac_status=$? | ||
5147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5148 | (exit $ac_status); }; }; then | ||
5149 | ac_cv_lib_xnet_t_error=yes | ||
5150 | else | ||
5151 | echo "$as_me: failed program was:" >&5 | ||
5152 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5153 | |||
5154 | ac_cv_lib_xnet_t_error=no | ||
5155 | fi | ||
5156 | rm -f conftest.err conftest.$ac_objext \ | ||
5157 | conftest$ac_exeext conftest.$ac_ext | ||
5158 | LIBS=$ac_check_lib_save_LIBS | ||
5159 | fi | ||
5160 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5161 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5162 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5163 | cat >>confdefs.h <<_ACEOF | ||
5164 | #define HAVE_LIBXNET 1 | ||
5165 | _ACEOF | ||
5166 | |||
5167 | LIBS="-lxnet $LIBS" | ||
5168 | |||
5169 | else | ||
5170 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
5171 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5172 | { (exit 1); exit 1; }; } | ||
5173 | fi | ||
5174 | |||
5175 | disable_ptmx_check=yes | ||
5176 | ;; | ||
5177 | *-*-hpux10*) | ||
5178 | if test -z "$GCC"; then | ||
5179 | CFLAGS="$CFLAGS -Ae" | ||
5180 | fi | ||
5181 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 5316 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
5182 | IPADDR_IN_DISPLAY=yes | 5317 | IPADDR_IN_DISPLAY=yes |
5183 | cat >>confdefs.h <<\_ACEOF | 5318 | cat >>confdefs.h <<\_ACEOF |
@@ -5278,123 +5413,44 @@ echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | |||
5278 | { (exit 1); exit 1; }; } | 5413 | { (exit 1); exit 1; }; } |
5279 | fi | 5414 | fi |
5280 | 5415 | ||
5281 | ;; | ||
5282 | *-*-hpux11*) | ||
5283 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5284 | IPADDR_IN_DISPLAY=yes | ||
5285 | cat >>confdefs.h <<\_ACEOF | ||
5286 | #define PAM_SUN_CODEBASE 1 | ||
5287 | _ACEOF | ||
5288 | |||
5289 | cat >>confdefs.h <<\_ACEOF | ||
5290 | #define USE_PIPES 1 | ||
5291 | _ACEOF | ||
5292 | |||
5293 | cat >>confdefs.h <<\_ACEOF | ||
5294 | #define LOGIN_NO_ENDOPT 1 | ||
5295 | _ACEOF | ||
5296 | 5416 | ||
5297 | cat >>confdefs.h <<\_ACEOF | 5417 | # next, we define all of the options specific to major releases |
5298 | #define LOGIN_NEEDS_UTMPX 1 | 5418 | case "$host" in |
5419 | *-*-hpux10*) | ||
5420 | if test -z "$GCC"; then | ||
5421 | CFLAGS="$CFLAGS -Ae" | ||
5422 | fi | ||
5423 | ;; | ||
5424 | *-*-hpux11*) | ||
5425 | cat >>confdefs.h <<\_ACEOF | ||
5426 | #define PAM_SUN_CODEBASE 1 | ||
5299 | _ACEOF | 5427 | _ACEOF |
5300 | 5428 | ||
5301 | cat >>confdefs.h <<\_ACEOF | 5429 | cat >>confdefs.h <<\_ACEOF |
5302 | #define DISABLE_UTMP 1 | 5430 | #define DISABLE_UTMP 1 |
5303 | _ACEOF | 5431 | _ACEOF |
5304 | 5432 | ||
5305 | cat >>confdefs.h <<\_ACEOF | ||
5306 | #define LOCKED_PASSWD_STRING "*" | ||
5307 | _ACEOF | ||
5308 | |||
5309 | cat >>confdefs.h <<\_ACEOF | ||
5310 | #define SPT_TYPE SPT_PSTAT | ||
5311 | _ACEOF | ||
5312 | |||
5313 | 5433 | ||
5314 | cat >>confdefs.h <<\_ACEOF | 5434 | cat >>confdefs.h <<\_ACEOF |
5315 | #define USE_BTMP 1 | 5435 | #define USE_BTMP 1 |
5316 | _ACEOF | 5436 | _ACEOF |
5317 | 5437 | ||
5318 | check_for_hpux_broken_getaddrinfo=1 | 5438 | check_for_hpux_broken_getaddrinfo=1 |
5319 | check_for_conflicting_getspnam=1 | 5439 | check_for_conflicting_getspnam=1 |
5320 | LIBS="$LIBS -lsec" | 5440 | ;; |
5321 | 5441 | esac | |
5322 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5323 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5324 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5325 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5326 | else | ||
5327 | ac_check_lib_save_LIBS=$LIBS | ||
5328 | LIBS="-lxnet $LIBS" | ||
5329 | cat >conftest.$ac_ext <<_ACEOF | ||
5330 | /* confdefs.h. */ | ||
5331 | _ACEOF | ||
5332 | cat confdefs.h >>conftest.$ac_ext | ||
5333 | cat >>conftest.$ac_ext <<_ACEOF | ||
5334 | /* end confdefs.h. */ | ||
5335 | |||
5336 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5337 | #ifdef __cplusplus | ||
5338 | extern "C" | ||
5339 | #endif | ||
5340 | /* We use char because int might match the return type of a gcc2 | ||
5341 | builtin and then its argument prototype would still apply. */ | ||
5342 | char t_error (); | ||
5343 | int | ||
5344 | main () | ||
5345 | { | ||
5346 | t_error (); | ||
5347 | ; | ||
5348 | return 0; | ||
5349 | } | ||
5350 | _ACEOF | ||
5351 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5352 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5353 | (eval $ac_link) 2>conftest.er1 | ||
5354 | ac_status=$? | ||
5355 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5356 | rm -f conftest.er1 | ||
5357 | cat conftest.err >&5 | ||
5358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5359 | (exit $ac_status); } && | ||
5360 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
5361 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5362 | (eval $ac_try) 2>&5 | ||
5363 | ac_status=$? | ||
5364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5365 | (exit $ac_status); }; } && | ||
5366 | { ac_try='test -s conftest$ac_exeext' | ||
5367 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5368 | (eval $ac_try) 2>&5 | ||
5369 | ac_status=$? | ||
5370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5371 | (exit $ac_status); }; }; then | ||
5372 | ac_cv_lib_xnet_t_error=yes | ||
5373 | else | ||
5374 | echo "$as_me: failed program was:" >&5 | ||
5375 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5376 | 5442 | ||
5377 | ac_cv_lib_xnet_t_error=no | 5443 | # lastly, we define options specific to minor releases |
5378 | fi | 5444 | case "$host" in |
5379 | rm -f conftest.err conftest.$ac_objext \ | 5445 | *-*-hpux10.26) |
5380 | conftest$ac_exeext conftest.$ac_ext | 5446 | cat >>confdefs.h <<\_ACEOF |
5381 | LIBS=$ac_check_lib_save_LIBS | 5447 | #define HAVE_SECUREWARE 1 |
5382 | fi | ||
5383 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5384 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5385 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5386 | cat >>confdefs.h <<_ACEOF | ||
5387 | #define HAVE_LIBXNET 1 | ||
5388 | _ACEOF | 5448 | _ACEOF |
5389 | 5449 | ||
5390 | LIBS="-lxnet $LIBS" | 5450 | disable_ptmx_check=yes |
5391 | 5451 | LIBS="$LIBS -lsecpw" | |
5392 | else | 5452 | ;; |
5393 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 5453 | esac |
5394 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5395 | { (exit 1); exit 1; }; } | ||
5396 | fi | ||
5397 | |||
5398 | ;; | 5454 | ;; |
5399 | *-*-irix5*) | 5455 | *-*-irix5*) |
5400 | PATH="$PATH:/usr/etc" | 5456 | PATH="$PATH:/usr/etc" |
@@ -5632,8 +5688,9 @@ _ACEOF | |||
5632 | esac | 5688 | esac |
5633 | ;; | 5689 | ;; |
5634 | mips-sony-bsd|mips-sony-newsos4) | 5690 | mips-sony-bsd|mips-sony-newsos4) |
5635 | cat >>confdefs.h <<\_ACEOF | 5691 | |
5636 | #define HAVE_NEWS4 1 | 5692 | cat >>confdefs.h <<\_ACEOF |
5693 | #define NEED_SETPRGP | ||
5637 | _ACEOF | 5694 | _ACEOF |
5638 | 5695 | ||
5639 | SONY=1 | 5696 | SONY=1 |
@@ -5683,6 +5740,13 @@ _ACEOF | |||
5683 | _ACEOF | 5740 | _ACEOF |
5684 | 5741 | ||
5685 | ;; | 5742 | ;; |
5743 | *-*-openbsd*) | ||
5744 | |||
5745 | cat >>confdefs.h <<\_ACEOF | ||
5746 | #define HAVE_ATTRIBUTE__SENTINEL__ 1 | ||
5747 | _ACEOF | ||
5748 | |||
5749 | ;; | ||
5686 | *-*-solaris*) | 5750 | *-*-solaris*) |
5687 | if test "x$withval" != "xno" ; then | 5751 | if test "x$withval" != "xno" ; then |
5688 | need_dash_r=1 | 5752 | need_dash_r=1 |
@@ -6075,6 +6139,12 @@ _ACEOF | |||
6075 | ;; | 6139 | ;; |
6076 | # UnixWare 7.x, OpenUNIX 8 | 6140 | # UnixWare 7.x, OpenUNIX 8 |
6077 | *-*-sysv5*) | 6141 | *-*-sysv5*) |
6142 | check_for_libcrypt_later=1 | ||
6143 | |||
6144 | cat >>confdefs.h <<\_ACEOF | ||
6145 | #define UNIXWARE_LONG_PASSWORDS 1 | ||
6146 | _ACEOF | ||
6147 | |||
6078 | cat >>confdefs.h <<\_ACEOF | 6148 | cat >>confdefs.h <<\_ACEOF |
6079 | #define USE_PIPES 1 | 6149 | #define USE_PIPES 1 |
6080 | _ACEOF | 6150 | _ACEOF |
@@ -6096,6 +6166,16 @@ cat >>confdefs.h <<\_ACEOF | |||
6096 | #define PASSWD_NEEDS_USERNAME 1 | 6166 | #define PASSWD_NEEDS_USERNAME 1 |
6097 | _ACEOF | 6167 | _ACEOF |
6098 | 6168 | ||
6169 | case "$host" in | ||
6170 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x | ||
6171 | TEST_SHELL=/u95/bin/sh | ||
6172 | |||
6173 | cat >>confdefs.h <<\_ACEOF | ||
6174 | #define BROKEN_LIBIAF 1 | ||
6175 | _ACEOF | ||
6176 | |||
6177 | ;; | ||
6178 | esac | ||
6099 | ;; | 6179 | ;; |
6100 | *-*-sysv*) | 6180 | *-*-sysv*) |
6101 | ;; | 6181 | ;; |
@@ -6427,6 +6507,42 @@ _ACEOF | |||
6427 | _ACEOF | 6507 | _ACEOF |
6428 | 6508 | ||
6429 | ;; | 6509 | ;; |
6510 | |||
6511 | *-*-ultrix*) | ||
6512 | |||
6513 | cat >>confdefs.h <<\_ACEOF | ||
6514 | #define BROKEN_GETGROUPS | ||
6515 | _ACEOF | ||
6516 | |||
6517 | |||
6518 | cat >>confdefs.h <<\_ACEOF | ||
6519 | #define BROKEN_MMAP | ||
6520 | _ACEOF | ||
6521 | |||
6522 | |||
6523 | cat >>confdefs.h <<\_ACEOF | ||
6524 | #define NEED_SETPRGP | ||
6525 | _ACEOF | ||
6526 | |||
6527 | |||
6528 | cat >>confdefs.h <<\_ACEOF | ||
6529 | #define HAVE_SYS_SYSLOG_H 1 | ||
6530 | _ACEOF | ||
6531 | |||
6532 | ;; | ||
6533 | |||
6534 | *-*-lynxos) | ||
6535 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" | ||
6536 | cat >>confdefs.h <<\_ACEOF | ||
6537 | #define MISSING_HOWMANY 1 | ||
6538 | _ACEOF | ||
6539 | |||
6540 | |||
6541 | cat >>confdefs.h <<\_ACEOF | ||
6542 | #define BROKEN_SETVBUF 1 | ||
6543 | _ACEOF | ||
6544 | |||
6545 | ;; | ||
6430 | esac | 6546 | esac |
6431 | 6547 | ||
6432 | # Allow user to specify flags | 6548 | # Allow user to specify flags |
@@ -6479,6 +6595,20 @@ if test "${with_libs+set}" = set; then | |||
6479 | 6595 | ||
6480 | fi; | 6596 | fi; |
6481 | 6597 | ||
6598 | # Check whether --with-Werror or --without-Werror was given. | ||
6599 | if test "${with_Werror+set}" = set; then | ||
6600 | withval="$with_Werror" | ||
6601 | |||
6602 | if test -n "$withval" && test "x$withval" != "xno"; then | ||
6603 | werror_flags="-Werror" | ||
6604 | if "x${withval}" != "xyes"; then | ||
6605 | werror_flags="$withval" | ||
6606 | fi | ||
6607 | fi | ||
6608 | |||
6609 | |||
6610 | fi; | ||
6611 | |||
6482 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | 6612 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
6483 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | 6613 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 |
6484 | if test "$cross_compiling" = yes; then | 6614 | if test "$cross_compiling" = yes; then |
@@ -6527,7 +6657,6 @@ fi | |||
6527 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6657 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6528 | fi | 6658 | fi |
6529 | 6659 | ||
6530 | # Checks for header files. | ||
6531 | 6660 | ||
6532 | echo "$as_me:$LINENO: checking for egrep" >&5 | 6661 | echo "$as_me:$LINENO: checking for egrep" >&5 |
6533 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 6662 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
@@ -6835,16 +6964,69 @@ done | |||
6835 | 6964 | ||
6836 | 6965 | ||
6837 | 6966 | ||
6838 | for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ | 6967 | |
6839 | floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ | 6968 | |
6840 | login_cap.h maillock.h ndir.h netdb.h netgroup.h \ | 6969 | |
6841 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 6970 | for ac_header in \ |
6842 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 6971 | bstring.h \ |
6843 | strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ | 6972 | crypt.h \ |
6844 | sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ | 6973 | dirent.h \ |
6845 | sys/pstat.h sys/select.h sys/stat.h sys/stream.h \ | 6974 | endian.h \ |
6846 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ | 6975 | features.h \ |
6847 | time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h | 6976 | floatingpoint.h \ |
6977 | getopt.h \ | ||
6978 | glob.h \ | ||
6979 | ia.h \ | ||
6980 | iaf.h \ | ||
6981 | lastlog.h \ | ||
6982 | limits.h \ | ||
6983 | login.h \ | ||
6984 | login_cap.h \ | ||
6985 | maillock.h \ | ||
6986 | ndir.h \ | ||
6987 | netdb.h \ | ||
6988 | netgroup.h \ | ||
6989 | netinet/in_systm.h \ | ||
6990 | pam/pam_appl.h \ | ||
6991 | paths.h \ | ||
6992 | pty.h \ | ||
6993 | readpassphrase.h \ | ||
6994 | rpc/types.h \ | ||
6995 | security/pam_appl.h \ | ||
6996 | shadow.h \ | ||
6997 | stddef.h \ | ||
6998 | stdint.h \ | ||
6999 | string.h \ | ||
7000 | strings.h \ | ||
7001 | sys/audit.h \ | ||
7002 | sys/bitypes.h \ | ||
7003 | sys/bsdtty.h \ | ||
7004 | sys/cdefs.h \ | ||
7005 | sys/dir.h \ | ||
7006 | sys/mman.h \ | ||
7007 | sys/ndir.h \ | ||
7008 | sys/prctl.h \ | ||
7009 | sys/pstat.h \ | ||
7010 | sys/select.h \ | ||
7011 | sys/stat.h \ | ||
7012 | sys/stream.h \ | ||
7013 | sys/stropts.h \ | ||
7014 | sys/strtio.h \ | ||
7015 | sys/sysmacros.h \ | ||
7016 | sys/time.h \ | ||
7017 | sys/timers.h \ | ||
7018 | sys/un.h \ | ||
7019 | time.h \ | ||
7020 | tmpdir.h \ | ||
7021 | ttyent.h \ | ||
7022 | unistd.h \ | ||
7023 | usersec.h \ | ||
7024 | util.h \ | ||
7025 | utime.h \ | ||
7026 | utmp.h \ | ||
7027 | utmpx.h \ | ||
7028 | vis.h \ | ||
7029 | |||
6848 | do | 7030 | do |
6849 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7031 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6850 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7032 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
@@ -6964,9 +7146,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
6964 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7146 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6965 | ( | 7147 | ( |
6966 | cat <<\_ASBOX | 7148 | cat <<\_ASBOX |
6967 | ## ---------------------------------- ## | 7149 | ## ------------------------------------------- ## |
6968 | ## Report this to the OpenSSH lists. ## | 7150 | ## Report this to openssh-unix-dev@mindrot.org ## |
6969 | ## ---------------------------------- ## | 7151 | ## ------------------------------------------- ## |
6970 | _ASBOX | 7152 | _ASBOX |
6971 | ) | | 7153 | ) | |
6972 | sed "s/^/$as_me: WARNING: /" >&2 | 7154 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7613,9 +7795,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7613 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7795 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7614 | ( | 7796 | ( |
7615 | cat <<\_ASBOX | 7797 | cat <<\_ASBOX |
7616 | ## ---------------------------------- ## | 7798 | ## ------------------------------------------- ## |
7617 | ## Report this to the OpenSSH lists. ## | 7799 | ## Report this to openssh-unix-dev@mindrot.org ## |
7618 | ## ---------------------------------- ## | 7800 | ## ------------------------------------------- ## |
7619 | _ASBOX | 7801 | _ASBOX |
7620 | ) | | 7802 | ) | |
7621 | sed "s/^/$as_me: WARNING: /" >&2 | 7803 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7901,9 +8083,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7901 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 8083 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
7902 | ( | 8084 | ( |
7903 | cat <<\_ASBOX | 8085 | cat <<\_ASBOX |
7904 | ## ---------------------------------- ## | 8086 | ## ------------------------------------------- ## |
7905 | ## Report this to the OpenSSH lists. ## | 8087 | ## Report this to openssh-unix-dev@mindrot.org ## |
7906 | ## ---------------------------------- ## | 8088 | ## ------------------------------------------- ## |
7907 | _ASBOX | 8089 | _ASBOX |
7908 | ) | | 8090 | ) | |
7909 | sed "s/^/$as_me: WARNING: /" >&2 | 8091 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8522,9 +8704,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | |||
8522 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | 8704 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} |
8523 | ( | 8705 | ( |
8524 | cat <<\_ASBOX | 8706 | cat <<\_ASBOX |
8525 | ## ---------------------------------- ## | 8707 | ## ------------------------------------------- ## |
8526 | ## Report this to the OpenSSH lists. ## | 8708 | ## Report this to openssh-unix-dev@mindrot.org ## |
8527 | ## ---------------------------------- ## | 8709 | ## ------------------------------------------- ## |
8528 | _ASBOX | 8710 | _ASBOX |
8529 | ) | | 8711 | ) | |
8530 | sed "s/^/$as_me: WARNING: /" >&2 | 8712 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8591,8 +8773,8 @@ int main() | |||
8591 | if (a == 1 && b == 1 && c >= 4) | 8773 | if (a == 1 && b == 1 && c >= 4) |
8592 | exit(0); | 8774 | exit(0); |
8593 | 8775 | ||
8594 | /* 1.2.1.2 and up are OK */ | 8776 | /* 1.2.3 and up are OK */ |
8595 | if (v >= 1020102) | 8777 | if (v >= 1020300) |
8596 | exit(0); | 8778 | exit(0); |
8597 | 8779 | ||
8598 | exit(2); | 8780 | exit(2); |
@@ -8626,14 +8808,14 @@ Your reported zlib version has known security problems. It's possible your | |||
8626 | vendor has fixed these problems without changing the version number. If you | 8808 | vendor has fixed these problems without changing the version number. If you |
8627 | are sure this is the case, you can disable the check by running | 8809 | are sure this is the case, you can disable the check by running |
8628 | \"./configure --without-zlib-version-check\". | 8810 | \"./configure --without-zlib-version-check\". |
8629 | If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. | 8811 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8630 | See http://www.gzip.org/zlib/ for details." >&5 | 8812 | See http://www.gzip.org/zlib/ for details." >&5 |
8631 | echo "$as_me: error: *** zlib too old - check config.log *** | 8813 | echo "$as_me: error: *** zlib too old - check config.log *** |
8632 | Your reported zlib version has known security problems. It's possible your | 8814 | Your reported zlib version has known security problems. It's possible your |
8633 | vendor has fixed these problems without changing the version number. If you | 8815 | vendor has fixed these problems without changing the version number. If you |
8634 | are sure this is the case, you can disable the check by running | 8816 | are sure this is the case, you can disable the check by running |
8635 | \"./configure --without-zlib-version-check\". | 8817 | \"./configure --without-zlib-version-check\". |
8636 | If you are in doubt, upgrade zlib to version 1.2.1.2 or greater. | 8818 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8637 | See http://www.gzip.org/zlib/ for details." >&2;} | 8819 | See http://www.gzip.org/zlib/ for details." >&2;} |
8638 | { (exit 1); exit 1; }; } | 8820 | { (exit 1); exit 1; }; } |
8639 | else | 8821 | else |
@@ -9095,9 +9277,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
9095 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9277 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9096 | ( | 9278 | ( |
9097 | cat <<\_ASBOX | 9279 | cat <<\_ASBOX |
9098 | ## ---------------------------------- ## | 9280 | ## ------------------------------------------- ## |
9099 | ## Report this to the OpenSSH lists. ## | 9281 | ## Report this to openssh-unix-dev@mindrot.org ## |
9100 | ## ---------------------------------- ## | 9282 | ## ------------------------------------------- ## |
9101 | _ASBOX | 9283 | _ASBOX |
9102 | ) | | 9284 | ) | |
9103 | sed "s/^/$as_me: WARNING: /" >&2 | 9285 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -9997,6 +10179,59 @@ echo "$as_me: error: libedit not found" >&2;} | |||
9997 | { (exit 1); exit 1; }; } | 10179 | { (exit 1); exit 1; }; } |
9998 | fi | 10180 | fi |
9999 | 10181 | ||
10182 | echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 | ||
10183 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6 | ||
10184 | cat >conftest.$ac_ext <<_ACEOF | ||
10185 | /* confdefs.h. */ | ||
10186 | _ACEOF | ||
10187 | cat confdefs.h >>conftest.$ac_ext | ||
10188 | cat >>conftest.$ac_ext <<_ACEOF | ||
10189 | /* end confdefs.h. */ | ||
10190 | |||
10191 | #include <histedit.h> | ||
10192 | int main(void) | ||
10193 | { | ||
10194 | int i = H_SETSIZE; | ||
10195 | el_init("", NULL, NULL, NULL); | ||
10196 | exit(0); | ||
10197 | } | ||
10198 | |||
10199 | _ACEOF | ||
10200 | rm -f conftest.$ac_objext | ||
10201 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
10202 | (eval $ac_compile) 2>conftest.er1 | ||
10203 | ac_status=$? | ||
10204 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10205 | rm -f conftest.er1 | ||
10206 | cat conftest.err >&5 | ||
10207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10208 | (exit $ac_status); } && | ||
10209 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
10210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10211 | (eval $ac_try) 2>&5 | ||
10212 | ac_status=$? | ||
10213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10214 | (exit $ac_status); }; } && | ||
10215 | { ac_try='test -s conftest.$ac_objext' | ||
10216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
10217 | (eval $ac_try) 2>&5 | ||
10218 | ac_status=$? | ||
10219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10220 | (exit $ac_status); }; }; then | ||
10221 | echo "$as_me:$LINENO: result: yes" >&5 | ||
10222 | echo "${ECHO_T}yes" >&6 | ||
10223 | else | ||
10224 | echo "$as_me: failed program was:" >&5 | ||
10225 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10226 | |||
10227 | echo "$as_me:$LINENO: result: no" >&5 | ||
10228 | echo "${ECHO_T}no" >&6 | ||
10229 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 | ||
10230 | echo "$as_me: error: libedit version is not compatible" >&2;} | ||
10231 | { (exit 1); exit 1; }; } | ||
10232 | |||
10233 | fi | ||
10234 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10000 | fi | 10235 | fi |
10001 | 10236 | ||
10002 | fi; | 10237 | fi; |
@@ -10135,9 +10370,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
10135 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 10370 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10136 | ( | 10371 | ( |
10137 | cat <<\_ASBOX | 10372 | cat <<\_ASBOX |
10138 | ## ---------------------------------- ## | 10373 | ## ------------------------------------------- ## |
10139 | ## Report this to the OpenSSH lists. ## | 10374 | ## Report this to openssh-unix-dev@mindrot.org ## |
10140 | ## ---------------------------------- ## | 10375 | ## ------------------------------------------- ## |
10141 | _ASBOX | 10376 | _ASBOX |
10142 | ) | | 10377 | ) | |
10143 | sed "s/^/$as_me: WARNING: /" >&2 | 10378 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -10467,6 +10702,10 @@ cat >>confdefs.h <<\_ACEOF | |||
10467 | _ACEOF | 10702 | _ACEOF |
10468 | 10703 | ||
10469 | ;; | 10704 | ;; |
10705 | no) | ||
10706 | echo "$as_me:$LINENO: result: no" >&5 | ||
10707 | echo "${ECHO_T}no" >&6 | ||
10708 | ;; | ||
10470 | *) | 10709 | *) |
10471 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | 10710 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 |
10472 | echo "$as_me: error: Unknown audit module $withval" >&2;} | 10711 | echo "$as_me: error: Unknown audit module $withval" >&2;} |
@@ -10554,19 +10793,89 @@ fi; | |||
10554 | 10793 | ||
10555 | 10794 | ||
10556 | 10795 | ||
10796 | |||
10797 | |||
10557 | for ac_func in \ | 10798 | for ac_func in \ |
10558 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ | 10799 | arc4random \ |
10559 | bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \ | 10800 | b64_ntop \ |
10560 | freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \ | 10801 | __b64_ntop \ |
10561 | getopt getpeereid _getpty getrlimit getttyent glob inet_aton \ | 10802 | b64_pton \ |
10562 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 10803 | __b64_pton \ |
10563 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 10804 | bcopy \ |
10564 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ | 10805 | bindresvport_sa \ |
10565 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 10806 | clock \ |
10566 | setproctitle setregid setreuid setrlimit \ | 10807 | closefrom \ |
10567 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ | 10808 | dirfd \ |
10568 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ | 10809 | fchmod \ |
10569 | truncate unsetenv updwtmpx utimes vhangup vsnprintf waitpid \ | 10810 | fchown \ |
10811 | freeaddrinfo \ | ||
10812 | futimes \ | ||
10813 | getaddrinfo \ | ||
10814 | getcwd \ | ||
10815 | getgrouplist \ | ||
10816 | getnameinfo \ | ||
10817 | getopt \ | ||
10818 | getpeereid \ | ||
10819 | _getpty \ | ||
10820 | getrlimit \ | ||
10821 | getttyent \ | ||
10822 | glob \ | ||
10823 | inet_aton \ | ||
10824 | inet_ntoa \ | ||
10825 | inet_ntop \ | ||
10826 | innetgr \ | ||
10827 | login_getcapbool \ | ||
10828 | md5_crypt \ | ||
10829 | memmove \ | ||
10830 | mkdtemp \ | ||
10831 | mmap \ | ||
10832 | ngetaddrinfo \ | ||
10833 | nsleep \ | ||
10834 | ogetaddrinfo \ | ||
10835 | openlog_r \ | ||
10836 | openpty \ | ||
10837 | prctl \ | ||
10838 | pstat \ | ||
10839 | readpassphrase \ | ||
10840 | realpath \ | ||
10841 | recvmsg \ | ||
10842 | rresvport_af \ | ||
10843 | sendmsg \ | ||
10844 | setdtablesize \ | ||
10845 | setegid \ | ||
10846 | setenv \ | ||
10847 | seteuid \ | ||
10848 | setgroups \ | ||
10849 | setlogin \ | ||
10850 | setpcred \ | ||
10851 | setproctitle \ | ||
10852 | setregid \ | ||
10853 | setreuid \ | ||
10854 | setrlimit \ | ||
10855 | setsid \ | ||
10856 | setvbuf \ | ||
10857 | sigaction \ | ||
10858 | sigvec \ | ||
10859 | snprintf \ | ||
10860 | socketpair \ | ||
10861 | strdup \ | ||
10862 | strerror \ | ||
10863 | strlcat \ | ||
10864 | strlcpy \ | ||
10865 | strmode \ | ||
10866 | strnvis \ | ||
10867 | strtonum \ | ||
10868 | strtoll \ | ||
10869 | strtoul \ | ||
10870 | sysconf \ | ||
10871 | tcgetpgrp \ | ||
10872 | truncate \ | ||
10873 | unsetenv \ | ||
10874 | updwtmpx \ | ||
10875 | utimes \ | ||
10876 | vhangup \ | ||
10877 | vsnprintf \ | ||
10878 | waitpid \ | ||
10570 | 10879 | ||
10571 | do | 10880 | do |
10572 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10881 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
@@ -10959,9 +11268,9 @@ _ACEOF | |||
10959 | fi | 11268 | fi |
10960 | 11269 | ||
10961 | 11270 | ||
10962 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | 11271 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 |
10963 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 11272 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 |
10964 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 11273 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
10965 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11274 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10966 | else | 11275 | else |
10967 | cat >conftest.$ac_ext <<_ACEOF | 11276 | cat >conftest.$ac_ext <<_ACEOF |
@@ -10974,8 +11283,8 @@ $ac_includes_default | |||
10974 | int | 11283 | int |
10975 | main () | 11284 | main () |
10976 | { | 11285 | { |
10977 | #ifndef strsep | 11286 | #ifndef getrusage |
10978 | char *p = (char *) strsep; | 11287 | char *p = (char *) getrusage; |
10979 | #endif | 11288 | #endif |
10980 | 11289 | ||
10981 | ; | 11290 | ; |
@@ -11003,20 +11312,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
11003 | ac_status=$? | 11312 | ac_status=$? |
11004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11005 | (exit $ac_status); }; }; then | 11314 | (exit $ac_status); }; }; then |
11006 | ac_cv_have_decl_strsep=yes | 11315 | ac_cv_have_decl_getrusage=yes |
11007 | else | 11316 | else |
11008 | echo "$as_me: failed program was:" >&5 | 11317 | echo "$as_me: failed program was:" >&5 |
11009 | sed 's/^/| /' conftest.$ac_ext >&5 | 11318 | sed 's/^/| /' conftest.$ac_ext >&5 |
11010 | 11319 | ||
11011 | ac_cv_have_decl_strsep=no | 11320 | ac_cv_have_decl_getrusage=no |
11012 | fi | 11321 | fi |
11013 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11322 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11014 | fi | 11323 | fi |
11015 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | 11324 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 |
11016 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 11325 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 |
11017 | if test $ac_cv_have_decl_strsep = yes; then | 11326 | if test $ac_cv_have_decl_getrusage = yes; then |
11018 | 11327 | ||
11019 | for ac_func in strsep | 11328 | for ac_func in getrusage |
11020 | do | 11329 | do |
11021 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11330 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11022 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11331 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -11118,9 +11427,9 @@ done | |||
11118 | 11427 | ||
11119 | fi | 11428 | fi |
11120 | 11429 | ||
11121 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 | 11430 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 |
11122 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | 11431 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 |
11123 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 11432 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
11124 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11433 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11125 | else | 11434 | else |
11126 | cat >conftest.$ac_ext <<_ACEOF | 11435 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11129,12 +11438,17 @@ _ACEOF | |||
11129 | cat confdefs.h >>conftest.$ac_ext | 11438 | cat confdefs.h >>conftest.$ac_ext |
11130 | cat >>conftest.$ac_ext <<_ACEOF | 11439 | cat >>conftest.$ac_ext <<_ACEOF |
11131 | /* end confdefs.h. */ | 11440 | /* end confdefs.h. */ |
11132 | $ac_includes_default | 11441 | |
11442 | #ifdef HAVE_STRING_H | ||
11443 | # include <string.h> | ||
11444 | #endif | ||
11445 | |||
11446 | |||
11133 | int | 11447 | int |
11134 | main () | 11448 | main () |
11135 | { | 11449 | { |
11136 | #ifndef getrusage | 11450 | #ifndef strsep |
11137 | char *p = (char *) getrusage; | 11451 | char *p = (char *) strsep; |
11138 | #endif | 11452 | #endif |
11139 | 11453 | ||
11140 | ; | 11454 | ; |
@@ -11162,20 +11476,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
11162 | ac_status=$? | 11476 | ac_status=$? |
11163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11164 | (exit $ac_status); }; }; then | 11478 | (exit $ac_status); }; }; then |
11165 | ac_cv_have_decl_getrusage=yes | 11479 | ac_cv_have_decl_strsep=yes |
11166 | else | 11480 | else |
11167 | echo "$as_me: failed program was:" >&5 | 11481 | echo "$as_me: failed program was:" >&5 |
11168 | sed 's/^/| /' conftest.$ac_ext >&5 | 11482 | sed 's/^/| /' conftest.$ac_ext >&5 |
11169 | 11483 | ||
11170 | ac_cv_have_decl_getrusage=no | 11484 | ac_cv_have_decl_strsep=no |
11171 | fi | 11485 | fi |
11172 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11486 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11173 | fi | 11487 | fi |
11174 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | 11488 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 |
11175 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | 11489 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 |
11176 | if test $ac_cv_have_decl_getrusage = yes; then | 11490 | if test $ac_cv_have_decl_strsep = yes; then |
11177 | 11491 | ||
11178 | for ac_func in getrusage | 11492 | for ac_func in strsep |
11179 | do | 11493 | do |
11180 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11494 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11181 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11495 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -14222,6 +14536,79 @@ fi | |||
14222 | fi | 14536 | fi |
14223 | 14537 | ||
14224 | 14538 | ||
14539 | echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | ||
14540 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6 | ||
14541 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | ||
14542 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14543 | else | ||
14544 | ac_check_lib_save_LIBS=$LIBS | ||
14545 | LIBS="-liaf $LIBS" | ||
14546 | cat >conftest.$ac_ext <<_ACEOF | ||
14547 | /* confdefs.h. */ | ||
14548 | _ACEOF | ||
14549 | cat confdefs.h >>conftest.$ac_ext | ||
14550 | cat >>conftest.$ac_ext <<_ACEOF | ||
14551 | /* end confdefs.h. */ | ||
14552 | |||
14553 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14554 | #ifdef __cplusplus | ||
14555 | extern "C" | ||
14556 | #endif | ||
14557 | /* We use char because int might match the return type of a gcc2 | ||
14558 | builtin and then its argument prototype would still apply. */ | ||
14559 | char ia_openinfo (); | ||
14560 | int | ||
14561 | main () | ||
14562 | { | ||
14563 | ia_openinfo (); | ||
14564 | ; | ||
14565 | return 0; | ||
14566 | } | ||
14567 | _ACEOF | ||
14568 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14569 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
14570 | (eval $ac_link) 2>conftest.er1 | ||
14571 | ac_status=$? | ||
14572 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14573 | rm -f conftest.er1 | ||
14574 | cat conftest.err >&5 | ||
14575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14576 | (exit $ac_status); } && | ||
14577 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
14578 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14579 | (eval $ac_try) 2>&5 | ||
14580 | ac_status=$? | ||
14581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14582 | (exit $ac_status); }; } && | ||
14583 | { ac_try='test -s conftest$ac_exeext' | ||
14584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
14585 | (eval $ac_try) 2>&5 | ||
14586 | ac_status=$? | ||
14587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14588 | (exit $ac_status); }; }; then | ||
14589 | ac_cv_lib_iaf_ia_openinfo=yes | ||
14590 | else | ||
14591 | echo "$as_me: failed program was:" >&5 | ||
14592 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14593 | |||
14594 | ac_cv_lib_iaf_ia_openinfo=no | ||
14595 | fi | ||
14596 | rm -f conftest.err conftest.$ac_objext \ | ||
14597 | conftest$ac_exeext conftest.$ac_ext | ||
14598 | LIBS=$ac_check_lib_save_LIBS | ||
14599 | fi | ||
14600 | echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | ||
14601 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6 | ||
14602 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | ||
14603 | cat >>confdefs.h <<_ACEOF | ||
14604 | #define HAVE_LIBIAF 1 | ||
14605 | _ACEOF | ||
14606 | |||
14607 | LIBS="-liaf $LIBS" | ||
14608 | |||
14609 | fi | ||
14610 | |||
14611 | |||
14225 | ### Configure cryptographic random number support | 14612 | ### Configure cryptographic random number support |
14226 | 14613 | ||
14227 | # Check wheter OpenSSL seeds itself | 14614 | # Check wheter OpenSSL seeds itself |
@@ -21018,9 +21405,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
21018 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21405 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21019 | ( | 21406 | ( |
21020 | cat <<\_ASBOX | 21407 | cat <<\_ASBOX |
21021 | ## ---------------------------------- ## | 21408 | ## ------------------------------------------- ## |
21022 | ## Report this to the OpenSSH lists. ## | 21409 | ## Report this to openssh-unix-dev@mindrot.org ## |
21023 | ## ---------------------------------- ## | 21410 | ## ------------------------------------------- ## |
21024 | _ASBOX | 21411 | _ASBOX |
21025 | ) | | 21412 | ) | |
21026 | sed "s/^/$as_me: WARNING: /" >&2 | 21413 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -21799,6 +22186,150 @@ _ACEOF | |||
21799 | fi | 22186 | fi |
21800 | done | 22187 | done |
21801 | 22188 | ||
22189 | echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 | ||
22190 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6 | ||
22191 | if test "${ac_cv_have_decl__getshort+set}" = set; then | ||
22192 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22193 | else | ||
22194 | cat >conftest.$ac_ext <<_ACEOF | ||
22195 | /* confdefs.h. */ | ||
22196 | _ACEOF | ||
22197 | cat confdefs.h >>conftest.$ac_ext | ||
22198 | cat >>conftest.$ac_ext <<_ACEOF | ||
22199 | /* end confdefs.h. */ | ||
22200 | #include <sys/types.h> | ||
22201 | #include <arpa/nameser.h> | ||
22202 | |||
22203 | int | ||
22204 | main () | ||
22205 | { | ||
22206 | #ifndef _getshort | ||
22207 | char *p = (char *) _getshort; | ||
22208 | #endif | ||
22209 | |||
22210 | ; | ||
22211 | return 0; | ||
22212 | } | ||
22213 | _ACEOF | ||
22214 | rm -f conftest.$ac_objext | ||
22215 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
22216 | (eval $ac_compile) 2>conftest.er1 | ||
22217 | ac_status=$? | ||
22218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22219 | rm -f conftest.er1 | ||
22220 | cat conftest.err >&5 | ||
22221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22222 | (exit $ac_status); } && | ||
22223 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
22224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22225 | (eval $ac_try) 2>&5 | ||
22226 | ac_status=$? | ||
22227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22228 | (exit $ac_status); }; } && | ||
22229 | { ac_try='test -s conftest.$ac_objext' | ||
22230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22231 | (eval $ac_try) 2>&5 | ||
22232 | ac_status=$? | ||
22233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22234 | (exit $ac_status); }; }; then | ||
22235 | ac_cv_have_decl__getshort=yes | ||
22236 | else | ||
22237 | echo "$as_me: failed program was:" >&5 | ||
22238 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22239 | |||
22240 | ac_cv_have_decl__getshort=no | ||
22241 | fi | ||
22242 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22243 | fi | ||
22244 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 | ||
22245 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6 | ||
22246 | if test $ac_cv_have_decl__getshort = yes; then | ||
22247 | |||
22248 | cat >>confdefs.h <<_ACEOF | ||
22249 | #define HAVE_DECL__GETSHORT 1 | ||
22250 | _ACEOF | ||
22251 | |||
22252 | |||
22253 | else | ||
22254 | cat >>confdefs.h <<_ACEOF | ||
22255 | #define HAVE_DECL__GETSHORT 0 | ||
22256 | _ACEOF | ||
22257 | |||
22258 | |||
22259 | fi | ||
22260 | echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | ||
22261 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6 | ||
22262 | if test "${ac_cv_have_decl__getlong+set}" = set; then | ||
22263 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22264 | else | ||
22265 | cat >conftest.$ac_ext <<_ACEOF | ||
22266 | /* confdefs.h. */ | ||
22267 | _ACEOF | ||
22268 | cat confdefs.h >>conftest.$ac_ext | ||
22269 | cat >>conftest.$ac_ext <<_ACEOF | ||
22270 | /* end confdefs.h. */ | ||
22271 | #include <sys/types.h> | ||
22272 | #include <arpa/nameser.h> | ||
22273 | |||
22274 | int | ||
22275 | main () | ||
22276 | { | ||
22277 | #ifndef _getlong | ||
22278 | char *p = (char *) _getlong; | ||
22279 | #endif | ||
22280 | |||
22281 | ; | ||
22282 | return 0; | ||
22283 | } | ||
22284 | _ACEOF | ||
22285 | rm -f conftest.$ac_objext | ||
22286 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
22287 | (eval $ac_compile) 2>conftest.er1 | ||
22288 | ac_status=$? | ||
22289 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22290 | rm -f conftest.er1 | ||
22291 | cat conftest.err >&5 | ||
22292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22293 | (exit $ac_status); } && | ||
22294 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
22295 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22296 | (eval $ac_try) 2>&5 | ||
22297 | ac_status=$? | ||
22298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22299 | (exit $ac_status); }; } && | ||
22300 | { ac_try='test -s conftest.$ac_objext' | ||
22301 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
22302 | (eval $ac_try) 2>&5 | ||
22303 | ac_status=$? | ||
22304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22305 | (exit $ac_status); }; }; then | ||
22306 | ac_cv_have_decl__getlong=yes | ||
22307 | else | ||
22308 | echo "$as_me: failed program was:" >&5 | ||
22309 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22310 | |||
22311 | ac_cv_have_decl__getlong=no | ||
22312 | fi | ||
22313 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
22314 | fi | ||
22315 | echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 | ||
22316 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6 | ||
22317 | if test $ac_cv_have_decl__getlong = yes; then | ||
22318 | |||
22319 | cat >>confdefs.h <<_ACEOF | ||
22320 | #define HAVE_DECL__GETLONG 1 | ||
22321 | _ACEOF | ||
22322 | |||
22323 | |||
22324 | else | ||
22325 | cat >>confdefs.h <<_ACEOF | ||
22326 | #define HAVE_DECL__GETLONG 0 | ||
22327 | _ACEOF | ||
22328 | |||
22329 | |||
22330 | fi | ||
22331 | |||
22332 | |||
21802 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | 22333 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 |
21803 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | 22334 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 |
21804 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 22335 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
@@ -22045,9 +22576,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
22045 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22576 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22046 | ( | 22577 | ( |
22047 | cat <<\_ASBOX | 22578 | cat <<\_ASBOX |
22048 | ## ---------------------------------- ## | 22579 | ## ------------------------------------------- ## |
22049 | ## Report this to the OpenSSH lists. ## | 22580 | ## Report this to openssh-unix-dev@mindrot.org ## |
22050 | ## ---------------------------------- ## | 22581 | ## ------------------------------------------- ## |
22051 | _ASBOX | 22582 | _ASBOX |
22052 | ) | | 22583 | ) | |
22053 | sed "s/^/$as_me: WARNING: /" >&2 | 22584 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22695,9 +23226,9 @@ echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2; | |||
22695 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | 23226 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} |
22696 | ( | 23227 | ( |
22697 | cat <<\_ASBOX | 23228 | cat <<\_ASBOX |
22698 | ## ---------------------------------- ## | 23229 | ## ------------------------------------------- ## |
22699 | ## Report this to the OpenSSH lists. ## | 23230 | ## Report this to openssh-unix-dev@mindrot.org ## |
22700 | ## ---------------------------------- ## | 23231 | ## ------------------------------------------- ## |
22701 | _ASBOX | 23232 | _ASBOX |
22702 | ) | | 23233 | ) | |
22703 | sed "s/^/$as_me: WARNING: /" >&2 | 23234 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22840,9 +23371,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
22840 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23371 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
22841 | ( | 23372 | ( |
22842 | cat <<\_ASBOX | 23373 | cat <<\_ASBOX |
22843 | ## ---------------------------------- ## | 23374 | ## ------------------------------------------- ## |
22844 | ## Report this to the OpenSSH lists. ## | 23375 | ## Report this to openssh-unix-dev@mindrot.org ## |
22845 | ## ---------------------------------- ## | 23376 | ## ------------------------------------------- ## |
22846 | _ASBOX | 23377 | _ASBOX |
22847 | ) | | 23378 | ) | |
22848 | sed "s/^/$as_me: WARNING: /" >&2 | 23379 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22997,9 +23528,9 @@ echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" | |||
22997 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | 23528 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} |
22998 | ( | 23529 | ( |
22999 | cat <<\_ASBOX | 23530 | cat <<\_ASBOX |
23000 | ## ---------------------------------- ## | 23531 | ## ------------------------------------------- ## |
23001 | ## Report this to the OpenSSH lists. ## | 23532 | ## Report this to openssh-unix-dev@mindrot.org ## |
23002 | ## ---------------------------------- ## | 23533 | ## ------------------------------------------- ## |
23003 | _ASBOX | 23534 | _ASBOX |
23004 | ) | | 23535 | ) | |
23005 | sed "s/^/$as_me: WARNING: /" >&2 | 23536 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23155,9 +23686,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23155 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23686 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23156 | ( | 23687 | ( |
23157 | cat <<\_ASBOX | 23688 | cat <<\_ASBOX |
23158 | ## ---------------------------------- ## | 23689 | ## ------------------------------------------- ## |
23159 | ## Report this to the OpenSSH lists. ## | 23690 | ## Report this to openssh-unix-dev@mindrot.org ## |
23160 | ## ---------------------------------- ## | 23691 | ## ------------------------------------------- ## |
23161 | _ASBOX | 23692 | _ASBOX |
23162 | ) | | 23693 | ) | |
23163 | sed "s/^/$as_me: WARNING: /" >&2 | 23694 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23305,9 +23836,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23305 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23836 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23306 | ( | 23837 | ( |
23307 | cat <<\_ASBOX | 23838 | cat <<\_ASBOX |
23308 | ## ---------------------------------- ## | 23839 | ## ------------------------------------------- ## |
23309 | ## Report this to the OpenSSH lists. ## | 23840 | ## Report this to openssh-unix-dev@mindrot.org ## |
23310 | ## ---------------------------------- ## | 23841 | ## ------------------------------------------- ## |
23311 | _ASBOX | 23842 | _ASBOX |
23312 | ) | | 23843 | ) | |
23313 | sed "s/^/$as_me: WARNING: /" >&2 | 23844 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23455,9 +23986,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23455 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23986 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23456 | ( | 23987 | ( |
23457 | cat <<\_ASBOX | 23988 | cat <<\_ASBOX |
23458 | ## ---------------------------------- ## | 23989 | ## ------------------------------------------- ## |
23459 | ## Report this to the OpenSSH lists. ## | 23990 | ## Report this to openssh-unix-dev@mindrot.org ## |
23460 | ## ---------------------------------- ## | 23991 | ## ------------------------------------------- ## |
23461 | _ASBOX | 23992 | _ASBOX |
23462 | ) | | 23993 | ) | |
23463 | sed "s/^/$as_me: WARNING: /" >&2 | 23994 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23612,133 +24143,6 @@ _ACEOF | |||
23612 | 24143 | ||
23613 | fi | 24144 | fi |
23614 | 24145 | ||
23615 | echo "$as_me:$LINENO: checking for library containing krb5_init_ets" >&5 | ||
23616 | echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6 | ||
23617 | if test "${ac_cv_search_krb5_init_ets+set}" = set; then | ||
23618 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23619 | else | ||
23620 | ac_func_search_save_LIBS=$LIBS | ||
23621 | ac_cv_search_krb5_init_ets=no | ||
23622 | cat >conftest.$ac_ext <<_ACEOF | ||
23623 | /* confdefs.h. */ | ||
23624 | _ACEOF | ||
23625 | cat confdefs.h >>conftest.$ac_ext | ||
23626 | cat >>conftest.$ac_ext <<_ACEOF | ||
23627 | /* end confdefs.h. */ | ||
23628 | |||
23629 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23630 | #ifdef __cplusplus | ||
23631 | extern "C" | ||
23632 | #endif | ||
23633 | /* We use char because int might match the return type of a gcc2 | ||
23634 | builtin and then its argument prototype would still apply. */ | ||
23635 | char krb5_init_ets (); | ||
23636 | int | ||
23637 | main () | ||
23638 | { | ||
23639 | krb5_init_ets (); | ||
23640 | ; | ||
23641 | return 0; | ||
23642 | } | ||
23643 | _ACEOF | ||
23644 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23645 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23646 | (eval $ac_link) 2>conftest.er1 | ||
23647 | ac_status=$? | ||
23648 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23649 | rm -f conftest.er1 | ||
23650 | cat conftest.err >&5 | ||
23651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23652 | (exit $ac_status); } && | ||
23653 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
23654 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23655 | (eval $ac_try) 2>&5 | ||
23656 | ac_status=$? | ||
23657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23658 | (exit $ac_status); }; } && | ||
23659 | { ac_try='test -s conftest$ac_exeext' | ||
23660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23661 | (eval $ac_try) 2>&5 | ||
23662 | ac_status=$? | ||
23663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23664 | (exit $ac_status); }; }; then | ||
23665 | ac_cv_search_krb5_init_ets="none required" | ||
23666 | else | ||
23667 | echo "$as_me: failed program was:" >&5 | ||
23668 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23669 | |||
23670 | fi | ||
23671 | rm -f conftest.err conftest.$ac_objext \ | ||
23672 | conftest$ac_exeext conftest.$ac_ext | ||
23673 | if test "$ac_cv_search_krb5_init_ets" = no; then | ||
23674 | for ac_lib in $K5LIBS; do | ||
23675 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23676 | cat >conftest.$ac_ext <<_ACEOF | ||
23677 | /* confdefs.h. */ | ||
23678 | _ACEOF | ||
23679 | cat confdefs.h >>conftest.$ac_ext | ||
23680 | cat >>conftest.$ac_ext <<_ACEOF | ||
23681 | /* end confdefs.h. */ | ||
23682 | |||
23683 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23684 | #ifdef __cplusplus | ||
23685 | extern "C" | ||
23686 | #endif | ||
23687 | /* We use char because int might match the return type of a gcc2 | ||
23688 | builtin and then its argument prototype would still apply. */ | ||
23689 | char krb5_init_ets (); | ||
23690 | int | ||
23691 | main () | ||
23692 | { | ||
23693 | krb5_init_ets (); | ||
23694 | ; | ||
23695 | return 0; | ||
23696 | } | ||
23697 | _ACEOF | ||
23698 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23699 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23700 | (eval $ac_link) 2>conftest.er1 | ||
23701 | ac_status=$? | ||
23702 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23703 | rm -f conftest.er1 | ||
23704 | cat conftest.err >&5 | ||
23705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23706 | (exit $ac_status); } && | ||
23707 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
23708 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23709 | (eval $ac_try) 2>&5 | ||
23710 | ac_status=$? | ||
23711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23712 | (exit $ac_status); }; } && | ||
23713 | { ac_try='test -s conftest$ac_exeext' | ||
23714 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23715 | (eval $ac_try) 2>&5 | ||
23716 | ac_status=$? | ||
23717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23718 | (exit $ac_status); }; }; then | ||
23719 | ac_cv_search_krb5_init_ets="-l$ac_lib" | ||
23720 | break | ||
23721 | else | ||
23722 | echo "$as_me: failed program was:" >&5 | ||
23723 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23724 | |||
23725 | fi | ||
23726 | rm -f conftest.err conftest.$ac_objext \ | ||
23727 | conftest$ac_exeext conftest.$ac_ext | ||
23728 | done | ||
23729 | fi | ||
23730 | LIBS=$ac_func_search_save_LIBS | ||
23731 | fi | ||
23732 | echo "$as_me:$LINENO: result: $ac_cv_search_krb5_init_ets" >&5 | ||
23733 | echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6 | ||
23734 | if test "$ac_cv_search_krb5_init_ets" != no; then | ||
23735 | test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS" | ||
23736 | cat >>confdefs.h <<\_ACEOF | ||
23737 | #define KRB5_INIT_ETS 1 | ||
23738 | _ACEOF | ||
23739 | |||
23740 | fi | ||
23741 | |||
23742 | 24146 | ||
23743 | 24147 | ||
23744 | fi; | 24148 | fi; |
@@ -25020,6 +25424,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | |||
25020 | LIBS=`echo $LIBS | sed 's/-ldl //'` | 25424 | LIBS=`echo $LIBS | sed 's/-ldl //'` |
25021 | fi | 25425 | fi |
25022 | 25426 | ||
25427 | CFLAGS="$CFLAGS $werror_flags" | ||
25428 | |||
25023 | 25429 | ||
25024 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" | 25430 | ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds survey.sh" |
25025 | 25431 | ||