diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:32:03 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:32:03 +0000 |
commit | 04942aa41fa94ec6f2c3ce1d348f600f31bb7c78 (patch) | |
tree | af8e928bd79d3f2d0219bb5b2c78b573ec31d94c /configure | |
parent | 9ad7b718d42e43f3a285fcbc8f91193931fce324 (diff) | |
parent | 16704d57999d987fb8d9ba53379841a79f016d67 (diff) |
import openssh-4.2p1-gsskex-20050926-2.patch
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1519 |
1 files changed, 1025 insertions, 494 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) |
@@ -881,7 +884,7 @@ Optional Packages: | |||
881 | --with-entropy-timeout Specify entropy gathering command timeout (msec) | 884 | --with-entropy-timeout Specify entropy gathering command timeout (msec) |
882 | --with-privsep-user=user Specify non-privileged user for privilege separation | 885 | --with-privsep-user=user Specify non-privileged user for privilege separation |
883 | --with-sectok Enable smartcard support using libsectok | 886 | --with-sectok Enable smartcard support using libsectok |
884 | --with-opensc=PFX Enable smartcard support using OpenSC | 887 | --with-opensc[=PFX] Enable smartcard support using OpenSC (optionally in PATH) |
885 | --with-kerberos5=PATH Enable Kerberos 5 support | 888 | --with-kerberos5=PATH Enable Kerberos 5 support |
886 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) | 889 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) |
887 | --with-xauth=PATH Specify path to xauth program | 890 | --with-xauth=PATH Specify path to xauth program |
@@ -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 | ||
@@ -4643,6 +4892,77 @@ _ACEOF | |||
4643 | 4892 | ||
4644 | 4893 | ||
4645 | fi | 4894 | fi |
4895 | echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 | ||
4896 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6 | ||
4897 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then | ||
4898 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4899 | else | ||
4900 | cat >conftest.$ac_ext <<_ACEOF | ||
4901 | /* confdefs.h. */ | ||
4902 | _ACEOF | ||
4903 | cat confdefs.h >>conftest.$ac_ext | ||
4904 | cat >>conftest.$ac_ext <<_ACEOF | ||
4905 | /* end confdefs.h. */ | ||
4906 | #include <usersec.h> | ||
4907 | |||
4908 | int | ||
4909 | main () | ||
4910 | { | ||
4911 | #ifndef setauthdb | ||
4912 | char *p = (char *) setauthdb; | ||
4913 | #endif | ||
4914 | |||
4915 | ; | ||
4916 | return 0; | ||
4917 | } | ||
4918 | _ACEOF | ||
4919 | rm -f conftest.$ac_objext | ||
4920 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4921 | (eval $ac_compile) 2>conftest.er1 | ||
4922 | ac_status=$? | ||
4923 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4924 | rm -f conftest.er1 | ||
4925 | cat conftest.err >&5 | ||
4926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4927 | (exit $ac_status); } && | ||
4928 | { ac_try='test -z "$ac_c_werror_flag" | ||
4929 | || test ! -s conftest.err' | ||
4930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4931 | (eval $ac_try) 2>&5 | ||
4932 | ac_status=$? | ||
4933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4934 | (exit $ac_status); }; } && | ||
4935 | { ac_try='test -s conftest.$ac_objext' | ||
4936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
4937 | (eval $ac_try) 2>&5 | ||
4938 | ac_status=$? | ||
4939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4940 | (exit $ac_status); }; }; then | ||
4941 | ac_cv_have_decl_setauthdb=yes | ||
4942 | else | ||
4943 | echo "$as_me: failed program was:" >&5 | ||
4944 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4945 | |||
4946 | ac_cv_have_decl_setauthdb=no | ||
4947 | fi | ||
4948 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4949 | fi | ||
4950 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 | ||
4951 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6 | ||
4952 | if test $ac_cv_have_decl_setauthdb = yes; then | ||
4953 | |||
4954 | cat >>confdefs.h <<_ACEOF | ||
4955 | #define HAVE_DECL_SETAUTHDB 1 | ||
4956 | _ACEOF | ||
4957 | |||
4958 | |||
4959 | else | ||
4960 | cat >>confdefs.h <<_ACEOF | ||
4961 | #define HAVE_DECL_SETAUTHDB 0 | ||
4962 | _ACEOF | ||
4963 | |||
4964 | |||
4965 | fi | ||
4646 | 4966 | ||
4647 | 4967 | ||
4648 | echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 | 4968 | echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 |
@@ -5019,121 +5339,8 @@ _ACEOF | |||
5019 | _ACEOF | 5339 | _ACEOF |
5020 | 5340 | ||
5021 | ;; | 5341 | ;; |
5022 | *-*-hpux10.26) | 5342 | *-*-hpux*) |
5023 | if test -z "$GCC"; then | 5343 | # first we define all of the options common to all HP-UX releases |
5024 | CFLAGS="$CFLAGS -Ae" | ||
5025 | fi | ||
5026 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5027 | IPADDR_IN_DISPLAY=yes | ||
5028 | cat >>confdefs.h <<\_ACEOF | ||
5029 | #define HAVE_SECUREWARE 1 | ||
5030 | _ACEOF | ||
5031 | |||
5032 | cat >>confdefs.h <<\_ACEOF | ||
5033 | #define USE_PIPES 1 | ||
5034 | _ACEOF | ||
5035 | |||
5036 | cat >>confdefs.h <<\_ACEOF | ||
5037 | #define LOGIN_NO_ENDOPT 1 | ||
5038 | _ACEOF | ||
5039 | |||
5040 | cat >>confdefs.h <<\_ACEOF | ||
5041 | #define LOGIN_NEEDS_UTMPX 1 | ||
5042 | _ACEOF | ||
5043 | |||
5044 | cat >>confdefs.h <<\_ACEOF | ||
5045 | #define LOCKED_PASSWD_STRING "*" | ||
5046 | _ACEOF | ||
5047 | |||
5048 | cat >>confdefs.h <<\_ACEOF | ||
5049 | #define SPT_TYPE SPT_PSTAT | ||
5050 | _ACEOF | ||
5051 | |||
5052 | LIBS="$LIBS -lsec -lsecpw" | ||
5053 | |||
5054 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5055 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5056 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5057 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5058 | else | ||
5059 | ac_check_lib_save_LIBS=$LIBS | ||
5060 | LIBS="-lxnet $LIBS" | ||
5061 | cat >conftest.$ac_ext <<_ACEOF | ||
5062 | /* confdefs.h. */ | ||
5063 | _ACEOF | ||
5064 | cat confdefs.h >>conftest.$ac_ext | ||
5065 | cat >>conftest.$ac_ext <<_ACEOF | ||
5066 | /* end confdefs.h. */ | ||
5067 | |||
5068 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5069 | #ifdef __cplusplus | ||
5070 | extern "C" | ||
5071 | #endif | ||
5072 | /* We use char because int might match the return type of a gcc2 | ||
5073 | builtin and then its argument prototype would still apply. */ | ||
5074 | char t_error (); | ||
5075 | int | ||
5076 | main () | ||
5077 | { | ||
5078 | t_error (); | ||
5079 | ; | ||
5080 | return 0; | ||
5081 | } | ||
5082 | _ACEOF | ||
5083 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5084 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5085 | (eval $ac_link) 2>conftest.er1 | ||
5086 | ac_status=$? | ||
5087 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5088 | rm -f conftest.er1 | ||
5089 | cat conftest.err >&5 | ||
5090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5091 | (exit $ac_status); } && | ||
5092 | { ac_try='test -z "$ac_c_werror_flag" | ||
5093 | || test ! -s conftest.err' | ||
5094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5095 | (eval $ac_try) 2>&5 | ||
5096 | ac_status=$? | ||
5097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5098 | (exit $ac_status); }; } && | ||
5099 | { ac_try='test -s conftest$ac_exeext' | ||
5100 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5101 | (eval $ac_try) 2>&5 | ||
5102 | ac_status=$? | ||
5103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5104 | (exit $ac_status); }; }; then | ||
5105 | ac_cv_lib_xnet_t_error=yes | ||
5106 | else | ||
5107 | echo "$as_me: failed program was:" >&5 | ||
5108 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5109 | |||
5110 | ac_cv_lib_xnet_t_error=no | ||
5111 | fi | ||
5112 | rm -f conftest.err conftest.$ac_objext \ | ||
5113 | conftest$ac_exeext conftest.$ac_ext | ||
5114 | LIBS=$ac_check_lib_save_LIBS | ||
5115 | fi | ||
5116 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5117 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5118 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5119 | cat >>confdefs.h <<_ACEOF | ||
5120 | #define HAVE_LIBXNET 1 | ||
5121 | _ACEOF | ||
5122 | |||
5123 | LIBS="-lxnet $LIBS" | ||
5124 | |||
5125 | else | ||
5126 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | ||
5127 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5128 | { (exit 1); exit 1; }; } | ||
5129 | fi | ||
5130 | |||
5131 | disable_ptmx_check=yes | ||
5132 | ;; | ||
5133 | *-*-hpux10*) | ||
5134 | if test -z "$GCC"; then | ||
5135 | CFLAGS="$CFLAGS -Ae" | ||
5136 | fi | ||
5137 | 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" |
5138 | IPADDR_IN_DISPLAY=yes | 5345 | IPADDR_IN_DISPLAY=yes |
5139 | cat >>confdefs.h <<\_ACEOF | 5346 | cat >>confdefs.h <<\_ACEOF |
@@ -5235,124 +5442,44 @@ echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | |||
5235 | { (exit 1); exit 1; }; } | 5442 | { (exit 1); exit 1; }; } |
5236 | fi | 5443 | fi |
5237 | 5444 | ||
5238 | ;; | ||
5239 | *-*-hpux11*) | ||
5240 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
5241 | IPADDR_IN_DISPLAY=yes | ||
5242 | cat >>confdefs.h <<\_ACEOF | ||
5243 | #define PAM_SUN_CODEBASE 1 | ||
5244 | _ACEOF | ||
5245 | |||
5246 | cat >>confdefs.h <<\_ACEOF | ||
5247 | #define USE_PIPES 1 | ||
5248 | _ACEOF | ||
5249 | |||
5250 | cat >>confdefs.h <<\_ACEOF | ||
5251 | #define LOGIN_NO_ENDOPT 1 | ||
5252 | _ACEOF | ||
5253 | 5445 | ||
5254 | cat >>confdefs.h <<\_ACEOF | 5446 | # next, we define all of the options specific to major releases |
5255 | #define LOGIN_NEEDS_UTMPX 1 | 5447 | case "$host" in |
5448 | *-*-hpux10*) | ||
5449 | if test -z "$GCC"; then | ||
5450 | CFLAGS="$CFLAGS -Ae" | ||
5451 | fi | ||
5452 | ;; | ||
5453 | *-*-hpux11*) | ||
5454 | cat >>confdefs.h <<\_ACEOF | ||
5455 | #define PAM_SUN_CODEBASE 1 | ||
5256 | _ACEOF | 5456 | _ACEOF |
5257 | 5457 | ||
5258 | cat >>confdefs.h <<\_ACEOF | 5458 | cat >>confdefs.h <<\_ACEOF |
5259 | #define DISABLE_UTMP 1 | 5459 | #define DISABLE_UTMP 1 |
5260 | _ACEOF | 5460 | _ACEOF |
5261 | 5461 | ||
5262 | cat >>confdefs.h <<\_ACEOF | ||
5263 | #define LOCKED_PASSWD_STRING "*" | ||
5264 | _ACEOF | ||
5265 | |||
5266 | cat >>confdefs.h <<\_ACEOF | ||
5267 | #define SPT_TYPE SPT_PSTAT | ||
5268 | _ACEOF | ||
5269 | |||
5270 | 5462 | ||
5271 | cat >>confdefs.h <<\_ACEOF | 5463 | cat >>confdefs.h <<\_ACEOF |
5272 | #define USE_BTMP 1 | 5464 | #define USE_BTMP 1 |
5273 | _ACEOF | 5465 | _ACEOF |
5274 | 5466 | ||
5275 | check_for_hpux_broken_getaddrinfo=1 | 5467 | check_for_hpux_broken_getaddrinfo=1 |
5276 | check_for_conflicting_getspnam=1 | 5468 | check_for_conflicting_getspnam=1 |
5277 | LIBS="$LIBS -lsec" | 5469 | ;; |
5278 | 5470 | esac | |
5279 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | ||
5280 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | ||
5281 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | ||
5282 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5283 | else | ||
5284 | ac_check_lib_save_LIBS=$LIBS | ||
5285 | LIBS="-lxnet $LIBS" | ||
5286 | cat >conftest.$ac_ext <<_ACEOF | ||
5287 | /* confdefs.h. */ | ||
5288 | _ACEOF | ||
5289 | cat confdefs.h >>conftest.$ac_ext | ||
5290 | cat >>conftest.$ac_ext <<_ACEOF | ||
5291 | /* end confdefs.h. */ | ||
5292 | |||
5293 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5294 | #ifdef __cplusplus | ||
5295 | extern "C" | ||
5296 | #endif | ||
5297 | /* We use char because int might match the return type of a gcc2 | ||
5298 | builtin and then its argument prototype would still apply. */ | ||
5299 | char t_error (); | ||
5300 | int | ||
5301 | main () | ||
5302 | { | ||
5303 | t_error (); | ||
5304 | ; | ||
5305 | return 0; | ||
5306 | } | ||
5307 | _ACEOF | ||
5308 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5309 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5310 | (eval $ac_link) 2>conftest.er1 | ||
5311 | ac_status=$? | ||
5312 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5313 | rm -f conftest.er1 | ||
5314 | cat conftest.err >&5 | ||
5315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5316 | (exit $ac_status); } && | ||
5317 | { ac_try='test -z "$ac_c_werror_flag" | ||
5318 | || test ! -s conftest.err' | ||
5319 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5320 | (eval $ac_try) 2>&5 | ||
5321 | ac_status=$? | ||
5322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5323 | (exit $ac_status); }; } && | ||
5324 | { ac_try='test -s conftest$ac_exeext' | ||
5325 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
5326 | (eval $ac_try) 2>&5 | ||
5327 | ac_status=$? | ||
5328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5329 | (exit $ac_status); }; }; then | ||
5330 | ac_cv_lib_xnet_t_error=yes | ||
5331 | else | ||
5332 | echo "$as_me: failed program was:" >&5 | ||
5333 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5334 | 5471 | ||
5335 | ac_cv_lib_xnet_t_error=no | 5472 | # lastly, we define options specific to minor releases |
5336 | fi | 5473 | case "$host" in |
5337 | rm -f conftest.err conftest.$ac_objext \ | 5474 | *-*-hpux10.26) |
5338 | conftest$ac_exeext conftest.$ac_ext | 5475 | cat >>confdefs.h <<\_ACEOF |
5339 | LIBS=$ac_check_lib_save_LIBS | 5476 | #define HAVE_SECUREWARE 1 |
5340 | fi | ||
5341 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | ||
5342 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | ||
5343 | if test $ac_cv_lib_xnet_t_error = yes; then | ||
5344 | cat >>confdefs.h <<_ACEOF | ||
5345 | #define HAVE_LIBXNET 1 | ||
5346 | _ACEOF | 5477 | _ACEOF |
5347 | 5478 | ||
5348 | LIBS="-lxnet $LIBS" | 5479 | disable_ptmx_check=yes |
5349 | 5480 | LIBS="$LIBS -lsecpw" | |
5350 | else | 5481 | ;; |
5351 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 5482 | esac |
5352 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
5353 | { (exit 1); exit 1; }; } | ||
5354 | fi | ||
5355 | |||
5356 | ;; | 5483 | ;; |
5357 | *-*-irix5*) | 5484 | *-*-irix5*) |
5358 | PATH="$PATH:/usr/etc" | 5485 | PATH="$PATH:/usr/etc" |
@@ -5566,8 +5693,9 @@ _ACEOF | |||
5566 | esac | 5693 | esac |
5567 | ;; | 5694 | ;; |
5568 | mips-sony-bsd|mips-sony-newsos4) | 5695 | mips-sony-bsd|mips-sony-newsos4) |
5569 | cat >>confdefs.h <<\_ACEOF | 5696 | |
5570 | #define HAVE_NEWS4 1 | 5697 | cat >>confdefs.h <<\_ACEOF |
5698 | #define NEED_SETPRGP | ||
5571 | _ACEOF | 5699 | _ACEOF |
5572 | 5700 | ||
5573 | SONY=1 | 5701 | SONY=1 |
@@ -5617,6 +5745,13 @@ _ACEOF | |||
5617 | _ACEOF | 5745 | _ACEOF |
5618 | 5746 | ||
5619 | ;; | 5747 | ;; |
5748 | *-*-openbsd*) | ||
5749 | |||
5750 | cat >>confdefs.h <<\_ACEOF | ||
5751 | #define HAVE_ATTRIBUTE__SENTINEL__ 1 | ||
5752 | _ACEOF | ||
5753 | |||
5754 | ;; | ||
5620 | *-*-solaris*) | 5755 | *-*-solaris*) |
5621 | if test "x$withval" != "xno" ; then | 5756 | if test "x$withval" != "xno" ; then |
5622 | need_dash_r=1 | 5757 | need_dash_r=1 |
@@ -6004,9 +6139,20 @@ _ACEOF | |||
6004 | #define BROKEN_SETREGID 1 | 6139 | #define BROKEN_SETREGID 1 |
6005 | _ACEOF | 6140 | _ACEOF |
6006 | 6141 | ||
6142 | |||
6143 | cat >>confdefs.h <<\_ACEOF | ||
6144 | #define PASSWD_NEEDS_USERNAME 1 | ||
6145 | _ACEOF | ||
6146 | |||
6007 | ;; | 6147 | ;; |
6008 | # UnixWare 7.x, OpenUNIX 8 | 6148 | # UnixWare 7.x, OpenUNIX 8 |
6009 | *-*-sysv5*) | 6149 | *-*-sysv5*) |
6150 | check_for_libcrypt_later=1 | ||
6151 | |||
6152 | cat >>confdefs.h <<\_ACEOF | ||
6153 | #define UNIXWARE_LONG_PASSWORDS 1 | ||
6154 | _ACEOF | ||
6155 | |||
6010 | cat >>confdefs.h <<\_ACEOF | 6156 | cat >>confdefs.h <<\_ACEOF |
6011 | #define USE_PIPES 1 | 6157 | #define USE_PIPES 1 |
6012 | _ACEOF | 6158 | _ACEOF |
@@ -6023,6 +6169,21 @@ _ACEOF | |||
6023 | #define BROKEN_SETREGID 1 | 6169 | #define BROKEN_SETREGID 1 |
6024 | _ACEOF | 6170 | _ACEOF |
6025 | 6171 | ||
6172 | |||
6173 | cat >>confdefs.h <<\_ACEOF | ||
6174 | #define PASSWD_NEEDS_USERNAME 1 | ||
6175 | _ACEOF | ||
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 | ||
6026 | ;; | 6187 | ;; |
6027 | *-*-sysv*) | 6188 | *-*-sysv*) |
6028 | ;; | 6189 | ;; |
@@ -6355,6 +6516,42 @@ _ACEOF | |||
6355 | _ACEOF | 6516 | _ACEOF |
6356 | 6517 | ||
6357 | ;; | 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 | ;; | ||
6358 | esac | 6555 | esac |
6359 | 6556 | ||
6360 | # Allow user to specify flags | 6557 | # Allow user to specify flags |
@@ -6363,7 +6560,8 @@ esac | |||
6363 | if test "${with_cflags+set}" = set; then | 6560 | if test "${with_cflags+set}" = set; then |
6364 | withval="$with_cflags" | 6561 | withval="$with_cflags" |
6365 | 6562 | ||
6366 | if test "x$withval" != "xno" ; then | 6563 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6564 | test "x${withval}" != "xyes"; then | ||
6367 | CFLAGS="$CFLAGS $withval" | 6565 | CFLAGS="$CFLAGS $withval" |
6368 | fi | 6566 | fi |
6369 | 6567 | ||
@@ -6374,7 +6572,8 @@ fi; | |||
6374 | if test "${with_cppflags+set}" = set; then | 6572 | if test "${with_cppflags+set}" = set; then |
6375 | withval="$with_cppflags" | 6573 | withval="$with_cppflags" |
6376 | 6574 | ||
6377 | if test "x$withval" != "xno"; then | 6575 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6576 | test "x${withval}" != "xyes"; then | ||
6378 | CPPFLAGS="$CPPFLAGS $withval" | 6577 | CPPFLAGS="$CPPFLAGS $withval" |
6379 | fi | 6578 | fi |
6380 | 6579 | ||
@@ -6385,7 +6584,8 @@ fi; | |||
6385 | if test "${with_ldflags+set}" = set; then | 6584 | if test "${with_ldflags+set}" = set; then |
6386 | withval="$with_ldflags" | 6585 | withval="$with_ldflags" |
6387 | 6586 | ||
6388 | if test "x$withval" != "xno" ; then | 6587 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6588 | test "x${withval}" != "xyes"; then | ||
6389 | LDFLAGS="$LDFLAGS $withval" | 6589 | LDFLAGS="$LDFLAGS $withval" |
6390 | fi | 6590 | fi |
6391 | 6591 | ||
@@ -6396,13 +6596,28 @@ fi; | |||
6396 | if test "${with_libs+set}" = set; then | 6596 | if test "${with_libs+set}" = set; then |
6397 | withval="$with_libs" | 6597 | withval="$with_libs" |
6398 | 6598 | ||
6399 | if test "x$withval" != "xno" ; then | 6599 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6600 | test "x${withval}" != "xyes"; then | ||
6400 | LIBS="$LIBS $withval" | 6601 | LIBS="$LIBS $withval" |
6401 | fi | 6602 | fi |
6402 | 6603 | ||
6403 | 6604 | ||
6404 | fi; | 6605 | fi; |
6405 | 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 | |||
6406 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | 6621 | echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
6407 | 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 |
6408 | if test "$cross_compiling" = yes; then | 6623 | if test "$cross_compiling" = yes; then |
@@ -6451,7 +6666,6 @@ fi | |||
6451 | 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 |
6452 | fi | 6667 | fi |
6453 | 6668 | ||
6454 | # Checks for header files. | ||
6455 | 6669 | ||
6456 | echo "$as_me:$LINENO: checking for egrep" >&5 | 6670 | echo "$as_me:$LINENO: checking for egrep" >&5 |
6457 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 6671 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
@@ -6761,16 +6975,69 @@ done | |||
6761 | 6975 | ||
6762 | 6976 | ||
6763 | 6977 | ||
6764 | for ac_header in bstring.h crypt.h dirent.h endian.h features.h \ | 6978 | |
6765 | floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \ | 6979 | |
6766 | login_cap.h maillock.h ndir.h netdb.h netgroup.h \ | 6980 | |
6767 | netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ | 6981 | for ac_header in \ |
6768 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 6982 | bstring.h \ |
6769 | strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \ | 6983 | crypt.h \ |
6770 | sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \ | 6984 | dirent.h \ |
6771 | sys/pstat.h sys/select.h sys/stat.h sys/stream.h \ | 6985 | endian.h \ |
6772 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \ | 6986 | features.h \ |
6773 | 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 | |||
6774 | do | 7041 | do |
6775 | 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` |
6776 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7043 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
@@ -6891,9 +7158,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
6891 | 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;} |
6892 | ( | 7159 | ( |
6893 | cat <<\_ASBOX | 7160 | cat <<\_ASBOX |
6894 | ## ---------------------------------- ## | 7161 | ## ------------------------------------------- ## |
6895 | ## Report this to the OpenSSH lists. ## | 7162 | ## Report this to openssh-unix-dev@mindrot.org ## |
6896 | ## ---------------------------------- ## | 7163 | ## ------------------------------------------- ## |
6897 | _ASBOX | 7164 | _ASBOX |
6898 | ) | | 7165 | ) | |
6899 | sed "s/^/$as_me: WARNING: /" >&2 | 7166 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7547,9 +7814,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7547 | 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;} |
7548 | ( | 7815 | ( |
7549 | cat <<\_ASBOX | 7816 | cat <<\_ASBOX |
7550 | ## ---------------------------------- ## | 7817 | ## ------------------------------------------- ## |
7551 | ## Report this to the OpenSSH lists. ## | 7818 | ## Report this to openssh-unix-dev@mindrot.org ## |
7552 | ## ---------------------------------- ## | 7819 | ## ------------------------------------------- ## |
7553 | _ASBOX | 7820 | _ASBOX |
7554 | ) | | 7821 | ) | |
7555 | sed "s/^/$as_me: WARNING: /" >&2 | 7822 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -7837,9 +8104,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
7837 | 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;} |
7838 | ( | 8105 | ( |
7839 | cat <<\_ASBOX | 8106 | cat <<\_ASBOX |
7840 | ## ---------------------------------- ## | 8107 | ## ------------------------------------------- ## |
7841 | ## Report this to the OpenSSH lists. ## | 8108 | ## Report this to openssh-unix-dev@mindrot.org ## |
7842 | ## ---------------------------------- ## | 8109 | ## ------------------------------------------- ## |
7843 | _ASBOX | 8110 | _ASBOX |
7844 | ) | | 8111 | ) | |
7845 | sed "s/^/$as_me: WARNING: /" >&2 | 8112 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8171,12 +8438,11 @@ fi | |||
8171 | # Check whether --with-zlib or --without-zlib was given. | 8438 | # Check whether --with-zlib or --without-zlib was given. |
8172 | if test "${with_zlib+set}" = set; then | 8439 | if test "${with_zlib+set}" = set; then |
8173 | withval="$with_zlib" | 8440 | withval="$with_zlib" |
8174 | 8441 | if test "x$withval" = "xno" ; then | |
8175 | if test "x$withval" = "xno" ; then | 8442 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 |
8176 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | ||
8177 | echo "$as_me: error: *** zlib is required ***" >&2;} | 8443 | echo "$as_me: error: *** zlib is required ***" >&2;} |
8178 | { (exit 1); exit 1; }; } | 8444 | { (exit 1); exit 1; }; } |
8179 | fi | 8445 | elif test "x$withval" != "xyes"; then |
8180 | if test -d "$withval/lib"; then | 8446 | if test -d "$withval/lib"; then |
8181 | if test -n "${need_dash_r}"; then | 8447 | if test -n "${need_dash_r}"; then |
8182 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | 8448 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" |
@@ -8195,7 +8461,7 @@ echo "$as_me: error: *** zlib is required ***" >&2;} | |||
8195 | else | 8461 | else |
8196 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | 8462 | CPPFLAGS="-I${withval} ${CPPFLAGS}" |
8197 | fi | 8463 | fi |
8198 | 8464 | fi | |
8199 | 8465 | ||
8200 | fi; | 8466 | fi; |
8201 | 8467 | ||
@@ -8466,9 +8732,9 @@ echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | |||
8466 | 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;} |
8467 | ( | 8733 | ( |
8468 | cat <<\_ASBOX | 8734 | cat <<\_ASBOX |
8469 | ## ---------------------------------- ## | 8735 | ## ------------------------------------------- ## |
8470 | ## Report this to the OpenSSH lists. ## | 8736 | ## Report this to openssh-unix-dev@mindrot.org ## |
8471 | ## ---------------------------------- ## | 8737 | ## ------------------------------------------- ## |
8472 | _ASBOX | 8738 | _ASBOX |
8473 | ) | | 8739 | ) | |
8474 | sed "s/^/$as_me: WARNING: /" >&2 | 8740 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -8506,8 +8772,8 @@ if test "${with_zlib_version_check+set}" = set; then | |||
8506 | 8772 | ||
8507 | fi; | 8773 | fi; |
8508 | 8774 | ||
8509 | echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5 | 8775 | echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 |
8510 | echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 | 8776 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6 |
8511 | if test "$cross_compiling" = yes; then | 8777 | if test "$cross_compiling" = yes; then |
8512 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 | 8778 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 |
8513 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} | 8779 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} |
@@ -8520,15 +8786,25 @@ cat confdefs.h >>conftest.$ac_ext | |||
8520 | cat >>conftest.$ac_ext <<_ACEOF | 8786 | cat >>conftest.$ac_ext <<_ACEOF |
8521 | /* end confdefs.h. */ | 8787 | /* end confdefs.h. */ |
8522 | 8788 | ||
8789 | #include <stdio.h> | ||
8523 | #include <zlib.h> | 8790 | #include <zlib.h> |
8524 | int main() | 8791 | int main() |
8525 | { | 8792 | { |
8526 | int a, b, c, v; | 8793 | int a=0, b=0, c=0, d=0, n, v; |
8527 | if (sscanf(ZLIB_VERSION, "%d.%d.%d", &a, &b, &c) != 3) | 8794 | n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d); |
8795 | if (n != 3 && n != 4) | ||
8528 | exit(1); | 8796 | exit(1); |
8529 | v = a*1000000 + b*1000 + c; | 8797 | v = a*1000000 + b*10000 + c*100 + d; |
8530 | if (v >= 1001004) | 8798 | fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v); |
8799 | |||
8800 | /* 1.1.4 is OK */ | ||
8801 | if (a == 1 && b == 1 && c >= 4) | ||
8802 | exit(0); | ||
8803 | |||
8804 | /* 1.2.3 and up are OK */ | ||
8805 | if (v >= 1020300) | ||
8531 | exit(0); | 8806 | exit(0); |
8807 | |||
8532 | exit(2); | 8808 | exit(2); |
8533 | } | 8809 | } |
8534 | 8810 | ||
@@ -8544,29 +8820,31 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
8544 | ac_status=$? | 8820 | ac_status=$? |
8545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8546 | (exit $ac_status); }; }; then | 8822 | (exit $ac_status); }; }; then |
8547 | echo "$as_me:$LINENO: result: yes" >&5 | 8823 | echo "$as_me:$LINENO: result: no" >&5 |
8548 | echo "${ECHO_T}yes" >&6 | 8824 | echo "${ECHO_T}no" >&6 |
8549 | else | 8825 | else |
8550 | echo "$as_me: program exited with status $ac_status" >&5 | 8826 | echo "$as_me: program exited with status $ac_status" >&5 |
8551 | echo "$as_me: failed program was:" >&5 | 8827 | echo "$as_me: failed program was:" >&5 |
8552 | sed 's/^/| /' conftest.$ac_ext >&5 | 8828 | sed 's/^/| /' conftest.$ac_ext >&5 |
8553 | 8829 | ||
8554 | ( exit $ac_status ) | 8830 | ( exit $ac_status ) |
8555 | echo "$as_me:$LINENO: result: no" >&5 | 8831 | echo "$as_me:$LINENO: result: yes" >&5 |
8556 | echo "${ECHO_T}no" >&6 | 8832 | echo "${ECHO_T}yes" >&6 |
8557 | if test -z "$zlib_check_nonfatal" ; then | 8833 | if test -z "$zlib_check_nonfatal" ; then |
8558 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** | 8834 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** |
8559 | Your reported zlib version has known security problems. It's possible your | 8835 | Your reported zlib version has known security problems. It's possible your |
8560 | 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 |
8561 | 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 |
8562 | \"./configure --without-zlib-version-check\". | 8838 | \"./configure --without-zlib-version-check\". |
8563 | If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&5 | 8839 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8840 | See http://www.gzip.org/zlib/ for details." >&5 | ||
8564 | echo "$as_me: error: *** zlib too old - check config.log *** | 8841 | echo "$as_me: error: *** zlib too old - check config.log *** |
8565 | 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 |
8566 | 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 |
8567 | 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 |
8568 | \"./configure --without-zlib-version-check\". | 8845 | \"./configure --without-zlib-version-check\". |
8569 | If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;} | 8846 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8847 | See http://www.gzip.org/zlib/ for details." >&2;} | ||
8570 | { (exit 1); exit 1; }; } | 8848 | { (exit 1); exit 1; }; } |
8571 | else | 8849 | else |
8572 | { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 | 8850 | { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 |
@@ -9032,9 +9310,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
9032 | 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;} |
9033 | ( | 9311 | ( |
9034 | cat <<\_ASBOX | 9312 | cat <<\_ASBOX |
9035 | ## ---------------------------------- ## | 9313 | ## ------------------------------------------- ## |
9036 | ## Report this to the OpenSSH lists. ## | 9314 | ## Report this to openssh-unix-dev@mindrot.org ## |
9037 | ## ---------------------------------- ## | 9315 | ## ------------------------------------------- ## |
9038 | _ASBOX | 9316 | _ASBOX |
9039 | ) | | 9317 | ) | |
9040 | sed "s/^/$as_me: WARNING: /" >&2 | 9318 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -9753,7 +10031,8 @@ if test "${with_tcp_wrappers+set}" = set; then | |||
9753 | saved_LIBS="$LIBS" | 10031 | saved_LIBS="$LIBS" |
9754 | saved_LDFLAGS="$LDFLAGS" | 10032 | saved_LDFLAGS="$LDFLAGS" |
9755 | saved_CPPFLAGS="$CPPFLAGS" | 10033 | saved_CPPFLAGS="$CPPFLAGS" |
9756 | if test -n "${withval}" -a "${withval}" != "yes"; then | 10034 | if test -n "${withval}" && \ |
10035 | test "x${withval}" != "xyes"; then | ||
9757 | if test -d "${withval}/lib"; then | 10036 | if test -d "${withval}/lib"; then |
9758 | if test -n "${need_dash_r}"; then | 10037 | if test -n "${need_dash_r}"; then |
9759 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | 10038 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" |
@@ -9856,13 +10135,17 @@ LIBEDIT_MSG="no" | |||
9856 | if test "${with_libedit+set}" = set; then | 10135 | if test "${with_libedit+set}" = set; then |
9857 | withval="$with_libedit" | 10136 | withval="$with_libedit" |
9858 | if test "x$withval" != "xno" ; then | 10137 | if test "x$withval" != "xno" ; then |
10138 | if test "x$withval" != "xyes"; then | ||
10139 | CPPFLAGS="$CPPFLAGS -I$withval/include" | ||
10140 | LDFLAGS="$LDFLAGS -L$withval/lib" | ||
10141 | fi | ||
9859 | echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 | 10142 | echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 |
9860 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 | 10143 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6 |
9861 | if test "${ac_cv_lib_edit_el_init+set}" = set; then | 10144 | if test "${ac_cv_lib_edit_el_init+set}" = set; then |
9862 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10145 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9863 | else | 10146 | else |
9864 | ac_check_lib_save_LIBS=$LIBS | 10147 | ac_check_lib_save_LIBS=$LIBS |
9865 | LIBS="-ledit -lcurses | 10148 | LIBS="-ledit -lcurses |
9866 | $LIBS" | 10149 | $LIBS" |
9867 | cat >conftest.$ac_ext <<_ACEOF | 10150 | cat >conftest.$ac_ext <<_ACEOF |
9868 | /* confdefs.h. */ | 10151 | /* confdefs.h. */ |
@@ -9931,8 +10214,66 @@ _ACEOF | |||
9931 | LIBEDIT_MSG="yes" | 10214 | LIBEDIT_MSG="yes" |
9932 | 10215 | ||
9933 | 10216 | ||
10217 | else | ||
10218 | { { echo "$as_me:$LINENO: error: libedit not found" >&5 | ||
10219 | echo "$as_me: error: libedit not found" >&2;} | ||
10220 | { (exit 1); exit 1; }; } | ||
9934 | fi | 10221 | fi |
9935 | 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 | ||
9936 | fi | 10277 | fi |
9937 | 10278 | ||
9938 | fi; | 10279 | fi; |
@@ -10072,9 +10413,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
10072 | 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;} |
10073 | ( | 10414 | ( |
10074 | cat <<\_ASBOX | 10415 | cat <<\_ASBOX |
10075 | ## ---------------------------------- ## | 10416 | ## ------------------------------------------- ## |
10076 | ## Report this to the OpenSSH lists. ## | 10417 | ## Report this to openssh-unix-dev@mindrot.org ## |
10077 | ## ---------------------------------- ## | 10418 | ## ------------------------------------------- ## |
10078 | _ASBOX | 10419 | _ASBOX |
10079 | ) | | 10420 | ) | |
10080 | sed "s/^/$as_me: WARNING: /" >&2 | 10421 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -10407,6 +10748,10 @@ cat >>confdefs.h <<\_ACEOF | |||
10407 | _ACEOF | 10748 | _ACEOF |
10408 | 10749 | ||
10409 | ;; | 10750 | ;; |
10751 | no) | ||
10752 | echo "$as_me:$LINENO: result: no" >&5 | ||
10753 | echo "${ECHO_T}no" >&6 | ||
10754 | ;; | ||
10410 | *) | 10755 | *) |
10411 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | 10756 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 |
10412 | echo "$as_me: error: Unknown audit module $withval" >&2;} | 10757 | echo "$as_me: error: Unknown audit module $withval" >&2;} |
@@ -10494,19 +10839,89 @@ fi; | |||
10494 | 10839 | ||
10495 | 10840 | ||
10496 | 10841 | ||
10842 | |||
10843 | |||
10497 | for ac_func in \ | 10844 | for ac_func in \ |
10498 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \ | 10845 | arc4random \ |
10499 | bindresvport_sa clock closefrom dirfd fchdir fchmod fchown \ | 10846 | b64_ntop \ |
10500 | freeaddrinfo futimes getaddrinfo getcwd getgrouplist getnameinfo \ | 10847 | __b64_ntop \ |
10501 | getopt getpeereid _getpty getrlimit getttyent glob inet_aton \ | 10848 | b64_pton \ |
10502 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 10849 | __b64_pton \ |
10503 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ | 10850 | bcopy \ |
10504 | pstat prctl readpassphrase realpath recvmsg rresvport_af sendmsg \ | 10851 | bindresvport_sa \ |
10505 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ | 10852 | clock \ |
10506 | setproctitle setregid setreuid setrlimit \ | 10853 | closefrom \ |
10507 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ | 10854 | dirfd \ |
10508 | strlcat strlcpy strmode strnvis strtoul sysconf tcgetpgrp \ | 10855 | fchmod \ |
10509 | 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 \ | ||
10510 | 10925 | ||
10511 | do | 10926 | do |
10512 | 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` |
@@ -10904,9 +11319,9 @@ _ACEOF | |||
10904 | fi | 11319 | fi |
10905 | 11320 | ||
10906 | 11321 | ||
10907 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | 11322 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 |
10908 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 11323 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 |
10909 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 11324 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
10910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11325 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10911 | else | 11326 | else |
10912 | cat >conftest.$ac_ext <<_ACEOF | 11327 | cat >conftest.$ac_ext <<_ACEOF |
@@ -10919,8 +11334,8 @@ $ac_includes_default | |||
10919 | int | 11334 | int |
10920 | main () | 11335 | main () |
10921 | { | 11336 | { |
10922 | #ifndef strsep | 11337 | #ifndef getrusage |
10923 | char *p = (char *) strsep; | 11338 | char *p = (char *) getrusage; |
10924 | #endif | 11339 | #endif |
10925 | 11340 | ||
10926 | ; | 11341 | ; |
@@ -10949,20 +11364,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
10949 | ac_status=$? | 11364 | ac_status=$? |
10950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10951 | (exit $ac_status); }; }; then | 11366 | (exit $ac_status); }; }; then |
10952 | ac_cv_have_decl_strsep=yes | 11367 | ac_cv_have_decl_getrusage=yes |
10953 | else | 11368 | else |
10954 | echo "$as_me: failed program was:" >&5 | 11369 | echo "$as_me: failed program was:" >&5 |
10955 | sed 's/^/| /' conftest.$ac_ext >&5 | 11370 | sed 's/^/| /' conftest.$ac_ext >&5 |
10956 | 11371 | ||
10957 | ac_cv_have_decl_strsep=no | 11372 | ac_cv_have_decl_getrusage=no |
10958 | fi | 11373 | fi |
10959 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11374 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10960 | fi | 11375 | fi |
10961 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | 11376 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 |
10962 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 11377 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 |
10963 | if test $ac_cv_have_decl_strsep = yes; then | 11378 | if test $ac_cv_have_decl_getrusage = yes; then |
10964 | 11379 | ||
10965 | for ac_func in strsep | 11380 | for ac_func in getrusage |
10966 | do | 11381 | do |
10967 | 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` |
10968 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11383 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -11065,9 +11480,9 @@ done | |||
11065 | 11480 | ||
11066 | fi | 11481 | fi |
11067 | 11482 | ||
11068 | echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 | 11483 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 |
11069 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | 11484 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 |
11070 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 11485 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
11071 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11486 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11072 | else | 11487 | else |
11073 | cat >conftest.$ac_ext <<_ACEOF | 11488 | cat >conftest.$ac_ext <<_ACEOF |
@@ -11076,12 +11491,17 @@ _ACEOF | |||
11076 | cat confdefs.h >>conftest.$ac_ext | 11491 | cat confdefs.h >>conftest.$ac_ext |
11077 | cat >>conftest.$ac_ext <<_ACEOF | 11492 | cat >>conftest.$ac_ext <<_ACEOF |
11078 | /* end confdefs.h. */ | 11493 | /* end confdefs.h. */ |
11079 | $ac_includes_default | 11494 | |
11495 | #ifdef HAVE_STRING_H | ||
11496 | # include <string.h> | ||
11497 | #endif | ||
11498 | |||
11499 | |||
11080 | int | 11500 | int |
11081 | main () | 11501 | main () |
11082 | { | 11502 | { |
11083 | #ifndef getrusage | 11503 | #ifndef strsep |
11084 | char *p = (char *) getrusage; | 11504 | char *p = (char *) strsep; |
11085 | #endif | 11505 | #endif |
11086 | 11506 | ||
11087 | ; | 11507 | ; |
@@ -11110,20 +11530,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
11110 | ac_status=$? | 11530 | ac_status=$? |
11111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11112 | (exit $ac_status); }; }; then | 11532 | (exit $ac_status); }; }; then |
11113 | ac_cv_have_decl_getrusage=yes | 11533 | ac_cv_have_decl_strsep=yes |
11114 | else | 11534 | else |
11115 | echo "$as_me: failed program was:" >&5 | 11535 | echo "$as_me: failed program was:" >&5 |
11116 | sed 's/^/| /' conftest.$ac_ext >&5 | 11536 | sed 's/^/| /' conftest.$ac_ext >&5 |
11117 | 11537 | ||
11118 | ac_cv_have_decl_getrusage=no | 11538 | ac_cv_have_decl_strsep=no |
11119 | fi | 11539 | fi |
11120 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11540 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11121 | fi | 11541 | fi |
11122 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | 11542 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 |
11123 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | 11543 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 |
11124 | if test $ac_cv_have_decl_getrusage = yes; then | 11544 | if test $ac_cv_have_decl_strsep = yes; then |
11125 | 11545 | ||
11126 | for ac_func in getrusage | 11546 | for ac_func in strsep |
11127 | do | 11547 | do |
11128 | 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` |
11129 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11549 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -12733,8 +13153,14 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
12733 | ac_status=$? | 13153 | ac_status=$? |
12734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12735 | (exit $ac_status); }; }; then | 13155 | (exit $ac_status); }; }; then |
12736 | echo "$as_me:$LINENO: result: yes" >&5 | 13156 | echo "$as_me:$LINENO: result: yes" >&5 |
12737 | echo "${ECHO_T}yes" >&6 | 13157 | echo "${ECHO_T}yes" >&6 |
13158 | |||
13159 | cat >>confdefs.h <<\_ACEOF | ||
13160 | #define HAVE_SO_PEERCRED | ||
13161 | _ACEOF | ||
13162 | |||
13163 | |||
12738 | else | 13164 | else |
12739 | echo "$as_me: failed program was:" >&5 | 13165 | echo "$as_me: failed program was:" >&5 |
12740 | sed 's/^/| /' conftest.$ac_ext >&5 | 13166 | sed 's/^/| /' conftest.$ac_ext >&5 |
@@ -12895,7 +13321,8 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes | |||
12895 | fi | 13321 | fi |
12896 | fi | 13322 | fi |
12897 | 13323 | ||
12898 | if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | 13324 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
13325 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | ||
12899 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 13326 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
12900 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 13327 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 |
12901 | if test "$cross_compiling" = yes; then | 13328 | if test "$cross_compiling" = yes; then |
@@ -13002,7 +13429,8 @@ rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftes | |||
13002 | fi | 13429 | fi |
13003 | fi | 13430 | fi |
13004 | 13431 | ||
13005 | if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_aix_broken_getaddrinfo" = "x1"; then | 13432 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
13433 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then | ||
13006 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 13434 | echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
13007 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 | 13435 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 |
13008 | if test "$cross_compiling" = yes; then | 13436 | if test "$cross_compiling" = yes; then |
@@ -14189,6 +14617,80 @@ fi | |||
14189 | fi | 14617 | fi |
14190 | 14618 | ||
14191 | 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 | |||
14192 | ### Configure cryptographic random number support | 14694 | ### Configure cryptographic random number support |
14193 | 14695 | ||
14194 | # Check wheter OpenSSL seeds itself | 14696 | # Check wheter OpenSSL seeds itself |
@@ -14272,7 +14774,7 @@ echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | |||
14272 | fi; | 14774 | fi; |
14273 | 14775 | ||
14274 | # Which randomness source do we use? | 14776 | # Which randomness source do we use? |
14275 | if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then | 14777 | if test ! -z "$OPENSSL_SEEDS_ITSELF" && test -z "$USE_RAND_HELPER" ; then |
14276 | # OpenSSL only | 14778 | # OpenSSL only |
14277 | cat >>confdefs.h <<\_ACEOF | 14779 | cat >>confdefs.h <<\_ACEOF |
14278 | #define OPENSSL_PRNG_ONLY 1 | 14780 | #define OPENSSL_PRNG_ONLY 1 |
@@ -14393,7 +14895,8 @@ entropy_timeout=200 | |||
14393 | if test "${with_entropy_timeout+set}" = set; then | 14895 | if test "${with_entropy_timeout+set}" = set; then |
14394 | withval="$with_entropy_timeout" | 14896 | withval="$with_entropy_timeout" |
14395 | 14897 | ||
14396 | if test "x$withval" != "xno" ; then | 14898 | if test -n "$withval" && test "x$withval" != "xno" && \ |
14899 | test "x${withval}" != "xyes"; then | ||
14397 | entropy_timeout=$withval | 14900 | entropy_timeout=$withval |
14398 | fi | 14901 | fi |
14399 | 14902 | ||
@@ -14410,7 +14913,8 @@ SSH_PRIVSEP_USER=sshd | |||
14410 | if test "${with_privsep_user+set}" = set; then | 14913 | if test "${with_privsep_user+set}" = set; then |
14411 | withval="$with_privsep_user" | 14914 | withval="$with_privsep_user" |
14412 | 14915 | ||
14413 | if test -n "$withval"; then | 14916 | if test -n "$withval" && test "x$withval" != "xno" && \ |
14917 | test "x${withval}" != "xyes"; then | ||
14414 | SSH_PRIVSEP_USER=$withval | 14918 | SSH_PRIVSEP_USER=$withval |
14415 | fi | 14919 | fi |
14416 | 14920 | ||
@@ -19152,9 +19656,9 @@ fi | |||
19152 | 19656 | ||
19153 | 19657 | ||
19154 | # We need int64_t or else certian parts of the compile will fail. | 19658 | # We need int64_t or else certian parts of the compile will fail. |
19155 | if test "x$ac_cv_have_int64_t" = "xno" -a \ | 19659 | if test "x$ac_cv_have_int64_t" = "xno" && \ |
19156 | "x$ac_cv_sizeof_long_int" != "x8" -a \ | 19660 | test "x$ac_cv_sizeof_long_int" != "x8" && \ |
19157 | "x$ac_cv_sizeof_long_long_int" = "x0" ; then | 19661 | test "x$ac_cv_sizeof_long_long_int" = "x0" ; then |
19158 | echo "OpenSSH requires int64_t support. Contact your vendor or install" | 19662 | echo "OpenSSH requires int64_t support. Contact your vendor or install" |
19159 | echo "an alternative compiler (I.E., GCC) before continuing." | 19663 | echo "an alternative compiler (I.E., GCC) before continuing." |
19160 | echo "" | 19664 | echo "" |
@@ -21068,9 +21572,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
21068 | 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;} |
21069 | ( | 21573 | ( |
21070 | cat <<\_ASBOX | 21574 | cat <<\_ASBOX |
21071 | ## ---------------------------------- ## | 21575 | ## ------------------------------------------- ## |
21072 | ## Report this to the OpenSSH lists. ## | 21576 | ## Report this to openssh-unix-dev@mindrot.org ## |
21073 | ## ---------------------------------- ## | 21577 | ## ------------------------------------------- ## |
21074 | _ASBOX | 21578 | _ASBOX |
21075 | ) | | 21579 | ) | |
21076 | sed "s/^/$as_me: WARNING: /" >&2 | 21580 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -21195,17 +21699,17 @@ _ACEOF | |||
21195 | fi; | 21699 | fi; |
21196 | 21700 | ||
21197 | # Check whether user wants OpenSC support | 21701 | # Check whether user wants OpenSC support |
21702 | OPENSC_CONFIG="no" | ||
21198 | 21703 | ||
21199 | # Check whether --with-opensc or --without-opensc was given. | 21704 | # Check whether --with-opensc or --without-opensc was given. |
21200 | if test "${with_opensc+set}" = set; then | 21705 | if test "${with_opensc+set}" = set; then |
21201 | withval="$with_opensc" | 21706 | withval="$with_opensc" |
21202 | opensc_config_prefix="$withval" | 21707 | |
21203 | else | 21708 | if test "x$withval" != "xno" ; then |
21204 | opensc_config_prefix="" | 21709 | if test "x$withval" != "xyes" ; then |
21205 | fi; | 21710 | OPENSC_CONFIG=$withval/bin/opensc-config |
21206 | if test x$opensc_config_prefix != x ; then | 21711 | else |
21207 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config | 21712 | # Extract the first word of "opensc-config", so it can be a program name with args. |
21208 | # Extract the first word of "opensc-config", so it can be a program name with args. | ||
21209 | set dummy opensc-config; ac_word=$2 | 21713 | set dummy opensc-config; ac_word=$2 |
21210 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 21714 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
21211 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 21715 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
@@ -21245,22 +21749,26 @@ else | |||
21245 | echo "${ECHO_T}no" >&6 | 21749 | echo "${ECHO_T}no" >&6 |
21246 | fi | 21750 | fi |
21247 | 21751 | ||
21248 | if test "$OPENSC_CONFIG" != "no"; then | 21752 | fi |
21249 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` | 21753 | if test "$OPENSC_CONFIG" != "no"; then |
21250 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` | 21754 | LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags` |
21251 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" | 21755 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` |
21252 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" | 21756 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" |
21253 | cat >>confdefs.h <<\_ACEOF | 21757 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" |
21758 | cat >>confdefs.h <<\_ACEOF | ||
21254 | #define SMARTCARD 1 | 21759 | #define SMARTCARD 1 |
21255 | _ACEOF | 21760 | _ACEOF |
21256 | 21761 | ||
21257 | cat >>confdefs.h <<\_ACEOF | 21762 | cat >>confdefs.h <<\_ACEOF |
21258 | #define USE_OPENSC 1 | 21763 | #define USE_OPENSC 1 |
21259 | _ACEOF | 21764 | _ACEOF |
21260 | 21765 | ||
21261 | SCARD_MSG="yes, using OpenSC" | 21766 | SCARD_MSG="yes, using OpenSC" |
21262 | fi | 21767 | fi |
21263 | fi | 21768 | fi |
21769 | |||
21770 | |||
21771 | fi; | ||
21264 | 21772 | ||
21265 | # Check libraries needed by DNS fingerprint support | 21773 | # Check libraries needed by DNS fingerprint support |
21266 | echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 | 21774 | echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 |
@@ -21855,6 +22363,152 @@ _ACEOF | |||
21855 | fi | 22363 | fi |
21856 | done | 22364 | done |
21857 | 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 | |||
21858 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | 22512 | echo "$as_me:$LINENO: checking for HEADER.ad" >&5 |
21859 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | 22513 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 |
21860 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | 22514 | if test "${ac_cv_member_HEADER_ad+set}" = set; then |
@@ -22594,9 +23248,9 @@ echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2; | |||
22594 | 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;} |
22595 | ( | 23249 | ( |
22596 | cat <<\_ASBOX | 23250 | cat <<\_ASBOX |
22597 | ## ---------------------------------- ## | 23251 | ## ------------------------------------------- ## |
22598 | ## Report this to the OpenSSH lists. ## | 23252 | ## Report this to openssh-unix-dev@mindrot.org ## |
22599 | ## ---------------------------------- ## | 23253 | ## ------------------------------------------- ## |
22600 | _ASBOX | 23254 | _ASBOX |
22601 | ) | | 23255 | ) | |
22602 | sed "s/^/$as_me: WARNING: /" >&2 | 23256 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22740,9 +23394,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
22740 | 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;} |
22741 | ( | 23395 | ( |
22742 | cat <<\_ASBOX | 23396 | cat <<\_ASBOX |
22743 | ## ---------------------------------- ## | 23397 | ## ------------------------------------------- ## |
22744 | ## Report this to the OpenSSH lists. ## | 23398 | ## Report this to openssh-unix-dev@mindrot.org ## |
22745 | ## ---------------------------------- ## | 23399 | ## ------------------------------------------- ## |
22746 | _ASBOX | 23400 | _ASBOX |
22747 | ) | | 23401 | ) | |
22748 | sed "s/^/$as_me: WARNING: /" >&2 | 23402 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -22898,9 +23552,9 @@ echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" | |||
22898 | 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;} |
22899 | ( | 23553 | ( |
22900 | cat <<\_ASBOX | 23554 | cat <<\_ASBOX |
22901 | ## ---------------------------------- ## | 23555 | ## ------------------------------------------- ## |
22902 | ## Report this to the OpenSSH lists. ## | 23556 | ## Report this to openssh-unix-dev@mindrot.org ## |
22903 | ## ---------------------------------- ## | 23557 | ## ------------------------------------------- ## |
22904 | _ASBOX | 23558 | _ASBOX |
22905 | ) | | 23559 | ) | |
22906 | sed "s/^/$as_me: WARNING: /" >&2 | 23560 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23057,9 +23711,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23057 | 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;} |
23058 | ( | 23712 | ( |
23059 | cat <<\_ASBOX | 23713 | cat <<\_ASBOX |
23060 | ## ---------------------------------- ## | 23714 | ## ------------------------------------------- ## |
23061 | ## Report this to the OpenSSH lists. ## | 23715 | ## Report this to openssh-unix-dev@mindrot.org ## |
23062 | ## ---------------------------------- ## | 23716 | ## ------------------------------------------- ## |
23063 | _ASBOX | 23717 | _ASBOX |
23064 | ) | | 23718 | ) | |
23065 | sed "s/^/$as_me: WARNING: /" >&2 | 23719 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23208,9 +23862,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23208 | 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;} |
23209 | ( | 23863 | ( |
23210 | cat <<\_ASBOX | 23864 | cat <<\_ASBOX |
23211 | ## ---------------------------------- ## | 23865 | ## ------------------------------------------- ## |
23212 | ## Report this to the OpenSSH lists. ## | 23866 | ## Report this to openssh-unix-dev@mindrot.org ## |
23213 | ## ---------------------------------- ## | 23867 | ## ------------------------------------------- ## |
23214 | _ASBOX | 23868 | _ASBOX |
23215 | ) | | 23869 | ) | |
23216 | sed "s/^/$as_me: WARNING: /" >&2 | 23870 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23359,9 +24013,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >& | |||
23359 | 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;} |
23360 | ( | 24014 | ( |
23361 | cat <<\_ASBOX | 24015 | cat <<\_ASBOX |
23362 | ## ---------------------------------- ## | 24016 | ## ------------------------------------------- ## |
23363 | ## Report this to the OpenSSH lists. ## | 24017 | ## Report this to openssh-unix-dev@mindrot.org ## |
23364 | ## ---------------------------------- ## | 24018 | ## ------------------------------------------- ## |
23365 | _ASBOX | 24019 | _ASBOX |
23366 | ) | | 24020 | ) | |
23367 | sed "s/^/$as_me: WARNING: /" >&2 | 24021 | sed "s/^/$as_me: WARNING: /" >&2 |
@@ -23518,135 +24172,6 @@ _ACEOF | |||
23518 | 24172 | ||
23519 | fi | 24173 | fi |
23520 | 24174 | ||
23521 | echo "$as_me:$LINENO: checking for library containing krb5_init_ets" >&5 | ||
23522 | echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6 | ||
23523 | if test "${ac_cv_search_krb5_init_ets+set}" = set; then | ||
23524 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23525 | else | ||
23526 | ac_func_search_save_LIBS=$LIBS | ||
23527 | ac_cv_search_krb5_init_ets=no | ||
23528 | cat >conftest.$ac_ext <<_ACEOF | ||
23529 | /* confdefs.h. */ | ||
23530 | _ACEOF | ||
23531 | cat confdefs.h >>conftest.$ac_ext | ||
23532 | cat >>conftest.$ac_ext <<_ACEOF | ||
23533 | /* end confdefs.h. */ | ||
23534 | |||
23535 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23536 | #ifdef __cplusplus | ||
23537 | extern "C" | ||
23538 | #endif | ||
23539 | /* We use char because int might match the return type of a gcc2 | ||
23540 | builtin and then its argument prototype would still apply. */ | ||
23541 | char krb5_init_ets (); | ||
23542 | int | ||
23543 | main () | ||
23544 | { | ||
23545 | krb5_init_ets (); | ||
23546 | ; | ||
23547 | return 0; | ||
23548 | } | ||
23549 | _ACEOF | ||
23550 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23551 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23552 | (eval $ac_link) 2>conftest.er1 | ||
23553 | ac_status=$? | ||
23554 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23555 | rm -f conftest.er1 | ||
23556 | cat conftest.err >&5 | ||
23557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23558 | (exit $ac_status); } && | ||
23559 | { ac_try='test -z "$ac_c_werror_flag" | ||
23560 | || test ! -s conftest.err' | ||
23561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23562 | (eval $ac_try) 2>&5 | ||
23563 | ac_status=$? | ||
23564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23565 | (exit $ac_status); }; } && | ||
23566 | { ac_try='test -s conftest$ac_exeext' | ||
23567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23568 | (eval $ac_try) 2>&5 | ||
23569 | ac_status=$? | ||
23570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23571 | (exit $ac_status); }; }; then | ||
23572 | ac_cv_search_krb5_init_ets="none required" | ||
23573 | else | ||
23574 | echo "$as_me: failed program was:" >&5 | ||
23575 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23576 | |||
23577 | fi | ||
23578 | rm -f conftest.err conftest.$ac_objext \ | ||
23579 | conftest$ac_exeext conftest.$ac_ext | ||
23580 | if test "$ac_cv_search_krb5_init_ets" = no; then | ||
23581 | for ac_lib in $K5LIBS; do | ||
23582 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
23583 | cat >conftest.$ac_ext <<_ACEOF | ||
23584 | /* confdefs.h. */ | ||
23585 | _ACEOF | ||
23586 | cat confdefs.h >>conftest.$ac_ext | ||
23587 | cat >>conftest.$ac_ext <<_ACEOF | ||
23588 | /* end confdefs.h. */ | ||
23589 | |||
23590 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
23591 | #ifdef __cplusplus | ||
23592 | extern "C" | ||
23593 | #endif | ||
23594 | /* We use char because int might match the return type of a gcc2 | ||
23595 | builtin and then its argument prototype would still apply. */ | ||
23596 | char krb5_init_ets (); | ||
23597 | int | ||
23598 | main () | ||
23599 | { | ||
23600 | krb5_init_ets (); | ||
23601 | ; | ||
23602 | return 0; | ||
23603 | } | ||
23604 | _ACEOF | ||
23605 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23606 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
23607 | (eval $ac_link) 2>conftest.er1 | ||
23608 | ac_status=$? | ||
23609 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23610 | rm -f conftest.er1 | ||
23611 | cat conftest.err >&5 | ||
23612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23613 | (exit $ac_status); } && | ||
23614 | { ac_try='test -z "$ac_c_werror_flag" | ||
23615 | || test ! -s conftest.err' | ||
23616 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23617 | (eval $ac_try) 2>&5 | ||
23618 | ac_status=$? | ||
23619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23620 | (exit $ac_status); }; } && | ||
23621 | { ac_try='test -s conftest$ac_exeext' | ||
23622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
23623 | (eval $ac_try) 2>&5 | ||
23624 | ac_status=$? | ||
23625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23626 | (exit $ac_status); }; }; then | ||
23627 | ac_cv_search_krb5_init_ets="-l$ac_lib" | ||
23628 | break | ||
23629 | else | ||
23630 | echo "$as_me: failed program was:" >&5 | ||
23631 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23632 | |||
23633 | fi | ||
23634 | rm -f conftest.err conftest.$ac_objext \ | ||
23635 | conftest$ac_exeext conftest.$ac_ext | ||
23636 | done | ||
23637 | fi | ||
23638 | LIBS=$ac_func_search_save_LIBS | ||
23639 | fi | ||
23640 | echo "$as_me:$LINENO: result: $ac_cv_search_krb5_init_ets" >&5 | ||
23641 | echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6 | ||
23642 | if test "$ac_cv_search_krb5_init_ets" != no; then | ||
23643 | test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS" | ||
23644 | cat >>confdefs.h <<\_ACEOF | ||
23645 | #define KRB5_INIT_ETS 1 | ||
23646 | _ACEOF | ||
23647 | |||
23648 | fi | ||
23649 | |||
23650 | 24175 | ||
23651 | 24176 | ||
23652 | fi; | 24177 | fi; |
@@ -23659,7 +24184,8 @@ PRIVSEP_PATH=/var/empty | |||
23659 | if test "${with_privsep_path+set}" = set; then | 24184 | if test "${with_privsep_path+set}" = set; then |
23660 | withval="$with_privsep_path" | 24185 | withval="$with_privsep_path" |
23661 | 24186 | ||
23662 | if test "x$withval" != "$no" ; then | 24187 | if test -n "$withval" && test "x$withval" != "xno" && \ |
24188 | test "x${withval}" != "xyes"; then | ||
23663 | PRIVSEP_PATH=$withval | 24189 | PRIVSEP_PATH=$withval |
23664 | fi | 24190 | fi |
23665 | 24191 | ||
@@ -23672,7 +24198,8 @@ fi; | |||
23672 | if test "${with_xauth+set}" = set; then | 24198 | if test "${with_xauth+set}" = set; then |
23673 | withval="$with_xauth" | 24199 | withval="$with_xauth" |
23674 | 24200 | ||
23675 | if test "x$withval" != "xno" ; then | 24201 | if test -n "$withval" && test "x$withval" != "xno" && \ |
24202 | test "x${withval}" != "xyes"; then | ||
23676 | xauth_path=$withval | 24203 | xauth_path=$withval |
23677 | fi | 24204 | fi |
23678 | 24205 | ||
@@ -24095,8 +24622,8 @@ _ACEOF | |||
24095 | fi | 24622 | fi |
24096 | fi | 24623 | fi |
24097 | 24624 | ||
24098 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | 24625 | if test $ac_cv_func_login_getcapbool = "yes" && \ |
24099 | $ac_cv_header_login_cap_h = "yes" ; then | 24626 | test $ac_cv_header_login_cap_h = "yes" ; then |
24100 | external_path_file=/etc/login.conf | 24627 | external_path_file=/etc/login.conf |
24101 | fi | 24628 | fi |
24102 | 24629 | ||
@@ -24240,7 +24767,8 @@ fi | |||
24240 | if test "${with_superuser_path+set}" = set; then | 24767 | if test "${with_superuser_path+set}" = set; then |
24241 | withval="$with_superuser_path" | 24768 | withval="$with_superuser_path" |
24242 | 24769 | ||
24243 | if test "x$withval" != "xno" ; then | 24770 | if test -n "$withval" && test "x$withval" != "xno" && \ |
24771 | test "x${withval}" != "xyes"; then | ||
24244 | cat >>confdefs.h <<_ACEOF | 24772 | cat >>confdefs.h <<_ACEOF |
24245 | #define SUPERUSER_PATH "$withval" | 24773 | #define SUPERUSER_PATH "$withval" |
24246 | _ACEOF | 24774 | _ACEOF |
@@ -24324,7 +24852,8 @@ fi | |||
24324 | if test "${with_pid_dir+set}" = set; then | 24852 | if test "${with_pid_dir+set}" = set; then |
24325 | withval="$with_pid_dir" | 24853 | withval="$with_pid_dir" |
24326 | 24854 | ||
24327 | if test "x$withval" != "xno" ; then | 24855 | if test -n "$withval" && test "x$withval" != "xno" && \ |
24856 | test "x${withval}" != "xyes"; then | ||
24328 | piddir=$withval | 24857 | piddir=$withval |
24329 | if test ! -d $piddir ; then | 24858 | if test ! -d $piddir ; then |
24330 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 | 24859 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 |
@@ -24455,7 +24984,7 @@ if test "${with_lastlog+set}" = set; then | |||
24455 | #define DISABLE_LASTLOG 1 | 24984 | #define DISABLE_LASTLOG 1 |
24456 | _ACEOF | 24985 | _ACEOF |
24457 | 24986 | ||
24458 | else | 24987 | elif test -n "$withval" && test "x${withval}" != "xyes"; then |
24459 | conf_lastlog_location=$withval | 24988 | conf_lastlog_location=$withval |
24460 | fi | 24989 | fi |
24461 | 24990 | ||
@@ -24931,6 +25460,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | |||
24931 | LIBS=`echo $LIBS | sed 's/-ldl //'` | 25460 | LIBS=`echo $LIBS | sed 's/-ldl //'` |
24932 | fi | 25461 | fi |
24933 | 25462 | ||
25463 | CFLAGS="$CFLAGS $werror_flags" | ||
25464 | |||
24934 | 25465 | ||
24935 | 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" |
24936 | 25467 | ||