Mercurial > emacs
comparison configure @ 40276:f53d3da02996
fix build problems with krb5 and hesiod support
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 24 Oct 2001 22:54:38 +0000 |
parents | 561bc8b0392f |
children | bb16255e7f21 |
comparison
equal
deleted
inserted
replaced
40275:113233ecd44a | 40276:f53d3da02996 |
---|---|
9962 | 9962 |
9963 LIBS="-lncurses $LIBS" | 9963 LIBS="-lncurses $LIBS" |
9964 | 9964 |
9965 fi | 9965 fi |
9966 | 9966 |
9967 # Do we need the Hesiod library to provide the support routines? | |
9968 if test "$with_hesiod" = yes ; then | |
9969 # Don't set $LIBS here -- see comments above. | |
9970 resolv=no | |
9971 echo "$as_me:9971: checking for res_send" >&5 | |
9972 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 | |
9973 if test "${ac_cv_func_res_send+set}" = set; then | |
9974 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
9975 else | |
9976 cat >conftest.$ac_ext <<_ACEOF | |
9977 #line 9977 "configure" | |
9978 #include "confdefs.h" | |
9979 /* System header to define __stub macros and hopefully few prototypes, | |
9980 which can conflict with char res_send (); below. */ | |
9981 #include <assert.h> | |
9982 /* Override any gcc2 internal prototype to avoid an error. */ | |
9983 #ifdef __cplusplus | |
9984 extern "C" | |
9985 #endif | |
9986 /* We use char because int might match the return type of a gcc2 | |
9987 builtin and then its argument prototype would still apply. */ | |
9988 char res_send (); | |
9989 char (*f) (); | |
9990 | |
9991 int | |
9992 main () | |
9993 { | |
9994 /* The GNU C library defines this for functions which it implements | |
9995 to always fail with ENOSYS. Some functions are actually named | |
9996 something starting with __ and the normal name is an alias. */ | |
9997 #if defined (__stub_res_send) || defined (__stub___res_send) | |
9998 choke me | |
9999 #else | |
10000 f = res_send; | |
10001 #endif | |
10002 | |
10003 ; | |
10004 return 0; | |
10005 } | |
10006 _ACEOF | |
10007 rm -f conftest.$ac_objext conftest$ac_exeext | |
10008 if { (eval echo "$as_me:10008: \"$ac_link\"") >&5 | |
10009 (eval $ac_link) 2>&5 | |
10010 ac_status=$? | |
10011 echo "$as_me:10011: \$? = $ac_status" >&5 | |
10012 (exit $ac_status); } && | |
10013 { ac_try='test -s conftest$ac_exeext' | |
10014 { (eval echo "$as_me:10014: \"$ac_try\"") >&5 | |
10015 (eval $ac_try) 2>&5 | |
10016 ac_status=$? | |
10017 echo "$as_me:10017: \$? = $ac_status" >&5 | |
10018 (exit $ac_status); }; }; then | |
10019 ac_cv_func_res_send=yes | |
10020 else | |
10021 echo "$as_me: failed program was:" >&5 | |
10022 cat conftest.$ac_ext >&5 | |
10023 ac_cv_func_res_send=no | |
10024 fi | |
10025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10026 fi | |
10027 echo "$as_me:10027: result: $ac_cv_func_res_send" >&5 | |
10028 echo "${ECHO_T}$ac_cv_func_res_send" >&6 | |
10029 if test $ac_cv_func_res_send = yes; then | |
10030 : | |
10031 else | |
10032 echo "$as_me:10032: checking for __res_send" >&5 | |
10033 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 | |
10034 if test "${ac_cv_func___res_send+set}" = set; then | |
10035 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10036 else | |
10037 cat >conftest.$ac_ext <<_ACEOF | |
10038 #line 10038 "configure" | |
10039 #include "confdefs.h" | |
10040 /* System header to define __stub macros and hopefully few prototypes, | |
10041 which can conflict with char __res_send (); below. */ | |
10042 #include <assert.h> | |
10043 /* Override any gcc2 internal prototype to avoid an error. */ | |
10044 #ifdef __cplusplus | |
10045 extern "C" | |
10046 #endif | |
10047 /* We use char because int might match the return type of a gcc2 | |
10048 builtin and then its argument prototype would still apply. */ | |
10049 char __res_send (); | |
10050 char (*f) (); | |
10051 | |
10052 int | |
10053 main () | |
10054 { | |
10055 /* The GNU C library defines this for functions which it implements | |
10056 to always fail with ENOSYS. Some functions are actually named | |
10057 something starting with __ and the normal name is an alias. */ | |
10058 #if defined (__stub___res_send) || defined (__stub_____res_send) | |
10059 choke me | |
10060 #else | |
10061 f = __res_send; | |
10062 #endif | |
10063 | |
10064 ; | |
10065 return 0; | |
10066 } | |
10067 _ACEOF | |
10068 rm -f conftest.$ac_objext conftest$ac_exeext | |
10069 if { (eval echo "$as_me:10069: \"$ac_link\"") >&5 | |
10070 (eval $ac_link) 2>&5 | |
10071 ac_status=$? | |
10072 echo "$as_me:10072: \$? = $ac_status" >&5 | |
10073 (exit $ac_status); } && | |
10074 { ac_try='test -s conftest$ac_exeext' | |
10075 { (eval echo "$as_me:10075: \"$ac_try\"") >&5 | |
10076 (eval $ac_try) 2>&5 | |
10077 ac_status=$? | |
10078 echo "$as_me:10078: \$? = $ac_status" >&5 | |
10079 (exit $ac_status); }; }; then | |
10080 ac_cv_func___res_send=yes | |
10081 else | |
10082 echo "$as_me: failed program was:" >&5 | |
10083 cat conftest.$ac_ext >&5 | |
10084 ac_cv_func___res_send=no | |
10085 fi | |
10086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10087 fi | |
10088 echo "$as_me:10088: result: $ac_cv_func___res_send" >&5 | |
10089 echo "${ECHO_T}$ac_cv_func___res_send" >&6 | |
10090 if test $ac_cv_func___res_send = yes; then | |
10091 : | |
10092 else | |
10093 echo "$as_me:10093: checking for res_send in -lresolv" >&5 | |
10094 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 | |
10095 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | |
10096 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10097 else | |
10098 ac_check_lib_save_LIBS=$LIBS | |
10099 LIBS="-lresolv $LIBS" | |
10100 cat >conftest.$ac_ext <<_ACEOF | |
10101 #line 10101 "configure" | |
10102 #include "confdefs.h" | |
10103 | |
10104 /* Override any gcc2 internal prototype to avoid an error. */ | |
10105 #ifdef __cplusplus | |
10106 extern "C" | |
10107 #endif | |
10108 /* We use char because int might match the return type of a gcc2 | |
10109 builtin and then its argument prototype would still apply. */ | |
10110 char res_send (); | |
10111 int | |
10112 main () | |
10113 { | |
10114 res_send (); | |
10115 ; | |
10116 return 0; | |
10117 } | |
10118 _ACEOF | |
10119 rm -f conftest.$ac_objext conftest$ac_exeext | |
10120 if { (eval echo "$as_me:10120: \"$ac_link\"") >&5 | |
10121 (eval $ac_link) 2>&5 | |
10122 ac_status=$? | |
10123 echo "$as_me:10123: \$? = $ac_status" >&5 | |
10124 (exit $ac_status); } && | |
10125 { ac_try='test -s conftest$ac_exeext' | |
10126 { (eval echo "$as_me:10126: \"$ac_try\"") >&5 | |
10127 (eval $ac_try) 2>&5 | |
10128 ac_status=$? | |
10129 echo "$as_me:10129: \$? = $ac_status" >&5 | |
10130 (exit $ac_status); }; }; then | |
10131 ac_cv_lib_resolv_res_send=yes | |
10132 else | |
10133 echo "$as_me: failed program was:" >&5 | |
10134 cat conftest.$ac_ext >&5 | |
10135 ac_cv_lib_resolv_res_send=no | |
10136 fi | |
10137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10138 LIBS=$ac_check_lib_save_LIBS | |
10139 fi | |
10140 echo "$as_me:10140: result: $ac_cv_lib_resolv_res_send" >&5 | |
10141 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 | |
10142 if test $ac_cv_lib_resolv_res_send = yes; then | |
10143 resolv=yes | |
10144 else | |
10145 echo "$as_me:10145: checking for __res_send in -lresolv" >&5 | |
10146 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 | |
10147 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | |
10148 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10149 else | |
10150 ac_check_lib_save_LIBS=$LIBS | |
10151 LIBS="-lresolv $LIBS" | |
10152 cat >conftest.$ac_ext <<_ACEOF | |
10153 #line 10153 "configure" | |
10154 #include "confdefs.h" | |
10155 | |
10156 /* Override any gcc2 internal prototype to avoid an error. */ | |
10157 #ifdef __cplusplus | |
10158 extern "C" | |
10159 #endif | |
10160 /* We use char because int might match the return type of a gcc2 | |
10161 builtin and then its argument prototype would still apply. */ | |
10162 char __res_send (); | |
10163 int | |
10164 main () | |
10165 { | |
10166 __res_send (); | |
10167 ; | |
10168 return 0; | |
10169 } | |
10170 _ACEOF | |
10171 rm -f conftest.$ac_objext conftest$ac_exeext | |
10172 if { (eval echo "$as_me:10172: \"$ac_link\"") >&5 | |
10173 (eval $ac_link) 2>&5 | |
10174 ac_status=$? | |
10175 echo "$as_me:10175: \$? = $ac_status" >&5 | |
10176 (exit $ac_status); } && | |
10177 { ac_try='test -s conftest$ac_exeext' | |
10178 { (eval echo "$as_me:10178: \"$ac_try\"") >&5 | |
10179 (eval $ac_try) 2>&5 | |
10180 ac_status=$? | |
10181 echo "$as_me:10181: \$? = $ac_status" >&5 | |
10182 (exit $ac_status); }; }; then | |
10183 ac_cv_lib_resolv___res_send=yes | |
10184 else | |
10185 echo "$as_me: failed program was:" >&5 | |
10186 cat conftest.$ac_ext >&5 | |
10187 ac_cv_lib_resolv___res_send=no | |
10188 fi | |
10189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10190 LIBS=$ac_check_lib_save_LIBS | |
10191 fi | |
10192 echo "$as_me:10192: result: $ac_cv_lib_resolv___res_send" >&5 | |
10193 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 | |
10194 if test $ac_cv_lib_resolv___res_send = yes; then | |
10195 resolv=yes | |
10196 fi | |
10197 | |
10198 fi | |
10199 | |
10200 fi | |
10201 | |
10202 fi | |
10203 | |
10204 if test "$resolv" = yes ; then | |
10205 RESOLVLIB=-lresolv | |
10206 cat >>confdefs.h <<\EOF | |
10207 #define HAVE_LIBRESOLV 1 | |
10208 EOF | |
10209 | |
10210 else | |
10211 RESOLVLIB= | |
10212 fi | |
10213 echo "$as_me:10213: checking for hes_getmailhost" >&5 | |
10214 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 | |
10215 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | |
10216 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10217 else | |
10218 cat >conftest.$ac_ext <<_ACEOF | |
10219 #line 10219 "configure" | |
10220 #include "confdefs.h" | |
10221 /* System header to define __stub macros and hopefully few prototypes, | |
10222 which can conflict with char hes_getmailhost (); below. */ | |
10223 #include <assert.h> | |
10224 /* Override any gcc2 internal prototype to avoid an error. */ | |
10225 #ifdef __cplusplus | |
10226 extern "C" | |
10227 #endif | |
10228 /* We use char because int might match the return type of a gcc2 | |
10229 builtin and then its argument prototype would still apply. */ | |
10230 char hes_getmailhost (); | |
10231 char (*f) (); | |
10232 | |
10233 int | |
10234 main () | |
10235 { | |
10236 /* The GNU C library defines this for functions which it implements | |
10237 to always fail with ENOSYS. Some functions are actually named | |
10238 something starting with __ and the normal name is an alias. */ | |
10239 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) | |
10240 choke me | |
10241 #else | |
10242 f = hes_getmailhost; | |
10243 #endif | |
10244 | |
10245 ; | |
10246 return 0; | |
10247 } | |
10248 _ACEOF | |
10249 rm -f conftest.$ac_objext conftest$ac_exeext | |
10250 if { (eval echo "$as_me:10250: \"$ac_link\"") >&5 | |
10251 (eval $ac_link) 2>&5 | |
10252 ac_status=$? | |
10253 echo "$as_me:10253: \$? = $ac_status" >&5 | |
10254 (exit $ac_status); } && | |
10255 { ac_try='test -s conftest$ac_exeext' | |
10256 { (eval echo "$as_me:10256: \"$ac_try\"") >&5 | |
10257 (eval $ac_try) 2>&5 | |
10258 ac_status=$? | |
10259 echo "$as_me:10259: \$? = $ac_status" >&5 | |
10260 (exit $ac_status); }; }; then | |
10261 ac_cv_func_hes_getmailhost=yes | |
10262 else | |
10263 echo "$as_me: failed program was:" >&5 | |
10264 cat conftest.$ac_ext >&5 | |
10265 ac_cv_func_hes_getmailhost=no | |
10266 fi | |
10267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10268 fi | |
10269 echo "$as_me:10269: result: $ac_cv_func_hes_getmailhost" >&5 | |
10270 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 | |
10271 if test $ac_cv_func_hes_getmailhost = yes; then | |
10272 : | |
10273 else | |
10274 echo "$as_me:10274: checking for hes_getmailhost in -lhesiod" >&5 | |
10275 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 | |
10276 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | |
10277 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10278 else | |
10279 ac_check_lib_save_LIBS=$LIBS | |
10280 LIBS="-lhesiod $RESOLVLIB $LIBS" | |
10281 cat >conftest.$ac_ext <<_ACEOF | |
10282 #line 10282 "configure" | |
10283 #include "confdefs.h" | |
10284 | |
10285 /* Override any gcc2 internal prototype to avoid an error. */ | |
10286 #ifdef __cplusplus | |
10287 extern "C" | |
10288 #endif | |
10289 /* We use char because int might match the return type of a gcc2 | |
10290 builtin and then its argument prototype would still apply. */ | |
10291 char hes_getmailhost (); | |
10292 int | |
10293 main () | |
10294 { | |
10295 hes_getmailhost (); | |
10296 ; | |
10297 return 0; | |
10298 } | |
10299 _ACEOF | |
10300 rm -f conftest.$ac_objext conftest$ac_exeext | |
10301 if { (eval echo "$as_me:10301: \"$ac_link\"") >&5 | |
10302 (eval $ac_link) 2>&5 | |
10303 ac_status=$? | |
10304 echo "$as_me:10304: \$? = $ac_status" >&5 | |
10305 (exit $ac_status); } && | |
10306 { ac_try='test -s conftest$ac_exeext' | |
10307 { (eval echo "$as_me:10307: \"$ac_try\"") >&5 | |
10308 (eval $ac_try) 2>&5 | |
10309 ac_status=$? | |
10310 echo "$as_me:10310: \$? = $ac_status" >&5 | |
10311 (exit $ac_status); }; }; then | |
10312 ac_cv_lib_hesiod_hes_getmailhost=yes | |
10313 else | |
10314 echo "$as_me: failed program was:" >&5 | |
10315 cat conftest.$ac_ext >&5 | |
10316 ac_cv_lib_hesiod_hes_getmailhost=no | |
10317 fi | |
10318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
10319 LIBS=$ac_check_lib_save_LIBS | |
10320 fi | |
10321 echo "$as_me:10321: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | |
10322 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | |
10323 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | |
10324 cat >>confdefs.h <<\EOF | |
10325 #define HAVE_LIBHESIOD 1 | |
10326 EOF | |
10327 | |
10328 else | |
10329 : | |
10330 fi | |
10331 | |
10332 fi | |
10333 | |
10334 fi | |
10335 | |
9967 # These tell us which Kerberos-related libraries to use. | 10336 # These tell us which Kerberos-related libraries to use. |
9968 if test "${with_kerberos+set}" = set; then | 10337 if test "${with_kerberos+set}" = set; then |
9969 | 10338 |
9970 echo "$as_me:9970: checking for com_err in -lcom_err" >&5 | 10339 echo "$as_me:10339: checking for com_err in -lcom_err" >&5 |
9971 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 | 10340 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 |
9972 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 10341 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
9973 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10342 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9974 else | 10343 else |
9975 ac_check_lib_save_LIBS=$LIBS | 10344 ac_check_lib_save_LIBS=$LIBS |
9976 LIBS="-lcom_err $LIBS" | 10345 LIBS="-lcom_err $LIBS" |
9977 cat >conftest.$ac_ext <<_ACEOF | 10346 cat >conftest.$ac_ext <<_ACEOF |
9978 #line 9978 "configure" | 10347 #line 10347 "configure" |
9979 #include "confdefs.h" | 10348 #include "confdefs.h" |
9980 | 10349 |
9981 /* Override any gcc2 internal prototype to avoid an error. */ | 10350 /* Override any gcc2 internal prototype to avoid an error. */ |
9982 #ifdef __cplusplus | 10351 #ifdef __cplusplus |
9983 extern "C" | 10352 extern "C" |
9992 ; | 10361 ; |
9993 return 0; | 10362 return 0; |
9994 } | 10363 } |
9995 _ACEOF | 10364 _ACEOF |
9996 rm -f conftest.$ac_objext conftest$ac_exeext | 10365 rm -f conftest.$ac_objext conftest$ac_exeext |
9997 if { (eval echo "$as_me:9997: \"$ac_link\"") >&5 | 10366 if { (eval echo "$as_me:10366: \"$ac_link\"") >&5 |
9998 (eval $ac_link) 2>&5 | 10367 (eval $ac_link) 2>&5 |
9999 ac_status=$? | 10368 ac_status=$? |
10000 echo "$as_me:10000: \$? = $ac_status" >&5 | 10369 echo "$as_me:10369: \$? = $ac_status" >&5 |
10001 (exit $ac_status); } && | 10370 (exit $ac_status); } && |
10002 { ac_try='test -s conftest$ac_exeext' | 10371 { ac_try='test -s conftest$ac_exeext' |
10003 { (eval echo "$as_me:10003: \"$ac_try\"") >&5 | 10372 { (eval echo "$as_me:10372: \"$ac_try\"") >&5 |
10004 (eval $ac_try) 2>&5 | 10373 (eval $ac_try) 2>&5 |
10005 ac_status=$? | 10374 ac_status=$? |
10006 echo "$as_me:10006: \$? = $ac_status" >&5 | 10375 echo "$as_me:10375: \$? = $ac_status" >&5 |
10007 (exit $ac_status); }; }; then | 10376 (exit $ac_status); }; }; then |
10008 ac_cv_lib_com_err_com_err=yes | 10377 ac_cv_lib_com_err_com_err=yes |
10009 else | 10378 else |
10010 echo "$as_me: failed program was:" >&5 | 10379 echo "$as_me: failed program was:" >&5 |
10011 cat conftest.$ac_ext >&5 | 10380 cat conftest.$ac_ext >&5 |
10012 ac_cv_lib_com_err_com_err=no | 10381 ac_cv_lib_com_err_com_err=no |
10013 fi | 10382 fi |
10014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10383 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10015 LIBS=$ac_check_lib_save_LIBS | 10384 LIBS=$ac_check_lib_save_LIBS |
10016 fi | 10385 fi |
10017 echo "$as_me:10017: result: $ac_cv_lib_com_err_com_err" >&5 | 10386 echo "$as_me:10386: result: $ac_cv_lib_com_err_com_err" >&5 |
10018 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 | 10387 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 |
10019 if test $ac_cv_lib_com_err_com_err = yes; then | 10388 if test $ac_cv_lib_com_err_com_err = yes; then |
10020 cat >>confdefs.h <<EOF | 10389 cat >>confdefs.h <<EOF |
10021 #define HAVE_LIBCOM_ERR 1 | 10390 #define HAVE_LIBCOM_ERR 1 |
10022 EOF | 10391 EOF |
10023 | 10392 |
10024 LIBS="-lcom_err $LIBS" | 10393 LIBS="-lcom_err $LIBS" |
10025 | 10394 |
10026 fi | 10395 fi |
10027 | 10396 |
10028 echo "$as_me:10028: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 10397 echo "$as_me:10397: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
10029 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 | 10398 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 |
10030 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 10399 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
10031 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10400 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10032 else | 10401 else |
10033 ac_check_lib_save_LIBS=$LIBS | 10402 ac_check_lib_save_LIBS=$LIBS |
10034 LIBS="-lk5crypto $LIBS" | 10403 LIBS="-lk5crypto $LIBS" |
10035 cat >conftest.$ac_ext <<_ACEOF | 10404 cat >conftest.$ac_ext <<_ACEOF |
10036 #line 10036 "configure" | 10405 #line 10405 "configure" |
10037 #include "confdefs.h" | 10406 #include "confdefs.h" |
10038 | 10407 |
10039 /* Override any gcc2 internal prototype to avoid an error. */ | 10408 /* Override any gcc2 internal prototype to avoid an error. */ |
10040 #ifdef __cplusplus | 10409 #ifdef __cplusplus |
10041 extern "C" | 10410 extern "C" |
10050 ; | 10419 ; |
10051 return 0; | 10420 return 0; |
10052 } | 10421 } |
10053 _ACEOF | 10422 _ACEOF |
10054 rm -f conftest.$ac_objext conftest$ac_exeext | 10423 rm -f conftest.$ac_objext conftest$ac_exeext |
10055 if { (eval echo "$as_me:10055: \"$ac_link\"") >&5 | 10424 if { (eval echo "$as_me:10424: \"$ac_link\"") >&5 |
10056 (eval $ac_link) 2>&5 | 10425 (eval $ac_link) 2>&5 |
10057 ac_status=$? | 10426 ac_status=$? |
10058 echo "$as_me:10058: \$? = $ac_status" >&5 | 10427 echo "$as_me:10427: \$? = $ac_status" >&5 |
10059 (exit $ac_status); } && | 10428 (exit $ac_status); } && |
10060 { ac_try='test -s conftest$ac_exeext' | 10429 { ac_try='test -s conftest$ac_exeext' |
10061 { (eval echo "$as_me:10061: \"$ac_try\"") >&5 | 10430 { (eval echo "$as_me:10430: \"$ac_try\"") >&5 |
10062 (eval $ac_try) 2>&5 | 10431 (eval $ac_try) 2>&5 |
10063 ac_status=$? | 10432 ac_status=$? |
10064 echo "$as_me:10064: \$? = $ac_status" >&5 | 10433 echo "$as_me:10433: \$? = $ac_status" >&5 |
10065 (exit $ac_status); }; }; then | 10434 (exit $ac_status); }; }; then |
10066 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 10435 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
10067 else | 10436 else |
10068 echo "$as_me: failed program was:" >&5 | 10437 echo "$as_me: failed program was:" >&5 |
10069 cat conftest.$ac_ext >&5 | 10438 cat conftest.$ac_ext >&5 |
10070 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 10439 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
10071 fi | 10440 fi |
10072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10073 LIBS=$ac_check_lib_save_LIBS | 10442 LIBS=$ac_check_lib_save_LIBS |
10074 fi | 10443 fi |
10075 echo "$as_me:10075: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 10444 echo "$as_me:10444: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
10076 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 | 10445 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 |
10077 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 10446 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
10078 cat >>confdefs.h <<EOF | 10447 cat >>confdefs.h <<EOF |
10079 #define HAVE_LIBK5CRYPTO 1 | 10448 #define HAVE_LIBK5CRYPTO 1 |
10080 EOF | 10449 EOF |
10081 | 10450 |
10082 LIBS="-lk5crypto $LIBS" | 10451 LIBS="-lk5crypto $LIBS" |
10083 | 10452 |
10084 fi | 10453 fi |
10085 | 10454 |
10086 echo "$as_me:10086: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 10455 echo "$as_me:10455: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
10087 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 | 10456 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 |
10088 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 10457 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
10089 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10458 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10090 else | 10459 else |
10091 ac_check_lib_save_LIBS=$LIBS | 10460 ac_check_lib_save_LIBS=$LIBS |
10092 LIBS="-lcrypto $LIBS" | 10461 LIBS="-lcrypto $LIBS" |
10093 cat >conftest.$ac_ext <<_ACEOF | 10462 cat >conftest.$ac_ext <<_ACEOF |
10094 #line 10094 "configure" | 10463 #line 10463 "configure" |
10095 #include "confdefs.h" | 10464 #include "confdefs.h" |
10096 | 10465 |
10097 /* Override any gcc2 internal prototype to avoid an error. */ | 10466 /* Override any gcc2 internal prototype to avoid an error. */ |
10098 #ifdef __cplusplus | 10467 #ifdef __cplusplus |
10099 extern "C" | 10468 extern "C" |
10108 ; | 10477 ; |
10109 return 0; | 10478 return 0; |
10110 } | 10479 } |
10111 _ACEOF | 10480 _ACEOF |
10112 rm -f conftest.$ac_objext conftest$ac_exeext | 10481 rm -f conftest.$ac_objext conftest$ac_exeext |
10113 if { (eval echo "$as_me:10113: \"$ac_link\"") >&5 | 10482 if { (eval echo "$as_me:10482: \"$ac_link\"") >&5 |
10114 (eval $ac_link) 2>&5 | 10483 (eval $ac_link) 2>&5 |
10115 ac_status=$? | 10484 ac_status=$? |
10116 echo "$as_me:10116: \$? = $ac_status" >&5 | 10485 echo "$as_me:10485: \$? = $ac_status" >&5 |
10117 (exit $ac_status); } && | 10486 (exit $ac_status); } && |
10118 { ac_try='test -s conftest$ac_exeext' | 10487 { ac_try='test -s conftest$ac_exeext' |
10119 { (eval echo "$as_me:10119: \"$ac_try\"") >&5 | 10488 { (eval echo "$as_me:10488: \"$ac_try\"") >&5 |
10120 (eval $ac_try) 2>&5 | 10489 (eval $ac_try) 2>&5 |
10121 ac_status=$? | 10490 ac_status=$? |
10122 echo "$as_me:10122: \$? = $ac_status" >&5 | 10491 echo "$as_me:10491: \$? = $ac_status" >&5 |
10123 (exit $ac_status); }; }; then | 10492 (exit $ac_status); }; }; then |
10124 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 10493 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
10125 else | 10494 else |
10126 echo "$as_me: failed program was:" >&5 | 10495 echo "$as_me: failed program was:" >&5 |
10127 cat conftest.$ac_ext >&5 | 10496 cat conftest.$ac_ext >&5 |
10128 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 10497 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
10129 fi | 10498 fi |
10130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10131 LIBS=$ac_check_lib_save_LIBS | 10500 LIBS=$ac_check_lib_save_LIBS |
10132 fi | 10501 fi |
10133 echo "$as_me:10133: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 10502 echo "$as_me:10502: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
10134 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 | 10503 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 |
10135 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 10504 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
10136 cat >>confdefs.h <<EOF | 10505 cat >>confdefs.h <<EOF |
10137 #define HAVE_LIBCRYPTO 1 | 10506 #define HAVE_LIBCRYPTO 1 |
10138 EOF | 10507 EOF |
10139 | 10508 |
10140 LIBS="-lcrypto $LIBS" | 10509 LIBS="-lcrypto $LIBS" |
10141 | 10510 |
10142 fi | 10511 fi |
10143 | 10512 |
10144 echo "$as_me:10144: checking for krb5_init_context in -lkrb5" >&5 | 10513 echo "$as_me:10513: checking for krb5_init_context in -lkrb5" >&5 |
10145 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 | 10514 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 |
10146 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 10515 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
10147 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10516 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10148 else | 10517 else |
10149 ac_check_lib_save_LIBS=$LIBS | 10518 ac_check_lib_save_LIBS=$LIBS |
10150 LIBS="-lkrb5 $LIBS" | 10519 LIBS="-lkrb5 $LIBS" |
10151 cat >conftest.$ac_ext <<_ACEOF | 10520 cat >conftest.$ac_ext <<_ACEOF |
10152 #line 10152 "configure" | 10521 #line 10521 "configure" |
10153 #include "confdefs.h" | 10522 #include "confdefs.h" |
10154 | 10523 |
10155 /* Override any gcc2 internal prototype to avoid an error. */ | 10524 /* Override any gcc2 internal prototype to avoid an error. */ |
10156 #ifdef __cplusplus | 10525 #ifdef __cplusplus |
10157 extern "C" | 10526 extern "C" |
10166 ; | 10535 ; |
10167 return 0; | 10536 return 0; |
10168 } | 10537 } |
10169 _ACEOF | 10538 _ACEOF |
10170 rm -f conftest.$ac_objext conftest$ac_exeext | 10539 rm -f conftest.$ac_objext conftest$ac_exeext |
10171 if { (eval echo "$as_me:10171: \"$ac_link\"") >&5 | 10540 if { (eval echo "$as_me:10540: \"$ac_link\"") >&5 |
10172 (eval $ac_link) 2>&5 | 10541 (eval $ac_link) 2>&5 |
10173 ac_status=$? | 10542 ac_status=$? |
10174 echo "$as_me:10174: \$? = $ac_status" >&5 | 10543 echo "$as_me:10543: \$? = $ac_status" >&5 |
10175 (exit $ac_status); } && | 10544 (exit $ac_status); } && |
10176 { ac_try='test -s conftest$ac_exeext' | 10545 { ac_try='test -s conftest$ac_exeext' |
10177 { (eval echo "$as_me:10177: \"$ac_try\"") >&5 | 10546 { (eval echo "$as_me:10546: \"$ac_try\"") >&5 |
10178 (eval $ac_try) 2>&5 | 10547 (eval $ac_try) 2>&5 |
10179 ac_status=$? | 10548 ac_status=$? |
10180 echo "$as_me:10180: \$? = $ac_status" >&5 | 10549 echo "$as_me:10549: \$? = $ac_status" >&5 |
10181 (exit $ac_status); }; }; then | 10550 (exit $ac_status); }; }; then |
10182 ac_cv_lib_krb5_krb5_init_context=yes | 10551 ac_cv_lib_krb5_krb5_init_context=yes |
10183 else | 10552 else |
10184 echo "$as_me: failed program was:" >&5 | 10553 echo "$as_me: failed program was:" >&5 |
10185 cat conftest.$ac_ext >&5 | 10554 cat conftest.$ac_ext >&5 |
10186 ac_cv_lib_krb5_krb5_init_context=no | 10555 ac_cv_lib_krb5_krb5_init_context=no |
10187 fi | 10556 fi |
10188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10189 LIBS=$ac_check_lib_save_LIBS | 10558 LIBS=$ac_check_lib_save_LIBS |
10190 fi | 10559 fi |
10191 echo "$as_me:10191: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 10560 echo "$as_me:10560: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
10192 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 | 10561 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 |
10193 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 10562 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
10194 cat >>confdefs.h <<EOF | 10563 cat >>confdefs.h <<EOF |
10195 #define HAVE_LIBKRB5 1 | 10564 #define HAVE_LIBKRB5 1 |
10196 EOF | 10565 EOF |
10199 | 10568 |
10200 fi | 10569 fi |
10201 | 10570 |
10202 if test "${with_kerberos5+set}" != set; then | 10571 if test "${with_kerberos5+set}" != set; then |
10203 | 10572 |
10204 echo "$as_me:10204: checking for des_cbc_encrypt in -ldes425" >&5 | 10573 echo "$as_me:10573: checking for des_cbc_encrypt in -ldes425" >&5 |
10205 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 10574 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 |
10206 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 10575 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
10207 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10576 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10208 else | 10577 else |
10209 ac_check_lib_save_LIBS=$LIBS | 10578 ac_check_lib_save_LIBS=$LIBS |
10210 LIBS="-ldes425 $LIBS" | 10579 LIBS="-ldes425 $LIBS" |
10211 cat >conftest.$ac_ext <<_ACEOF | 10580 cat >conftest.$ac_ext <<_ACEOF |
10212 #line 10212 "configure" | 10581 #line 10581 "configure" |
10213 #include "confdefs.h" | 10582 #include "confdefs.h" |
10214 | 10583 |
10215 /* Override any gcc2 internal prototype to avoid an error. */ | 10584 /* Override any gcc2 internal prototype to avoid an error. */ |
10216 #ifdef __cplusplus | 10585 #ifdef __cplusplus |
10217 extern "C" | 10586 extern "C" |
10226 ; | 10595 ; |
10227 return 0; | 10596 return 0; |
10228 } | 10597 } |
10229 _ACEOF | 10598 _ACEOF |
10230 rm -f conftest.$ac_objext conftest$ac_exeext | 10599 rm -f conftest.$ac_objext conftest$ac_exeext |
10231 if { (eval echo "$as_me:10231: \"$ac_link\"") >&5 | 10600 if { (eval echo "$as_me:10600: \"$ac_link\"") >&5 |
10232 (eval $ac_link) 2>&5 | 10601 (eval $ac_link) 2>&5 |
10233 ac_status=$? | 10602 ac_status=$? |
10234 echo "$as_me:10234: \$? = $ac_status" >&5 | 10603 echo "$as_me:10603: \$? = $ac_status" >&5 |
10235 (exit $ac_status); } && | 10604 (exit $ac_status); } && |
10236 { ac_try='test -s conftest$ac_exeext' | 10605 { ac_try='test -s conftest$ac_exeext' |
10237 { (eval echo "$as_me:10237: \"$ac_try\"") >&5 | 10606 { (eval echo "$as_me:10606: \"$ac_try\"") >&5 |
10238 (eval $ac_try) 2>&5 | 10607 (eval $ac_try) 2>&5 |
10239 ac_status=$? | 10608 ac_status=$? |
10240 echo "$as_me:10240: \$? = $ac_status" >&5 | 10609 echo "$as_me:10609: \$? = $ac_status" >&5 |
10241 (exit $ac_status); }; }; then | 10610 (exit $ac_status); }; }; then |
10242 ac_cv_lib_des425_des_cbc_encrypt=yes | 10611 ac_cv_lib_des425_des_cbc_encrypt=yes |
10243 else | 10612 else |
10244 echo "$as_me: failed program was:" >&5 | 10613 echo "$as_me: failed program was:" >&5 |
10245 cat conftest.$ac_ext >&5 | 10614 cat conftest.$ac_ext >&5 |
10246 ac_cv_lib_des425_des_cbc_encrypt=no | 10615 ac_cv_lib_des425_des_cbc_encrypt=no |
10247 fi | 10616 fi |
10248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10249 LIBS=$ac_check_lib_save_LIBS | 10618 LIBS=$ac_check_lib_save_LIBS |
10250 fi | 10619 fi |
10251 echo "$as_me:10251: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 10620 echo "$as_me:10620: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
10252 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 10621 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 |
10253 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 10622 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
10254 cat >>confdefs.h <<EOF | 10623 cat >>confdefs.h <<EOF |
10255 #define HAVE_LIBDES425 1 | 10624 #define HAVE_LIBDES425 1 |
10256 EOF | 10625 EOF |
10257 | 10626 |
10258 LIBS="-ldes425 $LIBS" | 10627 LIBS="-ldes425 $LIBS" |
10259 | 10628 |
10260 else | 10629 else |
10261 | 10630 |
10262 echo "$as_me:10262: checking for des_cbc_encrypt in -ldes" >&5 | 10631 echo "$as_me:10631: checking for des_cbc_encrypt in -ldes" >&5 |
10263 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 10632 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 |
10264 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 10633 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
10265 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10634 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10266 else | 10635 else |
10267 ac_check_lib_save_LIBS=$LIBS | 10636 ac_check_lib_save_LIBS=$LIBS |
10268 LIBS="-ldes $LIBS" | 10637 LIBS="-ldes $LIBS" |
10269 cat >conftest.$ac_ext <<_ACEOF | 10638 cat >conftest.$ac_ext <<_ACEOF |
10270 #line 10270 "configure" | 10639 #line 10639 "configure" |
10271 #include "confdefs.h" | 10640 #include "confdefs.h" |
10272 | 10641 |
10273 /* Override any gcc2 internal prototype to avoid an error. */ | 10642 /* Override any gcc2 internal prototype to avoid an error. */ |
10274 #ifdef __cplusplus | 10643 #ifdef __cplusplus |
10275 extern "C" | 10644 extern "C" |
10284 ; | 10653 ; |
10285 return 0; | 10654 return 0; |
10286 } | 10655 } |
10287 _ACEOF | 10656 _ACEOF |
10288 rm -f conftest.$ac_objext conftest$ac_exeext | 10657 rm -f conftest.$ac_objext conftest$ac_exeext |
10289 if { (eval echo "$as_me:10289: \"$ac_link\"") >&5 | 10658 if { (eval echo "$as_me:10658: \"$ac_link\"") >&5 |
10290 (eval $ac_link) 2>&5 | 10659 (eval $ac_link) 2>&5 |
10291 ac_status=$? | 10660 ac_status=$? |
10292 echo "$as_me:10292: \$? = $ac_status" >&5 | 10661 echo "$as_me:10661: \$? = $ac_status" >&5 |
10293 (exit $ac_status); } && | 10662 (exit $ac_status); } && |
10294 { ac_try='test -s conftest$ac_exeext' | 10663 { ac_try='test -s conftest$ac_exeext' |
10295 { (eval echo "$as_me:10295: \"$ac_try\"") >&5 | 10664 { (eval echo "$as_me:10664: \"$ac_try\"") >&5 |
10296 (eval $ac_try) 2>&5 | 10665 (eval $ac_try) 2>&5 |
10297 ac_status=$? | 10666 ac_status=$? |
10298 echo "$as_me:10298: \$? = $ac_status" >&5 | 10667 echo "$as_me:10667: \$? = $ac_status" >&5 |
10299 (exit $ac_status); }; }; then | 10668 (exit $ac_status); }; }; then |
10300 ac_cv_lib_des_des_cbc_encrypt=yes | 10669 ac_cv_lib_des_des_cbc_encrypt=yes |
10301 else | 10670 else |
10302 echo "$as_me: failed program was:" >&5 | 10671 echo "$as_me: failed program was:" >&5 |
10303 cat conftest.$ac_ext >&5 | 10672 cat conftest.$ac_ext >&5 |
10304 ac_cv_lib_des_des_cbc_encrypt=no | 10673 ac_cv_lib_des_des_cbc_encrypt=no |
10305 fi | 10674 fi |
10306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10307 LIBS=$ac_check_lib_save_LIBS | 10676 LIBS=$ac_check_lib_save_LIBS |
10308 fi | 10677 fi |
10309 echo "$as_me:10309: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 10678 echo "$as_me:10678: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
10310 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | 10679 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 |
10311 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 10680 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
10312 cat >>confdefs.h <<EOF | 10681 cat >>confdefs.h <<EOF |
10313 #define HAVE_LIBDES 1 | 10682 #define HAVE_LIBDES 1 |
10314 EOF | 10683 EOF |
10317 | 10686 |
10318 fi | 10687 fi |
10319 | 10688 |
10320 fi | 10689 fi |
10321 | 10690 |
10322 echo "$as_me:10322: checking for krb_get_cred in -lkrb4" >&5 | 10691 echo "$as_me:10691: checking for krb_get_cred in -lkrb4" >&5 |
10323 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 | 10692 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 |
10324 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 10693 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
10325 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10694 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10326 else | 10695 else |
10327 ac_check_lib_save_LIBS=$LIBS | 10696 ac_check_lib_save_LIBS=$LIBS |
10328 LIBS="-lkrb4 $LIBS" | 10697 LIBS="-lkrb4 $LIBS" |
10329 cat >conftest.$ac_ext <<_ACEOF | 10698 cat >conftest.$ac_ext <<_ACEOF |
10330 #line 10330 "configure" | 10699 #line 10699 "configure" |
10331 #include "confdefs.h" | 10700 #include "confdefs.h" |
10332 | 10701 |
10333 /* Override any gcc2 internal prototype to avoid an error. */ | 10702 /* Override any gcc2 internal prototype to avoid an error. */ |
10334 #ifdef __cplusplus | 10703 #ifdef __cplusplus |
10335 extern "C" | 10704 extern "C" |
10344 ; | 10713 ; |
10345 return 0; | 10714 return 0; |
10346 } | 10715 } |
10347 _ACEOF | 10716 _ACEOF |
10348 rm -f conftest.$ac_objext conftest$ac_exeext | 10717 rm -f conftest.$ac_objext conftest$ac_exeext |
10349 if { (eval echo "$as_me:10349: \"$ac_link\"") >&5 | 10718 if { (eval echo "$as_me:10718: \"$ac_link\"") >&5 |
10350 (eval $ac_link) 2>&5 | 10719 (eval $ac_link) 2>&5 |
10351 ac_status=$? | 10720 ac_status=$? |
10352 echo "$as_me:10352: \$? = $ac_status" >&5 | 10721 echo "$as_me:10721: \$? = $ac_status" >&5 |
10353 (exit $ac_status); } && | 10722 (exit $ac_status); } && |
10354 { ac_try='test -s conftest$ac_exeext' | 10723 { ac_try='test -s conftest$ac_exeext' |
10355 { (eval echo "$as_me:10355: \"$ac_try\"") >&5 | 10724 { (eval echo "$as_me:10724: \"$ac_try\"") >&5 |
10356 (eval $ac_try) 2>&5 | 10725 (eval $ac_try) 2>&5 |
10357 ac_status=$? | 10726 ac_status=$? |
10358 echo "$as_me:10358: \$? = $ac_status" >&5 | 10727 echo "$as_me:10727: \$? = $ac_status" >&5 |
10359 (exit $ac_status); }; }; then | 10728 (exit $ac_status); }; }; then |
10360 ac_cv_lib_krb4_krb_get_cred=yes | 10729 ac_cv_lib_krb4_krb_get_cred=yes |
10361 else | 10730 else |
10362 echo "$as_me: failed program was:" >&5 | 10731 echo "$as_me: failed program was:" >&5 |
10363 cat conftest.$ac_ext >&5 | 10732 cat conftest.$ac_ext >&5 |
10364 ac_cv_lib_krb4_krb_get_cred=no | 10733 ac_cv_lib_krb4_krb_get_cred=no |
10365 fi | 10734 fi |
10366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10367 LIBS=$ac_check_lib_save_LIBS | 10736 LIBS=$ac_check_lib_save_LIBS |
10368 fi | 10737 fi |
10369 echo "$as_me:10369: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 10738 echo "$as_me:10738: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
10370 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 | 10739 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 |
10371 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 10740 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
10372 cat >>confdefs.h <<EOF | 10741 cat >>confdefs.h <<EOF |
10373 #define HAVE_LIBKRB4 1 | 10742 #define HAVE_LIBKRB4 1 |
10374 EOF | 10743 EOF |
10375 | 10744 |
10376 LIBS="-lkrb4 $LIBS" | 10745 LIBS="-lkrb4 $LIBS" |
10377 | 10746 |
10378 else | 10747 else |
10379 | 10748 |
10380 echo "$as_me:10380: checking for krb_get_cred in -lkrb" >&5 | 10749 echo "$as_me:10749: checking for krb_get_cred in -lkrb" >&5 |
10381 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 | 10750 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 |
10382 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 10751 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
10383 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10752 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10384 else | 10753 else |
10385 ac_check_lib_save_LIBS=$LIBS | 10754 ac_check_lib_save_LIBS=$LIBS |
10386 LIBS="-lkrb $LIBS" | 10755 LIBS="-lkrb $LIBS" |
10387 cat >conftest.$ac_ext <<_ACEOF | 10756 cat >conftest.$ac_ext <<_ACEOF |
10388 #line 10388 "configure" | 10757 #line 10757 "configure" |
10389 #include "confdefs.h" | 10758 #include "confdefs.h" |
10390 | 10759 |
10391 /* Override any gcc2 internal prototype to avoid an error. */ | 10760 /* Override any gcc2 internal prototype to avoid an error. */ |
10392 #ifdef __cplusplus | 10761 #ifdef __cplusplus |
10393 extern "C" | 10762 extern "C" |
10402 ; | 10771 ; |
10403 return 0; | 10772 return 0; |
10404 } | 10773 } |
10405 _ACEOF | 10774 _ACEOF |
10406 rm -f conftest.$ac_objext conftest$ac_exeext | 10775 rm -f conftest.$ac_objext conftest$ac_exeext |
10407 if { (eval echo "$as_me:10407: \"$ac_link\"") >&5 | 10776 if { (eval echo "$as_me:10776: \"$ac_link\"") >&5 |
10408 (eval $ac_link) 2>&5 | 10777 (eval $ac_link) 2>&5 |
10409 ac_status=$? | 10778 ac_status=$? |
10410 echo "$as_me:10410: \$? = $ac_status" >&5 | 10779 echo "$as_me:10779: \$? = $ac_status" >&5 |
10411 (exit $ac_status); } && | 10780 (exit $ac_status); } && |
10412 { ac_try='test -s conftest$ac_exeext' | 10781 { ac_try='test -s conftest$ac_exeext' |
10413 { (eval echo "$as_me:10413: \"$ac_try\"") >&5 | 10782 { (eval echo "$as_me:10782: \"$ac_try\"") >&5 |
10414 (eval $ac_try) 2>&5 | 10783 (eval $ac_try) 2>&5 |
10415 ac_status=$? | 10784 ac_status=$? |
10416 echo "$as_me:10416: \$? = $ac_status" >&5 | 10785 echo "$as_me:10785: \$? = $ac_status" >&5 |
10417 (exit $ac_status); }; }; then | 10786 (exit $ac_status); }; }; then |
10418 ac_cv_lib_krb_krb_get_cred=yes | 10787 ac_cv_lib_krb_krb_get_cred=yes |
10419 else | 10788 else |
10420 echo "$as_me: failed program was:" >&5 | 10789 echo "$as_me: failed program was:" >&5 |
10421 cat conftest.$ac_ext >&5 | 10790 cat conftest.$ac_ext >&5 |
10422 ac_cv_lib_krb_krb_get_cred=no | 10791 ac_cv_lib_krb_krb_get_cred=no |
10423 fi | 10792 fi |
10424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 10793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10425 LIBS=$ac_check_lib_save_LIBS | 10794 LIBS=$ac_check_lib_save_LIBS |
10426 fi | 10795 fi |
10427 echo "$as_me:10427: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 10796 echo "$as_me:10796: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
10428 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 | 10797 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 |
10429 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 10798 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
10430 cat >>confdefs.h <<EOF | 10799 cat >>confdefs.h <<EOF |
10431 #define HAVE_LIBKRB 1 | 10800 #define HAVE_LIBKRB 1 |
10432 EOF | 10801 EOF |
10442 if test "${with_kerberos5+set}" = set; then | 10811 if test "${with_kerberos5+set}" = set; then |
10443 | 10812 |
10444 for ac_header in krb5.h | 10813 for ac_header in krb5.h |
10445 do | 10814 do |
10446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10447 echo "$as_me:10447: checking for $ac_header" >&5 | 10816 echo "$as_me:10816: checking for $ac_header" >&5 |
10448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10449 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10818 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10450 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10819 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10451 else | 10820 else |
10452 cat >conftest.$ac_ext <<_ACEOF | 10821 cat >conftest.$ac_ext <<_ACEOF |
10453 #line 10453 "configure" | 10822 #line 10822 "configure" |
10454 #include "confdefs.h" | 10823 #include "confdefs.h" |
10455 #include <$ac_header> | 10824 #include <$ac_header> |
10456 _ACEOF | 10825 _ACEOF |
10457 if { (eval echo "$as_me:10457: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10826 if { (eval echo "$as_me:10826: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10459 ac_status=$? | 10828 ac_status=$? |
10460 egrep -v '^ *\+' conftest.er1 >conftest.err | 10829 egrep -v '^ *\+' conftest.er1 >conftest.err |
10461 rm -f conftest.er1 | 10830 rm -f conftest.er1 |
10462 cat conftest.err >&5 | 10831 cat conftest.err >&5 |
10463 echo "$as_me:10463: \$? = $ac_status" >&5 | 10832 echo "$as_me:10832: \$? = $ac_status" >&5 |
10464 (exit $ac_status); } >/dev/null; then | 10833 (exit $ac_status); } >/dev/null; then |
10465 if test -s conftest.err; then | 10834 if test -s conftest.err; then |
10466 ac_cpp_err=$ac_c_preproc_warn_flag | 10835 ac_cpp_err=$ac_c_preproc_warn_flag |
10467 else | 10836 else |
10468 ac_cpp_err= | 10837 ac_cpp_err= |
10477 cat conftest.$ac_ext >&5 | 10846 cat conftest.$ac_ext >&5 |
10478 eval "$as_ac_Header=no" | 10847 eval "$as_ac_Header=no" |
10479 fi | 10848 fi |
10480 rm -f conftest.err conftest.$ac_ext | 10849 rm -f conftest.err conftest.$ac_ext |
10481 fi | 10850 fi |
10482 echo "$as_me:10482: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10851 echo "$as_me:10851: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10484 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10853 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10485 cat >>confdefs.h <<EOF | 10854 cat >>confdefs.h <<EOF |
10486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10487 EOF | 10856 EOF |
10492 else | 10861 else |
10493 | 10862 |
10494 for ac_header in des.h | 10863 for ac_header in des.h |
10495 do | 10864 do |
10496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10497 echo "$as_me:10497: checking for $ac_header" >&5 | 10866 echo "$as_me:10866: checking for $ac_header" >&5 |
10498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10499 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10868 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10500 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10869 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10501 else | 10870 else |
10502 cat >conftest.$ac_ext <<_ACEOF | 10871 cat >conftest.$ac_ext <<_ACEOF |
10503 #line 10503 "configure" | 10872 #line 10872 "configure" |
10504 #include "confdefs.h" | 10873 #include "confdefs.h" |
10505 #include <$ac_header> | 10874 #include <$ac_header> |
10506 _ACEOF | 10875 _ACEOF |
10507 if { (eval echo "$as_me:10507: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10876 if { (eval echo "$as_me:10876: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10508 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10509 ac_status=$? | 10878 ac_status=$? |
10510 egrep -v '^ *\+' conftest.er1 >conftest.err | 10879 egrep -v '^ *\+' conftest.er1 >conftest.err |
10511 rm -f conftest.er1 | 10880 rm -f conftest.er1 |
10512 cat conftest.err >&5 | 10881 cat conftest.err >&5 |
10513 echo "$as_me:10513: \$? = $ac_status" >&5 | 10882 echo "$as_me:10882: \$? = $ac_status" >&5 |
10514 (exit $ac_status); } >/dev/null; then | 10883 (exit $ac_status); } >/dev/null; then |
10515 if test -s conftest.err; then | 10884 if test -s conftest.err; then |
10516 ac_cpp_err=$ac_c_preproc_warn_flag | 10885 ac_cpp_err=$ac_c_preproc_warn_flag |
10517 else | 10886 else |
10518 ac_cpp_err= | 10887 ac_cpp_err= |
10527 cat conftest.$ac_ext >&5 | 10896 cat conftest.$ac_ext >&5 |
10528 eval "$as_ac_Header=no" | 10897 eval "$as_ac_Header=no" |
10529 fi | 10898 fi |
10530 rm -f conftest.err conftest.$ac_ext | 10899 rm -f conftest.err conftest.$ac_ext |
10531 fi | 10900 fi |
10532 echo "$as_me:10532: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10901 echo "$as_me:10901: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10534 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10903 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10535 cat >>confdefs.h <<EOF | 10904 cat >>confdefs.h <<EOF |
10536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10537 EOF | 10906 EOF |
10539 else | 10908 else |
10540 | 10909 |
10541 for ac_header in kerberosIV/des.h | 10910 for ac_header in kerberosIV/des.h |
10542 do | 10911 do |
10543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10544 echo "$as_me:10544: checking for $ac_header" >&5 | 10913 echo "$as_me:10913: checking for $ac_header" >&5 |
10545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10546 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10915 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10547 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10916 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10548 else | 10917 else |
10549 cat >conftest.$ac_ext <<_ACEOF | 10918 cat >conftest.$ac_ext <<_ACEOF |
10550 #line 10550 "configure" | 10919 #line 10919 "configure" |
10551 #include "confdefs.h" | 10920 #include "confdefs.h" |
10552 #include <$ac_header> | 10921 #include <$ac_header> |
10553 _ACEOF | 10922 _ACEOF |
10554 if { (eval echo "$as_me:10554: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10923 if { (eval echo "$as_me:10923: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10556 ac_status=$? | 10925 ac_status=$? |
10557 egrep -v '^ *\+' conftest.er1 >conftest.err | 10926 egrep -v '^ *\+' conftest.er1 >conftest.err |
10558 rm -f conftest.er1 | 10927 rm -f conftest.er1 |
10559 cat conftest.err >&5 | 10928 cat conftest.err >&5 |
10560 echo "$as_me:10560: \$? = $ac_status" >&5 | 10929 echo "$as_me:10929: \$? = $ac_status" >&5 |
10561 (exit $ac_status); } >/dev/null; then | 10930 (exit $ac_status); } >/dev/null; then |
10562 if test -s conftest.err; then | 10931 if test -s conftest.err; then |
10563 ac_cpp_err=$ac_c_preproc_warn_flag | 10932 ac_cpp_err=$ac_c_preproc_warn_flag |
10564 else | 10933 else |
10565 ac_cpp_err= | 10934 ac_cpp_err= |
10574 cat conftest.$ac_ext >&5 | 10943 cat conftest.$ac_ext >&5 |
10575 eval "$as_ac_Header=no" | 10944 eval "$as_ac_Header=no" |
10576 fi | 10945 fi |
10577 rm -f conftest.err conftest.$ac_ext | 10946 rm -f conftest.err conftest.$ac_ext |
10578 fi | 10947 fi |
10579 echo "$as_me:10579: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10948 echo "$as_me:10948: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10581 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10950 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10582 cat >>confdefs.h <<EOF | 10951 cat >>confdefs.h <<EOF |
10583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10584 EOF | 10953 EOF |
10586 else | 10955 else |
10587 | 10956 |
10588 for ac_header in kerberos/des.h | 10957 for ac_header in kerberos/des.h |
10589 do | 10958 do |
10590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10591 echo "$as_me:10591: checking for $ac_header" >&5 | 10960 echo "$as_me:10960: checking for $ac_header" >&5 |
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10593 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10962 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10594 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10963 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10595 else | 10964 else |
10596 cat >conftest.$ac_ext <<_ACEOF | 10965 cat >conftest.$ac_ext <<_ACEOF |
10597 #line 10597 "configure" | 10966 #line 10966 "configure" |
10598 #include "confdefs.h" | 10967 #include "confdefs.h" |
10599 #include <$ac_header> | 10968 #include <$ac_header> |
10600 _ACEOF | 10969 _ACEOF |
10601 if { (eval echo "$as_me:10601: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10970 if { (eval echo "$as_me:10970: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10603 ac_status=$? | 10972 ac_status=$? |
10604 egrep -v '^ *\+' conftest.er1 >conftest.err | 10973 egrep -v '^ *\+' conftest.er1 >conftest.err |
10605 rm -f conftest.er1 | 10974 rm -f conftest.er1 |
10606 cat conftest.err >&5 | 10975 cat conftest.err >&5 |
10607 echo "$as_me:10607: \$? = $ac_status" >&5 | 10976 echo "$as_me:10976: \$? = $ac_status" >&5 |
10608 (exit $ac_status); } >/dev/null; then | 10977 (exit $ac_status); } >/dev/null; then |
10609 if test -s conftest.err; then | 10978 if test -s conftest.err; then |
10610 ac_cpp_err=$ac_c_preproc_warn_flag | 10979 ac_cpp_err=$ac_c_preproc_warn_flag |
10611 else | 10980 else |
10612 ac_cpp_err= | 10981 ac_cpp_err= |
10621 cat conftest.$ac_ext >&5 | 10990 cat conftest.$ac_ext >&5 |
10622 eval "$as_ac_Header=no" | 10991 eval "$as_ac_Header=no" |
10623 fi | 10992 fi |
10624 rm -f conftest.err conftest.$ac_ext | 10993 rm -f conftest.err conftest.$ac_ext |
10625 fi | 10994 fi |
10626 echo "$as_me:10626: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10995 echo "$as_me:10995: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10628 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10997 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10629 cat >>confdefs.h <<EOF | 10998 cat >>confdefs.h <<EOF |
10630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10631 EOF | 11000 EOF |
10640 done | 11009 done |
10641 | 11010 |
10642 for ac_header in krb.h | 11011 for ac_header in krb.h |
10643 do | 11012 do |
10644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10645 echo "$as_me:10645: checking for $ac_header" >&5 | 11014 echo "$as_me:11014: checking for $ac_header" >&5 |
10646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10647 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11016 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10648 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11017 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10649 else | 11018 else |
10650 cat >conftest.$ac_ext <<_ACEOF | 11019 cat >conftest.$ac_ext <<_ACEOF |
10651 #line 10651 "configure" | 11020 #line 11020 "configure" |
10652 #include "confdefs.h" | 11021 #include "confdefs.h" |
10653 #include <$ac_header> | 11022 #include <$ac_header> |
10654 _ACEOF | 11023 _ACEOF |
10655 if { (eval echo "$as_me:10655: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11024 if { (eval echo "$as_me:11024: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10657 ac_status=$? | 11026 ac_status=$? |
10658 egrep -v '^ *\+' conftest.er1 >conftest.err | 11027 egrep -v '^ *\+' conftest.er1 >conftest.err |
10659 rm -f conftest.er1 | 11028 rm -f conftest.er1 |
10660 cat conftest.err >&5 | 11029 cat conftest.err >&5 |
10661 echo "$as_me:10661: \$? = $ac_status" >&5 | 11030 echo "$as_me:11030: \$? = $ac_status" >&5 |
10662 (exit $ac_status); } >/dev/null; then | 11031 (exit $ac_status); } >/dev/null; then |
10663 if test -s conftest.err; then | 11032 if test -s conftest.err; then |
10664 ac_cpp_err=$ac_c_preproc_warn_flag | 11033 ac_cpp_err=$ac_c_preproc_warn_flag |
10665 else | 11034 else |
10666 ac_cpp_err= | 11035 ac_cpp_err= |
10675 cat conftest.$ac_ext >&5 | 11044 cat conftest.$ac_ext >&5 |
10676 eval "$as_ac_Header=no" | 11045 eval "$as_ac_Header=no" |
10677 fi | 11046 fi |
10678 rm -f conftest.err conftest.$ac_ext | 11047 rm -f conftest.err conftest.$ac_ext |
10679 fi | 11048 fi |
10680 echo "$as_me:10680: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11049 echo "$as_me:11049: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10682 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11051 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10683 cat >>confdefs.h <<EOF | 11052 cat >>confdefs.h <<EOF |
10684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10685 EOF | 11054 EOF |
10687 else | 11056 else |
10688 | 11057 |
10689 for ac_header in kerberosIV/krb.h | 11058 for ac_header in kerberosIV/krb.h |
10690 do | 11059 do |
10691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10692 echo "$as_me:10692: checking for $ac_header" >&5 | 11061 echo "$as_me:11061: checking for $ac_header" >&5 |
10693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10694 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11063 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10695 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11064 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10696 else | 11065 else |
10697 cat >conftest.$ac_ext <<_ACEOF | 11066 cat >conftest.$ac_ext <<_ACEOF |
10698 #line 10698 "configure" | 11067 #line 11067 "configure" |
10699 #include "confdefs.h" | 11068 #include "confdefs.h" |
10700 #include <$ac_header> | 11069 #include <$ac_header> |
10701 _ACEOF | 11070 _ACEOF |
10702 if { (eval echo "$as_me:10702: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11071 if { (eval echo "$as_me:11071: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10704 ac_status=$? | 11073 ac_status=$? |
10705 egrep -v '^ *\+' conftest.er1 >conftest.err | 11074 egrep -v '^ *\+' conftest.er1 >conftest.err |
10706 rm -f conftest.er1 | 11075 rm -f conftest.er1 |
10707 cat conftest.err >&5 | 11076 cat conftest.err >&5 |
10708 echo "$as_me:10708: \$? = $ac_status" >&5 | 11077 echo "$as_me:11077: \$? = $ac_status" >&5 |
10709 (exit $ac_status); } >/dev/null; then | 11078 (exit $ac_status); } >/dev/null; then |
10710 if test -s conftest.err; then | 11079 if test -s conftest.err; then |
10711 ac_cpp_err=$ac_c_preproc_warn_flag | 11080 ac_cpp_err=$ac_c_preproc_warn_flag |
10712 else | 11081 else |
10713 ac_cpp_err= | 11082 ac_cpp_err= |
10722 cat conftest.$ac_ext >&5 | 11091 cat conftest.$ac_ext >&5 |
10723 eval "$as_ac_Header=no" | 11092 eval "$as_ac_Header=no" |
10724 fi | 11093 fi |
10725 rm -f conftest.err conftest.$ac_ext | 11094 rm -f conftest.err conftest.$ac_ext |
10726 fi | 11095 fi |
10727 echo "$as_me:10727: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11096 echo "$as_me:11096: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10729 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11098 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10730 cat >>confdefs.h <<EOF | 11099 cat >>confdefs.h <<EOF |
10731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10732 EOF | 11101 EOF |
10734 else | 11103 else |
10735 | 11104 |
10736 for ac_header in kerberos/krb.h | 11105 for ac_header in kerberos/krb.h |
10737 do | 11106 do |
10738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10739 echo "$as_me:10739: checking for $ac_header" >&5 | 11108 echo "$as_me:11108: checking for $ac_header" >&5 |
10740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10741 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11110 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10742 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11111 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10743 else | 11112 else |
10744 cat >conftest.$ac_ext <<_ACEOF | 11113 cat >conftest.$ac_ext <<_ACEOF |
10745 #line 10745 "configure" | 11114 #line 11114 "configure" |
10746 #include "confdefs.h" | 11115 #include "confdefs.h" |
10747 #include <$ac_header> | 11116 #include <$ac_header> |
10748 _ACEOF | 11117 _ACEOF |
10749 if { (eval echo "$as_me:10749: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11118 if { (eval echo "$as_me:11118: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10751 ac_status=$? | 11120 ac_status=$? |
10752 egrep -v '^ *\+' conftest.er1 >conftest.err | 11121 egrep -v '^ *\+' conftest.er1 >conftest.err |
10753 rm -f conftest.er1 | 11122 rm -f conftest.er1 |
10754 cat conftest.err >&5 | 11123 cat conftest.err >&5 |
10755 echo "$as_me:10755: \$? = $ac_status" >&5 | 11124 echo "$as_me:11124: \$? = $ac_status" >&5 |
10756 (exit $ac_status); } >/dev/null; then | 11125 (exit $ac_status); } >/dev/null; then |
10757 if test -s conftest.err; then | 11126 if test -s conftest.err; then |
10758 ac_cpp_err=$ac_c_preproc_warn_flag | 11127 ac_cpp_err=$ac_c_preproc_warn_flag |
10759 else | 11128 else |
10760 ac_cpp_err= | 11129 ac_cpp_err= |
10769 cat conftest.$ac_ext >&5 | 11138 cat conftest.$ac_ext >&5 |
10770 eval "$as_ac_Header=no" | 11139 eval "$as_ac_Header=no" |
10771 fi | 11140 fi |
10772 rm -f conftest.err conftest.$ac_ext | 11141 rm -f conftest.err conftest.$ac_ext |
10773 fi | 11142 fi |
10774 echo "$as_me:10774: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11143 echo "$as_me:11143: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11145 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10777 cat >>confdefs.h <<EOF | 11146 cat >>confdefs.h <<EOF |
10778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10779 EOF | 11148 EOF |
10790 fi | 11159 fi |
10791 | 11160 |
10792 for ac_header in com_err.h | 11161 for ac_header in com_err.h |
10793 do | 11162 do |
10794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10795 echo "$as_me:10795: checking for $ac_header" >&5 | 11164 echo "$as_me:11164: checking for $ac_header" >&5 |
10796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
10797 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11166 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10798 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11167 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10799 else | 11168 else |
10800 cat >conftest.$ac_ext <<_ACEOF | 11169 cat >conftest.$ac_ext <<_ACEOF |
10801 #line 10801 "configure" | 11170 #line 11170 "configure" |
10802 #include "confdefs.h" | 11171 #include "confdefs.h" |
10803 #include <$ac_header> | 11172 #include <$ac_header> |
10804 _ACEOF | 11173 _ACEOF |
10805 if { (eval echo "$as_me:10805: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11174 if { (eval echo "$as_me:11174: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10807 ac_status=$? | 11176 ac_status=$? |
10808 egrep -v '^ *\+' conftest.er1 >conftest.err | 11177 egrep -v '^ *\+' conftest.er1 >conftest.err |
10809 rm -f conftest.er1 | 11178 rm -f conftest.er1 |
10810 cat conftest.err >&5 | 11179 cat conftest.err >&5 |
10811 echo "$as_me:10811: \$? = $ac_status" >&5 | 11180 echo "$as_me:11180: \$? = $ac_status" >&5 |
10812 (exit $ac_status); } >/dev/null; then | 11181 (exit $ac_status); } >/dev/null; then |
10813 if test -s conftest.err; then | 11182 if test -s conftest.err; then |
10814 ac_cpp_err=$ac_c_preproc_warn_flag | 11183 ac_cpp_err=$ac_c_preproc_warn_flag |
10815 else | 11184 else |
10816 ac_cpp_err= | 11185 ac_cpp_err= |
10825 cat conftest.$ac_ext >&5 | 11194 cat conftest.$ac_ext >&5 |
10826 eval "$as_ac_Header=no" | 11195 eval "$as_ac_Header=no" |
10827 fi | 11196 fi |
10828 rm -f conftest.err conftest.$ac_ext | 11197 rm -f conftest.err conftest.$ac_ext |
10829 fi | 11198 fi |
10830 echo "$as_me:10830: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11199 echo "$as_me:11199: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10832 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11201 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10833 cat >>confdefs.h <<EOF | 11202 cat >>confdefs.h <<EOF |
10834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10835 EOF | 11204 EOF |
10840 fi | 11209 fi |
10841 | 11210 |
10842 # Solaris requires -lintl if you want strerror (which calls dgettext) | 11211 # Solaris requires -lintl if you want strerror (which calls dgettext) |
10843 # to return localized messages. | 11212 # to return localized messages. |
10844 | 11213 |
10845 echo "$as_me:10845: checking for dgettext in -lintl" >&5 | 11214 echo "$as_me:11214: checking for dgettext in -lintl" >&5 |
10846 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 | 11215 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 |
10847 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 11216 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
10848 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11217 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10849 else | 11218 else |
10850 ac_check_lib_save_LIBS=$LIBS | 11219 ac_check_lib_save_LIBS=$LIBS |
10851 LIBS="-lintl $LIBS" | 11220 LIBS="-lintl $LIBS" |
10852 cat >conftest.$ac_ext <<_ACEOF | 11221 cat >conftest.$ac_ext <<_ACEOF |
10853 #line 10853 "configure" | 11222 #line 11222 "configure" |
10854 #include "confdefs.h" | 11223 #include "confdefs.h" |
10855 | 11224 |
10856 /* Override any gcc2 internal prototype to avoid an error. */ | 11225 /* Override any gcc2 internal prototype to avoid an error. */ |
10857 #ifdef __cplusplus | 11226 #ifdef __cplusplus |
10858 extern "C" | 11227 extern "C" |
10867 ; | 11236 ; |
10868 return 0; | 11237 return 0; |
10869 } | 11238 } |
10870 _ACEOF | 11239 _ACEOF |
10871 rm -f conftest.$ac_objext conftest$ac_exeext | 11240 rm -f conftest.$ac_objext conftest$ac_exeext |
10872 if { (eval echo "$as_me:10872: \"$ac_link\"") >&5 | 11241 if { (eval echo "$as_me:11241: \"$ac_link\"") >&5 |
10873 (eval $ac_link) 2>&5 | 11242 (eval $ac_link) 2>&5 |
10874 ac_status=$? | 11243 ac_status=$? |
10875 echo "$as_me:10875: \$? = $ac_status" >&5 | 11244 echo "$as_me:11244: \$? = $ac_status" >&5 |
10876 (exit $ac_status); } && | 11245 (exit $ac_status); } && |
10877 { ac_try='test -s conftest$ac_exeext' | 11246 { ac_try='test -s conftest$ac_exeext' |
10878 { (eval echo "$as_me:10878: \"$ac_try\"") >&5 | 11247 { (eval echo "$as_me:11247: \"$ac_try\"") >&5 |
10879 (eval $ac_try) 2>&5 | 11248 (eval $ac_try) 2>&5 |
10880 ac_status=$? | 11249 ac_status=$? |
10881 echo "$as_me:10881: \$? = $ac_status" >&5 | 11250 echo "$as_me:11250: \$? = $ac_status" >&5 |
10882 (exit $ac_status); }; }; then | 11251 (exit $ac_status); }; }; then |
10883 ac_cv_lib_intl_dgettext=yes | 11252 ac_cv_lib_intl_dgettext=yes |
10884 else | 11253 else |
10885 echo "$as_me: failed program was:" >&5 | 11254 echo "$as_me: failed program was:" >&5 |
10886 cat conftest.$ac_ext >&5 | 11255 cat conftest.$ac_ext >&5 |
10887 ac_cv_lib_intl_dgettext=no | 11256 ac_cv_lib_intl_dgettext=no |
10888 fi | 11257 fi |
10889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10890 LIBS=$ac_check_lib_save_LIBS | 11259 LIBS=$ac_check_lib_save_LIBS |
10891 fi | 11260 fi |
10892 echo "$as_me:10892: result: $ac_cv_lib_intl_dgettext" >&5 | 11261 echo "$as_me:11261: result: $ac_cv_lib_intl_dgettext" >&5 |
10893 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 | 11262 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 |
10894 if test $ac_cv_lib_intl_dgettext = yes; then | 11263 if test $ac_cv_lib_intl_dgettext = yes; then |
10895 cat >>confdefs.h <<EOF | 11264 cat >>confdefs.h <<EOF |
10896 #define HAVE_LIBINTL 1 | 11265 #define HAVE_LIBINTL 1 |
10897 EOF | 11266 EOF |
10898 | 11267 |
10899 LIBS="-lintl $LIBS" | 11268 LIBS="-lintl $LIBS" |
10900 | 11269 |
10901 fi | 11270 fi |
10902 | 11271 |
10903 echo "$as_me:10903: checking whether localtime caches TZ" >&5 | 11272 echo "$as_me:11272: checking whether localtime caches TZ" >&5 |
10904 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 | 11273 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 |
10905 if test "${emacs_cv_localtime_cache+set}" = set; then | 11274 if test "${emacs_cv_localtime_cache+set}" = set; then |
10906 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11275 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10907 else | 11276 else |
10908 if test x$ac_cv_func_tzset = xyes; then | 11277 if test x$ac_cv_func_tzset = xyes; then |
10909 if test "$cross_compiling" = yes; then | 11278 if test "$cross_compiling" = yes; then |
10910 # If we have tzset, assume the worst when cross-compiling. | 11279 # If we have tzset, assume the worst when cross-compiling. |
10911 emacs_cv_localtime_cache=yes | 11280 emacs_cv_localtime_cache=yes |
10912 else | 11281 else |
10913 cat >conftest.$ac_ext <<_ACEOF | 11282 cat >conftest.$ac_ext <<_ACEOF |
10914 #line 10914 "configure" | 11283 #line 11283 "configure" |
10915 #include "confdefs.h" | 11284 #include "confdefs.h" |
10916 #include <time.h> | 11285 #include <time.h> |
10917 extern char **environ; | 11286 extern char **environ; |
10918 unset_TZ () | 11287 unset_TZ () |
10919 { | 11288 { |
10942 exit (1); | 11311 exit (1); |
10943 exit (0); | 11312 exit (0); |
10944 } | 11313 } |
10945 _ACEOF | 11314 _ACEOF |
10946 rm -f conftest$ac_exeext | 11315 rm -f conftest$ac_exeext |
10947 if { (eval echo "$as_me:10947: \"$ac_link\"") >&5 | 11316 if { (eval echo "$as_me:11316: \"$ac_link\"") >&5 |
10948 (eval $ac_link) 2>&5 | 11317 (eval $ac_link) 2>&5 |
10949 ac_status=$? | 11318 ac_status=$? |
10950 echo "$as_me:10950: \$? = $ac_status" >&5 | 11319 echo "$as_me:11319: \$? = $ac_status" >&5 |
10951 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10952 { (eval echo "$as_me:10952: \"$ac_try\"") >&5 | 11321 { (eval echo "$as_me:11321: \"$ac_try\"") >&5 |
10953 (eval $ac_try) 2>&5 | 11322 (eval $ac_try) 2>&5 |
10954 ac_status=$? | 11323 ac_status=$? |
10955 echo "$as_me:10955: \$? = $ac_status" >&5 | 11324 echo "$as_me:11324: \$? = $ac_status" >&5 |
10956 (exit $ac_status); }; }; then | 11325 (exit $ac_status); }; }; then |
10957 emacs_cv_localtime_cache=no | 11326 emacs_cv_localtime_cache=no |
10958 else | 11327 else |
10959 echo "$as_me: program exited with status $ac_status" >&5 | 11328 echo "$as_me: program exited with status $ac_status" >&5 |
10960 echo "$as_me: failed program was:" >&5 | 11329 echo "$as_me: failed program was:" >&5 |
10967 # If we lack tzset, report that localtime does not cache TZ, | 11336 # If we lack tzset, report that localtime does not cache TZ, |
10968 # since we can't invalidate the cache if we don't have tzset. | 11337 # since we can't invalidate the cache if we don't have tzset. |
10969 emacs_cv_localtime_cache=no | 11338 emacs_cv_localtime_cache=no |
10970 fi | 11339 fi |
10971 fi | 11340 fi |
10972 echo "$as_me:10972: result: $emacs_cv_localtime_cache" >&5 | 11341 echo "$as_me:11341: result: $emacs_cv_localtime_cache" >&5 |
10973 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 11342 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 |
10974 if test $emacs_cv_localtime_cache = yes; then | 11343 if test $emacs_cv_localtime_cache = yes; then |
10975 cat >>confdefs.h <<\EOF | 11344 cat >>confdefs.h <<\EOF |
10976 #define LOCALTIME_CACHE 1 | 11345 #define LOCALTIME_CACHE 1 |
10977 EOF | 11346 EOF |
10981 if test "x$HAVE_TIMEVAL" = xyes; then | 11350 if test "x$HAVE_TIMEVAL" = xyes; then |
10982 | 11351 |
10983 for ac_func in gettimeofday | 11352 for ac_func in gettimeofday |
10984 do | 11353 do |
10985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10986 echo "$as_me:10986: checking for $ac_func" >&5 | 11355 echo "$as_me:11355: checking for $ac_func" >&5 |
10987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10988 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11357 if eval "test \"\${$as_ac_var+set}\" = set"; then |
10989 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11358 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10990 else | 11359 else |
10991 cat >conftest.$ac_ext <<_ACEOF | 11360 cat >conftest.$ac_ext <<_ACEOF |
10992 #line 10992 "configure" | 11361 #line 11361 "configure" |
10993 #include "confdefs.h" | 11362 #include "confdefs.h" |
10994 /* System header to define __stub macros and hopefully few prototypes, | 11363 /* System header to define __stub macros and hopefully few prototypes, |
10995 which can conflict with char $ac_func (); below. */ | 11364 which can conflict with char $ac_func (); below. */ |
10996 #include <assert.h> | 11365 #include <assert.h> |
10997 /* Override any gcc2 internal prototype to avoid an error. */ | 11366 /* Override any gcc2 internal prototype to avoid an error. */ |
11018 ; | 11387 ; |
11019 return 0; | 11388 return 0; |
11020 } | 11389 } |
11021 _ACEOF | 11390 _ACEOF |
11022 rm -f conftest.$ac_objext conftest$ac_exeext | 11391 rm -f conftest.$ac_objext conftest$ac_exeext |
11023 if { (eval echo "$as_me:11023: \"$ac_link\"") >&5 | 11392 if { (eval echo "$as_me:11392: \"$ac_link\"") >&5 |
11024 (eval $ac_link) 2>&5 | 11393 (eval $ac_link) 2>&5 |
11025 ac_status=$? | 11394 ac_status=$? |
11026 echo "$as_me:11026: \$? = $ac_status" >&5 | 11395 echo "$as_me:11395: \$? = $ac_status" >&5 |
11027 (exit $ac_status); } && | 11396 (exit $ac_status); } && |
11028 { ac_try='test -s conftest$ac_exeext' | 11397 { ac_try='test -s conftest$ac_exeext' |
11029 { (eval echo "$as_me:11029: \"$ac_try\"") >&5 | 11398 { (eval echo "$as_me:11398: \"$ac_try\"") >&5 |
11030 (eval $ac_try) 2>&5 | 11399 (eval $ac_try) 2>&5 |
11031 ac_status=$? | 11400 ac_status=$? |
11032 echo "$as_me:11032: \$? = $ac_status" >&5 | 11401 echo "$as_me:11401: \$? = $ac_status" >&5 |
11033 (exit $ac_status); }; }; then | 11402 (exit $ac_status); }; }; then |
11034 eval "$as_ac_var=yes" | 11403 eval "$as_ac_var=yes" |
11035 else | 11404 else |
11036 echo "$as_me: failed program was:" >&5 | 11405 echo "$as_me: failed program was:" >&5 |
11037 cat conftest.$ac_ext >&5 | 11406 cat conftest.$ac_ext >&5 |
11038 eval "$as_ac_var=no" | 11407 eval "$as_ac_var=no" |
11039 fi | 11408 fi |
11040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11041 fi | 11410 fi |
11042 echo "$as_me:11042: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11411 echo "$as_me:11411: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11044 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11413 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11045 cat >>confdefs.h <<EOF | 11414 cat >>confdefs.h <<EOF |
11046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11047 EOF | 11416 EOF |
11048 | 11417 |
11049 fi | 11418 fi |
11050 done | 11419 done |
11051 | 11420 |
11052 echo "$as_me:11052: checking whether gettimeofday can accept two arguments" >&5 | 11421 echo "$as_me:11421: checking whether gettimeofday can accept two arguments" >&5 |
11053 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 11422 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 |
11054 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 11423 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
11055 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11424 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11056 else | 11425 else |
11057 cat >conftest.$ac_ext <<_ACEOF | 11426 cat >conftest.$ac_ext <<_ACEOF |
11058 #line 11058 "configure" | 11427 #line 11427 "configure" |
11059 #include "confdefs.h" | 11428 #include "confdefs.h" |
11060 | 11429 |
11061 #ifdef TIME_WITH_SYS_TIME | 11430 #ifdef TIME_WITH_SYS_TIME |
11062 #include <sys/time.h> | 11431 #include <sys/time.h> |
11063 #include <time.h> | 11432 #include <time.h> |
11076 ; | 11445 ; |
11077 return 0; | 11446 return 0; |
11078 } | 11447 } |
11079 _ACEOF | 11448 _ACEOF |
11080 rm -f conftest.$ac_objext | 11449 rm -f conftest.$ac_objext |
11081 if { (eval echo "$as_me:11081: \"$ac_compile\"") >&5 | 11450 if { (eval echo "$as_me:11450: \"$ac_compile\"") >&5 |
11082 (eval $ac_compile) 2>&5 | 11451 (eval $ac_compile) 2>&5 |
11083 ac_status=$? | 11452 ac_status=$? |
11084 echo "$as_me:11084: \$? = $ac_status" >&5 | 11453 echo "$as_me:11453: \$? = $ac_status" >&5 |
11085 (exit $ac_status); } && | 11454 (exit $ac_status); } && |
11086 { ac_try='test -s conftest.$ac_objext' | 11455 { ac_try='test -s conftest.$ac_objext' |
11087 { (eval echo "$as_me:11087: \"$ac_try\"") >&5 | 11456 { (eval echo "$as_me:11456: \"$ac_try\"") >&5 |
11088 (eval $ac_try) 2>&5 | 11457 (eval $ac_try) 2>&5 |
11089 ac_status=$? | 11458 ac_status=$? |
11090 echo "$as_me:11090: \$? = $ac_status" >&5 | 11459 echo "$as_me:11459: \$? = $ac_status" >&5 |
11091 (exit $ac_status); }; }; then | 11460 (exit $ac_status); }; }; then |
11092 emacs_cv_gettimeofday_two_arguments=yes | 11461 emacs_cv_gettimeofday_two_arguments=yes |
11093 else | 11462 else |
11094 echo "$as_me: failed program was:" >&5 | 11463 echo "$as_me: failed program was:" >&5 |
11095 cat conftest.$ac_ext >&5 | 11464 cat conftest.$ac_ext >&5 |
11096 emacs_cv_gettimeofday_two_arguments=no | 11465 emacs_cv_gettimeofday_two_arguments=no |
11097 fi | 11466 fi |
11098 rm -f conftest.$ac_objext conftest.$ac_ext | 11467 rm -f conftest.$ac_objext conftest.$ac_ext |
11099 fi | 11468 fi |
11100 echo "$as_me:11100: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 11469 echo "$as_me:11469: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
11101 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 11470 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 |
11102 if test $emacs_cv_gettimeofday_two_arguments = no; then | 11471 if test $emacs_cv_gettimeofday_two_arguments = no; then |
11103 cat >>confdefs.h <<\EOF | 11472 cat >>confdefs.h <<\EOF |
11104 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 11473 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
11105 EOF | 11474 EOF |
11106 | 11475 |
11107 fi | 11476 fi |
11108 fi | 11477 fi |
11109 | 11478 |
11110 if test "$ac_cv_func_gettimeofday" = yes; then | 11479 if test "$ac_cv_func_gettimeofday" = yes; then |
11111 echo "$as_me:11111: checking for struct timezone" >&5 | 11480 echo "$as_me:11480: checking for struct timezone" >&5 |
11112 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 | 11481 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 |
11113 if test "${emacs_cv_struct_timezone+set}" = set; then | 11482 if test "${emacs_cv_struct_timezone+set}" = set; then |
11114 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11483 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11115 else | 11484 else |
11116 cat >conftest.$ac_ext <<_ACEOF | 11485 cat >conftest.$ac_ext <<_ACEOF |
11117 #line 11117 "configure" | 11486 #line 11486 "configure" |
11118 #include "confdefs.h" | 11487 #include "confdefs.h" |
11119 #include <sys/time.h> | 11488 #include <sys/time.h> |
11120 int | 11489 int |
11121 main () | 11490 main () |
11122 { | 11491 { |
11124 ; | 11493 ; |
11125 return 0; | 11494 return 0; |
11126 } | 11495 } |
11127 _ACEOF | 11496 _ACEOF |
11128 rm -f conftest.$ac_objext | 11497 rm -f conftest.$ac_objext |
11129 if { (eval echo "$as_me:11129: \"$ac_compile\"") >&5 | 11498 if { (eval echo "$as_me:11498: \"$ac_compile\"") >&5 |
11130 (eval $ac_compile) 2>&5 | 11499 (eval $ac_compile) 2>&5 |
11131 ac_status=$? | 11500 ac_status=$? |
11132 echo "$as_me:11132: \$? = $ac_status" >&5 | 11501 echo "$as_me:11501: \$? = $ac_status" >&5 |
11133 (exit $ac_status); } && | 11502 (exit $ac_status); } && |
11134 { ac_try='test -s conftest.$ac_objext' | 11503 { ac_try='test -s conftest.$ac_objext' |
11135 { (eval echo "$as_me:11135: \"$ac_try\"") >&5 | 11504 { (eval echo "$as_me:11504: \"$ac_try\"") >&5 |
11136 (eval $ac_try) 2>&5 | 11505 (eval $ac_try) 2>&5 |
11137 ac_status=$? | 11506 ac_status=$? |
11138 echo "$as_me:11138: \$? = $ac_status" >&5 | 11507 echo "$as_me:11507: \$? = $ac_status" >&5 |
11139 (exit $ac_status); }; }; then | 11508 (exit $ac_status); }; }; then |
11140 if test "$cross_compiling" = yes; then | 11509 if test "$cross_compiling" = yes; then |
11141 emacs_cv_struct_timezone=yes | 11510 emacs_cv_struct_timezone=yes |
11142 else | 11511 else |
11143 cat >conftest.$ac_ext <<_ACEOF | 11512 cat >conftest.$ac_ext <<_ACEOF |
11144 #line 11144 "configure" | 11513 #line 11513 "configure" |
11145 #include "confdefs.h" | 11514 #include "confdefs.h" |
11146 | 11515 |
11147 #ifdef TIME_WITH_SYS_TIME | 11516 #ifdef TIME_WITH_SYS_TIME |
11148 #include <sys/time.h> | 11517 #include <sys/time.h> |
11149 #include <time.h> | 11518 #include <time.h> |
11159 struct timezone dummy; | 11528 struct timezone dummy; |
11160 exit (gettimeofday (&time, &dummy)); | 11529 exit (gettimeofday (&time, &dummy)); |
11161 } | 11530 } |
11162 _ACEOF | 11531 _ACEOF |
11163 rm -f conftest$ac_exeext | 11532 rm -f conftest$ac_exeext |
11164 if { (eval echo "$as_me:11164: \"$ac_link\"") >&5 | 11533 if { (eval echo "$as_me:11533: \"$ac_link\"") >&5 |
11165 (eval $ac_link) 2>&5 | 11534 (eval $ac_link) 2>&5 |
11166 ac_status=$? | 11535 ac_status=$? |
11167 echo "$as_me:11167: \$? = $ac_status" >&5 | 11536 echo "$as_me:11536: \$? = $ac_status" >&5 |
11168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11169 { (eval echo "$as_me:11169: \"$ac_try\"") >&5 | 11538 { (eval echo "$as_me:11538: \"$ac_try\"") >&5 |
11170 (eval $ac_try) 2>&5 | 11539 (eval $ac_try) 2>&5 |
11171 ac_status=$? | 11540 ac_status=$? |
11172 echo "$as_me:11172: \$? = $ac_status" >&5 | 11541 echo "$as_me:11541: \$? = $ac_status" >&5 |
11173 (exit $ac_status); }; }; then | 11542 (exit $ac_status); }; }; then |
11174 emacs_cv_struct_timezone=yes | 11543 emacs_cv_struct_timezone=yes |
11175 else | 11544 else |
11176 echo "$as_me: program exited with status $ac_status" >&5 | 11545 echo "$as_me: program exited with status $ac_status" >&5 |
11177 echo "$as_me: failed program was:" >&5 | 11546 echo "$as_me: failed program was:" >&5 |
11185 cat conftest.$ac_ext >&5 | 11554 cat conftest.$ac_ext >&5 |
11186 emacs_cv_struct_timezone=no | 11555 emacs_cv_struct_timezone=no |
11187 fi | 11556 fi |
11188 rm -f conftest.$ac_objext conftest.$ac_ext | 11557 rm -f conftest.$ac_objext conftest.$ac_ext |
11189 fi | 11558 fi |
11190 echo "$as_me:11190: result: $emacs_cv_struct_timezone" >&5 | 11559 echo "$as_me:11559: result: $emacs_cv_struct_timezone" >&5 |
11191 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 | 11560 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 |
11192 fi | 11561 fi |
11193 | 11562 |
11194 ok_so_far=yes | 11563 ok_so_far=yes |
11195 echo "$as_me:11195: checking for socket" >&5 | 11564 echo "$as_me:11564: checking for socket" >&5 |
11196 echo $ECHO_N "checking for socket... $ECHO_C" >&6 | 11565 echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
11197 if test "${ac_cv_func_socket+set}" = set; then | 11566 if test "${ac_cv_func_socket+set}" = set; then |
11198 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11567 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11199 else | 11568 else |
11200 cat >conftest.$ac_ext <<_ACEOF | 11569 cat >conftest.$ac_ext <<_ACEOF |
11201 #line 11201 "configure" | 11570 #line 11570 "configure" |
11202 #include "confdefs.h" | 11571 #include "confdefs.h" |
11203 /* System header to define __stub macros and hopefully few prototypes, | 11572 /* System header to define __stub macros and hopefully few prototypes, |
11204 which can conflict with char socket (); below. */ | 11573 which can conflict with char socket (); below. */ |
11205 #include <assert.h> | 11574 #include <assert.h> |
11206 /* Override any gcc2 internal prototype to avoid an error. */ | 11575 /* Override any gcc2 internal prototype to avoid an error. */ |
11227 ; | 11596 ; |
11228 return 0; | 11597 return 0; |
11229 } | 11598 } |
11230 _ACEOF | 11599 _ACEOF |
11231 rm -f conftest.$ac_objext conftest$ac_exeext | 11600 rm -f conftest.$ac_objext conftest$ac_exeext |
11232 if { (eval echo "$as_me:11232: \"$ac_link\"") >&5 | 11601 if { (eval echo "$as_me:11601: \"$ac_link\"") >&5 |
11233 (eval $ac_link) 2>&5 | 11602 (eval $ac_link) 2>&5 |
11234 ac_status=$? | 11603 ac_status=$? |
11235 echo "$as_me:11235: \$? = $ac_status" >&5 | 11604 echo "$as_me:11604: \$? = $ac_status" >&5 |
11236 (exit $ac_status); } && | 11605 (exit $ac_status); } && |
11237 { ac_try='test -s conftest$ac_exeext' | 11606 { ac_try='test -s conftest$ac_exeext' |
11238 { (eval echo "$as_me:11238: \"$ac_try\"") >&5 | 11607 { (eval echo "$as_me:11607: \"$ac_try\"") >&5 |
11239 (eval $ac_try) 2>&5 | 11608 (eval $ac_try) 2>&5 |
11240 ac_status=$? | 11609 ac_status=$? |
11241 echo "$as_me:11241: \$? = $ac_status" >&5 | 11610 echo "$as_me:11610: \$? = $ac_status" >&5 |
11242 (exit $ac_status); }; }; then | 11611 (exit $ac_status); }; }; then |
11243 ac_cv_func_socket=yes | 11612 ac_cv_func_socket=yes |
11244 else | 11613 else |
11245 echo "$as_me: failed program was:" >&5 | 11614 echo "$as_me: failed program was:" >&5 |
11246 cat conftest.$ac_ext >&5 | 11615 cat conftest.$ac_ext >&5 |
11247 ac_cv_func_socket=no | 11616 ac_cv_func_socket=no |
11248 fi | 11617 fi |
11249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11250 fi | 11619 fi |
11251 echo "$as_me:11251: result: $ac_cv_func_socket" >&5 | 11620 echo "$as_me:11620: result: $ac_cv_func_socket" >&5 |
11252 echo "${ECHO_T}$ac_cv_func_socket" >&6 | 11621 echo "${ECHO_T}$ac_cv_func_socket" >&6 |
11253 if test $ac_cv_func_socket = yes; then | 11622 if test $ac_cv_func_socket = yes; then |
11254 : | 11623 : |
11255 else | 11624 else |
11256 ok_so_far=no | 11625 ok_so_far=no |
11257 fi | 11626 fi |
11258 | 11627 |
11259 if test $ok_so_far = yes; then | 11628 if test $ok_so_far = yes; then |
11260 echo "$as_me:11260: checking for netinet/in.h" >&5 | 11629 echo "$as_me:11629: checking for netinet/in.h" >&5 |
11261 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 11630 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 |
11262 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 11631 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
11263 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11632 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11264 else | 11633 else |
11265 cat >conftest.$ac_ext <<_ACEOF | 11634 cat >conftest.$ac_ext <<_ACEOF |
11266 #line 11266 "configure" | 11635 #line 11635 "configure" |
11267 #include "confdefs.h" | 11636 #include "confdefs.h" |
11268 #include <netinet/in.h> | 11637 #include <netinet/in.h> |
11269 _ACEOF | 11638 _ACEOF |
11270 if { (eval echo "$as_me:11270: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11639 if { (eval echo "$as_me:11639: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11272 ac_status=$? | 11641 ac_status=$? |
11273 egrep -v '^ *\+' conftest.er1 >conftest.err | 11642 egrep -v '^ *\+' conftest.er1 >conftest.err |
11274 rm -f conftest.er1 | 11643 rm -f conftest.er1 |
11275 cat conftest.err >&5 | 11644 cat conftest.err >&5 |
11276 echo "$as_me:11276: \$? = $ac_status" >&5 | 11645 echo "$as_me:11645: \$? = $ac_status" >&5 |
11277 (exit $ac_status); } >/dev/null; then | 11646 (exit $ac_status); } >/dev/null; then |
11278 if test -s conftest.err; then | 11647 if test -s conftest.err; then |
11279 ac_cpp_err=$ac_c_preproc_warn_flag | 11648 ac_cpp_err=$ac_c_preproc_warn_flag |
11280 else | 11649 else |
11281 ac_cpp_err= | 11650 ac_cpp_err= |
11290 cat conftest.$ac_ext >&5 | 11659 cat conftest.$ac_ext >&5 |
11291 ac_cv_header_netinet_in_h=no | 11660 ac_cv_header_netinet_in_h=no |
11292 fi | 11661 fi |
11293 rm -f conftest.err conftest.$ac_ext | 11662 rm -f conftest.err conftest.$ac_ext |
11294 fi | 11663 fi |
11295 echo "$as_me:11295: result: $ac_cv_header_netinet_in_h" >&5 | 11664 echo "$as_me:11664: result: $ac_cv_header_netinet_in_h" >&5 |
11296 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 11665 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 |
11297 if test $ac_cv_header_netinet_in_h = yes; then | 11666 if test $ac_cv_header_netinet_in_h = yes; then |
11298 : | 11667 : |
11299 else | 11668 else |
11300 ok_so_far=no | 11669 ok_so_far=no |
11301 fi | 11670 fi |
11302 | 11671 |
11303 fi | 11672 fi |
11304 if test $ok_so_far = yes; then | 11673 if test $ok_so_far = yes; then |
11305 echo "$as_me:11305: checking for arpa/inet.h" >&5 | 11674 echo "$as_me:11674: checking for arpa/inet.h" >&5 |
11306 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 11675 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 |
11307 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 11676 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
11308 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11677 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11309 else | 11678 else |
11310 cat >conftest.$ac_ext <<_ACEOF | 11679 cat >conftest.$ac_ext <<_ACEOF |
11311 #line 11311 "configure" | 11680 #line 11680 "configure" |
11312 #include "confdefs.h" | 11681 #include "confdefs.h" |
11313 #include <arpa/inet.h> | 11682 #include <arpa/inet.h> |
11314 _ACEOF | 11683 _ACEOF |
11315 if { (eval echo "$as_me:11315: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11684 if { (eval echo "$as_me:11684: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11685 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11317 ac_status=$? | 11686 ac_status=$? |
11318 egrep -v '^ *\+' conftest.er1 >conftest.err | 11687 egrep -v '^ *\+' conftest.er1 >conftest.err |
11319 rm -f conftest.er1 | 11688 rm -f conftest.er1 |
11320 cat conftest.err >&5 | 11689 cat conftest.err >&5 |
11321 echo "$as_me:11321: \$? = $ac_status" >&5 | 11690 echo "$as_me:11690: \$? = $ac_status" >&5 |
11322 (exit $ac_status); } >/dev/null; then | 11691 (exit $ac_status); } >/dev/null; then |
11323 if test -s conftest.err; then | 11692 if test -s conftest.err; then |
11324 ac_cpp_err=$ac_c_preproc_warn_flag | 11693 ac_cpp_err=$ac_c_preproc_warn_flag |
11325 else | 11694 else |
11326 ac_cpp_err= | 11695 ac_cpp_err= |
11335 cat conftest.$ac_ext >&5 | 11704 cat conftest.$ac_ext >&5 |
11336 ac_cv_header_arpa_inet_h=no | 11705 ac_cv_header_arpa_inet_h=no |
11337 fi | 11706 fi |
11338 rm -f conftest.err conftest.$ac_ext | 11707 rm -f conftest.err conftest.$ac_ext |
11339 fi | 11708 fi |
11340 echo "$as_me:11340: result: $ac_cv_header_arpa_inet_h" >&5 | 11709 echo "$as_me:11709: result: $ac_cv_header_arpa_inet_h" >&5 |
11341 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 11710 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 |
11342 if test $ac_cv_header_arpa_inet_h = yes; then | 11711 if test $ac_cv_header_arpa_inet_h = yes; then |
11343 : | 11712 : |
11344 else | 11713 else |
11345 ok_so_far=no | 11714 ok_so_far=no |
11358 #define HAVE_AIX_SMT_EXP 1 | 11727 #define HAVE_AIX_SMT_EXP 1 |
11359 EOF | 11728 EOF |
11360 | 11729 |
11361 fi | 11730 fi |
11362 | 11731 |
11363 echo "$as_me:11363: checking whether system supports dynamic ptys" >&5 | 11732 echo "$as_me:11732: checking whether system supports dynamic ptys" >&5 |
11364 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | 11733 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 |
11365 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 11734 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
11366 echo "$as_me:11366: result: yes" >&5 | 11735 echo "$as_me:11735: result: yes" >&5 |
11367 echo "${ECHO_T}yes" >&6 | 11736 echo "${ECHO_T}yes" >&6 |
11368 cat >>confdefs.h <<\EOF | 11737 cat >>confdefs.h <<\EOF |
11369 #define HAVE_DEV_PTMX 1 | 11738 #define HAVE_DEV_PTMX 1 |
11370 EOF | 11739 EOF |
11371 | 11740 |
11372 else | 11741 else |
11373 echo "$as_me:11373: result: no" >&5 | 11742 echo "$as_me:11742: result: no" >&5 |
11374 echo "${ECHO_T}no" >&6 | 11743 echo "${ECHO_T}no" >&6 |
11375 fi | 11744 fi |
11376 | 11745 |
11377 echo "$as_me:11377: checking for pid_t" >&5 | 11746 echo "$as_me:11746: checking for pid_t" >&5 |
11378 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 11747 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
11379 if test "${ac_cv_type_pid_t+set}" = set; then | 11748 if test "${ac_cv_type_pid_t+set}" = set; then |
11380 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11749 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11381 else | 11750 else |
11382 cat >conftest.$ac_ext <<_ACEOF | 11751 cat >conftest.$ac_ext <<_ACEOF |
11383 #line 11383 "configure" | 11752 #line 11752 "configure" |
11384 #include "confdefs.h" | 11753 #include "confdefs.h" |
11385 $ac_includes_default | 11754 $ac_includes_default |
11386 int | 11755 int |
11387 main () | 11756 main () |
11388 { | 11757 { |
11393 ; | 11762 ; |
11394 return 0; | 11763 return 0; |
11395 } | 11764 } |
11396 _ACEOF | 11765 _ACEOF |
11397 rm -f conftest.$ac_objext | 11766 rm -f conftest.$ac_objext |
11398 if { (eval echo "$as_me:11398: \"$ac_compile\"") >&5 | 11767 if { (eval echo "$as_me:11767: \"$ac_compile\"") >&5 |
11399 (eval $ac_compile) 2>&5 | 11768 (eval $ac_compile) 2>&5 |
11400 ac_status=$? | 11769 ac_status=$? |
11401 echo "$as_me:11401: \$? = $ac_status" >&5 | 11770 echo "$as_me:11770: \$? = $ac_status" >&5 |
11402 (exit $ac_status); } && | 11771 (exit $ac_status); } && |
11403 { ac_try='test -s conftest.$ac_objext' | 11772 { ac_try='test -s conftest.$ac_objext' |
11404 { (eval echo "$as_me:11404: \"$ac_try\"") >&5 | 11773 { (eval echo "$as_me:11773: \"$ac_try\"") >&5 |
11405 (eval $ac_try) 2>&5 | 11774 (eval $ac_try) 2>&5 |
11406 ac_status=$? | 11775 ac_status=$? |
11407 echo "$as_me:11407: \$? = $ac_status" >&5 | 11776 echo "$as_me:11776: \$? = $ac_status" >&5 |
11408 (exit $ac_status); }; }; then | 11777 (exit $ac_status); }; }; then |
11409 ac_cv_type_pid_t=yes | 11778 ac_cv_type_pid_t=yes |
11410 else | 11779 else |
11411 echo "$as_me: failed program was:" >&5 | 11780 echo "$as_me: failed program was:" >&5 |
11412 cat conftest.$ac_ext >&5 | 11781 cat conftest.$ac_ext >&5 |
11413 ac_cv_type_pid_t=no | 11782 ac_cv_type_pid_t=no |
11414 fi | 11783 fi |
11415 rm -f conftest.$ac_objext conftest.$ac_ext | 11784 rm -f conftest.$ac_objext conftest.$ac_ext |
11416 fi | 11785 fi |
11417 echo "$as_me:11417: result: $ac_cv_type_pid_t" >&5 | 11786 echo "$as_me:11786: result: $ac_cv_type_pid_t" >&5 |
11418 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 11787 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
11419 if test $ac_cv_type_pid_t = yes; then | 11788 if test $ac_cv_type_pid_t = yes; then |
11420 : | 11789 : |
11421 else | 11790 else |
11422 | 11791 |
11427 fi | 11796 fi |
11428 | 11797 |
11429 for ac_header in unistd.h vfork.h | 11798 for ac_header in unistd.h vfork.h |
11430 do | 11799 do |
11431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11432 echo "$as_me:11432: checking for $ac_header" >&5 | 11801 echo "$as_me:11801: checking for $ac_header" >&5 |
11433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11434 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11803 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11435 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11804 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11436 else | 11805 else |
11437 cat >conftest.$ac_ext <<_ACEOF | 11806 cat >conftest.$ac_ext <<_ACEOF |
11438 #line 11438 "configure" | 11807 #line 11807 "configure" |
11439 #include "confdefs.h" | 11808 #include "confdefs.h" |
11440 #include <$ac_header> | 11809 #include <$ac_header> |
11441 _ACEOF | 11810 _ACEOF |
11442 if { (eval echo "$as_me:11442: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11811 if { (eval echo "$as_me:11811: \"$ac_cpp conftest.$ac_ext\"") >&5 |
11443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11812 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
11444 ac_status=$? | 11813 ac_status=$? |
11445 egrep -v '^ *\+' conftest.er1 >conftest.err | 11814 egrep -v '^ *\+' conftest.er1 >conftest.err |
11446 rm -f conftest.er1 | 11815 rm -f conftest.er1 |
11447 cat conftest.err >&5 | 11816 cat conftest.err >&5 |
11448 echo "$as_me:11448: \$? = $ac_status" >&5 | 11817 echo "$as_me:11817: \$? = $ac_status" >&5 |
11449 (exit $ac_status); } >/dev/null; then | 11818 (exit $ac_status); } >/dev/null; then |
11450 if test -s conftest.err; then | 11819 if test -s conftest.err; then |
11451 ac_cpp_err=$ac_c_preproc_warn_flag | 11820 ac_cpp_err=$ac_c_preproc_warn_flag |
11452 else | 11821 else |
11453 ac_cpp_err= | 11822 ac_cpp_err= |
11462 cat conftest.$ac_ext >&5 | 11831 cat conftest.$ac_ext >&5 |
11463 eval "$as_ac_Header=no" | 11832 eval "$as_ac_Header=no" |
11464 fi | 11833 fi |
11465 rm -f conftest.err conftest.$ac_ext | 11834 rm -f conftest.err conftest.$ac_ext |
11466 fi | 11835 fi |
11467 echo "$as_me:11467: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11836 echo "$as_me:11836: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
11468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
11469 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11838 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11470 cat >>confdefs.h <<EOF | 11839 cat >>confdefs.h <<EOF |
11471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 11840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11472 EOF | 11841 EOF |
11475 done | 11844 done |
11476 | 11845 |
11477 for ac_func in fork vfork | 11846 for ac_func in fork vfork |
11478 do | 11847 do |
11479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11480 echo "$as_me:11480: checking for $ac_func" >&5 | 11849 echo "$as_me:11849: checking for $ac_func" >&5 |
11481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11482 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11851 if eval "test \"\${$as_ac_var+set}\" = set"; then |
11483 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11852 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11484 else | 11853 else |
11485 cat >conftest.$ac_ext <<_ACEOF | 11854 cat >conftest.$ac_ext <<_ACEOF |
11486 #line 11486 "configure" | 11855 #line 11855 "configure" |
11487 #include "confdefs.h" | 11856 #include "confdefs.h" |
11488 /* System header to define __stub macros and hopefully few prototypes, | 11857 /* System header to define __stub macros and hopefully few prototypes, |
11489 which can conflict with char $ac_func (); below. */ | 11858 which can conflict with char $ac_func (); below. */ |
11490 #include <assert.h> | 11859 #include <assert.h> |
11491 /* Override any gcc2 internal prototype to avoid an error. */ | 11860 /* Override any gcc2 internal prototype to avoid an error. */ |
11512 ; | 11881 ; |
11513 return 0; | 11882 return 0; |
11514 } | 11883 } |
11515 _ACEOF | 11884 _ACEOF |
11516 rm -f conftest.$ac_objext conftest$ac_exeext | 11885 rm -f conftest.$ac_objext conftest$ac_exeext |
11517 if { (eval echo "$as_me:11517: \"$ac_link\"") >&5 | 11886 if { (eval echo "$as_me:11886: \"$ac_link\"") >&5 |
11518 (eval $ac_link) 2>&5 | 11887 (eval $ac_link) 2>&5 |
11519 ac_status=$? | 11888 ac_status=$? |
11520 echo "$as_me:11520: \$? = $ac_status" >&5 | 11889 echo "$as_me:11889: \$? = $ac_status" >&5 |
11521 (exit $ac_status); } && | 11890 (exit $ac_status); } && |
11522 { ac_try='test -s conftest$ac_exeext' | 11891 { ac_try='test -s conftest$ac_exeext' |
11523 { (eval echo "$as_me:11523: \"$ac_try\"") >&5 | 11892 { (eval echo "$as_me:11892: \"$ac_try\"") >&5 |
11524 (eval $ac_try) 2>&5 | 11893 (eval $ac_try) 2>&5 |
11525 ac_status=$? | 11894 ac_status=$? |
11526 echo "$as_me:11526: \$? = $ac_status" >&5 | 11895 echo "$as_me:11895: \$? = $ac_status" >&5 |
11527 (exit $ac_status); }; }; then | 11896 (exit $ac_status); }; }; then |
11528 eval "$as_ac_var=yes" | 11897 eval "$as_ac_var=yes" |
11529 else | 11898 else |
11530 echo "$as_me: failed program was:" >&5 | 11899 echo "$as_me: failed program was:" >&5 |
11531 cat conftest.$ac_ext >&5 | 11900 cat conftest.$ac_ext >&5 |
11532 eval "$as_ac_var=no" | 11901 eval "$as_ac_var=no" |
11533 fi | 11902 fi |
11534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 11903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11535 fi | 11904 fi |
11536 echo "$as_me:11536: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11905 echo "$as_me:11905: result: `eval echo '${'$as_ac_var'}'`" >&5 |
11537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
11538 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11907 if test `eval echo '${'$as_ac_var'}'` = yes; then |
11539 cat >>confdefs.h <<EOF | 11908 cat >>confdefs.h <<EOF |
11540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11541 EOF | 11910 EOF |
11543 fi | 11912 fi |
11544 done | 11913 done |
11545 | 11914 |
11546 ac_cv_func_fork_works=$ac_cv_func_fork | 11915 ac_cv_func_fork_works=$ac_cv_func_fork |
11547 if test "x$ac_cv_func_fork" = xyes; then | 11916 if test "x$ac_cv_func_fork" = xyes; then |
11548 echo "$as_me:11548: checking for working fork" >&5 | 11917 echo "$as_me:11917: checking for working fork" >&5 |
11549 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 | 11918 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 |
11550 if test "${ac_cv_func_fork_works+set}" = set; then | 11919 if test "${ac_cv_func_fork_works+set}" = set; then |
11551 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11920 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11552 else | 11921 else |
11553 if test "$cross_compiling" = yes; then | 11922 if test "$cross_compiling" = yes; then |
11566 exit (1); | 11935 exit (1); |
11567 exit (0); | 11936 exit (0); |
11568 } | 11937 } |
11569 _ACEOF | 11938 _ACEOF |
11570 rm -f conftest$ac_exeext | 11939 rm -f conftest$ac_exeext |
11571 if { (eval echo "$as_me:11571: \"$ac_link\"") >&5 | 11940 if { (eval echo "$as_me:11940: \"$ac_link\"") >&5 |
11572 (eval $ac_link) 2>&5 | 11941 (eval $ac_link) 2>&5 |
11573 ac_status=$? | 11942 ac_status=$? |
11574 echo "$as_me:11574: \$? = $ac_status" >&5 | 11943 echo "$as_me:11943: \$? = $ac_status" >&5 |
11575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11576 { (eval echo "$as_me:11576: \"$ac_try\"") >&5 | 11945 { (eval echo "$as_me:11945: \"$ac_try\"") >&5 |
11577 (eval $ac_try) 2>&5 | 11946 (eval $ac_try) 2>&5 |
11578 ac_status=$? | 11947 ac_status=$? |
11579 echo "$as_me:11579: \$? = $ac_status" >&5 | 11948 echo "$as_me:11948: \$? = $ac_status" >&5 |
11580 (exit $ac_status); }; }; then | 11949 (exit $ac_status); }; }; then |
11581 ac_cv_func_fork_works=yes | 11950 ac_cv_func_fork_works=yes |
11582 else | 11951 else |
11583 echo "$as_me: program exited with status $ac_status" >&5 | 11952 echo "$as_me: program exited with status $ac_status" >&5 |
11584 echo "$as_me: failed program was:" >&5 | 11953 echo "$as_me: failed program was:" >&5 |
11586 ac_cv_func_fork_works=no | 11955 ac_cv_func_fork_works=no |
11587 fi | 11956 fi |
11588 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11957 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11589 fi | 11958 fi |
11590 fi | 11959 fi |
11591 echo "$as_me:11591: result: $ac_cv_func_fork_works" >&5 | 11960 echo "$as_me:11960: result: $ac_cv_func_fork_works" >&5 |
11592 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 | 11961 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 |
11593 | 11962 |
11594 fi | 11963 fi |
11595 if test "x$ac_cv_func_fork_works" = xcross; then | 11964 if test "x$ac_cv_func_fork_works" = xcross; then |
11596 case $host in | 11965 case $host in |
11600 ;; | 11969 ;; |
11601 *) | 11970 *) |
11602 ac_cv_func_fork_works=yes | 11971 ac_cv_func_fork_works=yes |
11603 ;; | 11972 ;; |
11604 esac | 11973 esac |
11605 { echo "$as_me:11605: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 | 11974 { echo "$as_me:11974: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 |
11606 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} | 11975 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} |
11607 fi | 11976 fi |
11608 ac_cv_func_vfork_works=$ac_cv_func_vfork | 11977 ac_cv_func_vfork_works=$ac_cv_func_vfork |
11609 if test "x$ac_cv_func_vfork" = xyes; then | 11978 if test "x$ac_cv_func_vfork" = xyes; then |
11610 echo "$as_me:11610: checking for working vfork" >&5 | 11979 echo "$as_me:11979: checking for working vfork" >&5 |
11611 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 | 11980 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 |
11612 if test "${ac_cv_func_vfork_works+set}" = set; then | 11981 if test "${ac_cv_func_vfork_works+set}" = set; then |
11613 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11982 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11614 else | 11983 else |
11615 if test "$cross_compiling" = yes; then | 11984 if test "$cross_compiling" = yes; then |
11616 ac_cv_func_vfork_works=cross | 11985 ac_cv_func_vfork_works=cross |
11617 else | 11986 else |
11618 cat >conftest.$ac_ext <<_ACEOF | 11987 cat >conftest.$ac_ext <<_ACEOF |
11619 #line 11619 "configure" | 11988 #line 11988 "configure" |
11620 #include "confdefs.h" | 11989 #include "confdefs.h" |
11621 /* Thanks to Paul Eggert for this test. */ | 11990 /* Thanks to Paul Eggert for this test. */ |
11622 #include <stdio.h> | 11991 #include <stdio.h> |
11623 #include <sys/types.h> | 11992 #include <sys/types.h> |
11624 #include <sys/stat.h> | 11993 #include <sys/stat.h> |
11711 ); | 12080 ); |
11712 } | 12081 } |
11713 } | 12082 } |
11714 _ACEOF | 12083 _ACEOF |
11715 rm -f conftest$ac_exeext | 12084 rm -f conftest$ac_exeext |
11716 if { (eval echo "$as_me:11716: \"$ac_link\"") >&5 | 12085 if { (eval echo "$as_me:12085: \"$ac_link\"") >&5 |
11717 (eval $ac_link) 2>&5 | 12086 (eval $ac_link) 2>&5 |
11718 ac_status=$? | 12087 ac_status=$? |
11719 echo "$as_me:11719: \$? = $ac_status" >&5 | 12088 echo "$as_me:12088: \$? = $ac_status" >&5 |
11720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11721 { (eval echo "$as_me:11721: \"$ac_try\"") >&5 | 12090 { (eval echo "$as_me:12090: \"$ac_try\"") >&5 |
11722 (eval $ac_try) 2>&5 | 12091 (eval $ac_try) 2>&5 |
11723 ac_status=$? | 12092 ac_status=$? |
11724 echo "$as_me:11724: \$? = $ac_status" >&5 | 12093 echo "$as_me:12093: \$? = $ac_status" >&5 |
11725 (exit $ac_status); }; }; then | 12094 (exit $ac_status); }; }; then |
11726 ac_cv_func_vfork_works=yes | 12095 ac_cv_func_vfork_works=yes |
11727 else | 12096 else |
11728 echo "$as_me: program exited with status $ac_status" >&5 | 12097 echo "$as_me: program exited with status $ac_status" >&5 |
11729 echo "$as_me: failed program was:" >&5 | 12098 echo "$as_me: failed program was:" >&5 |
11731 ac_cv_func_vfork_works=no | 12100 ac_cv_func_vfork_works=no |
11732 fi | 12101 fi |
11733 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12102 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11734 fi | 12103 fi |
11735 fi | 12104 fi |
11736 echo "$as_me:11736: result: $ac_cv_func_vfork_works" >&5 | 12105 echo "$as_me:12105: result: $ac_cv_func_vfork_works" >&5 |
11737 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 | 12106 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 |
11738 | 12107 |
11739 fi; | 12108 fi; |
11740 if test "x$ac_cv_func_fork_works" = xcross; then | 12109 if test "x$ac_cv_func_fork_works" = xcross; then |
11741 ac_cv_func_vfork_works=ac_cv_func_vfork | 12110 ac_cv_func_vfork_works=ac_cv_func_vfork |
11742 { echo "$as_me:11742: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 | 12111 { echo "$as_me:12111: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 |
11743 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} | 12112 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} |
11744 fi | 12113 fi |
11745 | 12114 |
11746 if test "x$ac_cv_func_vfork_works" = xyes; then | 12115 if test "x$ac_cv_func_vfork_works" = xyes; then |
11747 | 12116 |
11763 EOF | 12132 EOF |
11764 | 12133 |
11765 fi | 12134 fi |
11766 | 12135 |
11767 # Fixme: This should be replaced when we have autoconf 2.14. | 12136 # Fixme: This should be replaced when we have autoconf 2.14. |
11768 echo "$as_me:11768: checking for size_t" >&5 | 12137 echo "$as_me:12137: checking for size_t" >&5 |
11769 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 12138 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
11770 if test "${ac_cv_type_size_t+set}" = set; then | 12139 if test "${ac_cv_type_size_t+set}" = set; then |
11771 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12140 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11772 else | 12141 else |
11773 cat >conftest.$ac_ext <<_ACEOF | 12142 cat >conftest.$ac_ext <<_ACEOF |
11774 #line 11774 "configure" | 12143 #line 12143 "configure" |
11775 #include "confdefs.h" | 12144 #include "confdefs.h" |
11776 $ac_includes_default | 12145 $ac_includes_default |
11777 int | 12146 int |
11778 main () | 12147 main () |
11779 { | 12148 { |
11784 ; | 12153 ; |
11785 return 0; | 12154 return 0; |
11786 } | 12155 } |
11787 _ACEOF | 12156 _ACEOF |
11788 rm -f conftest.$ac_objext | 12157 rm -f conftest.$ac_objext |
11789 if { (eval echo "$as_me:11789: \"$ac_compile\"") >&5 | 12158 if { (eval echo "$as_me:12158: \"$ac_compile\"") >&5 |
11790 (eval $ac_compile) 2>&5 | 12159 (eval $ac_compile) 2>&5 |
11791 ac_status=$? | 12160 ac_status=$? |
11792 echo "$as_me:11792: \$? = $ac_status" >&5 | 12161 echo "$as_me:12161: \$? = $ac_status" >&5 |
11793 (exit $ac_status); } && | 12162 (exit $ac_status); } && |
11794 { ac_try='test -s conftest.$ac_objext' | 12163 { ac_try='test -s conftest.$ac_objext' |
11795 { (eval echo "$as_me:11795: \"$ac_try\"") >&5 | 12164 { (eval echo "$as_me:12164: \"$ac_try\"") >&5 |
11796 (eval $ac_try) 2>&5 | 12165 (eval $ac_try) 2>&5 |
11797 ac_status=$? | 12166 ac_status=$? |
11798 echo "$as_me:11798: \$? = $ac_status" >&5 | 12167 echo "$as_me:12167: \$? = $ac_status" >&5 |
11799 (exit $ac_status); }; }; then | 12168 (exit $ac_status); }; }; then |
11800 ac_cv_type_size_t=yes | 12169 ac_cv_type_size_t=yes |
11801 else | 12170 else |
11802 echo "$as_me: failed program was:" >&5 | 12171 echo "$as_me: failed program was:" >&5 |
11803 cat conftest.$ac_ext >&5 | 12172 cat conftest.$ac_ext >&5 |
11804 ac_cv_type_size_t=no | 12173 ac_cv_type_size_t=no |
11805 fi | 12174 fi |
11806 rm -f conftest.$ac_objext conftest.$ac_ext | 12175 rm -f conftest.$ac_objext conftest.$ac_ext |
11807 fi | 12176 fi |
11808 echo "$as_me:11808: result: $ac_cv_type_size_t" >&5 | 12177 echo "$as_me:12177: result: $ac_cv_type_size_t" >&5 |
11809 echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 12178 echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
11810 if test $ac_cv_type_size_t = yes; then | 12179 if test $ac_cv_type_size_t = yes; then |
11811 : | 12180 : |
11812 else | 12181 else |
11813 | 12182 |
11823 | 12192 |
11824 #### Find out which version of Emacs this is. | 12193 #### Find out which version of Emacs this is. |
11825 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 12194 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
11826 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 12195 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
11827 if test x"${version}" = x; then | 12196 if test x"${version}" = x; then |
11828 { { echo "$as_me:11828: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 | 12197 { { echo "$as_me:12197: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 |
11829 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} | 12198 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} |
11830 { (exit 1); exit 1; }; } | 12199 { (exit 1); exit 1; }; } |
11831 fi | 12200 fi |
11832 | 12201 |
11833 ### Specify what sort of things we'll be editing into Makefile and config.h. | 12202 ### Specify what sort of things we'll be editing into Makefile and config.h. |
11952 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 12321 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
11953 ## from Makefile.c can correctly provide the arg `-traditional' to the | 12322 ## from Makefile.c can correctly provide the arg `-traditional' to the |
11954 ## C preprocessor. | 12323 ## C preprocessor. |
11955 | 12324 |
11956 cat >conftest.$ac_ext <<_ACEOF | 12325 cat >conftest.$ac_ext <<_ACEOF |
11957 #line 11957 "configure" | 12326 #line 12326 "configure" |
11958 #include "confdefs.h" | 12327 #include "confdefs.h" |
11959 yes..yes | 12328 yes..yes |
11960 _ACEOF | 12329 _ACEOF |
11961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11962 egrep "yes..yes" >/dev/null 2>&1; then | 12331 egrep "yes..yes" >/dev/null 2>&1; then |
12045 DEFS=-DHAVE_CONFIG_H | 12414 DEFS=-DHAVE_CONFIG_H |
12046 | 12415 |
12047 : ${CONFIG_STATUS=./config.status} | 12416 : ${CONFIG_STATUS=./config.status} |
12048 ac_clean_files_save=$ac_clean_files | 12417 ac_clean_files_save=$ac_clean_files |
12049 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 12418 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
12050 { echo "$as_me:12050: creating $CONFIG_STATUS" >&5 | 12419 { echo "$as_me:12419: creating $CONFIG_STATUS" >&5 |
12051 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 12420 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
12052 cat >$CONFIG_STATUS <<_ACEOF | 12421 cat >$CONFIG_STATUS <<_ACEOF |
12053 #! $SHELL | 12422 #! $SHELL |
12054 # Generated automatically by configure. | 12423 # Generated automatically by configure. |
12055 # Run this file to recreate the current configuration. | 12424 # Run this file to recreate the current configuration. |
12221 cat >>$CONFIG_STATUS <<\EOF | 12590 cat >>$CONFIG_STATUS <<\EOF |
12222 --version | --vers* | -V ) | 12591 --version | --vers* | -V ) |
12223 echo "$ac_cs_version"; exit 0 ;; | 12592 echo "$ac_cs_version"; exit 0 ;; |
12224 --he | --h) | 12593 --he | --h) |
12225 # Conflict between --help and --header | 12594 # Conflict between --help and --header |
12226 { { echo "$as_me:12226: error: ambiguous option: $1 | 12595 { { echo "$as_me:12595: error: ambiguous option: $1 |
12227 Try \`$0 --help' for more information." >&5 | 12596 Try \`$0 --help' for more information." >&5 |
12228 echo "$as_me: error: ambiguous option: $1 | 12597 echo "$as_me: error: ambiguous option: $1 |
12229 Try \`$0 --help' for more information." >&2;} | 12598 Try \`$0 --help' for more information." >&2;} |
12230 { (exit 1); exit 1; }; };; | 12599 { (exit 1); exit 1; }; };; |
12231 --help | --hel | -h ) | 12600 --help | --hel | -h ) |
12240 shift | 12609 shift |
12241 CONFIG_HEADERS="$CONFIG_HEADERS $1" | 12610 CONFIG_HEADERS="$CONFIG_HEADERS $1" |
12242 ac_need_defaults=false;; | 12611 ac_need_defaults=false;; |
12243 | 12612 |
12244 # This is an error. | 12613 # This is an error. |
12245 -*) { { echo "$as_me:12245: error: unrecognized option: $1 | 12614 -*) { { echo "$as_me:12614: error: unrecognized option: $1 |
12246 Try \`$0 --help' for more information." >&5 | 12615 Try \`$0 --help' for more information." >&5 |
12247 echo "$as_me: error: unrecognized option: $1 | 12616 echo "$as_me: error: unrecognized option: $1 |
12248 Try \`$0 --help' for more information." >&2;} | 12617 Try \`$0 --help' for more information." >&2;} |
12249 { (exit 1); exit 1; }; } ;; | 12618 { (exit 1); exit 1; }; } ;; |
12250 | 12619 |
12294 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; | 12663 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; |
12295 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 12664 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
12296 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 12665 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
12297 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 12666 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
12298 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 12667 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
12299 *) { { echo "$as_me:12299: error: invalid argument: $ac_config_target" >&5 | 12668 *) { { echo "$as_me:12668: error: invalid argument: $ac_config_target" >&5 |
12300 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 12669 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12301 { (exit 1); exit 1; }; };; | 12670 { (exit 1); exit 1; }; };; |
12302 esac | 12671 esac |
12303 done | 12672 done |
12304 | 12673 |
12541 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 12910 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
12542 *) ac_INSTALL=$ac_dots$INSTALL ;; | 12911 *) ac_INSTALL=$ac_dots$INSTALL ;; |
12543 esac | 12912 esac |
12544 | 12913 |
12545 if test x"$ac_file" != x-; then | 12914 if test x"$ac_file" != x-; then |
12546 { echo "$as_me:12546: creating $ac_file" >&5 | 12915 { echo "$as_me:12915: creating $ac_file" >&5 |
12547 echo "$as_me: creating $ac_file" >&6;} | 12916 echo "$as_me: creating $ac_file" >&6;} |
12548 rm -f "$ac_file" | 12917 rm -f "$ac_file" |
12549 fi | 12918 fi |
12550 # Let's still pretend it is `configure' which instantiates (i.e., don't | 12919 # Let's still pretend it is `configure' which instantiates (i.e., don't |
12551 # use $as_me), people would be surprised to read: | 12920 # use $as_me), people would be surprised to read: |
12559 for f in $ac_file_in; do | 12928 for f in $ac_file_in; do |
12560 case $f in | 12929 case $f in |
12561 -) echo $tmp/stdin ;; | 12930 -) echo $tmp/stdin ;; |
12562 [\\/$]*) | 12931 [\\/$]*) |
12563 # Absolute (can't be DOS-style, as IFS=:) | 12932 # Absolute (can't be DOS-style, as IFS=:) |
12564 test -f "$f" || { { echo "$as_me:12564: error: cannot find input file: $f" >&5 | 12933 test -f "$f" || { { echo "$as_me:12933: error: cannot find input file: $f" >&5 |
12565 echo "$as_me: error: cannot find input file: $f" >&2;} | 12934 echo "$as_me: error: cannot find input file: $f" >&2;} |
12566 { (exit 1); exit 1; }; } | 12935 { (exit 1); exit 1; }; } |
12567 echo $f;; | 12936 echo $f;; |
12568 *) # Relative | 12937 *) # Relative |
12569 if test -f "$f"; then | 12938 if test -f "$f"; then |
12572 elif test -f "$srcdir/$f"; then | 12941 elif test -f "$srcdir/$f"; then |
12573 # Source tree | 12942 # Source tree |
12574 echo $srcdir/$f | 12943 echo $srcdir/$f |
12575 else | 12944 else |
12576 # /dev/null tree | 12945 # /dev/null tree |
12577 { { echo "$as_me:12577: error: cannot find input file: $f" >&5 | 12946 { { echo "$as_me:12946: error: cannot find input file: $f" >&5 |
12578 echo "$as_me: error: cannot find input file: $f" >&2;} | 12947 echo "$as_me: error: cannot find input file: $f" >&2;} |
12579 { (exit 1); exit 1; }; } | 12948 { (exit 1); exit 1; }; } |
12580 fi;; | 12949 fi;; |
12581 esac | 12950 esac |
12582 done` || { (exit 1); exit 1; } | 12951 done` || { (exit 1); exit 1; } |
12633 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 13002 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
12634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 13003 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
12635 * ) ac_file_in=$ac_file.in ;; | 13004 * ) ac_file_in=$ac_file.in ;; |
12636 esac | 13005 esac |
12637 | 13006 |
12638 test x"$ac_file" != x- && { echo "$as_me:12638: creating $ac_file" >&5 | 13007 test x"$ac_file" != x- && { echo "$as_me:13007: creating $ac_file" >&5 |
12639 echo "$as_me: creating $ac_file" >&6;} | 13008 echo "$as_me: creating $ac_file" >&6;} |
12640 | 13009 |
12641 # First look for the input files in the build tree, otherwise in the | 13010 # First look for the input files in the build tree, otherwise in the |
12642 # src tree. | 13011 # src tree. |
12643 ac_file_inputs=`IFS=: | 13012 ac_file_inputs=`IFS=: |
12644 for f in $ac_file_in; do | 13013 for f in $ac_file_in; do |
12645 case $f in | 13014 case $f in |
12646 -) echo $tmp/stdin ;; | 13015 -) echo $tmp/stdin ;; |
12647 [\\/$]*) | 13016 [\\/$]*) |
12648 # Absolute (can't be DOS-style, as IFS=:) | 13017 # Absolute (can't be DOS-style, as IFS=:) |
12649 test -f "$f" || { { echo "$as_me:12649: error: cannot find input file: $f" >&5 | 13018 test -f "$f" || { { echo "$as_me:13018: error: cannot find input file: $f" >&5 |
12650 echo "$as_me: error: cannot find input file: $f" >&2;} | 13019 echo "$as_me: error: cannot find input file: $f" >&2;} |
12651 { (exit 1); exit 1; }; } | 13020 { (exit 1); exit 1; }; } |
12652 echo $f;; | 13021 echo $f;; |
12653 *) # Relative | 13022 *) # Relative |
12654 if test -f "$f"; then | 13023 if test -f "$f"; then |
12657 elif test -f "$srcdir/$f"; then | 13026 elif test -f "$srcdir/$f"; then |
12658 # Source tree | 13027 # Source tree |
12659 echo $srcdir/$f | 13028 echo $srcdir/$f |
12660 else | 13029 else |
12661 # /dev/null tree | 13030 # /dev/null tree |
12662 { { echo "$as_me:12662: error: cannot find input file: $f" >&5 | 13031 { { echo "$as_me:13031: error: cannot find input file: $f" >&5 |
12663 echo "$as_me: error: cannot find input file: $f" >&2;} | 13032 echo "$as_me: error: cannot find input file: $f" >&2;} |
12664 { (exit 1); exit 1; }; } | 13033 { (exit 1); exit 1; }; } |
12665 fi;; | 13034 fi;; |
12666 esac | 13035 esac |
12667 done` || { (exit 1); exit 1; } | 13036 done` || { (exit 1); exit 1; } |
12774 fi | 13143 fi |
12775 cat $tmp/in >>$tmp/config.h | 13144 cat $tmp/in >>$tmp/config.h |
12776 rm -f $tmp/in | 13145 rm -f $tmp/in |
12777 if test x"$ac_file" != x-; then | 13146 if test x"$ac_file" != x-; then |
12778 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 13147 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
12779 { echo "$as_me:12779: $ac_file is unchanged" >&5 | 13148 { echo "$as_me:13148: $ac_file is unchanged" >&5 |
12780 echo "$as_me: $ac_file is unchanged" >&6;} | 13149 echo "$as_me: $ac_file is unchanged" >&6;} |
12781 else | 13150 else |
12782 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 13151 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
12783 X"$ac_file" : 'X\(//\)[^/]' \| \ | 13152 X"$ac_file" : 'X\(//\)[^/]' \| \ |
12784 X"$ac_file" : 'X\(//\)$' \| \ | 13153 X"$ac_file" : 'X\(//\)$' \| \ |