]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/openssh/openssh-3.7.1p1/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / openssh / openssh-3.7.1p1 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- openssh-3.7.1p1/configure.ac~configure
7 +++ openssh-3.7.1p1/configure.ac
8 @@ -65,7 +65,7 @@
9         for tryflags in -blibpath: -Wl,-blibpath: -Wl,-rpath, ;do
10                 if (test -z "$blibflags"); then
11                         LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
12 -                       AC_TRY_LINK([], [], [blibflags=$tryflags])
13 +                       AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[blibflags=$tryflags],[])
14                 fi
15         done
16         if (test -z "$blibflags"); then
17 @@ -85,13 +85,9 @@
18         dnl Check if loginfailed is declared and takes 4 arguments (AIX >= 5.2)
19         AC_CHECK_DECL(loginfailed,
20                  [AC_MSG_CHECKING(if loginfailed takes 4 arguments)
21 -                 AC_TRY_COMPILE(
22 -                       [#include <usersec.h>],
23 -                       [(void)loginfailed("user","host","tty",0);],
24 -                       [AC_MSG_RESULT(yes)
25 -                        AC_DEFINE(AIX_LOGINFAILED_4ARG)],
26 -                       [AC_MSG_RESULT(no)]
27 -               )],
28 +                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <usersec.h>]], [[(void)loginfailed("user","host","tty",0);]])],[AC_MSG_RESULT(yes)
29 +                        AC_DEFINE(AIX_LOGINFAILED_4ARG)],[AC_MSG_RESULT(no)
30 +               ])],
31                 [],
32                 [#include <usersec.h>]
33         )
34 @@ -123,15 +119,13 @@
35         ;;
36  *-*-darwin*)
37         AC_MSG_CHECKING(if we have working getaddrinfo)
38 -       AC_TRY_RUN([#include <mach-o/dyld.h>
39 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <mach-o/dyld.h>
40  main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
41                 exit(0);
42         else
43                 exit(1);
44 -}], [AC_MSG_RESULT(working)],
45 -       [AC_MSG_RESULT(buggy)
46 -       AC_DEFINE(BROKEN_GETADDRINFO)],
47 -       [AC_MSG_RESULT(assume it is working)])
48 +}]])],[AC_MSG_RESULT(working)],[AC_MSG_RESULT(buggy)
49 +       AC_DEFINE(BROKEN_GETADDRINFO)],[AC_MSG_RESULT(assume it is working)])
50         ;;
51  *-*-hpux10.26)
52         if test -z "$GCC"; then
53 @@ -442,16 +436,14 @@
54  )
55  
56  AC_MSG_CHECKING(compiler and flags for sanity)
57 -AC_TRY_RUN([
58 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
59  #include <stdio.h>
60  int main(){exit(0);}
61 -       ],
62 -       [       AC_MSG_RESULT(yes) ],
63 -       [
64 +       ]])],[  AC_MSG_RESULT(yes) ],[
65                 AC_MSG_RESULT(no)
66                 AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***])
67 -       ]
68 -)
69 +       ],[     AC_MSG_RESULT(yes) 
70 +])
71  
72  # Checks for header files.
73  AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \
74 @@ -483,8 +475,7 @@
75                         ac_cv_have_broken_dirname, [
76                         save_LIBS="$LIBS"
77                         LIBS="$LIBS -lgen"
78 -                       AC_TRY_RUN(
79 -                               [
80 +                       AC_RUN_IFELSE([AC_LANG_SOURCE([[
81  #include <libgen.h>
82  #include <string.h>
83  
84 @@ -499,10 +490,8 @@
85         exit(0);
86      }
87  }
88 -                               ],
89 -                               [ ac_cv_have_broken_dirname="no" ],
90 -                               [ ac_cv_have_broken_dirname="yes" ]
91 -                       )
92 +                               ]])],[ ac_cv_have_broken_dirname="no" ],[ ac_cv_have_broken_dirname="yes" 
93 +                       ],[])
94                         LIBS="$save_LIBS"
95                 ])
96                 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
97 @@ -609,19 +598,18 @@
98          ]
99  )
100  
101 -AC_MSG_CHECKING([whether struct dirent allocates space for d_name])
102 -AC_TRY_RUN(
103 -       [
104 -#include <sys/types.h>
105 -#include <dirent.h>
106 -int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
107 -       ],
108 -       [AC_MSG_RESULT(yes)], 
109 -       [
110 -               AC_MSG_RESULT(no)
111 -               AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME)
112 -       ]
113 -)
114 +AC_CACHE_CHECK([whether struct dirent allocates space for d_name], ac_cv_have_space_d_name_in_struct_dirent, [
115 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
116 +                       #include <sys/types.h>
117 +                       #include <dirent.h>
118 +                       int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
119 +               ]])],[ac_cv_have_space_d_name_in_struct_dirent="yes"],[ac_cv_have_space_d_name_in_struct_dirent="no"
120 +       ],[])
121 +])
122 +
123 +if test "x$ac_cv_dirent_have_space_d_name" = "xyes" ; then
124 +       AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME)
125 +fi
126  
127  # Check whether user wants S/Key support
128  SKEY_MSG="no" 
129 @@ -641,17 +629,14 @@
130                         SKEY_MSG="yes" 
131         
132                         AC_MSG_CHECKING([for s/key support])
133 -                       AC_TRY_RUN(
134 -                               [
135 +                       AC_RUN_IFELSE([AC_LANG_SOURCE([[
136  #include <stdio.h>
137  #include <skey.h>
138  int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
139 -                               ],
140 -                               [AC_MSG_RESULT(yes)],
141 -                               [
142 +                               ]])],[AC_MSG_RESULT(yes)],[
143                                         AC_MSG_RESULT(no)
144                                         AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
145 -                               ])
146 +                               ],[])
147                 fi
148         ]
149  )
150 @@ -689,22 +674,18 @@
151                         LIBWRAP="-lwrap"
152                         LIBS="$LIBWRAP $LIBS"
153                         AC_MSG_CHECKING(for libwrap)
154 -                       AC_TRY_LINK(
155 -                               [
156 +                       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
157  #include <tcpd.h>
158                                         int deny_severity = 0, allow_severity = 0;
159 -                               ],
160 -                               [hosts_access(0);],
161 -                               [
162 +                               ]], [[hosts_access(0);]])],[
163                                         AC_MSG_RESULT(yes)
164                                         AC_DEFINE(LIBWRAP)
165                                         AC_SUBST(LIBWRAP)
166                                         TCPW_MSG="yes"
167 -                               ],
168 -                               [
169 +                               ],[
170                                         AC_MSG_ERROR([*** libwrap missing])
171 -                               ]
172 -                       )
173 +                               
174 +                       ])
175                         LIBS="$saved_LIBS"
176                 fi
177         ]
178 @@ -760,52 +741,47 @@
179  
180  # Check for broken snprintf
181  if test "x$ac_cv_func_snprintf" = "xyes" ; then
182 -       AC_MSG_CHECKING([whether snprintf correctly terminates long strings])
183 -       AC_TRY_RUN(
184 -               [
185 +AC_CACHE_CHECK([whether snprintf correctly terminates long strings],
186 +       ac_cv_have_broken_snprintf, [
187 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
188  #include <stdio.h>
189  int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
190 -               ],
191 -               [AC_MSG_RESULT(yes)], 
192 -               [
193 -                       AC_MSG_RESULT(no)
194 -                       AC_DEFINE(BROKEN_SNPRINTF)
195 -                       AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
196 -               ]
197 -       )
198 +               ]])],[ ac_cv_have_broken_snprintf="no" ],[ ac_cv_have_broken_snprintf="yes" 
199 +       ],[])
200 +])
201 +if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
202 +       AC_DEFINE(BROKEN_SNPRINTF)
203 +       AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
204 +fi
205  fi
206  
207  dnl see whether mkstemp() requires XXXXXX
208  if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
209  AC_MSG_CHECKING([for (overly) strict mkstemp])
210 -AC_TRY_RUN(
211 -       [
212 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
213  #include <stdlib.h>
214  main() { char template[]="conftest.mkstemp-test";
215  if (mkstemp(template) == -1)
216         exit(1);
217  unlink(template); exit(0);
218  }
219 -       ],
220 -       [
221 +       ]])],[
222                 AC_MSG_RESULT(no)
223 -       ],
224 -       [ 
225 +       ],[ 
226                 AC_MSG_RESULT(yes)
227                 AC_DEFINE(HAVE_STRICT_MKSTEMP)
228 -       ],
229 -       [
230 +       ],[
231                 AC_MSG_RESULT(yes)
232                 AC_DEFINE(HAVE_STRICT_MKSTEMP)
233 -       ] 
234 -)
235 +        
236 +])
237  fi
238  
239  dnl make sure that openpty does not reacquire controlling terminal
240  if test ! -z "$check_for_openpty_ctty_bug"; then
241 -       AC_MSG_CHECKING(if openpty correctly handles controlling tty)
242 -       AC_TRY_RUN(
243 -               [
244 +AC_CACHE_CHECK([if openpty acquires controlling terminal],
245 +       ac_cv_have_openpty_ctty_bug, [
246 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
247  #include <stdio.h>
248  #include <sys/fcntl.h>
249  #include <sys/types.h>
250 @@ -837,15 +813,12 @@
251                         exit(0);        /* Did not acquire ctty: OK */
252         }
253  }
254 -               ],
255 -               [
256 -                       AC_MSG_RESULT(yes)
257 -               ],
258 -               [
259 -                       AC_MSG_RESULT(no)
260 -                       AC_DEFINE(SSHD_ACQUIRES_CTTY)
261 -               ]
262 -       )
263 +               ]])],[ ac_cv_have_openpty_ctty_bug="no" ],[ ac_cv_have_openpty_ctty_bug="yes" 
264 +       ],[])
265 +])
266 +if test "x$ac_cv_have_openpty_ctty_bug" = "xyes" ; then
267 +       AC_DEFINE(SSHD_ACQUIRES_CTTY)
268 +fi
269  fi
270  
271  AC_FUNC_GETPGRP
272 @@ -883,19 +856,15 @@
273  if test "x$PAM_MSG" = "xyes" ; then
274         # Check PAM strerror arguments (old PAM)
275         AC_MSG_CHECKING([whether pam_strerror takes only one argument])
276 -       AC_TRY_COMPILE(
277 -               [
278 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
279  #include <stdlib.h>
280  #include <security/pam_appl.h>
281 -               ], 
282 -               [(void)pam_strerror((pam_handle_t *)NULL, -1);], 
283 -               [AC_MSG_RESULT(no)],
284 -               [
285 +               ]], [[(void)pam_strerror((pam_handle_t *)NULL, -1);]])],[AC_MSG_RESULT(no)],[
286                         AC_DEFINE(HAVE_OLD_PAM)
287                         AC_MSG_RESULT(yes)
288                         PAM_MSG="yes (old library)"
289 -               ]
290 -       )
291 +               
292 +       ])
293  fi
294  
295  # Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
296 @@ -952,8 +921,7 @@
297  
298  # Determine OpenSSL header version
299  AC_MSG_CHECKING([OpenSSL header version])
300 -AC_TRY_RUN(
301 -       [
302 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
303  #include <stdio.h>
304  #include <string.h>
305  #include <openssl/opensslv.h>
306 @@ -971,21 +939,21 @@
307  
308         exit(0);
309  }
310 -       ],
311 -       [
312 +       ]])],[
313                 ssl_header_ver=`cat conftest.sslincver`
314                 AC_MSG_RESULT($ssl_header_ver)
315 -       ],
316 -       [
317 +       ],[
318                 AC_MSG_RESULT(not found)
319                 AC_MSG_ERROR(OpenSSL version header not found.)
320 -       ]
321 -)
322 +       ],[
323 +               AC_MSG_RESULT(unknown)
324 +               AC_MSG_WARN(Skipping OpenSSL header version check due to crosscompilation.)
325 +       
326 +])
327  
328  # Determine OpenSSL library version
329  AC_MSG_CHECKING([OpenSSL library version])
330 -AC_TRY_RUN(
331 -       [
332 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
333  #include <stdio.h>
334  #include <string.h>
335  #include <openssl/opensslv.h>
336 @@ -1004,35 +972,36 @@
337  
338         exit(0);
339  }
340 -       ],
341 -       [
342 +       ]])],[
343                 ssl_library_ver=`cat conftest.ssllibver`
344                 AC_MSG_RESULT($ssl_library_ver)
345 -       ],
346 -       [
347 +       ],[
348                 AC_MSG_RESULT(not found)
349                 AC_MSG_ERROR(OpenSSL library not found.)
350 -       ]
351 -)
352 +       ],[
353 +               AC_MSG_RESULT(unknown)
354 +               AC_MSG_WARN(Skipping OpenSSL library version check due to crosscompilation.)
355 +       
356 +])
357  
358  # Sanity check OpenSSL headers
359  AC_MSG_CHECKING([whether OpenSSL's headers match the library])
360 -AC_TRY_RUN(
361 -       [
362 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
363  #include <string.h>
364  #include <openssl/opensslv.h>
365  int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
366 -       ],
367 -       [
368 +       ]])],[
369                 AC_MSG_RESULT(yes)
370 -       ],
371 -       [
372 +       ],[
373                 AC_MSG_RESULT(no)
374                 AC_MSG_ERROR([Your OpenSSL headers do not match your library.
375  Check config.log for details.
376  Also see contrib/findssl.sh for help identifying header/library mismatches.])
377 -       ]
378 -)
379 +       ],[
380 +               AC_MSG_RESULT(unknown)
381 +               AC_MSG_WARN(Skipping OpenSSL version comparison due to crosscompilation.)
382 +       
383 +])
384  
385  # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 
386  # version in OpenSSL. Skip this for PAM
387 @@ -1040,30 +1009,8 @@
388         AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
389  fi
390  
391 -
392  ### Configure cryptographic random number support
393  
394 -# Check wheter OpenSSL seeds itself
395 -AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
396 -AC_TRY_RUN(
397 -       [
398 -#include <string.h>
399 -#include <openssl/rand.h>
400 -int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
401 -       ],
402 -       [
403 -               OPENSSL_SEEDS_ITSELF=yes
404 -               AC_MSG_RESULT(yes)
405 -       ],
406 -       [
407 -               AC_MSG_RESULT(no)
408 -               # Default to use of the rand helper if OpenSSL doesn't
409 -               # seed itself
410 -               USE_RAND_HELPER=yes
411 -       ]
412 -)
413 -
414 -
415  # Do we want to force the use of the rand helper?
416  AC_ARG_WITH(rand-helper,
417         [  --with-rand-helper      Use subprocess to gather strong randomness ],
418 @@ -1080,6 +1027,24 @@
419                         USE_RAND_HELPER=yes
420                 fi
421         ],
422 +       # Check whether OpenSSL seeds itself
423 +       [
424 +               AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
425 +               AC_RUN_IFELSE([AC_LANG_SOURCE([[
426 +               #include <string.h>
427 +               #include <openssl/rand.h>
428 +               int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
429 +                       ]])],[
430 +                               OPENSSL_SEEDS_ITSELF=yes
431 +                               AC_MSG_RESULT(yes)
432 +                       ],[
433 +                               AC_MSG_RESULT(no)
434 +                               # Default to use of the rand helper if OpenSSL doesn't
435 +                               # seed itself
436 +                               USE_RAND_HELPER=yes
437 +                       
438 +               ],[])
439 +       ]
440  )      
441  
442  # Which randomness source do we use?
443 @@ -1261,12 +1226,8 @@
444  
445  # More checks for data types
446  AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
447 -       AC_TRY_COMPILE(
448 -               [ #include <sys/types.h> ], 
449 -               [ u_int a; a = 1;], 
450 -               [ ac_cv_have_u_int="yes" ],
451 -               [ ac_cv_have_u_int="no" ]
452 -       )
453 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], [[ u_int a; a = 1;]])],[ ac_cv_have_u_int="yes" ],[ ac_cv_have_u_int="no" 
454 +       ])
455  ])
456  if test "x$ac_cv_have_u_int" = "xyes" ; then
457         AC_DEFINE(HAVE_U_INT)
458 @@ -1274,12 +1235,8 @@
459  fi
460  
461  AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [
462 -       AC_TRY_COMPILE(
463 -               [ #include <sys/types.h> ], 
464 -               [ int8_t a; int16_t b; int32_t c; a = b = c = 1;], 
465 -               [ ac_cv_have_intxx_t="yes" ],
466 -               [ ac_cv_have_intxx_t="no" ]
467 -       )
468 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], [[ int8_t a; int16_t b; int32_t c; a = b = c = 1;]])],[ ac_cv_have_intxx_t="yes" ],[ ac_cv_have_intxx_t="no" 
469 +       ])
470  ])
471  if test "x$ac_cv_have_intxx_t" = "xyes" ; then
472         AC_DEFINE(HAVE_INTXX_T)
473 @@ -1290,20 +1247,15 @@
474             test "x$ac_cv_header_stdint_h" = "xyes")
475  then
476      AC_MSG_CHECKING([for intXX_t types in stdint.h])
477 -       AC_TRY_COMPILE(
478 -               [ #include <stdint.h> ], 
479 -               [ int8_t a; int16_t b; int32_t c; a = b = c = 1;], 
480 -               [
481 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], [[ int8_t a; int16_t b; int32_t c; a = b = c = 1;]])],[
482                         AC_DEFINE(HAVE_INTXX_T)
483                         AC_MSG_RESULT(yes)
484 -               ],
485 -               [ AC_MSG_RESULT(no) ]
486 -       )
487 +               ],[ AC_MSG_RESULT(no) 
488 +       ])
489  fi
490  
491  AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [
492 -       AC_TRY_COMPILE(
493 -               [
494 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
495  #include <sys/types.h>
496  #ifdef HAVE_STDINT_H
497  # include <stdint.h>
498 @@ -1312,23 +1264,16 @@
499  #ifdef HAVE_SYS_BITYPES_H
500  # include <sys/bitypes.h>
501  #endif
502 -               ], 
503 -               [ int64_t a; a = 1;], 
504 -               [ ac_cv_have_int64_t="yes" ],
505 -               [ ac_cv_have_int64_t="no" ]
506 -       )
507 +               ]], [[ int64_t a; a = 1;]])],[ ac_cv_have_int64_t="yes" ],[ ac_cv_have_int64_t="no" 
508 +       ])
509  ])
510  if test "x$ac_cv_have_int64_t" = "xyes" ; then
511         AC_DEFINE(HAVE_INT64_T)
512  fi
513  
514  AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [
515 -       AC_TRY_COMPILE(
516 -               [ #include <sys/types.h> ], 
517 -               [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;], 
518 -               [ ac_cv_have_u_intxx_t="yes" ],
519 -               [ ac_cv_have_u_intxx_t="no" ]
520 -       )
521 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], [[ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;]])],[ ac_cv_have_u_intxx_t="yes" ],[ ac_cv_have_u_intxx_t="no" 
522 +       ])
523  ])
524  if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
525         AC_DEFINE(HAVE_U_INTXX_T)
526 @@ -1337,24 +1282,16 @@
527  
528  if test -z "$have_u_intxx_t" ; then
529      AC_MSG_CHECKING([for u_intXX_t types in sys/socket.h])
530 -       AC_TRY_COMPILE(
531 -               [ #include <sys/socket.h> ], 
532 -               [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;], 
533 -               [
534 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/socket.h> ]], [[ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;]])],[
535                         AC_DEFINE(HAVE_U_INTXX_T)
536                         AC_MSG_RESULT(yes)
537 -               ],
538 -               [ AC_MSG_RESULT(no) ]
539 -       )
540 +               ],[ AC_MSG_RESULT(no) 
541 +       ])
542  fi
543  
544  AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [
545 -       AC_TRY_COMPILE(
546 -               [ #include <sys/types.h> ], 
547 -               [ u_int64_t a; a = 1;], 
548 -               [ ac_cv_have_u_int64_t="yes" ],
549 -               [ ac_cv_have_u_int64_t="no" ]
550 -       )
551 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> ]], [[ u_int64_t a; a = 1;]])],[ ac_cv_have_u_int64_t="yes" ],[ ac_cv_have_u_int64_t="no" 
552 +       ])
553  ])
554  if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
555         AC_DEFINE(HAVE_U_INT64_T)
556 @@ -1363,27 +1300,19 @@
557  
558  if test -z "$have_u_int64_t" ; then
559      AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h])
560 -       AC_TRY_COMPILE(
561 -               [ #include <sys/bitypes.h> ], 
562 -               [ u_int64_t a; a = 1],
563 -               [
564 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/bitypes.h> ]], [[ u_int64_t a; a = 1]])],[
565                         AC_DEFINE(HAVE_U_INT64_T)
566                         AC_MSG_RESULT(yes)
567 -               ],
568 -               [ AC_MSG_RESULT(no) ]
569 -       )
570 +               ],[ AC_MSG_RESULT(no) 
571 +       ])
572  fi
573  
574  if test -z "$have_u_intxx_t" ; then
575         AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
576 -               AC_TRY_COMPILE(
577 -                       [
578 +               AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
579  #include <sys/types.h>
580 -                       ], 
581 -                       [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; ], 
582 -                       [ ac_cv_have_uintxx_t="yes" ],
583 -                       [ ac_cv_have_uintxx_t="no" ]
584 -               )
585 +                       ]], [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; ]])],[ ac_cv_have_uintxx_t="yes" ],[ ac_cv_have_uintxx_t="no" 
586 +               ])
587         ])
588         if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
589                 AC_DEFINE(HAVE_UINTXX_T)
590 @@ -1392,49 +1321,37 @@
591  
592  if test -z "$have_uintxx_t" ; then
593      AC_MSG_CHECKING([for uintXX_t types in stdint.h])
594 -       AC_TRY_COMPILE(
595 -               [ #include <stdint.h> ], 
596 -               [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;], 
597 -               [
598 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])],[
599                         AC_DEFINE(HAVE_UINTXX_T)
600                         AC_MSG_RESULT(yes)
601 -               ],
602 -               [ AC_MSG_RESULT(no) ]
603 -       )
604 +               ],[ AC_MSG_RESULT(no) 
605 +       ])
606  fi
607  
608  if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
609             test "x$ac_cv_header_sys_bitypes_h" = "xyes")
610  then
611         AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
612 -       AC_TRY_COMPILE(
613 -               [
614 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
615  #include <sys/bitypes.h>
616 -               ], 
617 -               [
618 +               ]], [[
619                         int8_t a; int16_t b; int32_t c;
620                         u_int8_t e; u_int16_t f; u_int32_t g;
621                         a = b = c = e = f = g = 1;
622 -               ], 
623 -               [
624 +               ]])],[
625                         AC_DEFINE(HAVE_U_INTXX_T)
626                         AC_DEFINE(HAVE_INTXX_T)
627                         AC_MSG_RESULT(yes)
628 -               ],
629 -               [AC_MSG_RESULT(no)]
630 -       ) 
631 +               ],[AC_MSG_RESULT(no)
632 +       ]) 
633  fi
634  
635  
636  AC_CACHE_CHECK([for u_char], ac_cv_have_u_char, [
637 -       AC_TRY_COMPILE(
638 -               [
639 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
640  #include <sys/types.h>
641 -               ],
642 -               [ u_char foo; foo = 125; ],
643 -               [ ac_cv_have_u_char="yes" ],
644 -               [ ac_cv_have_u_char="no" ]
645 -       )
646 +               ]], [[ u_char foo; foo = 125; ]])],[ ac_cv_have_u_char="yes" ],[ ac_cv_have_u_char="no" 
647 +       ])
648  ])
649  if test "x$ac_cv_have_u_char" = "xyes" ; then
650         AC_DEFINE(HAVE_U_CHAR)
651 @@ -1445,56 +1362,40 @@
652  AC_CHECK_TYPES(sig_atomic_t,,,[#include <signal.h>])
653  
654  AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [
655 -       AC_TRY_COMPILE(
656 -               [
657 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
658  #include <sys/types.h>
659 -               ],
660 -               [ size_t foo; foo = 1235; ],
661 -               [ ac_cv_have_size_t="yes" ],
662 -               [ ac_cv_have_size_t="no" ]
663 -       )
664 +               ]], [[ size_t foo; foo = 1235; ]])],[ ac_cv_have_size_t="yes" ],[ ac_cv_have_size_t="no" 
665 +       ])
666  ])
667  if test "x$ac_cv_have_size_t" = "xyes" ; then
668         AC_DEFINE(HAVE_SIZE_T)
669  fi
670  
671  AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [
672 -       AC_TRY_COMPILE(
673 -               [
674 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
675  #include <sys/types.h>
676 -               ],
677 -               [ ssize_t foo; foo = 1235; ],
678 -               [ ac_cv_have_ssize_t="yes" ],
679 -               [ ac_cv_have_ssize_t="no" ]
680 -       )
681 +               ]], [[ ssize_t foo; foo = 1235; ]])],[ ac_cv_have_ssize_t="yes" ],[ ac_cv_have_ssize_t="no" 
682 +       ])
683  ])
684  if test "x$ac_cv_have_ssize_t" = "xyes" ; then
685         AC_DEFINE(HAVE_SSIZE_T)
686  fi
687  
688  AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [
689 -       AC_TRY_COMPILE(
690 -               [
691 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
692  #include <time.h>
693 -               ],
694 -               [ clock_t foo; foo = 1235; ],
695 -               [ ac_cv_have_clock_t="yes" ],
696 -               [ ac_cv_have_clock_t="no" ]
697 -       )
698 +               ]], [[ clock_t foo; foo = 1235; ]])],[ ac_cv_have_clock_t="yes" ],[ ac_cv_have_clock_t="no" 
699 +       ])
700  ])
701  if test "x$ac_cv_have_clock_t" = "xyes" ; then
702         AC_DEFINE(HAVE_CLOCK_T)
703  fi
704  
705  AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [
706 -       AC_TRY_COMPILE(
707 -               [
708 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
709  #include <sys/types.h>
710  #include <sys/socket.h>
711 -               ],
712 -               [ sa_family_t foo; foo = 1235; ],
713 -               [ ac_cv_have_sa_family_t="yes" ],
714 -               [ AC_TRY_COMPILE(
715 +               ]], [[ sa_family_t foo; foo = 1235; ]])],[ ac_cv_have_sa_family_t="yes" ],[ AC_TRY_COMPILE(
716                   [
717  #include <sys/types.h>
718  #include <sys/socket.h>
719 @@ -1504,36 +1405,28 @@
720                 [ ac_cv_have_sa_family_t="yes" ],
721  
722                 [ ac_cv_have_sa_family_t="no" ]
723 -       )]
724         )
725 +       ])
726  ])
727  if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
728         AC_DEFINE(HAVE_SA_FAMILY_T)
729  fi
730  
731  AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
732 -       AC_TRY_COMPILE(
733 -               [
734 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
735  #include <sys/types.h>
736 -               ],
737 -               [ pid_t foo; foo = 1235; ],
738 -               [ ac_cv_have_pid_t="yes" ],
739 -               [ ac_cv_have_pid_t="no" ]
740 -       )
741 +               ]], [[ pid_t foo; foo = 1235; ]])],[ ac_cv_have_pid_t="yes" ],[ ac_cv_have_pid_t="no" 
742 +       ])
743  ])
744  if test "x$ac_cv_have_pid_t" = "xyes" ; then
745         AC_DEFINE(HAVE_PID_T)
746  fi
747  
748  AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [
749 -       AC_TRY_COMPILE(
750 -               [
751 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
752  #include <sys/types.h>
753 -               ],
754 -               [ mode_t foo; foo = 1235; ],
755 -               [ ac_cv_have_mode_t="yes" ],
756 -               [ ac_cv_have_mode_t="no" ]
757 -       )
758 +               ]], [[ mode_t foo; foo = 1235; ]])],[ ac_cv_have_mode_t="yes" ],[ ac_cv_have_mode_t="no" 
759 +       ])
760  ])
761  if test "x$ac_cv_have_mode_t" = "xyes" ; then
762         AC_DEFINE(HAVE_MODE_T)
763 @@ -1541,73 +1434,53 @@
764  
765  
766  AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [
767 -       AC_TRY_COMPILE(
768 -               [
769 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
770  #include <sys/types.h>
771  #include <sys/socket.h>
772 -               ],
773 -               [ struct sockaddr_storage s; ],
774 -               [ ac_cv_have_struct_sockaddr_storage="yes" ],
775 -               [ ac_cv_have_struct_sockaddr_storage="no" ]
776 -       )
777 +               ]], [[ struct sockaddr_storage s; ]])],[ ac_cv_have_struct_sockaddr_storage="yes" ],[ ac_cv_have_struct_sockaddr_storage="no" 
778 +       ])
779  ])
780  if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
781         AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE)
782  fi
783  
784  AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
785 -       AC_TRY_COMPILE(
786 -               [
787 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
788  #include <sys/types.h>
789  #include <netinet/in.h>
790 -               ],
791 -               [ struct sockaddr_in6 s; s.sin6_family = 0; ],
792 -               [ ac_cv_have_struct_sockaddr_in6="yes" ],
793 -               [ ac_cv_have_struct_sockaddr_in6="no" ]
794 -       )
795 +               ]], [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])],[ ac_cv_have_struct_sockaddr_in6="yes" ],[ ac_cv_have_struct_sockaddr_in6="no" 
796 +       ])
797  ])
798  if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
799         AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6)
800  fi
801  
802  AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
803 -       AC_TRY_COMPILE(
804 -               [
805 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
806  #include <sys/types.h>
807  #include <netinet/in.h>
808 -               ],
809 -               [ struct in6_addr s; s.s6_addr[0] = 0; ],
810 -               [ ac_cv_have_struct_in6_addr="yes" ],
811 -               [ ac_cv_have_struct_in6_addr="no" ]
812 -       )
813 +               ]], [[ struct in6_addr s; s.s6_addr[0] = 0; ]])],[ ac_cv_have_struct_in6_addr="yes" ],[ ac_cv_have_struct_in6_addr="no" 
814 +       ])
815  ])
816  if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
817         AC_DEFINE(HAVE_STRUCT_IN6_ADDR)
818  fi
819  
820  AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
821 -       AC_TRY_COMPILE(
822 -               [
823 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
824  #include <sys/types.h>
825  #include <sys/socket.h>
826  #include <netdb.h>
827 -               ],
828 -               [ struct addrinfo s; s.ai_flags = AI_PASSIVE; ],
829 -               [ ac_cv_have_struct_addrinfo="yes" ],
830 -               [ ac_cv_have_struct_addrinfo="no" ]
831 -       )
832 +               ]], [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])],[ ac_cv_have_struct_addrinfo="yes" ],[ ac_cv_have_struct_addrinfo="no" 
833 +       ])
834  ])
835  if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
836         AC_DEFINE(HAVE_STRUCT_ADDRINFO)
837  fi
838  
839  AC_CACHE_CHECK([for struct timeval], ac_cv_have_struct_timeval, [
840 -       AC_TRY_COMPILE(
841 -               [ #include <sys/time.h> ], 
842 -               [ struct timeval tv; tv.tv_sec = 1;], 
843 -               [ ac_cv_have_struct_timeval="yes" ],
844 -               [ ac_cv_have_struct_timeval="no" ]
845 -       )
846 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/time.h> ]], [[ struct timeval tv; tv.tv_sec = 1;]])],[ ac_cv_have_struct_timeval="yes" ],[ ac_cv_have_struct_timeval="no" 
847 +       ])
848  ])
849  if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
850         AC_DEFINE(HAVE_STRUCT_TIMEVAL)
851 @@ -1626,32 +1499,42 @@
852         exit 1;
853  else
854  dnl test snprintf (broken on SCO w/gcc)
855 -       AC_TRY_RUN(
856 -               [
857 -#include <stdio.h>
858 -#include <string.h>
859 -#ifdef HAVE_SNPRINTF
860 -main()
861 -{
862 -       char buf[50];
863 -       char expected_out[50];
864 -       int mazsize = 50 ;
865 -#if (SIZEOF_LONG_INT == 8)
866 -       long int num = 0x7fffffffffffffff;
867 -#else
868 -       long long num = 0x7fffffffffffffffll;
869 -#endif
870 -       strcpy(expected_out, "9223372036854775807");
871 -       snprintf(buf, mazsize, "%lld", num);
872 -       if(strcmp(buf, expected_out) != 0)
873 -               exit(1);
874 -       exit(0);
875 -}
876 -#else
877 -main() { exit(0); }
878 -#endif
879 -               ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ]
880 -       )
881 +       if test "x$ac_cv_have_broken_snprintf" != "xyes" ; then
882 +#              no need to test again if we already know its broken :)
883 +               AC_CACHE_CHECK([whether snprintf is broken],
884 +               ac_cv_have_broken_snprintf, [
885 +                       AC_RUN_IFELSE([AC_LANG_SOURCE([[
886 +               #include <stdio.h>
887 +               #include <string.h>
888 +               #ifdef HAVE_SNPRINTF
889 +               main()
890 +               {
891 +                       char buf[50];
892 +                       char expected_out[50];
893 +                       int mazsize = 50 ;
894 +               #if (SIZEOF_LONG_INT == 8)
895 +                       long int num = 0x7fffffffffffffff;
896 +               #else
897 +                       long long num = 0x7fffffffffffffffll;
898 +               #endif
899 +                       strcpy(expected_out, "9223372036854775807");
900 +                       snprintf(buf, mazsize, "%lld", num);
901 +                       if(strcmp(buf, expected_out) != 0)
902 +                               exit(1);
903 +                       exit(0);
904 +               }
905 +               #else
906 +               main() { exit(0); }
907 +               #endif
908 +                               ]])],[ true ],[ 
909 +                                       ac_cv_have_broken_snprintf="yes"
910 +                                       
911 +                       ],[])
912 +               ])
913 +               if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
914 +                       AC_DEFINE(BROKEN_SNPRINTF)
915 +               fi
916 +       fi
917  fi
918  
919  dnl Checks for structure members
920 @@ -1677,15 +1560,10 @@
921  
922  AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage],
923                 ac_cv_have_ss_family_in_struct_ss, [
924 -       AC_TRY_COMPILE(
925 -               [
926 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
927  #include <sys/types.h>
928  #include <sys/socket.h>
929 -               ],
930 -               [ struct sockaddr_storage s; s.ss_family = 1; ],
931 -               [ ac_cv_have_ss_family_in_struct_ss="yes" ],
932 -               [ ac_cv_have_ss_family_in_struct_ss="no" ],
933 -       )
934 +               ]], [[ struct sockaddr_storage s; s.ss_family = 1; ]])],[ ac_cv_have_ss_family_in_struct_ss="yes" ],[ ac_cv_have_ss_family_in_struct_ss="no" ])
935  ])
936  if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
937         AC_DEFINE(HAVE_SS_FAMILY_IN_SS)
938 @@ -1693,15 +1571,11 @@
939  
940  AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
941                 ac_cv_have___ss_family_in_struct_ss, [
942 -       AC_TRY_COMPILE(
943 -               [
944 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
945  #include <sys/types.h>
946  #include <sys/socket.h>
947 -               ],
948 -               [ struct sockaddr_storage s; s.__ss_family = 1; ],
949 -               [ ac_cv_have___ss_family_in_struct_ss="yes" ],
950 -               [ ac_cv_have___ss_family_in_struct_ss="no" ]
951 -       )
952 +               ]], [[ struct sockaddr_storage s; s.__ss_family = 1; ]])],[ ac_cv_have___ss_family_in_struct_ss="yes" ],[ ac_cv_have___ss_family_in_struct_ss="no" 
953 +       ])
954  ])
955  if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
956         AC_DEFINE(HAVE___SS_FAMILY_IN_SS)
957 @@ -1709,14 +1583,10 @@
958  
959  AC_CACHE_CHECK([for pw_class field in struct passwd],
960                 ac_cv_have_pw_class_in_struct_passwd, [
961 -       AC_TRY_COMPILE(
962 -               [
963 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
964  #include <pwd.h>
965 -               ],
966 -               [ struct passwd p; p.pw_class = 0; ],
967 -               [ ac_cv_have_pw_class_in_struct_passwd="yes" ],
968 -               [ ac_cv_have_pw_class_in_struct_passwd="no" ]
969 -       )
970 +               ]], [[ struct passwd p; p.pw_class = 0; ]])],[ ac_cv_have_pw_class_in_struct_passwd="yes" ],[ ac_cv_have_pw_class_in_struct_passwd="no" 
971 +       ])
972  ])
973  if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
974         AC_DEFINE(HAVE_PW_CLASS_IN_PASSWD)
975 @@ -1724,14 +1594,10 @@
976  
977  AC_CACHE_CHECK([for pw_expire field in struct passwd],
978                 ac_cv_have_pw_expire_in_struct_passwd, [
979 -       AC_TRY_COMPILE(
980 -               [
981 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
982  #include <pwd.h>
983 -               ],
984 -               [ struct passwd p; p.pw_expire = 0; ],
985 -               [ ac_cv_have_pw_expire_in_struct_passwd="yes" ],
986 -               [ ac_cv_have_pw_expire_in_struct_passwd="no" ]
987 -       )
988 +               ]], [[ struct passwd p; p.pw_expire = 0; ]])],[ ac_cv_have_pw_expire_in_struct_passwd="yes" ],[ ac_cv_have_pw_expire_in_struct_passwd="no" 
989 +       ])
990  ])
991  if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
992         AC_DEFINE(HAVE_PW_EXPIRE_IN_PASSWD)
993 @@ -1739,14 +1605,10 @@
994  
995  AC_CACHE_CHECK([for pw_change field in struct passwd],
996                 ac_cv_have_pw_change_in_struct_passwd, [
997 -       AC_TRY_COMPILE(
998 -               [
999 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1000  #include <pwd.h>
1001 -               ],
1002 -               [ struct passwd p; p.pw_change = 0; ],
1003 -               [ ac_cv_have_pw_change_in_struct_passwd="yes" ],
1004 -               [ ac_cv_have_pw_change_in_struct_passwd="no" ]
1005 -       )
1006 +               ]], [[ struct passwd p; p.pw_change = 0; ]])],[ ac_cv_have_pw_change_in_struct_passwd="yes" ],[ ac_cv_have_pw_change_in_struct_passwd="no" 
1007 +       ])
1008  ])
1009  if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
1010         AC_DEFINE(HAVE_PW_CHANGE_IN_PASSWD)
1011 @@ -1755,8 +1617,7 @@
1012  dnl make sure we're using the real structure members and not defines
1013  AC_CACHE_CHECK([for msg_accrights field in struct msghdr],
1014                 ac_cv_have_accrights_in_msghdr, [
1015 -       AC_TRY_RUN(
1016 -               [
1017 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
1018  #include <sys/types.h>
1019  #include <sys/socket.h>
1020  #include <sys/uio.h>
1021 @@ -1768,10 +1629,8 @@
1022  m.msg_accrights = 0;
1023  exit(0);
1024  }
1025 -               ],
1026 -               [ ac_cv_have_accrights_in_msghdr="yes" ],
1027 -               [ ac_cv_have_accrights_in_msghdr="no" ]
1028 -       )
1029 +               ]])],[ ac_cv_have_accrights_in_msghdr="yes" ],[ ac_cv_have_accrights_in_msghdr="no" 
1030 +       ],[])
1031  ])
1032  if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
1033         AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR)
1034 @@ -1779,8 +1638,7 @@
1035  
1036  AC_CACHE_CHECK([for msg_control field in struct msghdr],
1037                 ac_cv_have_control_in_msghdr, [
1038 -       AC_TRY_RUN(
1039 -               [
1040 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
1041  #include <sys/types.h>
1042  #include <sys/socket.h>
1043  #include <sys/uio.h>
1044 @@ -1792,47 +1650,36 @@
1045  m.msg_control = 0;
1046  exit(0);
1047  }
1048 -               ],
1049 -               [ ac_cv_have_control_in_msghdr="yes" ],
1050 -               [ ac_cv_have_control_in_msghdr="no" ]
1051 -       )
1052 +               ]])],[ ac_cv_have_control_in_msghdr="yes" ],[ ac_cv_have_control_in_msghdr="no" 
1053 +       ],[])
1054  ])
1055  if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
1056         AC_DEFINE(HAVE_CONTROL_IN_MSGHDR)
1057  fi
1058  
1059  AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
1060 -       AC_TRY_LINK([], 
1061 -               [ extern char *__progname; printf("%s", __progname); ], 
1062 -               [ ac_cv_libc_defines___progname="yes" ],
1063 -               [ ac_cv_libc_defines___progname="no" ]
1064 -       )
1065 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ extern char *__progname; printf("%s", __progname); ]])],[ ac_cv_libc_defines___progname="yes" ],[ ac_cv_libc_defines___progname="no" 
1066 +       ])
1067  ])
1068  if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
1069         AC_DEFINE(HAVE___PROGNAME)
1070  fi
1071  
1072  AC_CACHE_CHECK([whether $CC implements __FUNCTION__], ac_cv_cc_implements___FUNCTION__, [
1073 -       AC_TRY_LINK([
1074 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1075  #include <stdio.h>
1076 -], 
1077 -               [ printf("%s", __FUNCTION__); ], 
1078 -               [ ac_cv_cc_implements___FUNCTION__="yes" ],
1079 -               [ ac_cv_cc_implements___FUNCTION__="no" ]
1080 -       )
1081 +]], [[ printf("%s", __FUNCTION__); ]])],[ ac_cv_cc_implements___FUNCTION__="yes" ],[ ac_cv_cc_implements___FUNCTION__="no" 
1082 +       ])
1083  ])
1084  if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
1085         AC_DEFINE(HAVE___FUNCTION__)
1086  fi
1087  
1088  AC_CACHE_CHECK([whether $CC implements __func__], ac_cv_cc_implements___func__, [
1089 -       AC_TRY_LINK([
1090 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1091  #include <stdio.h>
1092 -], 
1093 -               [ printf("%s", __func__); ], 
1094 -               [ ac_cv_cc_implements___func__="yes" ],
1095 -               [ ac_cv_cc_implements___func__="no" ]
1096 -       )
1097 +]], [[ printf("%s", __func__); ]])],[ ac_cv_cc_implements___func__="yes" ],[ ac_cv_cc_implements___func__="no" 
1098 +       ])
1099  ])
1100  if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
1101         AC_DEFINE(HAVE___func__)
1102 @@ -1840,25 +1687,18 @@
1103  
1104  AC_CACHE_CHECK([whether getopt has optreset support],
1105                 ac_cv_have_getopt_optreset, [
1106 -       AC_TRY_LINK(
1107 -               [
1108 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1109  #include <getopt.h>
1110 -               ],
1111 -               [ extern int optreset; optreset = 0; ],
1112 -               [ ac_cv_have_getopt_optreset="yes" ],
1113 -               [ ac_cv_have_getopt_optreset="no" ]
1114 -       )
1115 +               ]], [[ extern int optreset; optreset = 0; ]])],[ ac_cv_have_getopt_optreset="yes" ],[ ac_cv_have_getopt_optreset="no" 
1116 +       ])
1117  ])
1118  if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
1119         AC_DEFINE(HAVE_GETOPT_OPTRESET)
1120  fi
1121  
1122  AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
1123 -       AC_TRY_LINK([], 
1124 -               [ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);], 
1125 -               [ ac_cv_libc_defines_sys_errlist="yes" ],
1126 -               [ ac_cv_libc_defines_sys_errlist="no" ]
1127 -       )
1128 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);]])],[ ac_cv_libc_defines_sys_errlist="yes" ],[ ac_cv_libc_defines_sys_errlist="no" 
1129 +       ])
1130  ])
1131  if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
1132         AC_DEFINE(HAVE_SYS_ERRLIST)
1133 @@ -1866,11 +1706,8 @@
1134  
1135  
1136  AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
1137 -       AC_TRY_LINK([], 
1138 -               [ extern int sys_nerr; printf("%i", sys_nerr);], 
1139 -               [ ac_cv_libc_defines_sys_nerr="yes" ],
1140 -               [ ac_cv_libc_defines_sys_nerr="no" ]
1141 -       )
1142 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ extern int sys_nerr; printf("%i", sys_nerr);]])],[ ac_cv_libc_defines_sys_nerr="yes" ],[ ac_cv_libc_defines_sys_nerr="no" 
1143 +       ])
1144  ])
1145  if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
1146         AC_DEFINE(HAVE_SYS_NERR)
1147 @@ -1965,16 +1802,13 @@
1148                          AC_DEFINE(KRB5)
1149                         KRB5_MSG="yes"
1150                          AC_MSG_CHECKING(whether we are using Heimdal)
1151 -                        AC_TRY_COMPILE([ #include <krb5.h> ],
1152 -                                       [ char *tmp = heimdal_version; ],
1153 -                                       [ AC_MSG_RESULT(yes)
1154 +                        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <krb5.h> ]], [[ char *tmp = heimdal_version; ]])],[ AC_MSG_RESULT(yes)
1155                                           AC_DEFINE(HEIMDAL)
1156                                           K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
1157 -                                       ],
1158 -                                       [ AC_MSG_RESULT(no)
1159 +                                       ],[ AC_MSG_RESULT(no)
1160                                           K5LIBS="-lkrb5 -lk5crypto -lcom_err"
1161 -                                       ]
1162 -                        )
1163 +                                       
1164 +                        ])
1165                          if test ! -z "$need_dash_r" ; then
1166                                  LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
1167                          fi
1168 @@ -2083,13 +1917,14 @@
1169                 )
1170         fi
1171  fi
1172 +if test "$cross_compiling" != yes; then
1173  AC_CHECK_FILE("/dev/ptc", 
1174         [
1175                 AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
1176                 have_dev_ptc=1
1177         ]
1178  )
1179 -
1180 +fi
1181  # Options from here on. Some of these are preset by platform above
1182  AC_ARG_WITH(mantype,
1183         [  --with-mantype=man|cat|doc  Set man page type],
1184 @@ -2148,14 +1983,12 @@
1185  
1186  if test -z "$disable_shadow" ; then
1187         AC_MSG_CHECKING([if the systems has expire shadow information])
1188 -       AC_TRY_COMPILE(
1189 -       [
1190 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1191  #include <sys/types.h>
1192  #include <shadow.h>
1193         struct spwd sp;
1194 -       ],[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ],
1195 -       [ sp_expire_available=yes ], []
1196 -       )
1197 +       ]], [[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ]])],[ sp_expire_available=yes ],[
1198 +       ])
1199  
1200         if test "x$sp_expire_available" = "xyes" ; then
1201                 AC_MSG_RESULT(yes)
1202 @@ -2183,7 +2016,9 @@
1203  fi
1204  
1205  # check for /etc/default/login and use it if present.
1206 +if test "x$cross_compiling" != "xyes"; then
1207  AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ])
1208 +fi
1209  
1210  if test "x$external_path_file" = "x/etc/default/login"; then
1211         AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN)
1212 @@ -2222,8 +2057,7 @@
1213  If PATH is defined in $external_path_file, ensure the path to scp is included,
1214  otherwise scp will not work.])
1215                 fi
1216 -               AC_TRY_RUN(
1217 -                       [
1218 +               AC_RUN_IFELSE([AC_LANG_SOURCE([[
1219  /* find out what STDPATH is */
1220  #include <stdio.h>
1221  #ifdef HAVE_PATHS_H
1222 @@ -2255,10 +2089,8 @@
1223  
1224         exit(0);
1225  }
1226 -               ], [ user_path=`cat conftest.stdpath` ],
1227 -               [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],
1228 -               [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ]
1229 -       )
1230 +               ]])],[ user_path=`cat conftest.stdpath` ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" 
1231 +       ])
1232  # make sure $bindir is in USER_PATH so scp will work
1233                 t_bindir=`eval echo ${bindir}`
1234                 case $t_bindir in
1235 @@ -2438,7 +2270,7 @@
1236  dnl lastlog detection
1237  dnl  NOTE: the code itself will detect if lastlog is a directory
1238  AC_MSG_CHECKING([if your system defines LASTLOG_FILE])
1239 -AC_TRY_COMPILE([
1240 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1241  #include <sys/types.h>
1242  #include <utmp.h>
1243  #ifdef HAVE_LASTLOG_H
1244 @@ -2450,10 +2282,7 @@
1245  #ifdef HAVE_LOGIN_H
1246  # include <login.h>
1247  #endif
1248 -       ],
1249 -       [ char *lastlog = LASTLOG_FILE; ],
1250 -       [ AC_MSG_RESULT(yes) ],
1251 -       [
1252 +       ]], [[ char *lastlog = LASTLOG_FILE; ]])],[ AC_MSG_RESULT(yes) ],[
1253                 AC_MSG_RESULT(no)
1254                 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG])
1255                 AC_TRY_COMPILE([
1256 @@ -2472,8 +2301,8 @@
1257                         AC_MSG_RESULT(no)
1258                         system_lastlog_path=no
1259                 ])
1260 -       ]
1261 -)
1262 +       
1263 +])
1264  
1265  if test -z "$conf_lastlog_location"; then
1266         if test x"$system_lastlog_path" = x"no" ; then
1267 @@ -2495,18 +2324,15 @@
1268  
1269  dnl utmp detection
1270  AC_MSG_CHECKING([if your system defines UTMP_FILE])
1271 -AC_TRY_COMPILE([
1272 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1273  #include <sys/types.h>
1274  #include <utmp.h>
1275  #ifdef HAVE_PATHS_H
1276  #  include <paths.h>
1277  #endif
1278 -       ],
1279 -       [ char *utmp = UTMP_FILE; ],
1280 -       [ AC_MSG_RESULT(yes) ],
1281 -       [ AC_MSG_RESULT(no)
1282 -         system_utmp_path=no ]
1283 -)
1284 +       ]], [[ char *utmp = UTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1285 +         system_utmp_path=no 
1286 +])
1287  if test -z "$conf_utmp_location"; then
1288         if test x"$system_utmp_path" = x"no" ; then
1289                 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
1290 @@ -2525,18 +2351,15 @@
1291  
1292  dnl wtmp detection
1293  AC_MSG_CHECKING([if your system defines WTMP_FILE])
1294 -AC_TRY_COMPILE([
1295 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1296  #include <sys/types.h>
1297  #include <utmp.h>
1298  #ifdef HAVE_PATHS_H
1299  #  include <paths.h>
1300  #endif
1301 -       ],
1302 -       [ char *wtmp = WTMP_FILE; ],
1303 -       [ AC_MSG_RESULT(yes) ],
1304 -       [ AC_MSG_RESULT(no)
1305 -         system_wtmp_path=no ]
1306 -)
1307 +       ]], [[ char *wtmp = WTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1308 +         system_wtmp_path=no 
1309 +])
1310  if test -z "$conf_wtmp_location"; then
1311         if test x"$system_wtmp_path" = x"no" ; then
1312                 for f in /usr/adm/wtmp /var/log/wtmp; do
1313 @@ -2558,7 +2381,7 @@
1314  dnl  utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out
1315  dnl  there, though.
1316  AC_MSG_CHECKING([if your system defines UTMPX_FILE])
1317 -AC_TRY_COMPILE([
1318 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1319  #include <sys/types.h>
1320  #include <utmp.h>
1321  #ifdef HAVE_UTMPX_H
1322 @@ -2567,12 +2390,9 @@
1323  #ifdef HAVE_PATHS_H
1324  #  include <paths.h>
1325  #endif
1326 -       ],
1327 -       [ char *utmpx = UTMPX_FILE; ],
1328 -       [ AC_MSG_RESULT(yes) ],
1329 -       [ AC_MSG_RESULT(no)
1330 -         system_utmpx_path=no ]
1331 -)
1332 +       ]], [[ char *utmpx = UTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1333 +         system_utmpx_path=no 
1334 +])
1335  if test -z "$conf_utmpx_location"; then
1336         if test x"$system_utmpx_path" = x"no" ; then
1337                 AC_DEFINE(DISABLE_UTMPX)
1338 @@ -2583,7 +2403,7 @@
1339  
1340  dnl wtmpx detection
1341  AC_MSG_CHECKING([if your system defines WTMPX_FILE])
1342 -AC_TRY_COMPILE([
1343 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1344  #include <sys/types.h>
1345  #include <utmp.h>
1346  #ifdef HAVE_UTMPX_H
1347 @@ -2592,12 +2412,9 @@
1348  #ifdef HAVE_PATHS_H
1349  #  include <paths.h>
1350  #endif
1351 -       ],
1352 -       [ char *wtmpx = WTMPX_FILE; ],
1353 -       [ AC_MSG_RESULT(yes) ],
1354 -       [ AC_MSG_RESULT(no)
1355 -         system_wtmpx_path=no ]
1356 -)
1357 +       ]], [[ char *wtmpx = WTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1358 +         system_wtmpx_path=no 
1359 +])
1360  if test -z "$conf_wtmpx_location"; then
1361         if test x"$system_wtmpx_path" = x"no" ; then
1362                 AC_DEFINE(DISABLE_WTMPX)
1363 --- openssh-3.7.1p1/configure~configure
1364 +++ openssh-3.7.1p1/configure
1365 @@ -1,12 +1,81 @@
1366  #! /bin/sh
1367  # Guess values for system-dependent variables and create Makefiles.
1368 -# Generated by Autoconf 2.52.
1369 +# Generated by GNU Autoconf 2.57.
1370  #
1371 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1372 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1373  # Free Software Foundation, Inc.
1374  # This configure script is free software; the Free Software Foundation
1375  # gives unlimited permission to copy, distribute and modify it.
1376 +## --------------------- ##
1377 +## M4sh Initialization.  ##
1378 +## --------------------- ##
1379 +
1380 +# Be Bourne compatible
1381 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1382 +  emulate sh
1383 +  NULLCMD=:
1384 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1385 +  # is contrary to our usage.  Disable this feature.
1386 +  alias -g '${1+"$@"}'='"$@"'
1387 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1388 +  set -o posix
1389 +fi
1390 +
1391 +# Support unset when possible.
1392 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1393 +  as_unset=unset
1394 +else
1395 +  as_unset=false
1396 +fi
1397 +
1398 +
1399 +# Work around bugs in pre-3.0 UWIN ksh.
1400 +$as_unset ENV MAIL MAILPATH
1401 +PS1='$ '
1402 +PS2='> '
1403 +PS4='+ '
1404 +
1405 +# NLS nuisances.
1406 +for as_var in \
1407 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1408 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1409 +  LC_TELEPHONE LC_TIME
1410 +do
1411 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1412 +    eval $as_var=C; export $as_var
1413 +  else
1414 +    $as_unset $as_var
1415 +  fi
1416 +done
1417 +
1418 +# Required to use basename.
1419 +if expr a : '\(a\)' >/dev/null 2>&1; then
1420 +  as_expr=expr
1421 +else
1422 +  as_expr=false
1423 +fi
1424 +
1425 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1426 +  as_basename=basename
1427 +else
1428 +  as_basename=false
1429 +fi
1430 +
1431 +
1432 +# Name of the executable.
1433 +as_me=`$as_basename "$0" ||
1434 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1435 +        X"$0" : 'X\(//\)$' \| \
1436 +        X"$0" : 'X\(/\)$' \| \
1437 +        .     : '\(.\)' 2>/dev/null ||
1438 +echo X/"$0" |
1439 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1440 +         /^X\/\(\/\/\)$/{ s//\1/; q; }
1441 +         /^X\/\(\/\).*/{ s//\1/; q; }
1442 +         s/.*/./; q'`
1443 +
1444  
1445 +# PATH needs CR, and LINENO needs CR and PATH.
1446  # Avoid depending upon Character Ranges.
1447  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1448  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1449 @@ -14,22 +83,113 @@
1450  as_cr_digits='0123456789'
1451  as_cr_alnum=$as_cr_Letters$as_cr_digits
1452  
1453 -# Sed expression to map a string onto a valid variable name.
1454 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1455 +# The user is always right.
1456 +if test "${PATH_SEPARATOR+set}" != set; then
1457 +  echo "#! /bin/sh" >conf$$.sh
1458 +  echo  "exit 0"   >>conf$$.sh
1459 +  chmod +x conf$$.sh
1460 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1461 +    PATH_SEPARATOR=';'
1462 +  else
1463 +    PATH_SEPARATOR=:
1464 +  fi
1465 +  rm -f conf$$.sh
1466 +fi
1467  
1468 -# Sed expression to map a string onto a valid CPP name.
1469 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1470  
1471 -# Be Bourne compatible
1472 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1473 -  emulate sh
1474 -  NULLCMD=:
1475 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1476 -  set -o posix
1477 -fi
1478 +  as_lineno_1=$LINENO
1479 +  as_lineno_2=$LINENO
1480 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1481 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
1482 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1483 +  # Find who we are.  Look in the path if we contain no path at all
1484 +  # relative or not.
1485 +  case $0 in
1486 +    *[\\/]* ) as_myself=$0 ;;
1487 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 +for as_dir in $PATH
1489 +do
1490 +  IFS=$as_save_IFS
1491 +  test -z "$as_dir" && as_dir=.
1492 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1493 +done
1494  
1495 -# Name of the executable.
1496 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
1497 +       ;;
1498 +  esac
1499 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
1500 +  # in which case we are not to be found in the path.
1501 +  if test "x$as_myself" = x; then
1502 +    as_myself=$0
1503 +  fi
1504 +  if test ! -f "$as_myself"; then
1505 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1506 +   { (exit 1); exit 1; }; }
1507 +  fi
1508 +  case $CONFIG_SHELL in
1509 +  '')
1510 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1512 +do
1513 +  IFS=$as_save_IFS
1514 +  test -z "$as_dir" && as_dir=.
1515 +  for as_base in sh bash ksh sh5; do
1516 +        case $as_dir in
1517 +        /*)
1518 +          if ("$as_dir/$as_base" -c '
1519 +  as_lineno_1=$LINENO
1520 +  as_lineno_2=$LINENO
1521 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1522 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
1523 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1524 +            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1525 +            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1526 +            CONFIG_SHELL=$as_dir/$as_base
1527 +            export CONFIG_SHELL
1528 +            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1529 +          fi;;
1530 +        esac
1531 +       done
1532 +done
1533 +;;
1534 +  esac
1535 +
1536 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1537 +  # uniformly replaced by the line number.  The first 'sed' inserts a
1538 +  # line-number line before each line; the second 'sed' does the real
1539 +  # work.  The second script uses 'N' to pair each line-number line
1540 +  # with the numbered line, and appends trailing '-' during
1541 +  # substitution so that $LINENO is not a special case at line end.
1542 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1543 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1544 +  sed '=' <$as_myself |
1545 +    sed '
1546 +      N
1547 +      s,$,-,
1548 +      : loop
1549 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1550 +      t loop
1551 +      s,-$,,
1552 +      s,^['$as_cr_digits']*\n,,
1553 +    ' >$as_me.lineno &&
1554 +  chmod +x $as_me.lineno ||
1555 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1556 +   { (exit 1); exit 1; }; }
1557 +
1558 +  # Don't try to exec as it changes $[0], causing all sort of problems
1559 +  # (the dirname of $[0] is not the place where we might find the
1560 +  # original and so on.  Autoconf is especially sensible to this).
1561 +  . ./$as_me.lineno
1562 +  # Exit status is that of the last command.
1563 +  exit
1564 +}
1565 +
1566 +
1567 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1568 +  *c*,-n*) ECHO_N= ECHO_C='
1569 +' ECHO_T='     ' ;;
1570 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1571 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1572 +esac
1573  
1574  if expr a : '\(a\)' >/dev/null 2>&1; then
1575    as_expr=expr
1576 @@ -55,24 +215,20 @@
1577  fi
1578  rm -f conf$$ conf$$.exe conf$$.file
1579  
1580 -as_executable_p="test -f"
1581 -
1582 -# Support unset when possible.
1583 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1584 -  as_unset=unset
1585 +if mkdir -p . 2>/dev/null; then
1586 +  as_mkdir_p=:
1587  else
1588 -  as_unset=false
1589 +  as_mkdir_p=false
1590  fi
1591  
1592 -# NLS nuisances.
1593 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1594 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1595 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1596 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1597 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1598 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1599 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1600 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1601 +as_executable_p="test -f"
1602 +
1603 +# Sed expression to map a string onto a valid CPP name.
1604 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1605 +
1606 +# Sed expression to map a string onto a valid variable name.
1607 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1608 +
1609  
1610  # IFS
1611  # We need space, tab and new line, in precisely that order.
1612 @@ -81,7 +237,8 @@
1613  IFS="  $as_nl"
1614  
1615  # CDPATH.
1616 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1617 +$as_unset CDPATH
1618 +
1619  
1620  # Name of the host.
1621  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1622 @@ -94,9 +251,11 @@
1623  # Initializations.
1624  #
1625  ac_default_prefix=/usr/local
1626 +ac_config_libobj_dir=.
1627  cross_compiling=no
1628  subdirs=
1629 -MFLAGS= MAKEFLAGS=
1630 +MFLAGS=
1631 +MAKEFLAGS=
1632  SHELL=${CONFIG_SHELL-/bin/sh}
1633  
1634  # Maximum number of lines to put in a shell here document.
1635 @@ -104,6 +263,13 @@
1636  # only ac_max_sed_lines should be used.
1637  : ${ac_max_here_lines=38}
1638  
1639 +# Identity of this package.
1640 +PACKAGE_NAME=
1641 +PACKAGE_TARNAME=
1642 +PACKAGE_VERSION=
1643 +PACKAGE_STRING=
1644 +PACKAGE_BUGREPORT=
1645 +
1646  ac_unique_file="ssh.c"
1647  # Factoring default headers for most tests.
1648  ac_includes_default="\
1649 @@ -142,6 +308,9 @@
1650  # include <unistd.h>
1651  #endif"
1652  
1653 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PERL SED ENT TEST_MINUS_S_SH SH LOGIN_PROGRAM_FALLBACK LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
1654 +ac_subst_files=''
1655 +
1656  # Initialize some variables set by options.
1657  ac_init_help=
1658  ac_init_version=false
1659 @@ -180,13 +349,6 @@
1660  infodir='${prefix}/info'
1661  mandir='${prefix}/man'
1662  
1663 -# Identity of this package.
1664 -PACKAGE_NAME=
1665 -PACKAGE_TARNAME=
1666 -PACKAGE_VERSION=
1667 -PACKAGE_STRING=
1668 -PACKAGE_BUGREPORT=
1669 -
1670  ac_prev=
1671  for ac_option
1672  do
1673 @@ -319,7 +481,7 @@
1674      with_fp=no ;;
1675  
1676    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1677 -  | --no-cr | --no-c)
1678 +  | --no-cr | --no-c | -n)
1679      no_create=yes ;;
1680  
1681    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1682 @@ -498,7 +660,7 @@
1683    eval ac_val=$`echo $ac_var`
1684    case $ac_val in
1685      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1686 -    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
1687 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1688     { (exit 1); exit 1; }; };;
1689    esac
1690  done
1691 @@ -510,18 +672,19 @@
1692    eval ac_val=$`echo $ac_var`
1693    case $ac_val in
1694      [\\/$]* | ?:[\\/]* ) ;;
1695 -    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
1696 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1697     { (exit 1); exit 1; }; };;
1698    esac
1699  done
1700  
1701  # There might be people who depend on the old broken behavior: `$host'
1702  # used to hold the argument of --host etc.
1703 +# FIXME: To remove some day.
1704  build=$build_alias
1705  host=$host_alias
1706  target=$target_alias
1707  
1708 -# FIXME: should be removed in autoconf 3.0.
1709 +# FIXME: To remove some day.
1710  if test "x$host_alias" != x; then
1711    if test "x$build_alias" = x; then
1712      cross_compiling=maybe
1713 @@ -537,13 +700,23 @@
1714  
1715  test "$silent" = yes && exec 6>/dev/null
1716  
1717 +
1718  # Find the source files, if location was not specified.
1719  if test -z "$srcdir"; then
1720    ac_srcdir_defaulted=yes
1721    # Try the directory containing this script, then its parent.
1722 -  ac_prog=$0
1723 -  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
1724 -  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1725 +  ac_confdir=`(dirname "$0") 2>/dev/null ||
1726 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1727 +         X"$0" : 'X\(//\)[^/]' \| \
1728 +         X"$0" : 'X\(//\)$' \| \
1729 +         X"$0" : 'X\(/\)' \| \
1730 +         .     : '\(.\)' 2>/dev/null ||
1731 +echo X"$0" |
1732 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1733 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1734 +         /^X\(\/\/\)$/{ s//\1/; q; }
1735 +         /^X\(\/\).*/{ s//\1/; q; }
1736 +         s/.*/./; q'`
1737    srcdir=$ac_confdir
1738    if test ! -r $srcdir/$ac_unique_file; then
1739      srcdir=..
1740 @@ -553,13 +726,16 @@
1741  fi
1742  if test ! -r $srcdir/$ac_unique_file; then
1743    if test "$ac_srcdir_defaulted" = yes; then
1744 -    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
1745 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1746     { (exit 1); exit 1; }; }
1747    else
1748 -    { echo "$as_me: error: cannot find sources in $srcdir" >&2
1749 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1750     { (exit 1); exit 1; }; }
1751    fi
1752  fi
1753 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1754 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1755 +   { (exit 1); exit 1; }; }
1756  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1757  ac_env_build_alias_set=${build_alias+set}
1758  ac_env_build_alias_value=$build_alias
1759 @@ -600,7 +776,7 @@
1760  if test "$ac_init_help" = "long"; then
1761    # Omit some internal or obsolete options to make the list less imposing.
1762    # This message is too long to be a string in the A/UX 3.1 sh.
1763 -  cat <<EOF
1764 +  cat <<_ACEOF
1765  \`configure' configures this package to adapt to many kinds of systems.
1766  
1767  Usage: $0 [OPTION]... [VAR=VALUE]...
1768 @@ -621,9 +797,9 @@
1769    -n, --no-create         do not create output files
1770        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1771  
1772 -EOF
1773 +_ACEOF
1774  
1775 -  cat <<EOF
1776 +  cat <<_ACEOF
1777  Installation directories:
1778    --prefix=PREFIX         install architecture-independent files in PREFIX
1779                            [$ac_default_prefix]
1780 @@ -650,19 +826,19 @@
1781    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1782    --infodir=DIR          info documentation [PREFIX/info]
1783    --mandir=DIR           man documentation [PREFIX/man]
1784 -EOF
1785 +_ACEOF
1786  
1787 -  cat <<\EOF
1788 +  cat <<\_ACEOF
1789  
1790  System types:
1791    --build=BUILD     configure for building on BUILD [guessed]
1792 -  --host=HOST       build programs to run on HOST [BUILD]
1793 -EOF
1794 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1795 +_ACEOF
1796  fi
1797  
1798  if test -n "$ac_init_help"; then
1799  
1800 -  cat <<\EOF
1801 +  cat <<\_ACEOF
1802  
1803  Optional Features:
1804    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1805 @@ -728,40 +904,60 @@
1806  Use these variables to override the choices made by `configure' or to help
1807  it to find libraries and programs with nonstandard names/locations.
1808  
1809 -EOF
1810 +_ACEOF
1811  fi
1812  
1813  if test "$ac_init_help" = "recursive"; then
1814    # If there are subdirs, report their specific --help.
1815    ac_popdir=`pwd`
1816 -  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
1817 -    cd $ac_subdir
1818 -    # A "../" for each directory in /$ac_subdir.
1819 -    ac_dots=`echo $ac_subdir |
1820 -             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
1821 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1822 +    test -d $ac_dir || continue
1823 +    ac_builddir=.
1824  
1825 -    case $srcdir in
1826 -    .) # No --srcdir option.  We are building in place.
1827 -      ac_sub_srcdir=$srcdir ;;
1828 -    [\\/]* | ?:[\\/]* ) # Absolute path.
1829 -      ac_sub_srcdir=$srcdir/$ac_subdir ;;
1830 -    *) # Relative path.
1831 -      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
1832 -    esac
1833 +if test "$ac_dir" != .; then
1834 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1835 +  # A "../" for each directory in $ac_dir_suffix.
1836 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1837 +else
1838 +  ac_dir_suffix= ac_top_builddir=
1839 +fi
1840 +
1841 +case $srcdir in
1842 +  .)  # No --srcdir option.  We are building in place.
1843 +    ac_srcdir=.
1844 +    if test -z "$ac_top_builddir"; then
1845 +       ac_top_srcdir=.
1846 +    else
1847 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1848 +    fi ;;
1849 +  [\\/]* | ?:[\\/]* )  # Absolute path.
1850 +    ac_srcdir=$srcdir$ac_dir_suffix;
1851 +    ac_top_srcdir=$srcdir ;;
1852 +  *) # Relative path.
1853 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1854 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1855 +esac
1856 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1857 +# absolute.
1858 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1859 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1860 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1861 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1862  
1863 +    cd $ac_dir
1864      # Check for guested configure; otherwise get Cygnus style configure.
1865 -    if test -f $ac_sub_srcdir/configure.gnu; then
1866 +    if test -f $ac_srcdir/configure.gnu; then
1867        echo
1868 -      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
1869 -    elif test -f $ac_sub_srcdir/configure; then
1870 +      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1871 +    elif test -f $ac_srcdir/configure; then
1872        echo
1873 -      $SHELL $ac_sub_srcdir/configure  --help=recursive
1874 -    elif test -f $ac_sub_srcdir/configure.ac ||
1875 -           test -f $ac_sub_srcdir/configure.in; then
1876 +      $SHELL $ac_srcdir/configure  --help=recursive
1877 +    elif test -f $ac_srcdir/configure.ac ||
1878 +           test -f $ac_srcdir/configure.in; then
1879        echo
1880        $ac_configure --help
1881      else
1882 -      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
1883 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1884      fi
1885      cd $ac_popdir
1886    done
1887 @@ -769,31 +965,31 @@
1888  
1889  test -n "$ac_init_help" && exit 0
1890  if $ac_init_version; then
1891 -  cat <<\EOF
1892 +  cat <<\_ACEOF
1893  
1894 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1895 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1896  Free Software Foundation, Inc.
1897  This configure script is free software; the Free Software Foundation
1898  gives unlimited permission to copy, distribute and modify it.
1899 -EOF
1900 +_ACEOF
1901    exit 0
1902  fi
1903  exec 5>config.log
1904 -cat >&5 <<EOF
1905 +cat >&5 <<_ACEOF
1906  This file contains any messages produced by compilers while
1907  running configure, to aid debugging if configure makes a mistake.
1908  
1909  It was created by $as_me, which was
1910 -generated by GNU Autoconf 2.52.  Invocation command line was
1911 +generated by GNU Autoconf 2.57.  Invocation command line was
1912  
1913    $ $0 $@
1914  
1915 -EOF
1916 +_ACEOF
1917  {
1918  cat <<_ASUNAME
1919 -## ---------- ##
1920 -## Platform.  ##
1921 -## ---------- ##
1922 +## --------- ##
1923 +## Platform. ##
1924 +## --------- ##
1925  
1926  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1927  uname -m = `(uname -m) 2>/dev/null || echo unknown`
1928 @@ -812,51 +1008,96 @@
1929  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1930  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1931  
1932 -PATH = $PATH
1933 -
1934  _ASUNAME
1935 +
1936 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 +for as_dir in $PATH
1938 +do
1939 +  IFS=$as_save_IFS
1940 +  test -z "$as_dir" && as_dir=.
1941 +  echo "PATH: $as_dir"
1942 +done
1943 +
1944  } >&5
1945  
1946 -cat >&5 <<EOF
1947 -## ------------ ##
1948 -## Core tests.  ##
1949 -## ------------ ##
1950 +cat >&5 <<_ACEOF
1951 +
1952 +
1953 +## ----------- ##
1954 +## Core tests. ##
1955 +## ----------- ##
1956 +
1957 +_ACEOF
1958  
1959 -EOF
1960  
1961  # Keep a trace of the command line.
1962  # Strip out --no-create and --no-recursion so they do not pile up.
1963 +# Strip out --silent because we don't want to record it for future runs.
1964  # Also quote any args containing shell meta-characters.
1965 +# Make two passes to allow for proper duplicate-argument suppression.
1966  ac_configure_args=
1967 +ac_configure_args0=
1968 +ac_configure_args1=
1969  ac_sep=
1970 -for ac_arg
1971 +ac_must_keep_next=false
1972 +for ac_pass in 1 2
1973  do
1974 -  case $ac_arg in
1975 -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1976 -  | --no-cr | --no-c) ;;
1977 -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1978 -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1979 -  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1980 -    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1981 -    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1982 -    ac_sep=" " ;;
1983 -  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1984 -     ac_sep=" " ;;
1985 -  esac
1986 -  # Get rid of the leading space.
1987 +  for ac_arg
1988 +  do
1989 +    case $ac_arg in
1990 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1991 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1992 +    | -silent | --silent | --silen | --sile | --sil)
1993 +      continue ;;
1994 +    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1995 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 +    esac
1997 +    case $ac_pass in
1998 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1999 +    2)
2000 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2001 +      if test $ac_must_keep_next = true; then
2002 +        ac_must_keep_next=false # Got value, back to normal.
2003 +      else
2004 +        case $ac_arg in
2005 +          *=* | --config-cache | -C | -disable-* | --disable-* \
2006 +          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2007 +          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2008 +          | -with-* | --with-* | -without-* | --without-* | --x)
2009 +            case "$ac_configure_args0 " in
2010 +              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2011 +            esac
2012 +            ;;
2013 +          -* ) ac_must_keep_next=true ;;
2014 +        esac
2015 +      fi
2016 +      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2017 +      # Get rid of the leading space.
2018 +      ac_sep=" "
2019 +      ;;
2020 +    esac
2021 +  done
2022  done
2023 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2024 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2025  
2026  # When interrupted or exit'd, cleanup temporary files, and complete
2027  # config.log.  We remove comments because anyway the quotes in there
2028  # would cause problems or look ugly.
2029 +# WARNING: Be sure not to use single quotes in there, as some shells,
2030 +# such as our DU 5.0 friend, will then `close' the trap.
2031  trap 'exit_status=$?
2032    # Save into config.log some information that might help in debugging.
2033 -  echo >&5
2034 -  echo "## ----------------- ##" >&5
2035 -  echo "## Cache variables.  ##" >&5
2036 -  echo "## ----------------- ##" >&5
2037 -  echo >&5
2038 -  # The following way of writing the cache mishandles newlines in values,
2039 +  {
2040 +    echo
2041 +
2042 +    cat <<\_ASBOX
2043 +## ---------------- ##
2044 +## Cache variables. ##
2045 +## ---------------- ##
2046 +_ASBOX
2047 +    echo
2048 +    # The following way of writing the cache mishandles newlines in values,
2049  {
2050    (set) 2>&1 |
2051      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2052 @@ -870,21 +1111,53 @@
2053          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2054        ;;
2055      esac;
2056 -} >&5
2057 -  sed "/^$/d" confdefs.h >conftest.log
2058 -  if test -s conftest.log; then
2059 -    echo >&5
2060 -    echo "## ------------ ##" >&5
2061 -    echo "## confdefs.h.  ##" >&5
2062 -    echo "## ------------ ##" >&5
2063 -    echo >&5
2064 -    cat conftest.log >&5
2065 -  fi
2066 -  (echo; echo) >&5
2067 -  test "$ac_signal" != 0 &&
2068 -    echo "$as_me: caught signal $ac_signal" >&5
2069 -  echo "$as_me: exit $exit_status" >&5
2070 -  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
2071 +}
2072 +    echo
2073 +
2074 +    cat <<\_ASBOX
2075 +## ----------------- ##
2076 +## Output variables. ##
2077 +## ----------------- ##
2078 +_ASBOX
2079 +    echo
2080 +    for ac_var in $ac_subst_vars
2081 +    do
2082 +      eval ac_val=$`echo $ac_var`
2083 +      echo "$ac_var='"'"'$ac_val'"'"'"
2084 +    done | sort
2085 +    echo
2086 +
2087 +    if test -n "$ac_subst_files"; then
2088 +      cat <<\_ASBOX
2089 +## ------------- ##
2090 +## Output files. ##
2091 +## ------------- ##
2092 +_ASBOX
2093 +      echo
2094 +      for ac_var in $ac_subst_files
2095 +      do
2096 +       eval ac_val=$`echo $ac_var`
2097 +        echo "$ac_var='"'"'$ac_val'"'"'"
2098 +      done | sort
2099 +      echo
2100 +    fi
2101 +
2102 +    if test -s confdefs.h; then
2103 +      cat <<\_ASBOX
2104 +## ----------- ##
2105 +## confdefs.h. ##
2106 +## ----------- ##
2107 +_ASBOX
2108 +      echo
2109 +      sed "/^$/d" confdefs.h | sort
2110 +      echo
2111 +    fi
2112 +    test "$ac_signal" != 0 &&
2113 +      echo "$as_me: caught signal $ac_signal"
2114 +    echo "$as_me: exit $exit_status"
2115 +  } >&5
2116 +  rm -f core core.* *.core &&
2117 +  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2118      exit $exit_status
2119       ' 0
2120  for ac_signal in 1 2 13 15; do
2121 @@ -897,6 +1170,33 @@
2122  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
2123  echo >confdefs.h
2124  
2125 +# Predefined preprocessor variables.
2126 +
2127 +cat >>confdefs.h <<_ACEOF
2128 +#define PACKAGE_NAME "$PACKAGE_NAME"
2129 +_ACEOF
2130 +
2131 +
2132 +cat >>confdefs.h <<_ACEOF
2133 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2134 +_ACEOF
2135 +
2136 +
2137 +cat >>confdefs.h <<_ACEOF
2138 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 +_ACEOF
2140 +
2141 +
2142 +cat >>confdefs.h <<_ACEOF
2143 +#define PACKAGE_STRING "$PACKAGE_STRING"
2144 +_ACEOF
2145 +
2146 +
2147 +cat >>confdefs.h <<_ACEOF
2148 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 +_ACEOF
2150 +
2151 +
2152  # Let the site file select an alternate cache file if it wants to.
2153  # Prefer explicitly selected file to automatically selected ones.
2154  if test -z "$CONFIG_SITE"; then
2155 @@ -908,9 +1208,9 @@
2156  fi
2157  for ac_site_file in $CONFIG_SITE; do
2158    if test -r "$ac_site_file"; then
2159 -    { echo "$as_me:911: loading site script $ac_site_file" >&5
2160 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2161  echo "$as_me: loading site script $ac_site_file" >&6;}
2162 -    cat "$ac_site_file" >&5
2163 +    sed 's/^/| /' "$ac_site_file" >&5
2164      . "$ac_site_file"
2165    fi
2166  done
2167 @@ -919,7 +1219,7 @@
2168    # Some versions of bash will fail to source /dev/null (special
2169    # files actually), so we avoid doing that.
2170    if test -f "$cache_file"; then
2171 -    { echo "$as_me:922: loading cache $cache_file" >&5
2172 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2173  echo "$as_me: loading cache $cache_file" >&6;}
2174      case $cache_file in
2175        [\\/]* | ?:[\\/]* ) . $cache_file;;
2176 @@ -927,7 +1227,7 @@
2177      esac
2178    fi
2179  else
2180 -  { echo "$as_me:930: creating cache $cache_file" >&5
2181 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2182  echo "$as_me: creating cache $cache_file" >&6;}
2183    >$cache_file
2184  fi
2185 @@ -943,42 +1243,42 @@
2186    eval ac_new_val="\$ac_env_${ac_var}_value"
2187    case $ac_old_set,$ac_new_set in
2188      set,)
2189 -      { echo "$as_me:946: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2190 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2191  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2192        ac_cache_corrupted=: ;;
2193      ,set)
2194 -      { echo "$as_me:950: error: \`$ac_var' was not set in the previous run" >&5
2195 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2196  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197        ac_cache_corrupted=: ;;
2198      ,);;
2199      *)
2200        if test "x$ac_old_val" != "x$ac_new_val"; then
2201 -        { echo "$as_me:956: error: \`$ac_var' has changed since the previous run:" >&5
2202 +        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2203  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2204 -        { echo "$as_me:958:   former value:  $ac_old_val" >&5
2205 +        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2206  echo "$as_me:   former value:  $ac_old_val" >&2;}
2207 -        { echo "$as_me:960:   current value: $ac_new_val" >&5
2208 +        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2209  echo "$as_me:   current value: $ac_new_val" >&2;}
2210          ac_cache_corrupted=:
2211        fi;;
2212    esac
2213 -  # Pass precious variables to config.status.  It doesn't matter if
2214 -  # we pass some twice (in addition to the command line arguments).
2215 +  # Pass precious variables to config.status.
2216    if test "$ac_new_set" = set; then
2217      case $ac_new_val in
2218      *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2219 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
2220 -      ac_configure_args="$ac_configure_args '$ac_arg'"
2221 -      ;;
2222 -    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
2223 -       ;;
2224 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2225 +    *) ac_arg=$ac_var=$ac_new_val ;;
2226 +    esac
2227 +    case " $ac_configure_args " in
2228 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2229 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2230      esac
2231    fi
2232  done
2233  if $ac_cache_corrupted; then
2234 -  { echo "$as_me:979: error: changes in the environment can compromise the build" >&5
2235 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2236  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2237 -  { { echo "$as_me:981: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2238 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2239  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2240     { (exit 1); exit 1; }; }
2241  fi
2242 @@ -989,28 +1289,27 @@
2243  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2245  
2246 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2247 -  *c*,-n*) ECHO_N= ECHO_C='
2248 -' ECHO_T='     ' ;;
2249 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2250 -  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
2251 -esac
2252 -echo "#! $SHELL" >conftest.sh
2253 -echo  "exit 0"   >>conftest.sh
2254 -chmod +x conftest.sh
2255 -if { (echo "$as_me:1001: PATH=\".;.\"; conftest.sh") >&5
2256 -  (PATH=".;."; conftest.sh) 2>&5
2257 -  ac_status=$?
2258 -  echo "$as_me:1004: \$? = $ac_status" >&5
2259 -  (exit $ac_status); }; then
2260 -  ac_path_separator=';'
2261 -else
2262 -  ac_path_separator=:
2263 -fi
2264 -PATH_SEPARATOR="$ac_path_separator"
2265 -rm -f conftest.sh
2266  
2267 -ac_config_headers="$ac_config_headers config.h"
2268 +
2269 +
2270 +
2271 +
2272 +
2273 +
2274 +
2275 +
2276 +
2277 +
2278 +
2279 +
2280 +
2281 +
2282 +
2283 +
2284 +
2285 +
2286 +
2287 +          ac_config_headers="$ac_config_headers config.h"
2288  
2289  ac_ext=c
2290  ac_cpp='$CPP $CPPFLAGS'
2291 @@ -1020,7 +1319,7 @@
2292  if test -n "$ac_tool_prefix"; then
2293    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2294  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2295 -echo "$as_me:1023: checking for $ac_word" >&5
2296 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2297  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298  if test "${ac_cv_prog_CC+set}" = set; then
2299    echo $ECHO_N "(cached) $ECHO_C" >&6
2300 @@ -1028,25 +1327,28 @@
2301    if test -n "$CC"; then
2302    ac_cv_prog_CC="$CC" # Let the user override the test.
2303  else
2304 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2305 -ac_dummy="$PATH"
2306 -for ac_dir in $ac_dummy; do
2307 -  IFS=$ac_save_IFS
2308 -  test -z "$ac_dir" && ac_dir=.
2309 -  $as_executable_p "$ac_dir/$ac_word" || continue
2310 -ac_cv_prog_CC="${ac_tool_prefix}gcc"
2311 -echo "$as_me:1038: found $ac_dir/$ac_word" >&5
2312 -break
2313 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 +for as_dir in $PATH
2315 +do
2316 +  IFS=$as_save_IFS
2317 +  test -z "$as_dir" && as_dir=.
2318 +  for ac_exec_ext in '' $ac_executable_extensions; do
2319 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2320 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2321 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 +    break 2
2323 +  fi
2324 +done
2325  done
2326  
2327  fi
2328  fi
2329  CC=$ac_cv_prog_CC
2330  if test -n "$CC"; then
2331 -  echo "$as_me:1046: result: $CC" >&5
2332 +  echo "$as_me:$LINENO: result: $CC" >&5
2333  echo "${ECHO_T}$CC" >&6
2334  else
2335 -  echo "$as_me:1049: result: no" >&5
2336 +  echo "$as_me:$LINENO: result: no" >&5
2337  echo "${ECHO_T}no" >&6
2338  fi
2339  
2340 @@ -1055,7 +1357,7 @@
2341    ac_ct_CC=$CC
2342    # Extract the first word of "gcc", so it can be a program name with args.
2343  set dummy gcc; ac_word=$2
2344 -echo "$as_me:1058: checking for $ac_word" >&5
2345 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2346  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2348    echo $ECHO_N "(cached) $ECHO_C" >&6
2349 @@ -1063,25 +1365,28 @@
2350    if test -n "$ac_ct_CC"; then
2351    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352  else
2353 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2354 -ac_dummy="$PATH"
2355 -for ac_dir in $ac_dummy; do
2356 -  IFS=$ac_save_IFS
2357 -  test -z "$ac_dir" && ac_dir=.
2358 -  $as_executable_p "$ac_dir/$ac_word" || continue
2359 -ac_cv_prog_ac_ct_CC="gcc"
2360 -echo "$as_me:1073: found $ac_dir/$ac_word" >&5
2361 -break
2362 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 +for as_dir in $PATH
2364 +do
2365 +  IFS=$as_save_IFS
2366 +  test -z "$as_dir" && as_dir=.
2367 +  for ac_exec_ext in '' $ac_executable_extensions; do
2368 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369 +    ac_cv_prog_ac_ct_CC="gcc"
2370 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 +    break 2
2372 +  fi
2373 +done
2374  done
2375  
2376  fi
2377  fi
2378  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379  if test -n "$ac_ct_CC"; then
2380 -  echo "$as_me:1081: result: $ac_ct_CC" >&5
2381 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2382  echo "${ECHO_T}$ac_ct_CC" >&6
2383  else
2384 -  echo "$as_me:1084: result: no" >&5
2385 +  echo "$as_me:$LINENO: result: no" >&5
2386  echo "${ECHO_T}no" >&6
2387  fi
2388  
2389 @@ -1094,7 +1399,7 @@
2390    if test -n "$ac_tool_prefix"; then
2391    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2392  set dummy ${ac_tool_prefix}cc; ac_word=$2
2393 -echo "$as_me:1097: checking for $ac_word" >&5
2394 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2395  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396  if test "${ac_cv_prog_CC+set}" = set; then
2397    echo $ECHO_N "(cached) $ECHO_C" >&6
2398 @@ -1102,25 +1407,28 @@
2399    if test -n "$CC"; then
2400    ac_cv_prog_CC="$CC" # Let the user override the test.
2401  else
2402 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2403 -ac_dummy="$PATH"
2404 -for ac_dir in $ac_dummy; do
2405 -  IFS=$ac_save_IFS
2406 -  test -z "$ac_dir" && ac_dir=.
2407 -  $as_executable_p "$ac_dir/$ac_word" || continue
2408 -ac_cv_prog_CC="${ac_tool_prefix}cc"
2409 -echo "$as_me:1112: found $ac_dir/$ac_word" >&5
2410 -break
2411 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 +for as_dir in $PATH
2413 +do
2414 +  IFS=$as_save_IFS
2415 +  test -z "$as_dir" && as_dir=.
2416 +  for ac_exec_ext in '' $ac_executable_extensions; do
2417 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
2419 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 +    break 2
2421 +  fi
2422 +done
2423  done
2424  
2425  fi
2426  fi
2427  CC=$ac_cv_prog_CC
2428  if test -n "$CC"; then
2429 -  echo "$as_me:1120: result: $CC" >&5
2430 +  echo "$as_me:$LINENO: result: $CC" >&5
2431  echo "${ECHO_T}$CC" >&6
2432  else
2433 -  echo "$as_me:1123: result: no" >&5
2434 +  echo "$as_me:$LINENO: result: no" >&5
2435  echo "${ECHO_T}no" >&6
2436  fi
2437  
2438 @@ -1129,7 +1437,7 @@
2439    ac_ct_CC=$CC
2440    # Extract the first word of "cc", so it can be a program name with args.
2441  set dummy cc; ac_word=$2
2442 -echo "$as_me:1132: checking for $ac_word" >&5
2443 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2444  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2445  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2446    echo $ECHO_N "(cached) $ECHO_C" >&6
2447 @@ -1137,25 +1445,28 @@
2448    if test -n "$ac_ct_CC"; then
2449    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2450  else
2451 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2452 -ac_dummy="$PATH"
2453 -for ac_dir in $ac_dummy; do
2454 -  IFS=$ac_save_IFS
2455 -  test -z "$ac_dir" && ac_dir=.
2456 -  $as_executable_p "$ac_dir/$ac_word" || continue
2457 -ac_cv_prog_ac_ct_CC="cc"
2458 -echo "$as_me:1147: found $ac_dir/$ac_word" >&5
2459 -break
2460 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 +for as_dir in $PATH
2462 +do
2463 +  IFS=$as_save_IFS
2464 +  test -z "$as_dir" && as_dir=.
2465 +  for ac_exec_ext in '' $ac_executable_extensions; do
2466 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 +    ac_cv_prog_ac_ct_CC="cc"
2468 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 +    break 2
2470 +  fi
2471 +done
2472  done
2473  
2474  fi
2475  fi
2476  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2477  if test -n "$ac_ct_CC"; then
2478 -  echo "$as_me:1155: result: $ac_ct_CC" >&5
2479 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2480  echo "${ECHO_T}$ac_ct_CC" >&6
2481  else
2482 -  echo "$as_me:1158: result: no" >&5
2483 +  echo "$as_me:$LINENO: result: no" >&5
2484  echo "${ECHO_T}no" >&6
2485  fi
2486  
2487 @@ -1168,7 +1479,7 @@
2488  if test -z "$CC"; then
2489    # Extract the first word of "cc", so it can be a program name with args.
2490  set dummy cc; ac_word=$2
2491 -echo "$as_me:1171: checking for $ac_word" >&5
2492 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2493  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494  if test "${ac_cv_prog_CC+set}" = set; then
2495    echo $ECHO_N "(cached) $ECHO_C" >&6
2496 @@ -1177,19 +1488,22 @@
2497    ac_cv_prog_CC="$CC" # Let the user override the test.
2498  else
2499    ac_prog_rejected=no
2500 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2501 -ac_dummy="$PATH"
2502 -for ac_dir in $ac_dummy; do
2503 -  IFS=$ac_save_IFS
2504 -  test -z "$ac_dir" && ac_dir=.
2505 -  $as_executable_p "$ac_dir/$ac_word" || continue
2506 -if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2507 -  ac_prog_rejected=yes
2508 -  continue
2509 -fi
2510 -ac_cv_prog_CC="cc"
2511 -echo "$as_me:1191: found $ac_dir/$ac_word" >&5
2512 -break
2513 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 +for as_dir in $PATH
2515 +do
2516 +  IFS=$as_save_IFS
2517 +  test -z "$as_dir" && as_dir=.
2518 +  for ac_exec_ext in '' $ac_executable_extensions; do
2519 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2521 +       ac_prog_rejected=yes
2522 +       continue
2523 +     fi
2524 +    ac_cv_prog_CC="cc"
2525 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 +    break 2
2527 +  fi
2528 +done
2529  done
2530  
2531  if test $ac_prog_rejected = yes; then
2532 @@ -1201,19 +1515,17 @@
2533      # However, it has the same basename, so the bogon will be chosen
2534      # first if we set CC to just the basename; use the full file name.
2535      shift
2536 -    set dummy "$ac_dir/$ac_word" ${1+"$@"}
2537 -    shift
2538 -    ac_cv_prog_CC="$@"
2539 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2540    fi
2541  fi
2542  fi
2543  fi
2544  CC=$ac_cv_prog_CC
2545  if test -n "$CC"; then
2546 -  echo "$as_me:1213: result: $CC" >&5
2547 +  echo "$as_me:$LINENO: result: $CC" >&5
2548  echo "${ECHO_T}$CC" >&6
2549  else
2550 -  echo "$as_me:1216: result: no" >&5
2551 +  echo "$as_me:$LINENO: result: no" >&5
2552  echo "${ECHO_T}no" >&6
2553  fi
2554  
2555 @@ -1224,7 +1536,7 @@
2556    do
2557      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2558  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2559 -echo "$as_me:1227: checking for $ac_word" >&5
2560 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2561  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2562  if test "${ac_cv_prog_CC+set}" = set; then
2563    echo $ECHO_N "(cached) $ECHO_C" >&6
2564 @@ -1232,25 +1544,28 @@
2565    if test -n "$CC"; then
2566    ac_cv_prog_CC="$CC" # Let the user override the test.
2567  else
2568 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2569 -ac_dummy="$PATH"
2570 -for ac_dir in $ac_dummy; do
2571 -  IFS=$ac_save_IFS
2572 -  test -z "$ac_dir" && ac_dir=.
2573 -  $as_executable_p "$ac_dir/$ac_word" || continue
2574 -ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2575 -echo "$as_me:1242: found $ac_dir/$ac_word" >&5
2576 -break
2577 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 +for as_dir in $PATH
2579 +do
2580 +  IFS=$as_save_IFS
2581 +  test -z "$as_dir" && as_dir=.
2582 +  for ac_exec_ext in '' $ac_executable_extensions; do
2583 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2585 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 +    break 2
2587 +  fi
2588 +done
2589  done
2590  
2591  fi
2592  fi
2593  CC=$ac_cv_prog_CC
2594  if test -n "$CC"; then
2595 -  echo "$as_me:1250: result: $CC" >&5
2596 +  echo "$as_me:$LINENO: result: $CC" >&5
2597  echo "${ECHO_T}$CC" >&6
2598  else
2599 -  echo "$as_me:1253: result: no" >&5
2600 +  echo "$as_me:$LINENO: result: no" >&5
2601  echo "${ECHO_T}no" >&6
2602  fi
2603  
2604 @@ -1263,7 +1578,7 @@
2605  do
2606    # Extract the first word of "$ac_prog", so it can be a program name with args.
2607  set dummy $ac_prog; ac_word=$2
2608 -echo "$as_me:1266: checking for $ac_word" >&5
2609 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2610  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2611  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2612    echo $ECHO_N "(cached) $ECHO_C" >&6
2613 @@ -1271,25 +1586,28 @@
2614    if test -n "$ac_ct_CC"; then
2615    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2616  else
2617 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2618 -ac_dummy="$PATH"
2619 -for ac_dir in $ac_dummy; do
2620 -  IFS=$ac_save_IFS
2621 -  test -z "$ac_dir" && ac_dir=.
2622 -  $as_executable_p "$ac_dir/$ac_word" || continue
2623 -ac_cv_prog_ac_ct_CC="$ac_prog"
2624 -echo "$as_me:1281: found $ac_dir/$ac_word" >&5
2625 -break
2626 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 +for as_dir in $PATH
2628 +do
2629 +  IFS=$as_save_IFS
2630 +  test -z "$as_dir" && as_dir=.
2631 +  for ac_exec_ext in '' $ac_executable_extensions; do
2632 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633 +    ac_cv_prog_ac_ct_CC="$ac_prog"
2634 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 +    break 2
2636 +  fi
2637 +done
2638  done
2639  
2640  fi
2641  fi
2642  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2643  if test -n "$ac_ct_CC"; then
2644 -  echo "$as_me:1289: result: $ac_ct_CC" >&5
2645 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2646  echo "${ECHO_T}$ac_ct_CC" >&6
2647  else
2648 -  echo "$as_me:1292: result: no" >&5
2649 +  echo "$as_me:$LINENO: result: no" >&5
2650  echo "${ECHO_T}no" >&6
2651  fi
2652  
2653 @@ -1301,33 +1619,40 @@
2654  
2655  fi
2656  
2657 -test -z "$CC" && { { echo "$as_me:1304: error: no acceptable cc found in \$PATH" >&5
2658 -echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2659 +
2660 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2661 +See \`config.log' for more details." >&5
2662 +echo "$as_me: error: no acceptable C compiler found in \$PATH
2663 +See \`config.log' for more details." >&2;}
2664     { (exit 1); exit 1; }; }
2665  
2666  # Provide some information about the compiler.
2667 -echo "$as_me:1309:" \
2668 +echo "$as_me:$LINENO:" \
2669       "checking for C compiler version" >&5
2670  ac_compiler=`set X $ac_compile; echo $2`
2671 -{ (eval echo "$as_me:1312: \"$ac_compiler --version </dev/null >&5\"") >&5
2672 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2673    (eval $ac_compiler --version </dev/null >&5) 2>&5
2674    ac_status=$?
2675 -  echo "$as_me:1315: \$? = $ac_status" >&5
2676 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677    (exit $ac_status); }
2678 -{ (eval echo "$as_me:1317: \"$ac_compiler -v </dev/null >&5\"") >&5
2679 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2680    (eval $ac_compiler -v </dev/null >&5) 2>&5
2681    ac_status=$?
2682 -  echo "$as_me:1320: \$? = $ac_status" >&5
2683 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684    (exit $ac_status); }
2685 -{ (eval echo "$as_me:1322: \"$ac_compiler -V </dev/null >&5\"") >&5
2686 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2687    (eval $ac_compiler -V </dev/null >&5) 2>&5
2688    ac_status=$?
2689 -  echo "$as_me:1325: \$? = $ac_status" >&5
2690 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691    (exit $ac_status); }
2692  
2693  cat >conftest.$ac_ext <<_ACEOF
2694 -#line 1329 "configure"
2695 -#include "confdefs.h"
2696 +#line $LINENO "configure"
2697 +/* confdefs.h.  */
2698 +_ACEOF
2699 +cat confdefs.h >>conftest.$ac_ext
2700 +cat >>conftest.$ac_ext <<_ACEOF
2701 +/* end confdefs.h.  */
2702  
2703  int
2704  main ()
2705 @@ -1338,100 +1663,120 @@
2706  }
2707  _ACEOF
2708  ac_clean_files_save=$ac_clean_files
2709 -ac_clean_files="$ac_clean_files a.out a.exe"
2710 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
2711  # Try to create an executable without -o first, disregard a.out.
2712  # It will help us diagnose broken compilers, and finding out an intuition
2713  # of exeext.
2714 -echo "$as_me:1345: checking for C compiler default output" >&5
2715 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
2716  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2717  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2718 -if { (eval echo "$as_me:1348: \"$ac_link_default\"") >&5
2719 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2720    (eval $ac_link_default) 2>&5
2721    ac_status=$?
2722 -  echo "$as_me:1351: \$? = $ac_status" >&5
2723 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724    (exit $ac_status); }; then
2725    # Find the output, starting from the most likely.  This scheme is
2726  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2727  # resort.
2728 -for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2729 -                ls a.out conftest 2>/dev/null;
2730 -                ls a.* conftest.* 2>/dev/null`; do
2731 +
2732 +# Be careful to initialize this variable, since it used to be cached.
2733 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2734 +ac_cv_exeext=
2735 +# b.out is created by i960 compilers.
2736 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2737 +do
2738 +  test -f "$ac_file" || continue
2739    case $ac_file in
2740 -    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2741 -    a.out ) # We found the default executable, but exeext='' is most
2742 -            # certainly right.
2743 -            break;;
2744 -    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2745 -          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2746 -          export ac_cv_exeext
2747 -          break;;
2748 -    * ) break;;
2749 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2750 +        ;;
2751 +    conftest.$ac_ext )
2752 +        # This is the source file.
2753 +        ;;
2754 +    [ab].out )
2755 +        # We found the default executable, but exeext='' is most
2756 +        # certainly right.
2757 +        break;;
2758 +    *.* )
2759 +        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2760 +        # FIXME: I believe we export ac_cv_exeext for Libtool,
2761 +        # but it would be cool to find out if it's true.  Does anybody
2762 +        # maintain Libtool? --akim.
2763 +        export ac_cv_exeext
2764 +        break;;
2765 +    * )
2766 +        break;;
2767    esac
2768  done
2769  else
2770    echo "$as_me: failed program was:" >&5
2771 -cat conftest.$ac_ext >&5
2772 -{ { echo "$as_me:1374: error: C compiler cannot create executables" >&5
2773 -echo "$as_me: error: C compiler cannot create executables" >&2;}
2774 +sed 's/^/| /' conftest.$ac_ext >&5
2775 +
2776 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2777 +See \`config.log' for more details." >&5
2778 +echo "$as_me: error: C compiler cannot create executables
2779 +See \`config.log' for more details." >&2;}
2780     { (exit 77); exit 77; }; }
2781  fi
2782  
2783  ac_exeext=$ac_cv_exeext
2784 -echo "$as_me:1380: result: $ac_file" >&5
2785 +echo "$as_me:$LINENO: result: $ac_file" >&5
2786  echo "${ECHO_T}$ac_file" >&6
2787  
2788  # Check the compiler produces executables we can run.  If not, either
2789  # the compiler is broken, or we cross compile.
2790 -echo "$as_me:1385: checking whether the C compiler works" >&5
2791 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2792  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2793  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2794  # If not cross compiling, check that we can run a simple program.
2795  if test "$cross_compiling" != yes; then
2796    if { ac_try='./$ac_file'
2797 -  { (eval echo "$as_me:1391: \"$ac_try\"") >&5
2798 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799    (eval $ac_try) 2>&5
2800    ac_status=$?
2801 -  echo "$as_me:1394: \$? = $ac_status" >&5
2802 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803    (exit $ac_status); }; }; then
2804      cross_compiling=no
2805    else
2806      if test "$cross_compiling" = maybe; then
2807         cross_compiling=yes
2808      else
2809 -       { { echo "$as_me:1401: error: cannot run C compiled programs.
2810 -If you meant to cross compile, use \`--host'." >&5
2811 +       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2812 +If you meant to cross compile, use \`--host'.
2813 +See \`config.log' for more details." >&5
2814  echo "$as_me: error: cannot run C compiled programs.
2815 -If you meant to cross compile, use \`--host'." >&2;}
2816 +If you meant to cross compile, use \`--host'.
2817 +See \`config.log' for more details." >&2;}
2818     { (exit 1); exit 1; }; }
2819      fi
2820    fi
2821  fi
2822 -echo "$as_me:1409: result: yes" >&5
2823 +echo "$as_me:$LINENO: result: yes" >&5
2824  echo "${ECHO_T}yes" >&6
2825  
2826 -rm -f a.out a.exe conftest$ac_cv_exeext
2827 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
2828  ac_clean_files=$ac_clean_files_save
2829  # Check the compiler produces executables we can run.  If not, either
2830  # the compiler is broken, or we cross compile.
2831 -echo "$as_me:1416: checking whether we are cross compiling" >&5
2832 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2833  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2834 -echo "$as_me:1418: result: $cross_compiling" >&5
2835 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
2836  echo "${ECHO_T}$cross_compiling" >&6
2837  
2838 -echo "$as_me:1421: checking for executable suffix" >&5
2839 -echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2840 -if { (eval echo "$as_me:1423: \"$ac_link\"") >&5
2841 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
2842 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2843 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2844    (eval $ac_link) 2>&5
2845    ac_status=$?
2846 -  echo "$as_me:1426: \$? = $ac_status" >&5
2847 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848    (exit $ac_status); }; then
2849    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2850  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2851  # work properly (i.e., refer to `conftest.exe'), while it won't with
2852  # `rm'.
2853 -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2854 +for ac_file in conftest.exe conftest conftest.*; do
2855 +  test -f "$ac_file" || continue
2856    case $ac_file in
2857 -    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2858 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2859      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2860            export ac_cv_exeext
2861            break;;
2862 @@ -1439,26 +1784,32 @@
2863    esac
2864  done
2865  else
2866 -  { { echo "$as_me:1442: error: cannot compute EXEEXT: cannot compile and link" >&5
2867 -echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2868 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2869 +See \`config.log' for more details." >&5
2870 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2871 +See \`config.log' for more details." >&2;}
2872     { (exit 1); exit 1; }; }
2873  fi
2874  
2875  rm -f conftest$ac_cv_exeext
2876 -echo "$as_me:1448: result: $ac_cv_exeext" >&5
2877 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2878  echo "${ECHO_T}$ac_cv_exeext" >&6
2879  
2880  rm -f conftest.$ac_ext
2881  EXEEXT=$ac_cv_exeext
2882  ac_exeext=$EXEEXT
2883 -echo "$as_me:1454: checking for object suffix" >&5
2884 -echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2885 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
2886 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2887  if test "${ac_cv_objext+set}" = set; then
2888    echo $ECHO_N "(cached) $ECHO_C" >&6
2889  else
2890    cat >conftest.$ac_ext <<_ACEOF
2891 -#line 1460 "configure"
2892 -#include "confdefs.h"
2893 +#line $LINENO "configure"
2894 +/* confdefs.h.  */
2895 +_ACEOF
2896 +cat confdefs.h >>conftest.$ac_ext
2897 +cat >>conftest.$ac_ext <<_ACEOF
2898 +/* end confdefs.h.  */
2899  
2900  int
2901  main ()
2902 @@ -1469,40 +1820,47 @@
2903  }
2904  _ACEOF
2905  rm -f conftest.o conftest.obj
2906 -if { (eval echo "$as_me:1472: \"$ac_compile\"") >&5
2907 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908    (eval $ac_compile) 2>&5
2909    ac_status=$?
2910 -  echo "$as_me:1475: \$? = $ac_status" >&5
2911 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912    (exit $ac_status); }; then
2913    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2914    case $ac_file in
2915 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2916 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2917      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2918         break;;
2919    esac
2920  done
2921  else
2922    echo "$as_me: failed program was:" >&5
2923 -cat conftest.$ac_ext >&5
2924 -{ { echo "$as_me:1487: error: cannot compute OBJEXT: cannot compile" >&5
2925 -echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2926 +sed 's/^/| /' conftest.$ac_ext >&5
2927 +
2928 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2929 +See \`config.log' for more details." >&5
2930 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
2931 +See \`config.log' for more details." >&2;}
2932     { (exit 1); exit 1; }; }
2933  fi
2934  
2935  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2936  fi
2937 -echo "$as_me:1494: result: $ac_cv_objext" >&5
2938 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2939  echo "${ECHO_T}$ac_cv_objext" >&6
2940  OBJEXT=$ac_cv_objext
2941  ac_objext=$OBJEXT
2942 -echo "$as_me:1498: checking whether we are using the GNU C compiler" >&5
2943 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2944  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2945  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2946    echo $ECHO_N "(cached) $ECHO_C" >&6
2947  else
2948    cat >conftest.$ac_ext <<_ACEOF
2949 -#line 1504 "configure"
2950 -#include "confdefs.h"
2951 +#line $LINENO "configure"
2952 +/* confdefs.h.  */
2953 +_ACEOF
2954 +cat confdefs.h >>conftest.$ac_ext
2955 +cat >>conftest.$ac_ext <<_ACEOF
2956 +/* end confdefs.h.  */
2957  
2958  int
2959  main ()
2960 @@ -1516,41 +1874,46 @@
2961  }
2962  _ACEOF
2963  rm -f conftest.$ac_objext
2964 -if { (eval echo "$as_me:1519: \"$ac_compile\"") >&5
2965 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2966    (eval $ac_compile) 2>&5
2967    ac_status=$?
2968 -  echo "$as_me:1522: \$? = $ac_status" >&5
2969 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970    (exit $ac_status); } &&
2971           { ac_try='test -s conftest.$ac_objext'
2972 -  { (eval echo "$as_me:1525: \"$ac_try\"") >&5
2973 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974    (eval $ac_try) 2>&5
2975    ac_status=$?
2976 -  echo "$as_me:1528: \$? = $ac_status" >&5
2977 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978    (exit $ac_status); }; }; then
2979    ac_compiler_gnu=yes
2980  else
2981    echo "$as_me: failed program was:" >&5
2982 -cat conftest.$ac_ext >&5
2983 +sed 's/^/| /' conftest.$ac_ext >&5
2984 +
2985  ac_compiler_gnu=no
2986  fi
2987  rm -f conftest.$ac_objext conftest.$ac_ext
2988  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2989  
2990  fi
2991 -echo "$as_me:1540: result: $ac_cv_c_compiler_gnu" >&5
2992 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2993  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2994  GCC=`test $ac_compiler_gnu = yes && echo yes`
2995  ac_test_CFLAGS=${CFLAGS+set}
2996  ac_save_CFLAGS=$CFLAGS
2997  CFLAGS="-g"
2998 -echo "$as_me:1546: checking whether $CC accepts -g" >&5
2999 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3000  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3001  if test "${ac_cv_prog_cc_g+set}" = set; then
3002    echo $ECHO_N "(cached) $ECHO_C" >&6
3003  else
3004    cat >conftest.$ac_ext <<_ACEOF
3005 -#line 1552 "configure"
3006 -#include "confdefs.h"
3007 +#line $LINENO "configure"
3008 +/* confdefs.h.  */
3009 +_ACEOF
3010 +cat confdefs.h >>conftest.$ac_ext
3011 +cat >>conftest.$ac_ext <<_ACEOF
3012 +/* end confdefs.h.  */
3013  
3014  int
3015  main ()
3016 @@ -1561,26 +1924,27 @@
3017  }
3018  _ACEOF
3019  rm -f conftest.$ac_objext
3020 -if { (eval echo "$as_me:1564: \"$ac_compile\"") >&5
3021 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022    (eval $ac_compile) 2>&5
3023    ac_status=$?
3024 -  echo "$as_me:1567: \$? = $ac_status" >&5
3025 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026    (exit $ac_status); } &&
3027           { ac_try='test -s conftest.$ac_objext'
3028 -  { (eval echo "$as_me:1570: \"$ac_try\"") >&5
3029 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030    (eval $ac_try) 2>&5
3031    ac_status=$?
3032 -  echo "$as_me:1573: \$? = $ac_status" >&5
3033 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034    (exit $ac_status); }; }; then
3035    ac_cv_prog_cc_g=yes
3036  else
3037    echo "$as_me: failed program was:" >&5
3038 -cat conftest.$ac_ext >&5
3039 +sed 's/^/| /' conftest.$ac_ext >&5
3040 +
3041  ac_cv_prog_cc_g=no
3042  fi
3043  rm -f conftest.$ac_objext conftest.$ac_ext
3044  fi
3045 -echo "$as_me:1583: result: $ac_cv_prog_cc_g" >&5
3046 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3048  if test "$ac_test_CFLAGS" = set; then
3049    CFLAGS=$ac_save_CFLAGS
3050 @@ -1597,6 +1961,102 @@
3051      CFLAGS=
3052    fi
3053  fi
3054 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3055 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3056 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
3057 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3058 +else
3059 +  ac_cv_prog_cc_stdc=no
3060 +ac_save_CC=$CC
3061 +cat >conftest.$ac_ext <<_ACEOF
3062 +#line $LINENO "configure"
3063 +/* confdefs.h.  */
3064 +_ACEOF
3065 +cat confdefs.h >>conftest.$ac_ext
3066 +cat >>conftest.$ac_ext <<_ACEOF
3067 +/* end confdefs.h.  */
3068 +#include <stdarg.h>
3069 +#include <stdio.h>
3070 +#include <sys/types.h>
3071 +#include <sys/stat.h>
3072 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3073 +struct buf { int x; };
3074 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
3075 +static char *e (p, i)
3076 +     char **p;
3077 +     int i;
3078 +{
3079 +  return p[i];
3080 +}
3081 +static char *f (char * (*g) (char **, int), char **p, ...)
3082 +{
3083 +  char *s;
3084 +  va_list v;
3085 +  va_start (v,p);
3086 +  s = g (p, va_arg (v,int));
3087 +  va_end (v);
3088 +  return s;
3089 +}
3090 +int test (int i, double x);
3091 +struct s1 {int (*f) (int a);};
3092 +struct s2 {int (*f) (double a);};
3093 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3094 +int argc;
3095 +char **argv;
3096 +int
3097 +main ()
3098 +{
3099 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3100 +  ;
3101 +  return 0;
3102 +}
3103 +_ACEOF
3104 +# Don't try gcc -ansi; that turns off useful extensions and
3105 +# breaks some systems' header files.
3106 +# AIX                  -qlanglvl=ansi
3107 +# Ultrix and OSF/1     -std1
3108 +# HP-UX 10.20 and later        -Ae
3109 +# HP-UX older versions -Aa -D_HPUX_SOURCE
3110 +# SVR4                 -Xc -D__EXTENSIONS__
3111 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3112 +do
3113 +  CC="$ac_save_CC $ac_arg"
3114 +  rm -f conftest.$ac_objext
3115 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3116 +  (eval $ac_compile) 2>&5
3117 +  ac_status=$?
3118 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 +  (exit $ac_status); } &&
3120 +         { ac_try='test -s conftest.$ac_objext'
3121 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 +  (eval $ac_try) 2>&5
3123 +  ac_status=$?
3124 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 +  (exit $ac_status); }; }; then
3126 +  ac_cv_prog_cc_stdc=$ac_arg
3127 +break
3128 +else
3129 +  echo "$as_me: failed program was:" >&5
3130 +sed 's/^/| /' conftest.$ac_ext >&5
3131 +
3132 +fi
3133 +rm -f conftest.$ac_objext
3134 +done
3135 +rm -f conftest.$ac_ext conftest.$ac_objext
3136 +CC=$ac_save_CC
3137 +
3138 +fi
3139 +
3140 +case "x$ac_cv_prog_cc_stdc" in
3141 +  x|xno)
3142 +    echo "$as_me:$LINENO: result: none needed" >&5
3143 +echo "${ECHO_T}none needed" >&6 ;;
3144 +  *)
3145 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3146 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3147 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
3148 +esac
3149 +
3150  # Some people use a C++ compiler to compile C.  Since we use `exit',
3151  # in C++ we need to declare it.  In case someone uses the same compiler
3152  # for both compiling C and C++ we need to have the C++ compiler decide
3153 @@ -1607,16 +2067,16 @@
3154  #endif
3155  _ACEOF
3156  rm -f conftest.$ac_objext
3157 -if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5
3158 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159    (eval $ac_compile) 2>&5
3160    ac_status=$?
3161 -  echo "$as_me:1613: \$? = $ac_status" >&5
3162 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163    (exit $ac_status); } &&
3164           { ac_try='test -s conftest.$ac_objext'
3165 -  { (eval echo "$as_me:1616: \"$ac_try\"") >&5
3166 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167    (eval $ac_try) 2>&5
3168    ac_status=$?
3169 -  echo "$as_me:1619: \$? = $ac_status" >&5
3170 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171    (exit $ac_status); }; }; then
3172    for ac_declaration in \
3173     ''\
3174 @@ -1628,8 +2088,12 @@
3175     'void exit (int);'
3176  do
3177    cat >conftest.$ac_ext <<_ACEOF
3178 -#line 1631 "configure"
3179 -#include "confdefs.h"
3180 +#line $LINENO "configure"
3181 +/* confdefs.h.  */
3182 +_ACEOF
3183 +cat confdefs.h >>conftest.$ac_ext
3184 +cat >>conftest.$ac_ext <<_ACEOF
3185 +/* end confdefs.h.  */
3186  #include <stdlib.h>
3187  $ac_declaration
3188  int
3189 @@ -1641,27 +2105,32 @@
3190  }
3191  _ACEOF
3192  rm -f conftest.$ac_objext
3193 -if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5
3194 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195    (eval $ac_compile) 2>&5
3196    ac_status=$?
3197 -  echo "$as_me:1647: \$? = $ac_status" >&5
3198 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199    (exit $ac_status); } &&
3200           { ac_try='test -s conftest.$ac_objext'
3201 -  { (eval echo "$as_me:1650: \"$ac_try\"") >&5
3202 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203    (eval $ac_try) 2>&5
3204    ac_status=$?
3205 -  echo "$as_me:1653: \$? = $ac_status" >&5
3206 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207    (exit $ac_status); }; }; then
3208    :
3209  else
3210    echo "$as_me: failed program was:" >&5
3211 -cat conftest.$ac_ext >&5
3212 +sed 's/^/| /' conftest.$ac_ext >&5
3213 +
3214  continue
3215  fi
3216  rm -f conftest.$ac_objext conftest.$ac_ext
3217    cat >conftest.$ac_ext <<_ACEOF
3218 -#line 1663 "configure"
3219 -#include "confdefs.h"
3220 +#line $LINENO "configure"
3221 +/* confdefs.h.  */
3222 +_ACEOF
3223 +cat confdefs.h >>conftest.$ac_ext
3224 +cat >>conftest.$ac_ext <<_ACEOF
3225 +/* end confdefs.h.  */
3226  $ac_declaration
3227  int
3228  main ()
3229 @@ -1672,21 +2141,22 @@
3230  }
3231  _ACEOF
3232  rm -f conftest.$ac_objext
3233 -if { (eval echo "$as_me:1675: \"$ac_compile\"") >&5
3234 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235    (eval $ac_compile) 2>&5
3236    ac_status=$?
3237 -  echo "$as_me:1678: \$? = $ac_status" >&5
3238 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239    (exit $ac_status); } &&
3240           { ac_try='test -s conftest.$ac_objext'
3241 -  { (eval echo "$as_me:1681: \"$ac_try\"") >&5
3242 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243    (eval $ac_try) 2>&5
3244    ac_status=$?
3245 -  echo "$as_me:1684: \$? = $ac_status" >&5
3246 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247    (exit $ac_status); }; }; then
3248    break
3249  else
3250    echo "$as_me: failed program was:" >&5
3251 -cat conftest.$ac_ext >&5
3252 +sed 's/^/| /' conftest.$ac_ext >&5
3253 +
3254  fi
3255  rm -f conftest.$ac_objext conftest.$ac_ext
3256  done
3257 @@ -1699,7 +2169,8 @@
3258  
3259  else
3260    echo "$as_me: failed program was:" >&5
3261 -cat conftest.$ac_ext >&5
3262 +sed 's/^/| /' conftest.$ac_ext >&5
3263 +
3264  fi
3265  rm -f conftest.$ac_objext conftest.$ac_ext
3266  ac_ext=c
3267 @@ -1725,7 +2196,7 @@
3268    fi
3269  done
3270  if test -z "$ac_aux_dir"; then
3271 -  { { echo "$as_me:1728: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3272 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3273  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3274     { (exit 1); exit 1; }; }
3275  fi
3276 @@ -1735,11 +2206,11 @@
3277  
3278  # Make sure we can run config.sub.
3279  $ac_config_sub sun4 >/dev/null 2>&1 ||
3280 -  { { echo "$as_me:1738: error: cannot run $ac_config_sub" >&5
3281 +  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3282  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3283     { (exit 1); exit 1; }; }
3284  
3285 -echo "$as_me:1742: checking build system type" >&5
3286 +echo "$as_me:$LINENO: checking build system type" >&5
3287  echo $ECHO_N "checking build system type... $ECHO_C" >&6
3288  if test "${ac_cv_build+set}" = set; then
3289    echo $ECHO_N "(cached) $ECHO_C" >&6
3290 @@ -1748,23 +2219,24 @@
3291  test -z "$ac_cv_build_alias" &&
3292    ac_cv_build_alias=`$ac_config_guess`
3293  test -z "$ac_cv_build_alias" &&
3294 -  { { echo "$as_me:1751: error: cannot guess build type; you must specify one" >&5
3295 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3296  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3297     { (exit 1); exit 1; }; }
3298  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3299 -  { { echo "$as_me:1755: error: $ac_config_sub $ac_cv_build_alias failed." >&5
3300 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
3301 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3302 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3303     { (exit 1); exit 1; }; }
3304  
3305  fi
3306 -echo "$as_me:1760: result: $ac_cv_build" >&5
3307 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3308  echo "${ECHO_T}$ac_cv_build" >&6
3309  build=$ac_cv_build
3310  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3311  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3312  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3313  
3314 -echo "$as_me:1767: checking host system type" >&5
3315 +
3316 +echo "$as_me:$LINENO: checking host system type" >&5
3317  echo $ECHO_N "checking host system type... $ECHO_C" >&6
3318  if test "${ac_cv_host+set}" = set; then
3319    echo $ECHO_N "(cached) $ECHO_C" >&6
3320 @@ -1773,28 +2245,33 @@
3321  test -z "$ac_cv_host_alias" &&
3322    ac_cv_host_alias=$ac_cv_build_alias
3323  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3324 -  { { echo "$as_me:1776: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3325 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3326  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3327     { (exit 1); exit 1; }; }
3328  
3329  fi
3330 -echo "$as_me:1781: result: $ac_cv_host" >&5
3331 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3332  echo "${ECHO_T}$ac_cv_host" >&6
3333  host=$ac_cv_host
3334  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3335  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3336  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3337  
3338 -echo "$as_me:1788: checking whether byte ordering is bigendian" >&5
3339 +
3340 +
3341 +echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3342  echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3343  if test "${ac_cv_c_bigendian+set}" = set; then
3344    echo $ECHO_N "(cached) $ECHO_C" >&6
3345  else
3346 -  ac_cv_c_bigendian=unknown
3347 -# See if sys/param.h defines the BYTE_ORDER macro.
3348 +  # See if sys/param.h defines the BYTE_ORDER macro.
3349  cat >conftest.$ac_ext <<_ACEOF
3350 -#line 1796 "configure"
3351 -#include "confdefs.h"
3352 +#line $LINENO "configure"
3353 +/* confdefs.h.  */
3354 +_ACEOF
3355 +cat confdefs.h >>conftest.$ac_ext
3356 +cat >>conftest.$ac_ext <<_ACEOF
3357 +/* end confdefs.h.  */
3358  #include <sys/types.h>
3359  #include <sys/param.h>
3360  
3361 @@ -1810,21 +2287,25 @@
3362  }
3363  _ACEOF
3364  rm -f conftest.$ac_objext
3365 -if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5
3366 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3367    (eval $ac_compile) 2>&5
3368    ac_status=$?
3369 -  echo "$as_me:1816: \$? = $ac_status" >&5
3370 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371    (exit $ac_status); } &&
3372           { ac_try='test -s conftest.$ac_objext'
3373 -  { (eval echo "$as_me:1819: \"$ac_try\"") >&5
3374 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375    (eval $ac_try) 2>&5
3376    ac_status=$?
3377 -  echo "$as_me:1822: \$? = $ac_status" >&5
3378 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379    (exit $ac_status); }; }; then
3380    # It does; now see whether it defined to BIG_ENDIAN or not.
3381  cat >conftest.$ac_ext <<_ACEOF
3382 -#line 1826 "configure"
3383 -#include "confdefs.h"
3384 +#line $LINENO "configure"
3385 +/* confdefs.h.  */
3386 +_ACEOF
3387 +cat confdefs.h >>conftest.$ac_ext
3388 +cat >>conftest.$ac_ext <<_ACEOF
3389 +/* end confdefs.h.  */
3390  #include <sys/types.h>
3391  #include <sys/param.h>
3392  
3393 @@ -1840,38 +2321,91 @@
3394  }
3395  _ACEOF
3396  rm -f conftest.$ac_objext
3397 -if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5
3398 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399    (eval $ac_compile) 2>&5
3400    ac_status=$?
3401 -  echo "$as_me:1846: \$? = $ac_status" >&5
3402 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403    (exit $ac_status); } &&
3404           { ac_try='test -s conftest.$ac_objext'
3405 -  { (eval echo "$as_me:1849: \"$ac_try\"") >&5
3406 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407    (eval $ac_try) 2>&5
3408    ac_status=$?
3409 -  echo "$as_me:1852: \$? = $ac_status" >&5
3410 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411    (exit $ac_status); }; }; then
3412    ac_cv_c_bigendian=yes
3413  else
3414    echo "$as_me: failed program was:" >&5
3415 -cat conftest.$ac_ext >&5
3416 +sed 's/^/| /' conftest.$ac_ext >&5
3417 +
3418  ac_cv_c_bigendian=no
3419  fi
3420  rm -f conftest.$ac_objext conftest.$ac_ext
3421  else
3422    echo "$as_me: failed program was:" >&5
3423 -cat conftest.$ac_ext >&5
3424 +sed 's/^/| /' conftest.$ac_ext >&5
3425 +
3426 +# It does not; compile a test program.
3427 +if test "$cross_compiling" = yes; then
3428 +  # try to guess the endianness by grepping values into an object file
3429 +  ac_cv_c_bigendian=unknown
3430 +  cat >conftest.$ac_ext <<_ACEOF
3431 +#line $LINENO "configure"
3432 +/* confdefs.h.  */
3433 +_ACEOF
3434 +cat confdefs.h >>conftest.$ac_ext
3435 +cat >>conftest.$ac_ext <<_ACEOF
3436 +/* end confdefs.h.  */
3437 +short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3438 +short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3439 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3440 +short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3441 +short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3442 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3443 +int
3444 +main ()
3445 +{
3446 + _ascii (); _ebcdic ();
3447 +  ;
3448 +  return 0;
3449 +}
3450 +_ACEOF
3451 +rm -f conftest.$ac_objext
3452 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 +  (eval $ac_compile) 2>&5
3454 +  ac_status=$?
3455 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 +  (exit $ac_status); } &&
3457 +         { ac_try='test -s conftest.$ac_objext'
3458 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 +  (eval $ac_try) 2>&5
3460 +  ac_status=$?
3461 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 +  (exit $ac_status); }; }; then
3463 +  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3464 +  ac_cv_c_bigendian=yes
3465 +fi
3466 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3467 +  if test "$ac_cv_c_bigendian" = unknown; then
3468 +    ac_cv_c_bigendian=no
3469 +  else
3470 +    # finding both strings is unlikely to happen, but who knows?
3471 +    ac_cv_c_bigendian=unknown
3472 +  fi
3473 +fi
3474 +else
3475 +  echo "$as_me: failed program was:" >&5
3476 +sed 's/^/| /' conftest.$ac_ext >&5
3477 +
3478  fi
3479  rm -f conftest.$ac_objext conftest.$ac_ext
3480 -if test $ac_cv_c_bigendian = unknown; then
3481 -if test "$cross_compiling" = yes; then
3482 -  { { echo "$as_me:1868: error: cannot run test program while cross compiling" >&5
3483 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3484 -   { (exit 1); exit 1; }; }
3485  else
3486    cat >conftest.$ac_ext <<_ACEOF
3487 -#line 1873 "configure"
3488 -#include "confdefs.h"
3489 +#line $LINENO "configure"
3490 +/* confdefs.h.  */
3491 +_ACEOF
3492 +cat confdefs.h >>conftest.$ac_ext
3493 +cat >>conftest.$ac_ext <<_ACEOF
3494 +/* end confdefs.h.  */
3495  int
3496  main ()
3497  {
3498 @@ -1886,43 +2420,56 @@
3499  }
3500  _ACEOF
3501  rm -f conftest$ac_exeext
3502 -if { (eval echo "$as_me:1889: \"$ac_link\"") >&5
3503 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3504    (eval $ac_link) 2>&5
3505    ac_status=$?
3506 -  echo "$as_me:1892: \$? = $ac_status" >&5
3507 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3509 -  { (eval echo "$as_me:1894: \"$ac_try\"") >&5
3510 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511    (eval $ac_try) 2>&5
3512    ac_status=$?
3513 -  echo "$as_me:1897: \$? = $ac_status" >&5
3514 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515    (exit $ac_status); }; }; then
3516    ac_cv_c_bigendian=no
3517  else
3518    echo "$as_me: program exited with status $ac_status" >&5
3519  echo "$as_me: failed program was:" >&5
3520 -cat conftest.$ac_ext >&5
3521 +sed 's/^/| /' conftest.$ac_ext >&5
3522 +
3523 +( exit $ac_status )
3524  ac_cv_c_bigendian=yes
3525  fi
3526 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3527 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3528  fi
3529  fi
3530 +rm -f conftest.$ac_objext conftest.$ac_ext
3531  fi
3532 -echo "$as_me:1910: result: $ac_cv_c_bigendian" >&5
3533 +echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3534  echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3535 -if test $ac_cv_c_bigendian = yes; then
3536 +case $ac_cv_c_bigendian in
3537 +  yes)
3538  
3539 -cat >>confdefs.h <<\EOF
3540 +cat >>confdefs.h <<\_ACEOF
3541  #define WORDS_BIGENDIAN 1
3542 -EOF
3543 +_ACEOF
3544 + ;;
3545 +  no)
3546 +     ;;
3547 +  *)
3548 +    { { echo "$as_me:$LINENO: error: unknown endianness
3549 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3550 +echo "$as_me: error: unknown endianness
3551 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3552 +   { (exit 1); exit 1; }; } ;;
3553 +esac
3554  
3555 -fi
3556  
3557  # Checks for programs.
3558 -for ac_prog in mawk gawk nawk awk
3559 +for ac_prog in gawk mawk nawk awk
3560  do
3561    # Extract the first word of "$ac_prog", so it can be a program name with args.
3562  set dummy $ac_prog; ac_word=$2
3563 -echo "$as_me:1925: checking for $ac_word" >&5
3564 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3565  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3566  if test "${ac_cv_prog_AWK+set}" = set; then
3567    echo $ECHO_N "(cached) $ECHO_C" >&6
3568 @@ -1930,25 +2477,28 @@
3569    if test -n "$AWK"; then
3570    ac_cv_prog_AWK="$AWK" # Let the user override the test.
3571  else
3572 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3573 -ac_dummy="$PATH"
3574 -for ac_dir in $ac_dummy; do
3575 -  IFS=$ac_save_IFS
3576 -  test -z "$ac_dir" && ac_dir=.
3577 -  $as_executable_p "$ac_dir/$ac_word" || continue
3578 -ac_cv_prog_AWK="$ac_prog"
3579 -echo "$as_me:1940: found $ac_dir/$ac_word" >&5
3580 -break
3581 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 +for as_dir in $PATH
3583 +do
3584 +  IFS=$as_save_IFS
3585 +  test -z "$as_dir" && as_dir=.
3586 +  for ac_exec_ext in '' $ac_executable_extensions; do
3587 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 +    ac_cv_prog_AWK="$ac_prog"
3589 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 +    break 2
3591 +  fi
3592 +done
3593  done
3594  
3595  fi
3596  fi
3597  AWK=$ac_cv_prog_AWK
3598  if test -n "$AWK"; then
3599 -  echo "$as_me:1948: result: $AWK" >&5
3600 +  echo "$as_me:$LINENO: result: $AWK" >&5
3601  echo "${ECHO_T}$AWK" >&6
3602  else
3603 -  echo "$as_me:1951: result: no" >&5
3604 +  echo "$as_me:$LINENO: result: no" >&5
3605  echo "${ECHO_T}no" >&6
3606  fi
3607  
3608 @@ -1960,7 +2510,7 @@
3609  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612 -echo "$as_me:1963: checking how to run the C preprocessor" >&5
3613 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3614  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3615  # On Suns, sometimes $CPP names a directory.
3616  if test -n "$CPP" && test -d "$CPP"; then
3617 @@ -1978,21 +2528,31 @@
3618  do
3619    # Use a header file that comes with gcc, so configuring glibc
3620    # with a fresh cross-compiler works.
3621 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3622 +  # <limits.h> exists even on freestanding compilers.
3623    # On the NeXT, cc -E runs the code through the compiler's parser,
3624    # not just through cpp. "Syntax error" is here to catch this case.
3625    cat >conftest.$ac_ext <<_ACEOF
3626 -#line 1984 "configure"
3627 -#include "confdefs.h"
3628 -#include <assert.h>
3629 +#line $LINENO "configure"
3630 +/* confdefs.h.  */
3631 +_ACEOF
3632 +cat confdefs.h >>conftest.$ac_ext
3633 +cat >>conftest.$ac_ext <<_ACEOF
3634 +/* end confdefs.h.  */
3635 +#ifdef __STDC__
3636 +# include <limits.h>
3637 +#else
3638 +# include <assert.h>
3639 +#endif
3640                       Syntax error
3641  _ACEOF
3642 -if { (eval echo "$as_me:1989: \"$ac_cpp conftest.$ac_ext\"") >&5
3643 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3644    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3645    ac_status=$?
3646 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3647 +  grep -v '^ *+' conftest.er1 >conftest.err
3648    rm -f conftest.er1
3649    cat conftest.err >&5
3650 -  echo "$as_me:1995: \$? = $ac_status" >&5
3651 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652    (exit $ac_status); } >/dev/null; then
3653    if test -s conftest.err; then
3654      ac_cpp_err=$ac_c_preproc_warn_flag
3655 @@ -2006,7 +2566,8 @@
3656    :
3657  else
3658    echo "$as_me: failed program was:" >&5
3659 -  cat conftest.$ac_ext >&5
3660 +sed 's/^/| /' conftest.$ac_ext >&5
3661 +
3662    # Broken: fails on valid input.
3663  continue
3664  fi
3665 @@ -2015,17 +2576,21 @@
3666    # OK, works on sane cases.  Now check whether non-existent headers
3667    # can be detected and how.
3668    cat >conftest.$ac_ext <<_ACEOF
3669 -#line 2018 "configure"
3670 -#include "confdefs.h"
3671 +#line $LINENO "configure"
3672 +/* confdefs.h.  */
3673 +_ACEOF
3674 +cat confdefs.h >>conftest.$ac_ext
3675 +cat >>conftest.$ac_ext <<_ACEOF
3676 +/* end confdefs.h.  */
3677  #include <ac_nonexistent.h>
3678  _ACEOF
3679 -if { (eval echo "$as_me:2022: \"$ac_cpp conftest.$ac_ext\"") >&5
3680 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3681    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3682    ac_status=$?
3683 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3684 +  grep -v '^ *+' conftest.er1 >conftest.err
3685    rm -f conftest.er1
3686    cat conftest.err >&5
3687 -  echo "$as_me:2028: \$? = $ac_status" >&5
3688 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689    (exit $ac_status); } >/dev/null; then
3690    if test -s conftest.err; then
3691      ac_cpp_err=$ac_c_preproc_warn_flag
3692 @@ -2040,7 +2605,8 @@
3693  continue
3694  else
3695    echo "$as_me: failed program was:" >&5
3696 -  cat conftest.$ac_ext >&5
3697 +sed 's/^/| /' conftest.$ac_ext >&5
3698 +
3699    # Passes both tests.
3700  ac_preproc_ok=:
3701  break
3702 @@ -2062,28 +2628,38 @@
3703  else
3704    ac_cv_prog_CPP=$CPP
3705  fi
3706 -echo "$as_me:2065: result: $CPP" >&5
3707 +echo "$as_me:$LINENO: result: $CPP" >&5
3708  echo "${ECHO_T}$CPP" >&6
3709  ac_preproc_ok=false
3710  for ac_c_preproc_warn_flag in '' yes
3711  do
3712    # Use a header file that comes with gcc, so configuring glibc
3713    # with a fresh cross-compiler works.
3714 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3715 +  # <limits.h> exists even on freestanding compilers.
3716    # On the NeXT, cc -E runs the code through the compiler's parser,
3717    # not just through cpp. "Syntax error" is here to catch this case.
3718    cat >conftest.$ac_ext <<_ACEOF
3719 -#line 2075 "configure"
3720 -#include "confdefs.h"
3721 -#include <assert.h>
3722 +#line $LINENO "configure"
3723 +/* confdefs.h.  */
3724 +_ACEOF
3725 +cat confdefs.h >>conftest.$ac_ext
3726 +cat >>conftest.$ac_ext <<_ACEOF
3727 +/* end confdefs.h.  */
3728 +#ifdef __STDC__
3729 +# include <limits.h>
3730 +#else
3731 +# include <assert.h>
3732 +#endif
3733                       Syntax error
3734  _ACEOF
3735 -if { (eval echo "$as_me:2080: \"$ac_cpp conftest.$ac_ext\"") >&5
3736 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3737    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3738    ac_status=$?
3739 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3740 +  grep -v '^ *+' conftest.er1 >conftest.err
3741    rm -f conftest.er1
3742    cat conftest.err >&5
3743 -  echo "$as_me:2086: \$? = $ac_status" >&5
3744 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745    (exit $ac_status); } >/dev/null; then
3746    if test -s conftest.err; then
3747      ac_cpp_err=$ac_c_preproc_warn_flag
3748 @@ -2097,7 +2673,8 @@
3749    :
3750  else
3751    echo "$as_me: failed program was:" >&5
3752 -  cat conftest.$ac_ext >&5
3753 +sed 's/^/| /' conftest.$ac_ext >&5
3754 +
3755    # Broken: fails on valid input.
3756  continue
3757  fi
3758 @@ -2106,17 +2683,21 @@
3759    # OK, works on sane cases.  Now check whether non-existent headers
3760    # can be detected and how.
3761    cat >conftest.$ac_ext <<_ACEOF
3762 -#line 2109 "configure"
3763 -#include "confdefs.h"
3764 +#line $LINENO "configure"
3765 +/* confdefs.h.  */
3766 +_ACEOF
3767 +cat confdefs.h >>conftest.$ac_ext
3768 +cat >>conftest.$ac_ext <<_ACEOF
3769 +/* end confdefs.h.  */
3770  #include <ac_nonexistent.h>
3771  _ACEOF
3772 -if { (eval echo "$as_me:2113: \"$ac_cpp conftest.$ac_ext\"") >&5
3773 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3774    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3775    ac_status=$?
3776 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3777 +  grep -v '^ *+' conftest.er1 >conftest.err
3778    rm -f conftest.er1
3779    cat conftest.err >&5
3780 -  echo "$as_me:2119: \$? = $ac_status" >&5
3781 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782    (exit $ac_status); } >/dev/null; then
3783    if test -s conftest.err; then
3784      ac_cpp_err=$ac_c_preproc_warn_flag
3785 @@ -2131,7 +2712,8 @@
3786  continue
3787  else
3788    echo "$as_me: failed program was:" >&5
3789 -  cat conftest.$ac_ext >&5
3790 +sed 's/^/| /' conftest.$ac_ext >&5
3791 +
3792    # Passes both tests.
3793  ac_preproc_ok=:
3794  break
3795 @@ -2144,8 +2726,10 @@
3796  if $ac_preproc_ok; then
3797    :
3798  else
3799 -  { { echo "$as_me:2147: error: C preprocessor \"$CPP\" fails sanity check" >&5
3800 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3801 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3802 +See \`config.log' for more details." >&5
3803 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3804 +See \`config.log' for more details." >&2;}
3805     { (exit 1); exit 1; }; }
3806  fi
3807  
3808 @@ -2158,7 +2742,7 @@
3809  if test -n "$ac_tool_prefix"; then
3810    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3811  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3812 -echo "$as_me:2161: checking for $ac_word" >&5
3813 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3814  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815  if test "${ac_cv_prog_RANLIB+set}" = set; then
3816    echo $ECHO_N "(cached) $ECHO_C" >&6
3817 @@ -2166,25 +2750,28 @@
3818    if test -n "$RANLIB"; then
3819    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3820  else
3821 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3822 -ac_dummy="$PATH"
3823 -for ac_dir in $ac_dummy; do
3824 -  IFS=$ac_save_IFS
3825 -  test -z "$ac_dir" && ac_dir=.
3826 -  $as_executable_p "$ac_dir/$ac_word" || continue
3827 -ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3828 -echo "$as_me:2176: found $ac_dir/$ac_word" >&5
3829 -break
3830 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 +for as_dir in $PATH
3832 +do
3833 +  IFS=$as_save_IFS
3834 +  test -z "$as_dir" && as_dir=.
3835 +  for ac_exec_ext in '' $ac_executable_extensions; do
3836 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3837 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3838 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 +    break 2
3840 +  fi
3841 +done
3842  done
3843  
3844  fi
3845  fi
3846  RANLIB=$ac_cv_prog_RANLIB
3847  if test -n "$RANLIB"; then
3848 -  echo "$as_me:2184: result: $RANLIB" >&5
3849 +  echo "$as_me:$LINENO: result: $RANLIB" >&5
3850  echo "${ECHO_T}$RANLIB" >&6
3851  else
3852 -  echo "$as_me:2187: result: no" >&5
3853 +  echo "$as_me:$LINENO: result: no" >&5
3854  echo "${ECHO_T}no" >&6
3855  fi
3856  
3857 @@ -2193,7 +2780,7 @@
3858    ac_ct_RANLIB=$RANLIB
3859    # Extract the first word of "ranlib", so it can be a program name with args.
3860  set dummy ranlib; ac_word=$2
3861 -echo "$as_me:2196: checking for $ac_word" >&5
3862 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3863  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3865    echo $ECHO_N "(cached) $ECHO_C" >&6
3866 @@ -2201,15 +2788,18 @@
3867    if test -n "$ac_ct_RANLIB"; then
3868    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3869  else
3870 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3871 -ac_dummy="$PATH"
3872 -for ac_dir in $ac_dummy; do
3873 -  IFS=$ac_save_IFS
3874 -  test -z "$ac_dir" && ac_dir=.
3875 -  $as_executable_p "$ac_dir/$ac_word" || continue
3876 -ac_cv_prog_ac_ct_RANLIB="ranlib"
3877 -echo "$as_me:2211: found $ac_dir/$ac_word" >&5
3878 -break
3879 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 +for as_dir in $PATH
3881 +do
3882 +  IFS=$as_save_IFS
3883 +  test -z "$as_dir" && as_dir=.
3884 +  for ac_exec_ext in '' $ac_executable_extensions; do
3885 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
3887 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 +    break 2
3889 +  fi
3890 +done
3891  done
3892  
3893    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3894 @@ -2217,10 +2807,10 @@
3895  fi
3896  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3897  if test -n "$ac_ct_RANLIB"; then
3898 -  echo "$as_me:2220: result: $ac_ct_RANLIB" >&5
3899 +  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3900  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3901  else
3902 -  echo "$as_me:2223: result: no" >&5
3903 +  echo "$as_me:$LINENO: result: no" >&5
3904  echo "${ECHO_T}no" >&6
3905  fi
3906  
3907 @@ -2241,43 +2831,48 @@
3908  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3909  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3910  # ./install, which can be erroneously created by make from ./install.sh.
3911 -echo "$as_me:2244: checking for a BSD compatible install" >&5
3912 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3913 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3914 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3915  if test -z "$INSTALL"; then
3916  if test "${ac_cv_path_install+set}" = set; then
3917    echo $ECHO_N "(cached) $ECHO_C" >&6
3918  else
3919 -    ac_save_IFS=$IFS; IFS=$ac_path_separator
3920 -  for ac_dir in $PATH; do
3921 -    IFS=$ac_save_IFS
3922 -    # Account for people who put trailing slashes in PATH elements.
3923 -    case $ac_dir/ in
3924 -    / | ./ | .// | /cC/* \
3925 -    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3926 -    | /usr/ucb/* ) ;;
3927 -    *)
3928 -      # OSF1 and SCO ODT 3.0 have their own names for install.
3929 -      # Don't use installbsd from OSF since it installs stuff as root
3930 -      # by default.
3931 -      for ac_prog in ginstall scoinst install; do
3932 -        if $as_executable_p "$ac_dir/$ac_prog"; then
3933 -         if test $ac_prog = install &&
3934 -            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3935 -           # AIX install.  It has an incompatible calling convention.
3936 -           :
3937 -         elif test $ac_prog = install &&
3938 -           grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3939 -           # program-specific install script used by HP pwplus--don't use.
3940 -           :
3941 -         else
3942 -           ac_cv_path_install="$ac_dir/$ac_prog -c"
3943 -           break 2
3944 -         fi
3945 -       fi
3946 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 +for as_dir in $PATH
3948 +do
3949 +  IFS=$as_save_IFS
3950 +  test -z "$as_dir" && as_dir=.
3951 +  # Account for people who put trailing slashes in PATH elements.
3952 +case $as_dir/ in
3953 +  ./ | .// | /cC/* | \
3954 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3955 +  /usr/ucb/* ) ;;
3956 +  *)
3957 +    # OSF1 and SCO ODT 3.0 have their own names for install.
3958 +    # Don't use installbsd from OSF since it installs stuff as root
3959 +    # by default.
3960 +    for ac_prog in ginstall scoinst install; do
3961 +      for ac_exec_ext in '' $ac_executable_extensions; do
3962 +        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3963 +          if test $ac_prog = install &&
3964 +            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3965 +            # AIX install.  It has an incompatible calling convention.
3966 +            :
3967 +          elif test $ac_prog = install &&
3968 +            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3969 +            # program-specific install script used by HP pwplus--don't use.
3970 +            :
3971 +          else
3972 +            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3973 +            break 3
3974 +          fi
3975 +        fi
3976        done
3977 -      ;;
3978 -    esac
3979 -  done
3980 +    done
3981 +    ;;
3982 +esac
3983 +done
3984 +
3985  
3986  fi
3987    if test "${ac_cv_path_install+set}" = set; then
3988 @@ -2290,7 +2885,7 @@
3989      INSTALL=$ac_install_sh
3990    fi
3991  fi
3992 -echo "$as_me:2293: result: $INSTALL" >&5
3993 +echo "$as_me:$LINENO: result: $INSTALL" >&5
3994  echo "${ECHO_T}$INSTALL" >&6
3995  
3996  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3997 @@ -2303,7 +2898,7 @@
3998  
3999  # Extract the first word of "ar", so it can be a program name with args.
4000  set dummy ar; ac_word=$2
4001 -echo "$as_me:2306: checking for $ac_word" >&5
4002 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4003  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4004  if test "${ac_cv_path_AR+set}" = set; then
4005    echo $ECHO_N "(cached) $ECHO_C" >&6
4006 @@ -2313,16 +2908,18 @@
4007    ac_cv_path_AR="$AR" # Let the user override the test with a path.
4008    ;;
4009    *)
4010 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4011 -ac_dummy="$PATH"
4012 -for ac_dir in $ac_dummy; do
4013 -  IFS=$ac_save_IFS
4014 -  test -z "$ac_dir" && ac_dir=.
4015 -  if $as_executable_p "$ac_dir/$ac_word"; then
4016 -   ac_cv_path_AR="$ac_dir/$ac_word"
4017 -   echo "$as_me:2323: found $ac_dir/$ac_word" >&5
4018 -   break
4019 -fi
4020 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021 +for as_dir in $PATH
4022 +do
4023 +  IFS=$as_save_IFS
4024 +  test -z "$as_dir" && as_dir=.
4025 +  for ac_exec_ext in '' $ac_executable_extensions; do
4026 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4027 +    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4028 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 +    break 2
4030 +  fi
4031 +done
4032  done
4033  
4034    ;;
4035 @@ -2331,10 +2928,10 @@
4036  AR=$ac_cv_path_AR
4037  
4038  if test -n "$AR"; then
4039 -  echo "$as_me:2334: result: $AR" >&5
4040 +  echo "$as_me:$LINENO: result: $AR" >&5
4041  echo "${ECHO_T}$AR" >&6
4042  else
4043 -  echo "$as_me:2337: result: no" >&5
4044 +  echo "$as_me:$LINENO: result: no" >&5
4045  echo "${ECHO_T}no" >&6
4046  fi
4047  
4048 @@ -2342,7 +2939,7 @@
4049  do
4050    # Extract the first word of "$ac_prog", so it can be a program name with args.
4051  set dummy $ac_prog; ac_word=$2
4052 -echo "$as_me:2345: checking for $ac_word" >&5
4053 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4054  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4055  if test "${ac_cv_path_PERL+set}" = set; then
4056    echo $ECHO_N "(cached) $ECHO_C" >&6
4057 @@ -2352,16 +2949,18 @@
4058    ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4059    ;;
4060    *)
4061 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4062 -ac_dummy="$PATH"
4063 -for ac_dir in $ac_dummy; do
4064 -  IFS=$ac_save_IFS
4065 -  test -z "$ac_dir" && ac_dir=.
4066 -  if $as_executable_p "$ac_dir/$ac_word"; then
4067 -   ac_cv_path_PERL="$ac_dir/$ac_word"
4068 -   echo "$as_me:2362: found $ac_dir/$ac_word" >&5
4069 -   break
4070 -fi
4071 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 +for as_dir in $PATH
4073 +do
4074 +  IFS=$as_save_IFS
4075 +  test -z "$as_dir" && as_dir=.
4076 +  for ac_exec_ext in '' $ac_executable_extensions; do
4077 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 +    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4079 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 +    break 2
4081 +  fi
4082 +done
4083  done
4084  
4085    ;;
4086 @@ -2370,10 +2969,10 @@
4087  PERL=$ac_cv_path_PERL
4088  
4089  if test -n "$PERL"; then
4090 -  echo "$as_me:2373: result: $PERL" >&5
4091 +  echo "$as_me:$LINENO: result: $PERL" >&5
4092  echo "${ECHO_T}$PERL" >&6
4093  else
4094 -  echo "$as_me:2376: result: no" >&5
4095 +  echo "$as_me:$LINENO: result: no" >&5
4096  echo "${ECHO_T}no" >&6
4097  fi
4098  
4099 @@ -2382,7 +2981,7 @@
4100  
4101  # Extract the first word of "sed", so it can be a program name with args.
4102  set dummy sed; ac_word=$2
4103 -echo "$as_me:2385: checking for $ac_word" >&5
4104 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4105  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4106  if test "${ac_cv_path_SED+set}" = set; then
4107    echo $ECHO_N "(cached) $ECHO_C" >&6
4108 @@ -2392,16 +2991,18 @@
4109    ac_cv_path_SED="$SED" # Let the user override the test with a path.
4110    ;;
4111    *)
4112 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4113 -ac_dummy="$PATH"
4114 -for ac_dir in $ac_dummy; do
4115 -  IFS=$ac_save_IFS
4116 -  test -z "$ac_dir" && ac_dir=.
4117 -  if $as_executable_p "$ac_dir/$ac_word"; then
4118 -   ac_cv_path_SED="$ac_dir/$ac_word"
4119 -   echo "$as_me:2402: found $ac_dir/$ac_word" >&5
4120 -   break
4121 -fi
4122 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 +for as_dir in $PATH
4124 +do
4125 +  IFS=$as_save_IFS
4126 +  test -z "$as_dir" && as_dir=.
4127 +  for ac_exec_ext in '' $ac_executable_extensions; do
4128 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4129 +    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4130 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 +    break 2
4132 +  fi
4133 +done
4134  done
4135  
4136    ;;
4137 @@ -2410,16 +3011,17 @@
4138  SED=$ac_cv_path_SED
4139  
4140  if test -n "$SED"; then
4141 -  echo "$as_me:2413: result: $SED" >&5
4142 +  echo "$as_me:$LINENO: result: $SED" >&5
4143  echo "${ECHO_T}$SED" >&6
4144  else
4145 -  echo "$as_me:2416: result: no" >&5
4146 +  echo "$as_me:$LINENO: result: no" >&5
4147  echo "${ECHO_T}no" >&6
4148  fi
4149  
4150 +
4151  # Extract the first word of "ent", so it can be a program name with args.
4152  set dummy ent; ac_word=$2
4153 -echo "$as_me:2422: checking for $ac_word" >&5
4154 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4155  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4156  if test "${ac_cv_path_ENT+set}" = set; then
4157    echo $ECHO_N "(cached) $ECHO_C" >&6
4158 @@ -2429,16 +3031,18 @@
4159    ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
4160    ;;
4161    *)
4162 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4163 -ac_dummy="$PATH"
4164 -for ac_dir in $ac_dummy; do
4165 -  IFS=$ac_save_IFS
4166 -  test -z "$ac_dir" && ac_dir=.
4167 -  if $as_executable_p "$ac_dir/$ac_word"; then
4168 -   ac_cv_path_ENT="$ac_dir/$ac_word"
4169 -   echo "$as_me:2439: found $ac_dir/$ac_word" >&5
4170 -   break
4171 -fi
4172 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 +for as_dir in $PATH
4174 +do
4175 +  IFS=$as_save_IFS
4176 +  test -z "$as_dir" && as_dir=.
4177 +  for ac_exec_ext in '' $ac_executable_extensions; do
4178 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179 +    ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
4180 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 +    break 2
4182 +  fi
4183 +done
4184  done
4185  
4186    ;;
4187 @@ -2447,16 +3051,17 @@
4188  ENT=$ac_cv_path_ENT
4189  
4190  if test -n "$ENT"; then
4191 -  echo "$as_me:2450: result: $ENT" >&5
4192 +  echo "$as_me:$LINENO: result: $ENT" >&5
4193  echo "${ECHO_T}$ENT" >&6
4194  else
4195 -  echo "$as_me:2453: result: no" >&5
4196 +  echo "$as_me:$LINENO: result: no" >&5
4197  echo "${ECHO_T}no" >&6
4198  fi
4199  
4200 +
4201  # Extract the first word of "bash", so it can be a program name with args.
4202  set dummy bash; ac_word=$2
4203 -echo "$as_me:2459: checking for $ac_word" >&5
4204 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4205  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4206  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4207    echo $ECHO_N "(cached) $ECHO_C" >&6
4208 @@ -2466,16 +3071,18 @@
4209    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4210    ;;
4211    *)
4212 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4213 -ac_dummy="$PATH"
4214 -for ac_dir in $ac_dummy; do
4215 -  IFS=$ac_save_IFS
4216 -  test -z "$ac_dir" && ac_dir=.
4217 -  if $as_executable_p "$ac_dir/$ac_word"; then
4218 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4219 -   echo "$as_me:2476: found $ac_dir/$ac_word" >&5
4220 -   break
4221 -fi
4222 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4223 +for as_dir in $PATH
4224 +do
4225 +  IFS=$as_save_IFS
4226 +  test -z "$as_dir" && as_dir=.
4227 +  for ac_exec_ext in '' $ac_executable_extensions; do
4228 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4230 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 +    break 2
4232 +  fi
4233 +done
4234  done
4235  
4236    ;;
4237 @@ -2484,16 +3091,16 @@
4238  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4239  
4240  if test -n "$TEST_MINUS_S_SH"; then
4241 -  echo "$as_me:2487: result: $TEST_MINUS_S_SH" >&5
4242 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4243  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4244  else
4245 -  echo "$as_me:2490: result: no" >&5
4246 +  echo "$as_me:$LINENO: result: no" >&5
4247  echo "${ECHO_T}no" >&6
4248  fi
4249  
4250  # Extract the first word of "ksh", so it can be a program name with args.
4251  set dummy ksh; ac_word=$2
4252 -echo "$as_me:2496: checking for $ac_word" >&5
4253 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4254  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4255  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4256    echo $ECHO_N "(cached) $ECHO_C" >&6
4257 @@ -2503,16 +3110,18 @@
4258    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4259    ;;
4260    *)
4261 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4262 -ac_dummy="$PATH"
4263 -for ac_dir in $ac_dummy; do
4264 -  IFS=$ac_save_IFS
4265 -  test -z "$ac_dir" && ac_dir=.
4266 -  if $as_executable_p "$ac_dir/$ac_word"; then
4267 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4268 -   echo "$as_me:2513: found $ac_dir/$ac_word" >&5
4269 -   break
4270 -fi
4271 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 +for as_dir in $PATH
4273 +do
4274 +  IFS=$as_save_IFS
4275 +  test -z "$as_dir" && as_dir=.
4276 +  for ac_exec_ext in '' $ac_executable_extensions; do
4277 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4278 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4279 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 +    break 2
4281 +  fi
4282 +done
4283  done
4284  
4285    ;;
4286 @@ -2521,16 +3130,16 @@
4287  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4288  
4289  if test -n "$TEST_MINUS_S_SH"; then
4290 -  echo "$as_me:2524: result: $TEST_MINUS_S_SH" >&5
4291 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4292  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4293  else
4294 -  echo "$as_me:2527: result: no" >&5
4295 +  echo "$as_me:$LINENO: result: no" >&5
4296  echo "${ECHO_T}no" >&6
4297  fi
4298  
4299  # Extract the first word of "sh", so it can be a program name with args.
4300  set dummy sh; ac_word=$2
4301 -echo "$as_me:2533: checking for $ac_word" >&5
4302 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4303  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4304  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4305    echo $ECHO_N "(cached) $ECHO_C" >&6
4306 @@ -2540,16 +3149,18 @@
4307    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4308    ;;
4309    *)
4310 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4311 -ac_dummy="$PATH"
4312 -for ac_dir in $ac_dummy; do
4313 -  IFS=$ac_save_IFS
4314 -  test -z "$ac_dir" && ac_dir=.
4315 -  if $as_executable_p "$ac_dir/$ac_word"; then
4316 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4317 -   echo "$as_me:2550: found $ac_dir/$ac_word" >&5
4318 -   break
4319 -fi
4320 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 +for as_dir in $PATH
4322 +do
4323 +  IFS=$as_save_IFS
4324 +  test -z "$as_dir" && as_dir=.
4325 +  for ac_exec_ext in '' $ac_executable_extensions; do
4326 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4328 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 +    break 2
4330 +  fi
4331 +done
4332  done
4333  
4334    ;;
4335 @@ -2558,16 +3169,16 @@
4336  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4337  
4338  if test -n "$TEST_MINUS_S_SH"; then
4339 -  echo "$as_me:2561: result: $TEST_MINUS_S_SH" >&5
4340 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4341  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4342  else
4343 -  echo "$as_me:2564: result: no" >&5
4344 +  echo "$as_me:$LINENO: result: no" >&5
4345  echo "${ECHO_T}no" >&6
4346  fi
4347  
4348  # Extract the first word of "sh", so it can be a program name with args.
4349  set dummy sh; ac_word=$2
4350 -echo "$as_me:2570: checking for $ac_word" >&5
4351 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4352  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4353  if test "${ac_cv_path_SH+set}" = set; then
4354    echo $ECHO_N "(cached) $ECHO_C" >&6
4355 @@ -2577,16 +3188,18 @@
4356    ac_cv_path_SH="$SH" # Let the user override the test with a path.
4357    ;;
4358    *)
4359 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4360 -ac_dummy="$PATH"
4361 -for ac_dir in $ac_dummy; do
4362 -  IFS=$ac_save_IFS
4363 -  test -z "$ac_dir" && ac_dir=.
4364 -  if $as_executable_p "$ac_dir/$ac_word"; then
4365 -   ac_cv_path_SH="$ac_dir/$ac_word"
4366 -   echo "$as_me:2587: found $ac_dir/$ac_word" >&5
4367 -   break
4368 -fi
4369 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 +for as_dir in $PATH
4371 +do
4372 +  IFS=$as_save_IFS
4373 +  test -z "$as_dir" && as_dir=.
4374 +  for ac_exec_ext in '' $ac_executable_extensions; do
4375 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 +    ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
4377 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 +    break 2
4379 +  fi
4380 +done
4381  done
4382  
4383    ;;
4384 @@ -2595,13 +3208,14 @@
4385  SH=$ac_cv_path_SH
4386  
4387  if test -n "$SH"; then
4388 -  echo "$as_me:2598: result: $SH" >&5
4389 +  echo "$as_me:$LINENO: result: $SH" >&5
4390  echo "${ECHO_T}$SH" >&6
4391  else
4392 -  echo "$as_me:2601: result: no" >&5
4393 +  echo "$as_me:$LINENO: result: no" >&5
4394  echo "${ECHO_T}no" >&6
4395  fi
4396  
4397 +
4398  # System features
4399  # Check whether --enable-largefile or --disable-largefile was given.
4400  if test "${enable_largefile+set}" = set; then
4401 @@ -2610,7 +3224,7 @@
4402  fi;
4403  if test "$enable_largefile" != no; then
4404  
4405 -  echo "$as_me:2613: checking for special C compiler options needed for large files" >&5
4406 +  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4407  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4408  if test "${ac_cv_sys_largefile_CC+set}" = set; then
4409    echo $ECHO_N "(cached) $ECHO_C" >&6
4410 @@ -2622,8 +3236,12 @@
4411          # IRIX 6.2 and later do not support large files by default,
4412          # so use the C compiler's -n32 option if that helps.
4413           cat >conftest.$ac_ext <<_ACEOF
4414 -#line 2625 "configure"
4415 -#include "confdefs.h"
4416 +#line $LINENO "configure"
4417 +/* confdefs.h.  */
4418 +_ACEOF
4419 +cat confdefs.h >>conftest.$ac_ext
4420 +cat >>conftest.$ac_ext <<_ACEOF
4421 +/* end confdefs.h.  */
4422  #include <sys/types.h>
4423   /* Check that off_t can represent 2**63 - 1 correctly.
4424      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4425 @@ -2642,40 +3260,42 @@
4426  }
4427  _ACEOF
4428          rm -f conftest.$ac_objext
4429 -if { (eval echo "$as_me:2645: \"$ac_compile\"") >&5
4430 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4431    (eval $ac_compile) 2>&5
4432    ac_status=$?
4433 -  echo "$as_me:2648: \$? = $ac_status" >&5
4434 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435    (exit $ac_status); } &&
4436           { ac_try='test -s conftest.$ac_objext'
4437 -  { (eval echo "$as_me:2651: \"$ac_try\"") >&5
4438 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439    (eval $ac_try) 2>&5
4440    ac_status=$?
4441 -  echo "$as_me:2654: \$? = $ac_status" >&5
4442 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443    (exit $ac_status); }; }; then
4444    break
4445  else
4446    echo "$as_me: failed program was:" >&5
4447 -cat conftest.$ac_ext >&5
4448 +sed 's/^/| /' conftest.$ac_ext >&5
4449 +
4450  fi
4451  rm -f conftest.$ac_objext
4452          CC="$CC -n32"
4453          rm -f conftest.$ac_objext
4454 -if { (eval echo "$as_me:2664: \"$ac_compile\"") >&5
4455 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4456    (eval $ac_compile) 2>&5
4457    ac_status=$?
4458 -  echo "$as_me:2667: \$? = $ac_status" >&5
4459 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460    (exit $ac_status); } &&
4461           { ac_try='test -s conftest.$ac_objext'
4462 -  { (eval echo "$as_me:2670: \"$ac_try\"") >&5
4463 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464    (eval $ac_try) 2>&5
4465    ac_status=$?
4466 -  echo "$as_me:2673: \$? = $ac_status" >&5
4467 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468    (exit $ac_status); }; }; then
4469    ac_cv_sys_largefile_CC=' -n32'; break
4470  else
4471    echo "$as_me: failed program was:" >&5
4472 -cat conftest.$ac_ext >&5
4473 +sed 's/^/| /' conftest.$ac_ext >&5
4474 +
4475  fi
4476  rm -f conftest.$ac_objext
4477           break
4478 @@ -2684,13 +3304,13 @@
4479         rm -f conftest.$ac_ext
4480      fi
4481  fi
4482 -echo "$as_me:2687: result: $ac_cv_sys_largefile_CC" >&5
4483 +echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4484  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4485    if test "$ac_cv_sys_largefile_CC" != no; then
4486      CC=$CC$ac_cv_sys_largefile_CC
4487    fi
4488  
4489 -  echo "$as_me:2693: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4490 +  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4491  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4492  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4493    echo $ECHO_N "(cached) $ECHO_C" >&6
4494 @@ -2698,8 +3318,12 @@
4495    while :; do
4496    ac_cv_sys_file_offset_bits=no
4497    cat >conftest.$ac_ext <<_ACEOF
4498 -#line 2701 "configure"
4499 -#include "confdefs.h"
4500 +#line $LINENO "configure"
4501 +/* confdefs.h.  */
4502 +_ACEOF
4503 +cat confdefs.h >>conftest.$ac_ext
4504 +cat >>conftest.$ac_ext <<_ACEOF
4505 +/* end confdefs.h.  */
4506  #include <sys/types.h>
4507   /* Check that off_t can represent 2**63 - 1 correctly.
4508      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4509 @@ -2718,26 +3342,31 @@
4510  }
4511  _ACEOF
4512  rm -f conftest.$ac_objext
4513 -if { (eval echo "$as_me:2721: \"$ac_compile\"") >&5
4514 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515    (eval $ac_compile) 2>&5
4516    ac_status=$?
4517 -  echo "$as_me:2724: \$? = $ac_status" >&5
4518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519    (exit $ac_status); } &&
4520           { ac_try='test -s conftest.$ac_objext'
4521 -  { (eval echo "$as_me:2727: \"$ac_try\"") >&5
4522 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523    (eval $ac_try) 2>&5
4524    ac_status=$?
4525 -  echo "$as_me:2730: \$? = $ac_status" >&5
4526 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527    (exit $ac_status); }; }; then
4528    break
4529  else
4530    echo "$as_me: failed program was:" >&5
4531 -cat conftest.$ac_ext >&5
4532 +sed 's/^/| /' conftest.$ac_ext >&5
4533 +
4534  fi
4535  rm -f conftest.$ac_objext conftest.$ac_ext
4536    cat >conftest.$ac_ext <<_ACEOF
4537 -#line 2739 "configure"
4538 -#include "confdefs.h"
4539 +#line $LINENO "configure"
4540 +/* confdefs.h.  */
4541 +_ACEOF
4542 +cat confdefs.h >>conftest.$ac_ext
4543 +cat >>conftest.$ac_ext <<_ACEOF
4544 +/* end confdefs.h.  */
4545  #define _FILE_OFFSET_BITS 64
4546  #include <sys/types.h>
4547   /* Check that off_t can represent 2**63 - 1 correctly.
4548 @@ -2757,37 +3386,38 @@
4549  }
4550  _ACEOF
4551  rm -f conftest.$ac_objext
4552 -if { (eval echo "$as_me:2760: \"$ac_compile\"") >&5
4553 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4554    (eval $ac_compile) 2>&5
4555    ac_status=$?
4556 -  echo "$as_me:2763: \$? = $ac_status" >&5
4557 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558    (exit $ac_status); } &&
4559           { ac_try='test -s conftest.$ac_objext'
4560 -  { (eval echo "$as_me:2766: \"$ac_try\"") >&5
4561 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562    (eval $ac_try) 2>&5
4563    ac_status=$?
4564 -  echo "$as_me:2769: \$? = $ac_status" >&5
4565 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566    (exit $ac_status); }; }; then
4567    ac_cv_sys_file_offset_bits=64; break
4568  else
4569    echo "$as_me: failed program was:" >&5
4570 -cat conftest.$ac_ext >&5
4571 +sed 's/^/| /' conftest.$ac_ext >&5
4572 +
4573  fi
4574  rm -f conftest.$ac_objext conftest.$ac_ext
4575    break
4576  done
4577  fi
4578 -echo "$as_me:2780: result: $ac_cv_sys_file_offset_bits" >&5
4579 +echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4580  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4581  if test "$ac_cv_sys_file_offset_bits" != no; then
4582  
4583 -cat >>confdefs.h <<EOF
4584 +cat >>confdefs.h <<_ACEOF
4585  #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4586 -EOF
4587 +_ACEOF
4588  
4589  fi
4590  rm -f conftest*
4591 -  echo "$as_me:2790: checking for _LARGE_FILES value needed for large files" >&5
4592 +  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4593  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4594  if test "${ac_cv_sys_large_files+set}" = set; then
4595    echo $ECHO_N "(cached) $ECHO_C" >&6
4596 @@ -2795,8 +3425,12 @@
4597    while :; do
4598    ac_cv_sys_large_files=no
4599    cat >conftest.$ac_ext <<_ACEOF
4600 -#line 2798 "configure"
4601 -#include "confdefs.h"
4602 +#line $LINENO "configure"
4603 +/* confdefs.h.  */
4604 +_ACEOF
4605 +cat confdefs.h >>conftest.$ac_ext
4606 +cat >>conftest.$ac_ext <<_ACEOF
4607 +/* end confdefs.h.  */
4608  #include <sys/types.h>
4609   /* Check that off_t can represent 2**63 - 1 correctly.
4610      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4611 @@ -2815,26 +3449,31 @@
4612  }
4613  _ACEOF
4614  rm -f conftest.$ac_objext
4615 -if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5
4616 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4617    (eval $ac_compile) 2>&5
4618    ac_status=$?
4619 -  echo "$as_me:2821: \$? = $ac_status" >&5
4620 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621    (exit $ac_status); } &&
4622           { ac_try='test -s conftest.$ac_objext'
4623 -  { (eval echo "$as_me:2824: \"$ac_try\"") >&5
4624 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625    (eval $ac_try) 2>&5
4626    ac_status=$?
4627 -  echo "$as_me:2827: \$? = $ac_status" >&5
4628 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629    (exit $ac_status); }; }; then
4630    break
4631  else
4632    echo "$as_me: failed program was:" >&5
4633 -cat conftest.$ac_ext >&5
4634 +sed 's/^/| /' conftest.$ac_ext >&5
4635 +
4636  fi
4637  rm -f conftest.$ac_objext conftest.$ac_ext
4638    cat >conftest.$ac_ext <<_ACEOF
4639 -#line 2836 "configure"
4640 -#include "confdefs.h"
4641 +#line $LINENO "configure"
4642 +/* confdefs.h.  */
4643 +_ACEOF
4644 +cat confdefs.h >>conftest.$ac_ext
4645 +cat >>conftest.$ac_ext <<_ACEOF
4646 +/* end confdefs.h.  */
4647  #define _LARGE_FILES 1
4648  #include <sys/types.h>
4649   /* Check that off_t can represent 2**63 - 1 correctly.
4650 @@ -2854,55 +3493,57 @@
4651  }
4652  _ACEOF
4653  rm -f conftest.$ac_objext
4654 -if { (eval echo "$as_me:2857: \"$ac_compile\"") >&5
4655 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4656    (eval $ac_compile) 2>&5
4657    ac_status=$?
4658 -  echo "$as_me:2860: \$? = $ac_status" >&5
4659 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660    (exit $ac_status); } &&
4661           { ac_try='test -s conftest.$ac_objext'
4662 -  { (eval echo "$as_me:2863: \"$ac_try\"") >&5
4663 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664    (eval $ac_try) 2>&5
4665    ac_status=$?
4666 -  echo "$as_me:2866: \$? = $ac_status" >&5
4667 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668    (exit $ac_status); }; }; then
4669    ac_cv_sys_large_files=1; break
4670  else
4671    echo "$as_me: failed program was:" >&5
4672 -cat conftest.$ac_ext >&5
4673 +sed 's/^/| /' conftest.$ac_ext >&5
4674 +
4675  fi
4676  rm -f conftest.$ac_objext conftest.$ac_ext
4677    break
4678  done
4679  fi
4680 -echo "$as_me:2877: result: $ac_cv_sys_large_files" >&5
4681 +echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4682  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4683  if test "$ac_cv_sys_large_files" != no; then
4684  
4685 -cat >>confdefs.h <<EOF
4686 +cat >>confdefs.h <<_ACEOF
4687  #define _LARGE_FILES $ac_cv_sys_large_files
4688 -EOF
4689 +_ACEOF
4690  
4691  fi
4692  rm -f conftest*
4693  fi
4694  
4695 +
4696  if test -z "$AR" ; then
4697 -       { { echo "$as_me:2890: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
4698 +       { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
4699  echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
4700     { (exit 1); exit 1; }; }
4701  fi
4702  
4703  # Use LOGIN_PROGRAM from environment if possible
4704  if test ! -z "$LOGIN_PROGRAM" ; then
4705 -       cat >>confdefs.h <<EOF
4706 +       cat >>confdefs.h <<_ACEOF
4707  #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
4708 -EOF
4709 +_ACEOF
4710  
4711  else
4712         # Search for login
4713         # Extract the first word of "login", so it can be a program name with args.
4714  set dummy login; ac_word=$2
4715 -echo "$as_me:2905: checking for $ac_word" >&5
4716 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4717  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4718  if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
4719    echo $ECHO_N "(cached) $ECHO_C" >&6
4720 @@ -2912,16 +3553,18 @@
4721    ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
4722    ;;
4723    *)
4724 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4725 -ac_dummy="$PATH"
4726 -for ac_dir in $ac_dummy; do
4727 -  IFS=$ac_save_IFS
4728 -  test -z "$ac_dir" && ac_dir=.
4729 -  if $as_executable_p "$ac_dir/$ac_word"; then
4730 -   ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word"
4731 -   echo "$as_me:2922: found $ac_dir/$ac_word" >&5
4732 -   break
4733 -fi
4734 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 +for as_dir in $PATH
4736 +do
4737 +  IFS=$as_save_IFS
4738 +  test -z "$as_dir" && as_dir=.
4739 +  for ac_exec_ext in '' $ac_executable_extensions; do
4740 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741 +    ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
4742 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 +    break 2
4744 +  fi
4745 +done
4746  done
4747  
4748    ;;
4749 @@ -2930,17 +3573,17 @@
4750  LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
4751  
4752  if test -n "$LOGIN_PROGRAM_FALLBACK"; then
4753 -  echo "$as_me:2933: result: $LOGIN_PROGRAM_FALLBACK" >&5
4754 +  echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
4755  echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
4756  else
4757 -  echo "$as_me:2936: result: no" >&5
4758 +  echo "$as_me:$LINENO: result: no" >&5
4759  echo "${ECHO_T}no" >&6
4760  fi
4761  
4762         if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
4763 -               cat >>confdefs.h <<EOF
4764 +               cat >>confdefs.h <<_ACEOF
4765  #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
4766 -EOF
4767 +_ACEOF
4768  
4769         fi
4770  fi
4771 @@ -2949,98 +3592,8 @@
4772         LD=$CC
4773  fi
4774  
4775 -echo "$as_me:2952: checking for $CC option to accept ANSI C" >&5
4776 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4777 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
4778 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4779 -else
4780 -  ac_cv_prog_cc_stdc=no
4781 -ac_save_CC=$CC
4782 -cat >conftest.$ac_ext <<_ACEOF
4783 -#line 2960 "configure"
4784 -#include "confdefs.h"
4785 -#include <stdarg.h>
4786 -#include <stdio.h>
4787 -#include <sys/types.h>
4788 -#include <sys/stat.h>
4789 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4790 -struct buf { int x; };
4791 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
4792 -static char *e (p, i)
4793 -     char **p;
4794 -     int i;
4795 -{
4796 -  return p[i];
4797 -}
4798 -static char *f (char * (*g) (char **, int), char **p, ...)
4799 -{
4800 -  char *s;
4801 -  va_list v;
4802 -  va_start (v,p);
4803 -  s = g (p, va_arg (v,int));
4804 -  va_end (v);
4805 -  return s;
4806 -}
4807 -int test (int i, double x);
4808 -struct s1 {int (*f) (int a);};
4809 -struct s2 {int (*f) (double a);};
4810 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4811 -int argc;
4812 -char **argv;
4813 -int
4814 -main ()
4815 -{
4816 -return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4817 -  ;
4818 -  return 0;
4819 -}
4820 -_ACEOF
4821 -# Don't try gcc -ansi; that turns off useful extensions and
4822 -# breaks some systems' header files.
4823 -# AIX                  -qlanglvl=ansi
4824 -# Ultrix and OSF/1     -std1
4825 -# HP-UX 10.20 and later        -Ae
4826 -# HP-UX older versions -Aa -D_HPUX_SOURCE
4827 -# SVR4                 -Xc -D__EXTENSIONS__
4828 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4829 -do
4830 -  CC="$ac_save_CC $ac_arg"
4831 -  rm -f conftest.$ac_objext
4832 -if { (eval echo "$as_me:3009: \"$ac_compile\"") >&5
4833 -  (eval $ac_compile) 2>&5
4834 -  ac_status=$?
4835 -  echo "$as_me:3012: \$? = $ac_status" >&5
4836 -  (exit $ac_status); } &&
4837 -         { ac_try='test -s conftest.$ac_objext'
4838 -  { (eval echo "$as_me:3015: \"$ac_try\"") >&5
4839 -  (eval $ac_try) 2>&5
4840 -  ac_status=$?
4841 -  echo "$as_me:3018: \$? = $ac_status" >&5
4842 -  (exit $ac_status); }; }; then
4843 -  ac_cv_prog_cc_stdc=$ac_arg
4844 -break
4845 -else
4846 -  echo "$as_me: failed program was:" >&5
4847 -cat conftest.$ac_ext >&5
4848 -fi
4849 -rm -f conftest.$ac_objext
4850 -done
4851 -rm -f conftest.$ac_ext conftest.$ac_objext
4852 -CC=$ac_save_CC
4853 -
4854 -fi
4855  
4856 -case "x$ac_cv_prog_cc_stdc" in
4857 -  x|xno)
4858 -    echo "$as_me:3035: result: none needed" >&5
4859 -echo "${ECHO_T}none needed" >&6 ;;
4860 -  *)
4861 -    echo "$as_me:3038: result: $ac_cv_prog_cc_stdc" >&5
4862 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4863 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
4864 -esac
4865 -
4866 -echo "$as_me:3043: checking for inline" >&5
4867 +echo "$as_me:$LINENO: checking for inline" >&5
4868  echo $ECHO_N "checking for inline... $ECHO_C" >&6
4869  if test "${ac_cv_c_inline+set}" = set; then
4870    echo $ECHO_N "(cached) $ECHO_C" >&6
4871 @@ -3048,47 +3601,53 @@
4872    ac_cv_c_inline=no
4873  for ac_kw in inline __inline__ __inline; do
4874    cat >conftest.$ac_ext <<_ACEOF
4875 -#line 3051 "configure"
4876 -#include "confdefs.h"
4877 +#line $LINENO "configure"
4878 +/* confdefs.h.  */
4879 +_ACEOF
4880 +cat confdefs.h >>conftest.$ac_ext
4881 +cat >>conftest.$ac_ext <<_ACEOF
4882 +/* end confdefs.h.  */
4883  #ifndef __cplusplus
4884 -static $ac_kw int static_foo () {return 0; }
4885 -$ac_kw int foo () {return 0; }
4886 +typedef int foo_t;
4887 +static $ac_kw foo_t static_foo () {return 0; }
4888 +$ac_kw foo_t foo () {return 0; }
4889  #endif
4890  
4891  _ACEOF
4892  rm -f conftest.$ac_objext
4893 -if { (eval echo "$as_me:3060: \"$ac_compile\"") >&5
4894 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895    (eval $ac_compile) 2>&5
4896    ac_status=$?
4897 -  echo "$as_me:3063: \$? = $ac_status" >&5
4898 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899    (exit $ac_status); } &&
4900           { ac_try='test -s conftest.$ac_objext'
4901 -  { (eval echo "$as_me:3066: \"$ac_try\"") >&5
4902 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903    (eval $ac_try) 2>&5
4904    ac_status=$?
4905 -  echo "$as_me:3069: \$? = $ac_status" >&5
4906 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907    (exit $ac_status); }; }; then
4908    ac_cv_c_inline=$ac_kw; break
4909  else
4910    echo "$as_me: failed program was:" >&5
4911 -cat conftest.$ac_ext >&5
4912 +sed 's/^/| /' conftest.$ac_ext >&5
4913 +
4914  fi
4915  rm -f conftest.$ac_objext conftest.$ac_ext
4916  done
4917  
4918  fi
4919 -echo "$as_me:3080: result: $ac_cv_c_inline" >&5
4920 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4921  echo "${ECHO_T}$ac_cv_c_inline" >&6
4922  case $ac_cv_c_inline in
4923    inline | yes) ;;
4924    no)
4925 -cat >>confdefs.h <<\EOF
4926 +cat >>confdefs.h <<\_ACEOF
4927  #define inline
4928 -EOF
4929 +_ACEOF
4930   ;;
4931 -  *)  cat >>confdefs.h <<EOF
4932 +  *)  cat >>confdefs.h <<_ACEOF
4933  #define inline $ac_cv_c_inline
4934 -EOF
4935 +_ACEOF
4936   ;;
4937  esac
4938  
4939 @@ -3101,7 +3660,7 @@
4940  *-*-aix*)
4941         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4942         LDFLAGS="$LDFLAGS -L/usr/local/lib"
4943 -       echo "$as_me:3104: checking how to specify blibpath for linker ($LD)" >&5
4944 +       echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
4945  echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
4946         if (test -z "$blibpath"); then
4947                 blibpath="/usr/lib:/lib:/usr/local/lib"
4948 @@ -3111,8 +3670,12 @@
4949                 if (test -z "$blibflags"); then
4950                         LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
4951                         cat >conftest.$ac_ext <<_ACEOF
4952 -#line 3114 "configure"
4953 -#include "confdefs.h"
4954 +#line $LINENO "configure"
4955 +/* confdefs.h.  */
4956 +_ACEOF
4957 +cat confdefs.h >>conftest.$ac_ext
4958 +cat >>conftest.$ac_ext <<_ACEOF
4959 +/* end confdefs.h.  */
4960  
4961  int
4962  main ()
4963 @@ -3123,101 +3686,116 @@
4964  }
4965  _ACEOF
4966  rm -f conftest.$ac_objext conftest$ac_exeext
4967 -if { (eval echo "$as_me:3126: \"$ac_link\"") >&5
4968 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4969    (eval $ac_link) 2>&5
4970    ac_status=$?
4971 -  echo "$as_me:3129: \$? = $ac_status" >&5
4972 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973    (exit $ac_status); } &&
4974           { ac_try='test -s conftest$ac_exeext'
4975 -  { (eval echo "$as_me:3132: \"$ac_try\"") >&5
4976 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4977    (eval $ac_try) 2>&5
4978    ac_status=$?
4979 -  echo "$as_me:3135: \$? = $ac_status" >&5
4980 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981    (exit $ac_status); }; }; then
4982    blibflags=$tryflags
4983  else
4984    echo "$as_me: failed program was:" >&5
4985 -cat conftest.$ac_ext >&5
4986 +sed 's/^/| /' conftest.$ac_ext >&5
4987 +
4988  fi
4989  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4990                 fi
4991         done
4992         if (test -z "$blibflags"); then
4993 -               echo "$as_me:3146: result: not found" >&5
4994 +               echo "$as_me:$LINENO: result: not found" >&5
4995  echo "${ECHO_T}not found" >&6
4996 -               { { echo "$as_me:3148: error: *** must be able to specify blibpath on AIX - check config.log" >&5
4997 +               { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
4998  echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
4999     { (exit 1); exit 1; }; }
5000         else
5001 -               echo "$as_me:3152: result: $blibflags" >&5
5002 +               echo "$as_me:$LINENO: result: $blibflags" >&5
5003  echo "${ECHO_T}$blibflags" >&6
5004         fi
5005         LDFLAGS="$saved_LDFLAGS"
5006 -               echo "$as_me:3156: checking for authenticate" >&5
5007 +               echo "$as_me:$LINENO: checking for authenticate" >&5
5008  echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
5009  if test "${ac_cv_func_authenticate+set}" = set; then
5010    echo $ECHO_N "(cached) $ECHO_C" >&6
5011  else
5012    cat >conftest.$ac_ext <<_ACEOF
5013 -#line 3162 "configure"
5014 -#include "confdefs.h"
5015 +#line $LINENO "configure"
5016 +/* confdefs.h.  */
5017 +_ACEOF
5018 +cat confdefs.h >>conftest.$ac_ext
5019 +cat >>conftest.$ac_ext <<_ACEOF
5020 +/* end confdefs.h.  */
5021  /* System header to define __stub macros and hopefully few prototypes,
5022 -    which can conflict with char authenticate (); below.  */
5023 -#include <assert.h>
5024 +    which can conflict with char authenticate (); below.
5025 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5026 +    <limits.h> exists even on freestanding compilers.  */
5027 +#ifdef __STDC__
5028 +# include <limits.h>
5029 +#else
5030 +# include <assert.h>
5031 +#endif
5032  /* Override any gcc2 internal prototype to avoid an error.  */
5033  #ifdef __cplusplus
5034  extern "C"
5035 +{
5036  #endif
5037  /* We use char because int might match the return type of a gcc2
5038     builtin and then its argument prototype would still apply.  */
5039  char authenticate ();
5040 -char (*f) ();
5041 -
5042 -int
5043 -main ()
5044 -{
5045  /* The GNU C library defines this for functions which it implements
5046      to always fail with ENOSYS.  Some functions are actually named
5047      something starting with __ and the normal name is an alias.  */
5048  #if defined (__stub_authenticate) || defined (__stub___authenticate)
5049  choke me
5050  #else
5051 -f = authenticate;
5052 +char (*f) () = authenticate;
5053 +#endif
5054 +#ifdef __cplusplus
5055 +}
5056  #endif
5057  
5058 +int
5059 +main ()
5060 +{
5061 +return f != authenticate;
5062    ;
5063    return 0;
5064  }
5065  _ACEOF
5066  rm -f conftest.$ac_objext conftest$ac_exeext
5067 -if { (eval echo "$as_me:3193: \"$ac_link\"") >&5
5068 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5069    (eval $ac_link) 2>&5
5070    ac_status=$?
5071 -  echo "$as_me:3196: \$? = $ac_status" >&5
5072 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073    (exit $ac_status); } &&
5074           { ac_try='test -s conftest$ac_exeext'
5075 -  { (eval echo "$as_me:3199: \"$ac_try\"") >&5
5076 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077    (eval $ac_try) 2>&5
5078    ac_status=$?
5079 -  echo "$as_me:3202: \$? = $ac_status" >&5
5080 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081    (exit $ac_status); }; }; then
5082    ac_cv_func_authenticate=yes
5083  else
5084    echo "$as_me: failed program was:" >&5
5085 -cat conftest.$ac_ext >&5
5086 +sed 's/^/| /' conftest.$ac_ext >&5
5087 +
5088  ac_cv_func_authenticate=no
5089  fi
5090  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5091  fi
5092 -echo "$as_me:3212: result: $ac_cv_func_authenticate" >&5
5093 +echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
5094  echo "${ECHO_T}$ac_cv_func_authenticate" >&6
5095  if test $ac_cv_func_authenticate = yes; then
5096 -  cat >>confdefs.h <<\EOF
5097 +  cat >>confdefs.h <<\_ACEOF
5098  #define WITH_AIXAUTHENTICATE 1
5099 -EOF
5100 +_ACEOF
5101  
5102  else
5103 -  echo "$as_me:3220: checking for authenticate in -ls" >&5
5104 +  echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
5105  echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
5106  if test "${ac_cv_lib_s_authenticate+set}" = set; then
5107    echo $ECHO_N "(cached) $ECHO_C" >&6
5108 @@ -3225,8 +3803,12 @@
5109    ac_check_lib_save_LIBS=$LIBS
5110  LIBS="-ls  $LIBS"
5111  cat >conftest.$ac_ext <<_ACEOF
5112 -#line 3228 "configure"
5113 -#include "confdefs.h"
5114 +#line $LINENO "configure"
5115 +/* confdefs.h.  */
5116 +_ACEOF
5117 +cat confdefs.h >>conftest.$ac_ext
5118 +cat >>conftest.$ac_ext <<_ACEOF
5119 +/* end confdefs.h.  */
5120  
5121  /* Override any gcc2 internal prototype to avoid an error.  */
5122  #ifdef __cplusplus
5123 @@ -3244,49 +3826,56 @@
5124  }
5125  _ACEOF
5126  rm -f conftest.$ac_objext conftest$ac_exeext
5127 -if { (eval echo "$as_me:3247: \"$ac_link\"") >&5
5128 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5129    (eval $ac_link) 2>&5
5130    ac_status=$?
5131 -  echo "$as_me:3250: \$? = $ac_status" >&5
5132 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133    (exit $ac_status); } &&
5134           { ac_try='test -s conftest$ac_exeext'
5135 -  { (eval echo "$as_me:3253: \"$ac_try\"") >&5
5136 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5137    (eval $ac_try) 2>&5
5138    ac_status=$?
5139 -  echo "$as_me:3256: \$? = $ac_status" >&5
5140 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141    (exit $ac_status); }; }; then
5142    ac_cv_lib_s_authenticate=yes
5143  else
5144    echo "$as_me: failed program was:" >&5
5145 -cat conftest.$ac_ext >&5
5146 +sed 's/^/| /' conftest.$ac_ext >&5
5147 +
5148  ac_cv_lib_s_authenticate=no
5149  fi
5150  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5151  LIBS=$ac_check_lib_save_LIBS
5152  fi
5153 -echo "$as_me:3267: result: $ac_cv_lib_s_authenticate" >&5
5154 +echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
5155  echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
5156  if test $ac_cv_lib_s_authenticate = yes; then
5157 -   cat >>confdefs.h <<\EOF
5158 +   cat >>confdefs.h <<\_ACEOF
5159  #define WITH_AIXAUTHENTICATE 1
5160 -EOF
5161 +_ACEOF
5162  
5163                                 LIBS="$LIBS -ls"
5164  
5165  fi
5166  
5167 +
5168  fi
5169  
5170 -               echo "$as_me:3280: checking whether loginfailed is declared" >&5
5171 +               echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5
5172  echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
5173  if test "${ac_cv_have_decl_loginfailed+set}" = set; then
5174    echo $ECHO_N "(cached) $ECHO_C" >&6
5175  else
5176    cat >conftest.$ac_ext <<_ACEOF
5177 -#line 3286 "configure"
5178 -#include "confdefs.h"
5179 +#line $LINENO "configure"
5180 +/* confdefs.h.  */
5181 +_ACEOF
5182 +cat confdefs.h >>conftest.$ac_ext
5183 +cat >>conftest.$ac_ext <<_ACEOF
5184 +/* end confdefs.h.  */
5185  #include <usersec.h>
5186  
5187 +
5188  int
5189  main ()
5190  {
5191 @@ -3299,33 +3888,38 @@
5192  }
5193  _ACEOF
5194  rm -f conftest.$ac_objext
5195 -if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
5196 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5197    (eval $ac_compile) 2>&5
5198    ac_status=$?
5199 -  echo "$as_me:3305: \$? = $ac_status" >&5
5200 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201    (exit $ac_status); } &&
5202           { ac_try='test -s conftest.$ac_objext'
5203 -  { (eval echo "$as_me:3308: \"$ac_try\"") >&5
5204 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205    (eval $ac_try) 2>&5
5206    ac_status=$?
5207 -  echo "$as_me:3311: \$? = $ac_status" >&5
5208 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209    (exit $ac_status); }; }; then
5210    ac_cv_have_decl_loginfailed=yes
5211  else
5212    echo "$as_me: failed program was:" >&5
5213 -cat conftest.$ac_ext >&5
5214 +sed 's/^/| /' conftest.$ac_ext >&5
5215 +
5216  ac_cv_have_decl_loginfailed=no
5217  fi
5218  rm -f conftest.$ac_objext conftest.$ac_ext
5219  fi
5220 -echo "$as_me:3321: result: $ac_cv_have_decl_loginfailed" >&5
5221 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5
5222  echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
5223  if test $ac_cv_have_decl_loginfailed = yes; then
5224 -  echo "$as_me:3324: checking if loginfailed takes 4 arguments" >&5
5225 +  echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5
5226  echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
5227                   cat >conftest.$ac_ext <<_ACEOF
5228 -#line 3327 "configure"
5229 -#include "confdefs.h"
5230 +#line $LINENO "configure"
5231 +/* confdefs.h.  */
5232 +_ACEOF
5233 +cat confdefs.h >>conftest.$ac_ext
5234 +cat >>conftest.$ac_ext <<_ACEOF
5235 +/* end confdefs.h.  */
5236  #include <usersec.h>
5237  int
5238  main ()
5239 @@ -3336,187 +3930,207 @@
5240  }
5241  _ACEOF
5242  rm -f conftest.$ac_objext
5243 -if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5
5244 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5245    (eval $ac_compile) 2>&5
5246    ac_status=$?
5247 -  echo "$as_me:3342: \$? = $ac_status" >&5
5248 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249    (exit $ac_status); } &&
5250           { ac_try='test -s conftest.$ac_objext'
5251 -  { (eval echo "$as_me:3345: \"$ac_try\"") >&5
5252 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253    (eval $ac_try) 2>&5
5254    ac_status=$?
5255 -  echo "$as_me:3348: \$? = $ac_status" >&5
5256 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257    (exit $ac_status); }; }; then
5258 -  echo "$as_me:3350: result: yes" >&5
5259 +  echo "$as_me:$LINENO: result: yes" >&5
5260  echo "${ECHO_T}yes" >&6
5261 -                        cat >>confdefs.h <<\EOF
5262 +                        cat >>confdefs.h <<\_ACEOF
5263  #define AIX_LOGINFAILED_4ARG 1
5264 -EOF
5265 +_ACEOF
5266  
5267  else
5268    echo "$as_me: failed program was:" >&5
5269 -cat conftest.$ac_ext >&5
5270 -echo "$as_me:3359: result: no" >&5
5271 +sed 's/^/| /' conftest.$ac_ext >&5
5272 +
5273 +echo "$as_me:$LINENO: result: no" >&5
5274  echo "${ECHO_T}no" >&6
5275  
5276  fi
5277  rm -f conftest.$ac_objext conftest.$ac_ext
5278  fi
5279  
5280 +
5281  for ac_func in setauthdb
5282  do
5283  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5284 -echo "$as_me:3369: checking for $ac_func" >&5
5285 +echo "$as_me:$LINENO: checking for $ac_func" >&5
5286  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5287  if eval "test \"\${$as_ac_var+set}\" = set"; then
5288    echo $ECHO_N "(cached) $ECHO_C" >&6
5289  else
5290    cat >conftest.$ac_ext <<_ACEOF
5291 -#line 3375 "configure"
5292 -#include "confdefs.h"
5293 +#line $LINENO "configure"
5294 +/* confdefs.h.  */
5295 +_ACEOF
5296 +cat confdefs.h >>conftest.$ac_ext
5297 +cat >>conftest.$ac_ext <<_ACEOF
5298 +/* end confdefs.h.  */
5299  /* System header to define __stub macros and hopefully few prototypes,
5300 -    which can conflict with char $ac_func (); below.  */
5301 -#include <assert.h>
5302 +    which can conflict with char $ac_func (); below.
5303 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5304 +    <limits.h> exists even on freestanding compilers.  */
5305 +#ifdef __STDC__
5306 +# include <limits.h>
5307 +#else
5308 +# include <assert.h>
5309 +#endif
5310  /* Override any gcc2 internal prototype to avoid an error.  */
5311  #ifdef __cplusplus
5312  extern "C"
5313 +{
5314  #endif
5315  /* We use char because int might match the return type of a gcc2
5316     builtin and then its argument prototype would still apply.  */
5317  char $ac_func ();
5318 -char (*f) ();
5319 -
5320 -int
5321 -main ()
5322 -{
5323  /* The GNU C library defines this for functions which it implements
5324      to always fail with ENOSYS.  Some functions are actually named
5325      something starting with __ and the normal name is an alias.  */
5326  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5327  choke me
5328  #else
5329 -f = $ac_func;
5330 +char (*f) () = $ac_func;
5331 +#endif
5332 +#ifdef __cplusplus
5333 +}
5334  #endif
5335  
5336 +int
5337 +main ()
5338 +{
5339 +return f != $ac_func;
5340    ;
5341    return 0;
5342  }
5343  _ACEOF
5344  rm -f conftest.$ac_objext conftest$ac_exeext
5345 -if { (eval echo "$as_me:3406: \"$ac_link\"") >&5
5346 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5347    (eval $ac_link) 2>&5
5348    ac_status=$?
5349 -  echo "$as_me:3409: \$? = $ac_status" >&5
5350 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351    (exit $ac_status); } &&
5352           { ac_try='test -s conftest$ac_exeext'
5353 -  { (eval echo "$as_me:3412: \"$ac_try\"") >&5
5354 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355    (eval $ac_try) 2>&5
5356    ac_status=$?
5357 -  echo "$as_me:3415: \$? = $ac_status" >&5
5358 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359    (exit $ac_status); }; }; then
5360    eval "$as_ac_var=yes"
5361  else
5362    echo "$as_me: failed program was:" >&5
5363 -cat conftest.$ac_ext >&5
5364 +sed 's/^/| /' conftest.$ac_ext >&5
5365 +
5366  eval "$as_ac_var=no"
5367  fi
5368  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5369  fi
5370 -echo "$as_me:3425: result: `eval echo '${'$as_ac_var'}'`" >&5
5371 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5372  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5373  if test `eval echo '${'$as_ac_var'}'` = yes; then
5374 -  cat >>confdefs.h <<EOF
5375 +  cat >>confdefs.h <<_ACEOF
5376  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5377 -EOF
5378 +_ACEOF
5379  
5380  fi
5381  done
5382  
5383 -       cat >>confdefs.h <<\EOF
5384 +       cat >>confdefs.h <<\_ACEOF
5385  #define BROKEN_GETADDRINFO 1
5386 -EOF
5387 +_ACEOF
5388  
5389 -       cat >>confdefs.h <<\EOF
5390 +       cat >>confdefs.h <<\_ACEOF
5391  #define BROKEN_REALPATH 1
5392 -EOF
5393 +_ACEOF
5394  
5395 -       cat >>confdefs.h <<\EOF
5396 +       cat >>confdefs.h <<\_ACEOF
5397  #define SETEUID_BREAKS_SETUID 1
5398 -EOF
5399 +_ACEOF
5400  
5401 -       cat >>confdefs.h <<\EOF
5402 +       cat >>confdefs.h <<\_ACEOF
5403  #define BROKEN_SETREUID 1
5404 -EOF
5405 +_ACEOF
5406  
5407 -       cat >>confdefs.h <<\EOF
5408 +       cat >>confdefs.h <<\_ACEOF
5409  #define BROKEN_SETREGID 1
5410 -EOF
5411 +_ACEOF
5412  
5413 -               cat >>confdefs.h <<\EOF
5414 +               cat >>confdefs.h <<\_ACEOF
5415  #define DISABLE_LASTLOG 1
5416 -EOF
5417 +_ACEOF
5418  
5419 -       cat >>confdefs.h <<\EOF
5420 +       cat >>confdefs.h <<\_ACEOF
5421  #define LOGIN_NEEDS_UTMPX 1
5422 -EOF
5423 +_ACEOF
5424  
5425 -       cat >>confdefs.h <<\EOF
5426 +       cat >>confdefs.h <<\_ACEOF
5427  #define SPT_TYPE SPT_REUSEARGV
5428 -EOF
5429 +_ACEOF
5430  
5431         ;;
5432  *-*-cygwin*)
5433         check_for_libcrypt_later=1
5434         LIBS="$LIBS /usr/lib/textmode.o"
5435 -       cat >>confdefs.h <<\EOF
5436 +       cat >>confdefs.h <<\_ACEOF
5437  #define HAVE_CYGWIN 1
5438 -EOF
5439 +_ACEOF
5440  
5441 -       cat >>confdefs.h <<\EOF
5442 +       cat >>confdefs.h <<\_ACEOF
5443  #define USE_PIPES 1
5444 -EOF
5445 +_ACEOF
5446  
5447 -       cat >>confdefs.h <<\EOF
5448 +       cat >>confdefs.h <<\_ACEOF
5449  #define DISABLE_SHADOW 1
5450 -EOF
5451 +_ACEOF
5452  
5453 -       cat >>confdefs.h <<\EOF
5454 +       cat >>confdefs.h <<\_ACEOF
5455  #define IP_TOS_IS_BROKEN 1
5456 -EOF
5457 +_ACEOF
5458  
5459 -       cat >>confdefs.h <<\EOF
5460 +       cat >>confdefs.h <<\_ACEOF
5461  #define NO_X11_UNIX_SOCKETS 1
5462 -EOF
5463 +_ACEOF
5464  
5465 -       cat >>confdefs.h <<\EOF
5466 +       cat >>confdefs.h <<\_ACEOF
5467  #define NO_IPPORT_RESERVED_CONCEPT 1
5468 -EOF
5469 +_ACEOF
5470  
5471 -       cat >>confdefs.h <<\EOF
5472 +       cat >>confdefs.h <<\_ACEOF
5473  #define DISABLE_FD_PASSING 1
5474 -EOF
5475 +_ACEOF
5476  
5477 -       cat >>confdefs.h <<\EOF
5478 +       cat >>confdefs.h <<\_ACEOF
5479  #define SETGROUPS_NOOP 1
5480 -EOF
5481 +_ACEOF
5482  
5483         ;;
5484  *-*-dgux*)
5485 -       cat >>confdefs.h <<\EOF
5486 +       cat >>confdefs.h <<\_ACEOF
5487  #define IP_TOS_IS_BROKEN 1
5488 -EOF
5489 +_ACEOF
5490  
5491         ;;
5492  *-*-darwin*)
5493 -       echo "$as_me:3511: checking if we have working getaddrinfo" >&5
5494 +       echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
5495  echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
5496         if test "$cross_compiling" = yes; then
5497 -  echo "$as_me:3514: result: assume it is working" >&5
5498 +  echo "$as_me:$LINENO: result: assume it is working" >&5
5499  echo "${ECHO_T}assume it is working" >&6
5500  else
5501    cat >conftest.$ac_ext <<_ACEOF
5502 -#line 3518 "configure"
5503 -#include "confdefs.h"
5504 +#line $LINENO "configure"
5505 +/* confdefs.h.  */
5506 +_ACEOF
5507 +cat confdefs.h >>conftest.$ac_ext
5508 +cat >>conftest.$ac_ext <<_ACEOF
5509 +/* end confdefs.h.  */
5510  #include <mach-o/dyld.h>
5511  main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
5512                 exit(0);
5513 @@ -3525,30 +4139,32 @@
5514  }
5515  _ACEOF
5516  rm -f conftest$ac_exeext
5517 -if { (eval echo "$as_me:3528: \"$ac_link\"") >&5
5518 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5519    (eval $ac_link) 2>&5
5520    ac_status=$?
5521 -  echo "$as_me:3531: \$? = $ac_status" >&5
5522 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5524 -  { (eval echo "$as_me:3533: \"$ac_try\"") >&5
5525 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526    (eval $ac_try) 2>&5
5527    ac_status=$?
5528 -  echo "$as_me:3536: \$? = $ac_status" >&5
5529 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530    (exit $ac_status); }; }; then
5531 -  echo "$as_me:3538: result: working" >&5
5532 +  echo "$as_me:$LINENO: result: working" >&5
5533  echo "${ECHO_T}working" >&6
5534  else
5535    echo "$as_me: program exited with status $ac_status" >&5
5536  echo "$as_me: failed program was:" >&5
5537 -cat conftest.$ac_ext >&5
5538 -echo "$as_me:3544: result: buggy" >&5
5539 +sed 's/^/| /' conftest.$ac_ext >&5
5540 +
5541 +( exit $ac_status )
5542 +echo "$as_me:$LINENO: result: buggy" >&5
5543  echo "${ECHO_T}buggy" >&6
5544 -       cat >>confdefs.h <<\EOF
5545 +       cat >>confdefs.h <<\_ACEOF
5546  #define BROKEN_GETADDRINFO 1
5547 -EOF
5548 +_ACEOF
5549  
5550  fi
5551 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5552 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5553  fi
5554         ;;
5555  *-*-hpux10.26)
5556 @@ -3557,41 +4173,41 @@
5557         fi
5558         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5559         IPADDR_IN_DISPLAY=yes
5560 -       cat >>confdefs.h <<\EOF
5561 +       cat >>confdefs.h <<\_ACEOF
5562  #define HAVE_SECUREWARE 1
5563 -EOF
5564 +_ACEOF
5565  
5566 -       cat >>confdefs.h <<\EOF
5567 +       cat >>confdefs.h <<\_ACEOF
5568  #define USE_PIPES 1
5569 -EOF
5570 +_ACEOF
5571  
5572 -       cat >>confdefs.h <<\EOF
5573 +       cat >>confdefs.h <<\_ACEOF
5574  #define LOGIN_NO_ENDOPT 1
5575 -EOF
5576 +_ACEOF
5577  
5578 -       cat >>confdefs.h <<\EOF
5579 +       cat >>confdefs.h <<\_ACEOF
5580  #define LOGIN_NEEDS_UTMPX 1
5581 -EOF
5582 +_ACEOF
5583  
5584 -       cat >>confdefs.h <<\EOF
5585 +       cat >>confdefs.h <<\_ACEOF
5586  #define DISABLE_SHADOW 1
5587 -EOF
5588 +_ACEOF
5589  
5590 -       cat >>confdefs.h <<\EOF
5591 +       cat >>confdefs.h <<\_ACEOF
5592  #define DISABLE_UTMP 1
5593 -EOF
5594 +_ACEOF
5595  
5596 -       cat >>confdefs.h <<\EOF
5597 +       cat >>confdefs.h <<\_ACEOF
5598  #define LOCKED_PASSWD_STRING "*"
5599 -EOF
5600 +_ACEOF
5601  
5602 -       cat >>confdefs.h <<\EOF
5603 +       cat >>confdefs.h <<\_ACEOF
5604  #define SPT_TYPE SPT_PSTAT
5605 -EOF
5606 +_ACEOF
5607  
5608         LIBS="$LIBS -lsec -lsecpw"
5609  
5610 -echo "$as_me:3594: checking for t_error in -lxnet" >&5
5611 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5612  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5613  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5614    echo $ECHO_N "(cached) $ECHO_C" >&6
5615 @@ -3599,8 +4215,12 @@
5616    ac_check_lib_save_LIBS=$LIBS
5617  LIBS="-lxnet  $LIBS"
5618  cat >conftest.$ac_ext <<_ACEOF
5619 -#line 3602 "configure"
5620 -#include "confdefs.h"
5621 +#line $LINENO "configure"
5622 +/* confdefs.h.  */
5623 +_ACEOF
5624 +cat confdefs.h >>conftest.$ac_ext
5625 +cat >>conftest.$ac_ext <<_ACEOF
5626 +/* end confdefs.h.  */
5627  
5628  /* Override any gcc2 internal prototype to avoid an error.  */
5629  #ifdef __cplusplus
5630 @@ -3618,37 +4238,38 @@
5631  }
5632  _ACEOF
5633  rm -f conftest.$ac_objext conftest$ac_exeext
5634 -if { (eval echo "$as_me:3621: \"$ac_link\"") >&5
5635 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5636    (eval $ac_link) 2>&5
5637    ac_status=$?
5638 -  echo "$as_me:3624: \$? = $ac_status" >&5
5639 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640    (exit $ac_status); } &&
5641           { ac_try='test -s conftest$ac_exeext'
5642 -  { (eval echo "$as_me:3627: \"$ac_try\"") >&5
5643 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644    (eval $ac_try) 2>&5
5645    ac_status=$?
5646 -  echo "$as_me:3630: \$? = $ac_status" >&5
5647 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648    (exit $ac_status); }; }; then
5649    ac_cv_lib_xnet_t_error=yes
5650  else
5651    echo "$as_me: failed program was:" >&5
5652 -cat conftest.$ac_ext >&5
5653 +sed 's/^/| /' conftest.$ac_ext >&5
5654 +
5655  ac_cv_lib_xnet_t_error=no
5656  fi
5657  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5658  LIBS=$ac_check_lib_save_LIBS
5659  fi
5660 -echo "$as_me:3641: result: $ac_cv_lib_xnet_t_error" >&5
5661 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5662  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5663  if test $ac_cv_lib_xnet_t_error = yes; then
5664 -  cat >>confdefs.h <<EOF
5665 +  cat >>confdefs.h <<_ACEOF
5666  #define HAVE_LIBXNET 1
5667 -EOF
5668 +_ACEOF
5669  
5670    LIBS="-lxnet $LIBS"
5671  
5672  else
5673 -  { { echo "$as_me:3651: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5674 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5675  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5676     { (exit 1); exit 1; }; }
5677  fi
5678 @@ -3661,37 +4282,37 @@
5679         fi
5680         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5681         IPADDR_IN_DISPLAY=yes
5682 -       cat >>confdefs.h <<\EOF
5683 +       cat >>confdefs.h <<\_ACEOF
5684  #define USE_PIPES 1
5685 -EOF
5686 +_ACEOF
5687  
5688 -       cat >>confdefs.h <<\EOF
5689 +       cat >>confdefs.h <<\_ACEOF
5690  #define LOGIN_NO_ENDOPT 1
5691 -EOF
5692 +_ACEOF
5693  
5694 -       cat >>confdefs.h <<\EOF
5695 +       cat >>confdefs.h <<\_ACEOF
5696  #define LOGIN_NEEDS_UTMPX 1
5697 -EOF
5698 +_ACEOF
5699  
5700 -       cat >>confdefs.h <<\EOF
5701 +       cat >>confdefs.h <<\_ACEOF
5702  #define DISABLE_SHADOW 1
5703 -EOF
5704 +_ACEOF
5705  
5706 -       cat >>confdefs.h <<\EOF
5707 +       cat >>confdefs.h <<\_ACEOF
5708  #define DISABLE_UTMP 1
5709 -EOF
5710 +_ACEOF
5711  
5712 -       cat >>confdefs.h <<\EOF
5713 +       cat >>confdefs.h <<\_ACEOF
5714  #define LOCKED_PASSWD_STRING "*"
5715 -EOF
5716 +_ACEOF
5717  
5718 -       cat >>confdefs.h <<\EOF
5719 +       cat >>confdefs.h <<\_ACEOF
5720  #define SPT_TYPE SPT_PSTAT
5721 -EOF
5722 +_ACEOF
5723  
5724         LIBS="$LIBS -lsec"
5725  
5726 -echo "$as_me:3694: checking for t_error in -lxnet" >&5
5727 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5728  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5729  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5730    echo $ECHO_N "(cached) $ECHO_C" >&6
5731 @@ -3699,8 +4320,12 @@
5732    ac_check_lib_save_LIBS=$LIBS
5733  LIBS="-lxnet  $LIBS"
5734  cat >conftest.$ac_ext <<_ACEOF
5735 -#line 3702 "configure"
5736 -#include "confdefs.h"
5737 +#line $LINENO "configure"
5738 +/* confdefs.h.  */
5739 +_ACEOF
5740 +cat confdefs.h >>conftest.$ac_ext
5741 +cat >>conftest.$ac_ext <<_ACEOF
5742 +/* end confdefs.h.  */
5743  
5744  /* Override any gcc2 internal prototype to avoid an error.  */
5745  #ifdef __cplusplus
5746 @@ -3718,37 +4343,38 @@
5747  }
5748  _ACEOF
5749  rm -f conftest.$ac_objext conftest$ac_exeext
5750 -if { (eval echo "$as_me:3721: \"$ac_link\"") >&5
5751 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5752    (eval $ac_link) 2>&5
5753    ac_status=$?
5754 -  echo "$as_me:3724: \$? = $ac_status" >&5
5755 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756    (exit $ac_status); } &&
5757           { ac_try='test -s conftest$ac_exeext'
5758 -  { (eval echo "$as_me:3727: \"$ac_try\"") >&5
5759 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5760    (eval $ac_try) 2>&5
5761    ac_status=$?
5762 -  echo "$as_me:3730: \$? = $ac_status" >&5
5763 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764    (exit $ac_status); }; }; then
5765    ac_cv_lib_xnet_t_error=yes
5766  else
5767    echo "$as_me: failed program was:" >&5
5768 -cat conftest.$ac_ext >&5
5769 +sed 's/^/| /' conftest.$ac_ext >&5
5770 +
5771  ac_cv_lib_xnet_t_error=no
5772  fi
5773  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5774  LIBS=$ac_check_lib_save_LIBS
5775  fi
5776 -echo "$as_me:3741: result: $ac_cv_lib_xnet_t_error" >&5
5777 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5778  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5779  if test $ac_cv_lib_xnet_t_error = yes; then
5780 -  cat >>confdefs.h <<EOF
5781 +  cat >>confdefs.h <<_ACEOF
5782  #define HAVE_LIBXNET 1
5783 -EOF
5784 +_ACEOF
5785  
5786    LIBS="-lxnet $LIBS"
5787  
5788  else
5789 -  { { echo "$as_me:3751: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5790 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5791  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5792     { (exit 1); exit 1; }; }
5793  fi
5794 @@ -3757,41 +4383,41 @@
5795  *-*-hpux11*)
5796         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5797         IPADDR_IN_DISPLAY=yes
5798 -       cat >>confdefs.h <<\EOF
5799 +       cat >>confdefs.h <<\_ACEOF
5800  #define PAM_SUN_CODEBASE 1
5801 -EOF
5802 +_ACEOF
5803  
5804 -       cat >>confdefs.h <<\EOF
5805 +       cat >>confdefs.h <<\_ACEOF
5806  #define USE_PIPES 1
5807 -EOF
5808 +_ACEOF
5809  
5810 -       cat >>confdefs.h <<\EOF
5811 +       cat >>confdefs.h <<\_ACEOF
5812  #define LOGIN_NO_ENDOPT 1
5813 -EOF
5814 +_ACEOF
5815  
5816 -       cat >>confdefs.h <<\EOF
5817 +       cat >>confdefs.h <<\_ACEOF
5818  #define LOGIN_NEEDS_UTMPX 1
5819 -EOF
5820 +_ACEOF
5821  
5822 -       cat >>confdefs.h <<\EOF
5823 +       cat >>confdefs.h <<\_ACEOF
5824  #define DISABLE_SHADOW 1
5825 -EOF
5826 +_ACEOF
5827  
5828 -       cat >>confdefs.h <<\EOF
5829 +       cat >>confdefs.h <<\_ACEOF
5830  #define DISABLE_UTMP 1
5831 -EOF
5832 +_ACEOF
5833  
5834 -       cat >>confdefs.h <<\EOF
5835 +       cat >>confdefs.h <<\_ACEOF
5836  #define LOCKED_PASSWD_STRING "*"
5837 -EOF
5838 +_ACEOF
5839  
5840 -       cat >>confdefs.h <<\EOF
5841 +       cat >>confdefs.h <<\_ACEOF
5842  #define SPT_TYPE SPT_PSTAT
5843 -EOF
5844 +_ACEOF
5845  
5846         LIBS="$LIBS -lsec"
5847  
5848 -echo "$as_me:3794: checking for t_error in -lxnet" >&5
5849 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5850  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5851  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5852    echo $ECHO_N "(cached) $ECHO_C" >&6
5853 @@ -3799,8 +4425,12 @@
5854    ac_check_lib_save_LIBS=$LIBS
5855  LIBS="-lxnet  $LIBS"
5856  cat >conftest.$ac_ext <<_ACEOF
5857 -#line 3802 "configure"
5858 -#include "confdefs.h"
5859 +#line $LINENO "configure"
5860 +/* confdefs.h.  */
5861 +_ACEOF
5862 +cat confdefs.h >>conftest.$ac_ext
5863 +cat >>conftest.$ac_ext <<_ACEOF
5864 +/* end confdefs.h.  */
5865  
5866  /* Override any gcc2 internal prototype to avoid an error.  */
5867  #ifdef __cplusplus
5868 @@ -3818,37 +4448,38 @@
5869  }
5870  _ACEOF
5871  rm -f conftest.$ac_objext conftest$ac_exeext
5872 -if { (eval echo "$as_me:3821: \"$ac_link\"") >&5
5873 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5874    (eval $ac_link) 2>&5
5875    ac_status=$?
5876 -  echo "$as_me:3824: \$? = $ac_status" >&5
5877 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878    (exit $ac_status); } &&
5879           { ac_try='test -s conftest$ac_exeext'
5880 -  { (eval echo "$as_me:3827: \"$ac_try\"") >&5
5881 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882    (eval $ac_try) 2>&5
5883    ac_status=$?
5884 -  echo "$as_me:3830: \$? = $ac_status" >&5
5885 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886    (exit $ac_status); }; }; then
5887    ac_cv_lib_xnet_t_error=yes
5888  else
5889    echo "$as_me: failed program was:" >&5
5890 -cat conftest.$ac_ext >&5
5891 +sed 's/^/| /' conftest.$ac_ext >&5
5892 +
5893  ac_cv_lib_xnet_t_error=no
5894  fi
5895  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5896  LIBS=$ac_check_lib_save_LIBS
5897  fi
5898 -echo "$as_me:3841: result: $ac_cv_lib_xnet_t_error" >&5
5899 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5900  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5901  if test $ac_cv_lib_xnet_t_error = yes; then
5902 -  cat >>confdefs.h <<EOF
5903 +  cat >>confdefs.h <<_ACEOF
5904  #define HAVE_LIBXNET 1
5905 -EOF
5906 +_ACEOF
5907  
5908    LIBS="-lxnet $LIBS"
5909  
5910  else
5911 -  { { echo "$as_me:3851: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5912 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5913  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5914     { (exit 1); exit 1; }; }
5915  fi
5916 @@ -3858,147 +4489,161 @@
5917         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5918         LDFLAGS="$LDFLAGS"
5919         PATH="$PATH:/usr/etc"
5920 -       cat >>confdefs.h <<\EOF
5921 +       cat >>confdefs.h <<\_ACEOF
5922  #define BROKEN_INET_NTOA 1
5923 -EOF
5924 +_ACEOF
5925  
5926 -       cat >>confdefs.h <<\EOF
5927 +       cat >>confdefs.h <<\_ACEOF
5928  #define WITH_ABBREV_NO_TTY 1
5929 -EOF
5930 +_ACEOF
5931  
5932 -       cat >>confdefs.h <<\EOF
5933 +       cat >>confdefs.h <<\_ACEOF
5934  #define LOCKED_PASSWD_STRING "*LK*"
5935 -EOF
5936 +_ACEOF
5937  
5938         ;;
5939  *-*-irix6*)
5940         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5941         LDFLAGS="$LDFLAGS"
5942         PATH="$PATH:/usr/etc"
5943 -       cat >>confdefs.h <<\EOF
5944 +       cat >>confdefs.h <<\_ACEOF
5945  #define WITH_IRIX_ARRAY 1
5946 -EOF
5947 +_ACEOF
5948  
5949 -       cat >>confdefs.h <<\EOF
5950 +       cat >>confdefs.h <<\_ACEOF
5951  #define WITH_IRIX_PROJECT 1
5952 -EOF
5953 +_ACEOF
5954  
5955 -       cat >>confdefs.h <<\EOF
5956 +       cat >>confdefs.h <<\_ACEOF
5957  #define WITH_IRIX_AUDIT 1
5958 -EOF
5959 +_ACEOF
5960  
5961 -       echo "$as_me:3890: checking for jlimit_startjob" >&5
5962 +       echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
5963  echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
5964  if test "${ac_cv_func_jlimit_startjob+set}" = set; then
5965    echo $ECHO_N "(cached) $ECHO_C" >&6
5966  else
5967    cat >conftest.$ac_ext <<_ACEOF
5968 -#line 3896 "configure"
5969 -#include "confdefs.h"
5970 +#line $LINENO "configure"
5971 +/* confdefs.h.  */
5972 +_ACEOF
5973 +cat confdefs.h >>conftest.$ac_ext
5974 +cat >>conftest.$ac_ext <<_ACEOF
5975 +/* end confdefs.h.  */
5976  /* System header to define __stub macros and hopefully few prototypes,
5977 -    which can conflict with char jlimit_startjob (); below.  */
5978 -#include <assert.h>
5979 +    which can conflict with char jlimit_startjob (); below.
5980 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5981 +    <limits.h> exists even on freestanding compilers.  */
5982 +#ifdef __STDC__
5983 +# include <limits.h>
5984 +#else
5985 +# include <assert.h>
5986 +#endif
5987  /* Override any gcc2 internal prototype to avoid an error.  */
5988  #ifdef __cplusplus
5989  extern "C"
5990 +{
5991  #endif
5992  /* We use char because int might match the return type of a gcc2
5993     builtin and then its argument prototype would still apply.  */
5994  char jlimit_startjob ();
5995 -char (*f) ();
5996 -
5997 -int
5998 -main ()
5999 -{
6000  /* The GNU C library defines this for functions which it implements
6001      to always fail with ENOSYS.  Some functions are actually named
6002      something starting with __ and the normal name is an alias.  */
6003  #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
6004  choke me
6005  #else
6006 -f = jlimit_startjob;
6007 +char (*f) () = jlimit_startjob;
6008 +#endif
6009 +#ifdef __cplusplus
6010 +}
6011  #endif
6012  
6013 +int
6014 +main ()
6015 +{
6016 +return f != jlimit_startjob;
6017    ;
6018    return 0;
6019  }
6020  _ACEOF
6021  rm -f conftest.$ac_objext conftest$ac_exeext
6022 -if { (eval echo "$as_me:3927: \"$ac_link\"") >&5
6023 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6024    (eval $ac_link) 2>&5
6025    ac_status=$?
6026 -  echo "$as_me:3930: \$? = $ac_status" >&5
6027 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028    (exit $ac_status); } &&
6029           { ac_try='test -s conftest$ac_exeext'
6030 -  { (eval echo "$as_me:3933: \"$ac_try\"") >&5
6031 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032    (eval $ac_try) 2>&5
6033    ac_status=$?
6034 -  echo "$as_me:3936: \$? = $ac_status" >&5
6035 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036    (exit $ac_status); }; }; then
6037    ac_cv_func_jlimit_startjob=yes
6038  else
6039    echo "$as_me: failed program was:" >&5
6040 -cat conftest.$ac_ext >&5
6041 +sed 's/^/| /' conftest.$ac_ext >&5
6042 +
6043  ac_cv_func_jlimit_startjob=no
6044  fi
6045  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6046  fi
6047 -echo "$as_me:3946: result: $ac_cv_func_jlimit_startjob" >&5
6048 +echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
6049  echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
6050  if test $ac_cv_func_jlimit_startjob = yes; then
6051 -  cat >>confdefs.h <<\EOF
6052 +  cat >>confdefs.h <<\_ACEOF
6053  #define WITH_IRIX_JOBS 1
6054 -EOF
6055 +_ACEOF
6056  
6057  fi
6058  
6059 -       cat >>confdefs.h <<\EOF
6060 +       cat >>confdefs.h <<\_ACEOF
6061  #define BROKEN_INET_NTOA 1
6062 -EOF
6063 +_ACEOF
6064  
6065 -       cat >>confdefs.h <<\EOF
6066 +       cat >>confdefs.h <<\_ACEOF
6067  #define WITH_ABBREV_NO_TTY 1
6068 -EOF
6069 +_ACEOF
6070  
6071 -       cat >>confdefs.h <<\EOF
6072 +       cat >>confdefs.h <<\_ACEOF
6073  #define LOCKED_PASSWD_STRING "*LK*"
6074 -EOF
6075 +_ACEOF
6076  
6077         ;;
6078  *-*-linux*)
6079         no_dev_ptmx=1
6080         check_for_libcrypt_later=1
6081         check_for_openpty_ctty_bug=1
6082 -       cat >>confdefs.h <<\EOF
6083 +       cat >>confdefs.h <<\_ACEOF
6084  #define DONT_TRY_OTHER_AF 1
6085 -EOF
6086 +_ACEOF
6087  
6088 -       cat >>confdefs.h <<\EOF
6089 +       cat >>confdefs.h <<\_ACEOF
6090  #define PAM_TTY_KLUDGE 1
6091 -EOF
6092 +_ACEOF
6093  
6094 -       cat >>confdefs.h <<\EOF
6095 +       cat >>confdefs.h <<\_ACEOF
6096  #define LOCKED_PASSWD_PREFIX "!!"
6097 -EOF
6098 +_ACEOF
6099  
6100 -       cat >>confdefs.h <<\EOF
6101 +       cat >>confdefs.h <<\_ACEOF
6102  #define SPT_TYPE SPT_REUSEARGV
6103 -EOF
6104 +_ACEOF
6105  
6106         inet6_default_4in6=yes
6107         case `uname -r` in
6108         1.*|2.0.*)
6109 -               cat >>confdefs.h <<\EOF
6110 +               cat >>confdefs.h <<\_ACEOF
6111  #define BROKEN_CMSG_TYPE 1
6112 -EOF
6113 +_ACEOF
6114  
6115                 ;;
6116         esac
6117         ;;
6118  mips-sony-bsd|mips-sony-newsos4)
6119 -       cat >>confdefs.h <<\EOF
6120 +       cat >>confdefs.h <<\_ACEOF
6121  #define HAVE_NEWS4 1
6122 -EOF
6123 +_ACEOF
6124  
6125         SONY=1
6126         ;;
6127 @@ -4014,21 +4659,21 @@
6128         conf_utmp_location=/etc/utmp
6129         conf_wtmp_location=/usr/adm/wtmp
6130         MAIL=/usr/spool/mail
6131 -       cat >>confdefs.h <<\EOF
6132 +       cat >>confdefs.h <<\_ACEOF
6133  #define HAVE_NEXT 1
6134 -EOF
6135 +_ACEOF
6136  
6137 -       cat >>confdefs.h <<\EOF
6138 +       cat >>confdefs.h <<\_ACEOF
6139  #define BROKEN_REALPATH 1
6140 -EOF
6141 +_ACEOF
6142  
6143 -       cat >>confdefs.h <<\EOF
6144 +       cat >>confdefs.h <<\_ACEOF
6145  #define USE_PIPES 1
6146 -EOF
6147 +_ACEOF
6148  
6149 -       cat >>confdefs.h <<\EOF
6150 +       cat >>confdefs.h <<\_ACEOF
6151  #define BROKEN_SAVED_UIDS 1
6152 -EOF
6153 +_ACEOF
6154  
6155         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6156         CFLAGS="$CFLAGS"
6157 @@ -4037,50 +4682,50 @@
6158         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6159         LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
6160         need_dash_r=1
6161 -       cat >>confdefs.h <<\EOF
6162 +       cat >>confdefs.h <<\_ACEOF
6163  #define PAM_SUN_CODEBASE 1
6164 -EOF
6165 +_ACEOF
6166  
6167 -       cat >>confdefs.h <<\EOF
6168 +       cat >>confdefs.h <<\_ACEOF
6169  #define LOGIN_NEEDS_UTMPX 1
6170 -EOF
6171 +_ACEOF
6172  
6173 -       cat >>confdefs.h <<\EOF
6174 +       cat >>confdefs.h <<\_ACEOF
6175  #define LOGIN_NEEDS_TERM 1
6176 -EOF
6177 +_ACEOF
6178  
6179 -       cat >>confdefs.h <<\EOF
6180 +       cat >>confdefs.h <<\_ACEOF
6181  #define PAM_TTY_KLUDGE 1
6182 -EOF
6183 +_ACEOF
6184  
6185 -       cat >>confdefs.h <<\EOF
6186 +       cat >>confdefs.h <<\_ACEOF
6187  #define LOCKED_PASSWD_STRING "*LK*"
6188 -EOF
6189 +_ACEOF
6190  
6191         # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
6192 -       cat >>confdefs.h <<\EOF
6193 +       cat >>confdefs.h <<\_ACEOF
6194  #define SSHD_ACQUIRES_CTTY 1
6195 -EOF
6196 +_ACEOF
6197  
6198         external_path_file=/etc/default/login
6199         # hardwire lastlog location (can't detect it on some versions)
6200         conf_lastlog_location="/var/adm/lastlog"
6201 -       echo "$as_me:4068: checking for obsolete utmp and wtmp in solaris2.x" >&5
6202 +       echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
6203  echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
6204         sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
6205         if test "$sol2ver" -ge 8; then
6206 -               echo "$as_me:4072: result: yes" >&5
6207 +               echo "$as_me:$LINENO: result: yes" >&5
6208  echo "${ECHO_T}yes" >&6
6209 -               cat >>confdefs.h <<\EOF
6210 +               cat >>confdefs.h <<\_ACEOF
6211  #define DISABLE_UTMP 1
6212 -EOF
6213 +_ACEOF
6214  
6215 -               cat >>confdefs.h <<\EOF
6216 +               cat >>confdefs.h <<\_ACEOF
6217  #define DISABLE_WTMP 1
6218 -EOF
6219 +_ACEOF
6220  
6221         else
6222 -               echo "$as_me:4083: result: no" >&5
6223 +               echo "$as_me:$LINENO: result: no" >&5
6224  echo "${ECHO_T}no" >&6
6225         fi
6226         ;;
6227 @@ -4090,95 +4735,109 @@
6228  for ac_func in getpwanam
6229  do
6230  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6231 -echo "$as_me:4093: checking for $ac_func" >&5
6232 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6233  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6234  if eval "test \"\${$as_ac_var+set}\" = set"; then
6235    echo $ECHO_N "(cached) $ECHO_C" >&6
6236  else
6237    cat >conftest.$ac_ext <<_ACEOF
6238 -#line 4099 "configure"
6239 -#include "confdefs.h"
6240 +#line $LINENO "configure"
6241 +/* confdefs.h.  */
6242 +_ACEOF
6243 +cat confdefs.h >>conftest.$ac_ext
6244 +cat >>conftest.$ac_ext <<_ACEOF
6245 +/* end confdefs.h.  */
6246  /* System header to define __stub macros and hopefully few prototypes,
6247 -    which can conflict with char $ac_func (); below.  */
6248 -#include <assert.h>
6249 +    which can conflict with char $ac_func (); below.
6250 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6251 +    <limits.h> exists even on freestanding compilers.  */
6252 +#ifdef __STDC__
6253 +# include <limits.h>
6254 +#else
6255 +# include <assert.h>
6256 +#endif
6257  /* Override any gcc2 internal prototype to avoid an error.  */
6258  #ifdef __cplusplus
6259  extern "C"
6260 +{
6261  #endif
6262  /* We use char because int might match the return type of a gcc2
6263     builtin and then its argument prototype would still apply.  */
6264  char $ac_func ();
6265 -char (*f) ();
6266 -
6267 -int
6268 -main ()
6269 -{
6270  /* The GNU C library defines this for functions which it implements
6271      to always fail with ENOSYS.  Some functions are actually named
6272      something starting with __ and the normal name is an alias.  */
6273  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6274  choke me
6275  #else
6276 -f = $ac_func;
6277 +char (*f) () = $ac_func;
6278 +#endif
6279 +#ifdef __cplusplus
6280 +}
6281  #endif
6282  
6283 +int
6284 +main ()
6285 +{
6286 +return f != $ac_func;
6287    ;
6288    return 0;
6289  }
6290  _ACEOF
6291  rm -f conftest.$ac_objext conftest$ac_exeext
6292 -if { (eval echo "$as_me:4130: \"$ac_link\"") >&5
6293 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6294    (eval $ac_link) 2>&5
6295    ac_status=$?
6296 -  echo "$as_me:4133: \$? = $ac_status" >&5
6297 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298    (exit $ac_status); } &&
6299           { ac_try='test -s conftest$ac_exeext'
6300 -  { (eval echo "$as_me:4136: \"$ac_try\"") >&5
6301 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302    (eval $ac_try) 2>&5
6303    ac_status=$?
6304 -  echo "$as_me:4139: \$? = $ac_status" >&5
6305 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306    (exit $ac_status); }; }; then
6307    eval "$as_ac_var=yes"
6308  else
6309    echo "$as_me: failed program was:" >&5
6310 -cat conftest.$ac_ext >&5
6311 +sed 's/^/| /' conftest.$ac_ext >&5
6312 +
6313  eval "$as_ac_var=no"
6314  fi
6315  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6316  fi
6317 -echo "$as_me:4149: result: `eval echo '${'$as_ac_var'}'`" >&5
6318 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6319  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6320  if test `eval echo '${'$as_ac_var'}'` = yes; then
6321 -  cat >>confdefs.h <<EOF
6322 +  cat >>confdefs.h <<_ACEOF
6323  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6324 -EOF
6325 +_ACEOF
6326  
6327  fi
6328  done
6329  
6330 -       cat >>confdefs.h <<\EOF
6331 +       cat >>confdefs.h <<\_ACEOF
6332  #define PAM_SUN_CODEBASE 1
6333 -EOF
6334 +_ACEOF
6335  
6336         conf_utmp_location=/etc/utmp
6337         conf_wtmp_location=/var/adm/wtmp
6338         conf_lastlog_location=/var/adm/lastlog
6339 -       cat >>confdefs.h <<\EOF
6340 +       cat >>confdefs.h <<\_ACEOF
6341  #define USE_PIPES 1
6342 -EOF
6343 +_ACEOF
6344  
6345         ;;
6346  *-ncr-sysv*)
6347         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6348         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6349         LIBS="$LIBS -lc89"
6350 -       cat >>confdefs.h <<\EOF
6351 +       cat >>confdefs.h <<\_ACEOF
6352  #define USE_PIPES 1
6353 -EOF
6354 +_ACEOF
6355  
6356 -       cat >>confdefs.h <<\EOF
6357 +       cat >>confdefs.h <<\_ACEOF
6358  #define SSHD_ACQUIRES_CTTY 1
6359 -EOF
6360 +_ACEOF
6361  
6362         ;;
6363  *-sni-sysv*)
6364 @@ -4186,17 +4845,17 @@
6365         # /usr/ucblib MUST NOT be searched on ReliantUNIX
6366         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6367         IPADDR_IN_DISPLAY=yes
6368 -       cat >>confdefs.h <<\EOF
6369 +       cat >>confdefs.h <<\_ACEOF
6370  #define USE_PIPES 1
6371 -EOF
6372 +_ACEOF
6373  
6374 -       cat >>confdefs.h <<\EOF
6375 +       cat >>confdefs.h <<\_ACEOF
6376  #define IP_TOS_IS_BROKEN 1
6377 -EOF
6378 +_ACEOF
6379  
6380 -       cat >>confdefs.h <<\EOF
6381 +       cat >>confdefs.h <<\_ACEOF
6382  #define SSHD_ACQUIRES_CTTY 1
6383 -EOF
6384 +_ACEOF
6385  
6386         external_path_file=/etc/default/login
6387         # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
6388 @@ -4206,41 +4865,41 @@
6389  *-*-sysv4.2*)
6390         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6391         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6392 -       cat >>confdefs.h <<\EOF
6393 +       cat >>confdefs.h <<\_ACEOF
6394  #define USE_PIPES 1
6395 -EOF
6396 +_ACEOF
6397  
6398 -       cat >>confdefs.h <<\EOF
6399 +       cat >>confdefs.h <<\_ACEOF
6400  #define SETEUID_BREAKS_SETUID 1
6401 -EOF
6402 +_ACEOF
6403  
6404 -       cat >>confdefs.h <<\EOF
6405 +       cat >>confdefs.h <<\_ACEOF
6406  #define BROKEN_SETREUID 1
6407 -EOF
6408 +_ACEOF
6409  
6410 -       cat >>confdefs.h <<\EOF
6411 +       cat >>confdefs.h <<\_ACEOF
6412  #define BROKEN_SETREGID 1
6413 -EOF
6414 +_ACEOF
6415  
6416         ;;
6417  *-*-sysv5*)
6418         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6419         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6420 -       cat >>confdefs.h <<\EOF
6421 +       cat >>confdefs.h <<\_ACEOF
6422  #define USE_PIPES 1
6423 -EOF
6424 +_ACEOF
6425  
6426 -       cat >>confdefs.h <<\EOF
6427 +       cat >>confdefs.h <<\_ACEOF
6428  #define SETEUID_BREAKS_SETUID 1
6429 -EOF
6430 +_ACEOF
6431  
6432 -       cat >>confdefs.h <<\EOF
6433 +       cat >>confdefs.h <<\_ACEOF
6434  #define BROKEN_SETREUID 1
6435 -EOF
6436 +_ACEOF
6437  
6438 -       cat >>confdefs.h <<\EOF
6439 +       cat >>confdefs.h <<\_ACEOF
6440  #define BROKEN_SETREGID 1
6441 -EOF
6442 +_ACEOF
6443  
6444         ;;
6445  *-*-sysv*)
6446 @@ -4253,95 +4912,111 @@
6447         LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
6448         RANLIB=true
6449         no_dev_ptmx=1
6450 -       cat >>confdefs.h <<\EOF
6451 +       cat >>confdefs.h <<\_ACEOF
6452  #define BROKEN_SYS_TERMIO_H 1
6453 -EOF
6454 +_ACEOF
6455  
6456 -       cat >>confdefs.h <<\EOF
6457 +       cat >>confdefs.h <<\_ACEOF
6458  #define USE_PIPES 1
6459 -EOF
6460 +_ACEOF
6461  
6462 -       cat >>confdefs.h <<\EOF
6463 +       cat >>confdefs.h <<\_ACEOF
6464  #define HAVE_SECUREWARE 1
6465 -EOF
6466 +_ACEOF
6467  
6468 -       cat >>confdefs.h <<\EOF
6469 +       cat >>confdefs.h <<\_ACEOF
6470  #define DISABLE_SHADOW 1
6471 -EOF
6472 +_ACEOF
6473  
6474 -       cat >>confdefs.h <<\EOF
6475 +       cat >>confdefs.h <<\_ACEOF
6476  #define BROKEN_SAVED_UIDS 1
6477 -EOF
6478 +_ACEOF
6479  
6480 -       cat >>confdefs.h <<\EOF
6481 +       cat >>confdefs.h <<\_ACEOF
6482  #define WITH_ABBREV_NO_TTY 1
6483 -EOF
6484 +_ACEOF
6485 +
6486 +
6487  
6488  for ac_func in getluid setluid
6489  do
6490  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6491 -echo "$as_me:4283: checking for $ac_func" >&5
6492 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6493  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6494  if eval "test \"\${$as_ac_var+set}\" = set"; then
6495    echo $ECHO_N "(cached) $ECHO_C" >&6
6496  else
6497    cat >conftest.$ac_ext <<_ACEOF
6498 -#line 4289 "configure"
6499 -#include "confdefs.h"
6500 +#line $LINENO "configure"
6501 +/* confdefs.h.  */
6502 +_ACEOF
6503 +cat confdefs.h >>conftest.$ac_ext
6504 +cat >>conftest.$ac_ext <<_ACEOF
6505 +/* end confdefs.h.  */
6506  /* System header to define __stub macros and hopefully few prototypes,
6507 -    which can conflict with char $ac_func (); below.  */
6508 -#include <assert.h>
6509 +    which can conflict with char $ac_func (); below.
6510 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6511 +    <limits.h> exists even on freestanding compilers.  */
6512 +#ifdef __STDC__
6513 +# include <limits.h>
6514 +#else
6515 +# include <assert.h>
6516 +#endif
6517  /* Override any gcc2 internal prototype to avoid an error.  */
6518  #ifdef __cplusplus
6519  extern "C"
6520 +{
6521  #endif
6522  /* We use char because int might match the return type of a gcc2
6523     builtin and then its argument prototype would still apply.  */
6524  char $ac_func ();
6525 -char (*f) ();
6526 -
6527 -int
6528 -main ()
6529 -{
6530  /* The GNU C library defines this for functions which it implements
6531      to always fail with ENOSYS.  Some functions are actually named
6532      something starting with __ and the normal name is an alias.  */
6533  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6534  choke me
6535  #else
6536 -f = $ac_func;
6537 +char (*f) () = $ac_func;
6538 +#endif
6539 +#ifdef __cplusplus
6540 +}
6541  #endif
6542  
6543 +int
6544 +main ()
6545 +{
6546 +return f != $ac_func;
6547    ;
6548    return 0;
6549  }
6550  _ACEOF
6551  rm -f conftest.$ac_objext conftest$ac_exeext
6552 -if { (eval echo "$as_me:4320: \"$ac_link\"") >&5
6553 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6554    (eval $ac_link) 2>&5
6555    ac_status=$?
6556 -  echo "$as_me:4323: \$? = $ac_status" >&5
6557 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558    (exit $ac_status); } &&
6559           { ac_try='test -s conftest$ac_exeext'
6560 -  { (eval echo "$as_me:4326: \"$ac_try\"") >&5
6561 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6562    (eval $ac_try) 2>&5
6563    ac_status=$?
6564 -  echo "$as_me:4329: \$? = $ac_status" >&5
6565 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566    (exit $ac_status); }; }; then
6567    eval "$as_ac_var=yes"
6568  else
6569    echo "$as_me: failed program was:" >&5
6570 -cat conftest.$ac_ext >&5
6571 +sed 's/^/| /' conftest.$ac_ext >&5
6572 +
6573  eval "$as_ac_var=no"
6574  fi
6575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6576  fi
6577 -echo "$as_me:4339: result: `eval echo '${'$as_ac_var'}'`" >&5
6578 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6579  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6580  if test `eval echo '${'$as_ac_var'}'` = yes; then
6581 -  cat >>confdefs.h <<EOF
6582 +  cat >>confdefs.h <<_ACEOF
6583  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6584 -EOF
6585 +_ACEOF
6586  
6587  fi
6588  done
6589 @@ -4357,103 +5032,119 @@
6590         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6591         LIBS="$LIBS -lprot -lx -ltinfo -lm"
6592         no_dev_ptmx=1
6593 -       cat >>confdefs.h <<\EOF
6594 +       cat >>confdefs.h <<\_ACEOF
6595  #define USE_PIPES 1
6596 -EOF
6597 +_ACEOF
6598  
6599 -       cat >>confdefs.h <<\EOF
6600 +       cat >>confdefs.h <<\_ACEOF
6601  #define HAVE_SECUREWARE 1
6602 -EOF
6603 +_ACEOF
6604  
6605 -       cat >>confdefs.h <<\EOF
6606 +       cat >>confdefs.h <<\_ACEOF
6607  #define DISABLE_SHADOW 1
6608 -EOF
6609 +_ACEOF
6610  
6611 -       cat >>confdefs.h <<\EOF
6612 +       cat >>confdefs.h <<\_ACEOF
6613  #define DISABLE_FD_PASSING 1
6614 -EOF
6615 +_ACEOF
6616  
6617 -       cat >>confdefs.h <<\EOF
6618 +       cat >>confdefs.h <<\_ACEOF
6619  #define SETEUID_BREAKS_SETUID 1
6620 -EOF
6621 +_ACEOF
6622  
6623 -       cat >>confdefs.h <<\EOF
6624 +       cat >>confdefs.h <<\_ACEOF
6625  #define BROKEN_SETREUID 1
6626 -EOF
6627 +_ACEOF
6628  
6629 -       cat >>confdefs.h <<\EOF
6630 +       cat >>confdefs.h <<\_ACEOF
6631  #define BROKEN_SETREGID 1
6632 -EOF
6633 +_ACEOF
6634  
6635 -       cat >>confdefs.h <<\EOF
6636 +       cat >>confdefs.h <<\_ACEOF
6637  #define WITH_ABBREV_NO_TTY 1
6638 -EOF
6639 +_ACEOF
6640 +
6641 +
6642  
6643  for ac_func in getluid setluid
6644  do
6645  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6646 -echo "$as_me:4395: checking for $ac_func" >&5
6647 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6648  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6649  if eval "test \"\${$as_ac_var+set}\" = set"; then
6650    echo $ECHO_N "(cached) $ECHO_C" >&6
6651  else
6652    cat >conftest.$ac_ext <<_ACEOF
6653 -#line 4401 "configure"
6654 -#include "confdefs.h"
6655 +#line $LINENO "configure"
6656 +/* confdefs.h.  */
6657 +_ACEOF
6658 +cat confdefs.h >>conftest.$ac_ext
6659 +cat >>conftest.$ac_ext <<_ACEOF
6660 +/* end confdefs.h.  */
6661  /* System header to define __stub macros and hopefully few prototypes,
6662 -    which can conflict with char $ac_func (); below.  */
6663 -#include <assert.h>
6664 +    which can conflict with char $ac_func (); below.
6665 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6666 +    <limits.h> exists even on freestanding compilers.  */
6667 +#ifdef __STDC__
6668 +# include <limits.h>
6669 +#else
6670 +# include <assert.h>
6671 +#endif
6672  /* Override any gcc2 internal prototype to avoid an error.  */
6673  #ifdef __cplusplus
6674  extern "C"
6675 +{
6676  #endif
6677  /* We use char because int might match the return type of a gcc2
6678     builtin and then its argument prototype would still apply.  */
6679  char $ac_func ();
6680 -char (*f) ();
6681 -
6682 -int
6683 -main ()
6684 -{
6685  /* The GNU C library defines this for functions which it implements
6686      to always fail with ENOSYS.  Some functions are actually named
6687      something starting with __ and the normal name is an alias.  */
6688  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6689  choke me
6690  #else
6691 -f = $ac_func;
6692 +char (*f) () = $ac_func;
6693 +#endif
6694 +#ifdef __cplusplus
6695 +}
6696  #endif
6697  
6698 +int
6699 +main ()
6700 +{
6701 +return f != $ac_func;
6702    ;
6703    return 0;
6704  }
6705  _ACEOF
6706  rm -f conftest.$ac_objext conftest$ac_exeext
6707 -if { (eval echo "$as_me:4432: \"$ac_link\"") >&5
6708 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6709    (eval $ac_link) 2>&5
6710    ac_status=$?
6711 -  echo "$as_me:4435: \$? = $ac_status" >&5
6712 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713    (exit $ac_status); } &&
6714           { ac_try='test -s conftest$ac_exeext'
6715 -  { (eval echo "$as_me:4438: \"$ac_try\"") >&5
6716 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717    (eval $ac_try) 2>&5
6718    ac_status=$?
6719 -  echo "$as_me:4441: \$? = $ac_status" >&5
6720 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721    (exit $ac_status); }; }; then
6722    eval "$as_ac_var=yes"
6723  else
6724    echo "$as_me: failed program was:" >&5
6725 -cat conftest.$ac_ext >&5
6726 +sed 's/^/| /' conftest.$ac_ext >&5
6727 +
6728  eval "$as_ac_var=no"
6729  fi
6730  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6731  fi
6732 -echo "$as_me:4451: result: `eval echo '${'$as_ac_var'}'`" >&5
6733 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6734  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6735  if test `eval echo '${'$as_ac_var'}'` = yes; then
6736 -  cat >>confdefs.h <<EOF
6737 +  cat >>confdefs.h <<_ACEOF
6738  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6739 -EOF
6740 +_ACEOF
6741  
6742  fi
6743  done
6744 @@ -4461,54 +5152,54 @@
6745         MANTYPE=man
6746         ;;
6747  *-*-unicosmk*)
6748 -       cat >>confdefs.h <<\EOF
6749 +       cat >>confdefs.h <<\_ACEOF
6750  #define USE_PIPES 1
6751 -EOF
6752 +_ACEOF
6753  
6754 -       cat >>confdefs.h <<\EOF
6755 +       cat >>confdefs.h <<\_ACEOF
6756  #define DISABLE_FD_PASSING 1
6757 -EOF
6758 +_ACEOF
6759  
6760         LDFLAGS="$LDFLAGS"
6761         LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
6762         MANTYPE=cat
6763         ;;
6764  *-*-unicosmp*)
6765 -       cat >>confdefs.h <<\EOF
6766 +       cat >>confdefs.h <<\_ACEOF
6767  #define WITH_ABBREV_NO_TTY 1
6768 -EOF
6769 +_ACEOF
6770  
6771 -       cat >>confdefs.h <<\EOF
6772 +       cat >>confdefs.h <<\_ACEOF
6773  #define USE_PIPES 1
6774 -EOF
6775 +_ACEOF
6776  
6777 -       cat >>confdefs.h <<\EOF
6778 +       cat >>confdefs.h <<\_ACEOF
6779  #define DISABLE_FD_PASSING 1
6780 -EOF
6781 +_ACEOF
6782  
6783         LDFLAGS="$LDFLAGS"
6784         LIBS="$LIBS -lgen -lacid"
6785         MANTYPE=cat
6786         ;;
6787  *-*-unicos*)
6788 -       cat >>confdefs.h <<\EOF
6789 +       cat >>confdefs.h <<\_ACEOF
6790  #define USE_PIPES 1
6791 -EOF
6792 +_ACEOF
6793  
6794 -       cat >>confdefs.h <<\EOF
6795 +       cat >>confdefs.h <<\_ACEOF
6796  #define DISABLE_FD_PASSING 1
6797 -EOF
6798 +_ACEOF
6799  
6800 -       cat >>confdefs.h <<\EOF
6801 +       cat >>confdefs.h <<\_ACEOF
6802  #define NO_SSH_LASTLOG 1
6803 -EOF
6804 +_ACEOF
6805  
6806         LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
6807         LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
6808         MANTYPE=cat
6809         ;;
6810  *-dec-osf*)
6811 -       echo "$as_me:4511: checking for Digital Unix SIA" >&5
6812 +       echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
6813  echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
6814         no_osfsia=""
6815  
6816 @@ -4517,7 +5208,7 @@
6817    withval="$with_osfsia"
6818  
6819                         if test "x$withval" = "xno" ; then
6820 -                               echo "$as_me:4520: result: disabled" >&5
6821 +                               echo "$as_me:$LINENO: result: disabled" >&5
6822  echo "${ECHO_T}disabled" >&6
6823                                 no_osfsia=1
6824                         fi
6825 @@ -4525,60 +5216,60 @@
6826  fi;
6827         if test -z "$no_osfsia" ; then
6828                 if test -f /etc/sia/matrix.conf; then
6829 -                       echo "$as_me:4528: result: yes" >&5
6830 +                       echo "$as_me:$LINENO: result: yes" >&5
6831  echo "${ECHO_T}yes" >&6
6832 -                       cat >>confdefs.h <<\EOF
6833 +                       cat >>confdefs.h <<\_ACEOF
6834  #define HAVE_OSF_SIA 1
6835 -EOF
6836 +_ACEOF
6837  
6838 -                       cat >>confdefs.h <<\EOF
6839 +                       cat >>confdefs.h <<\_ACEOF
6840  #define DISABLE_LOGIN 1
6841 -EOF
6842 +_ACEOF
6843  
6844 -                       cat >>confdefs.h <<\EOF
6845 +                       cat >>confdefs.h <<\_ACEOF
6846  #define DISABLE_FD_PASSING 1
6847 -EOF
6848 +_ACEOF
6849  
6850                         LIBS="$LIBS -lsecurity -ldb -lm -laud"
6851                 else
6852 -                       echo "$as_me:4544: result: no" >&5
6853 +                       echo "$as_me:$LINENO: result: no" >&5
6854  echo "${ECHO_T}no" >&6
6855                 fi
6856         fi
6857 -       cat >>confdefs.h <<\EOF
6858 +       cat >>confdefs.h <<\_ACEOF
6859  #define DISABLE_FD_PASSING 1
6860 -EOF
6861 +_ACEOF
6862  
6863 -       cat >>confdefs.h <<\EOF
6864 +       cat >>confdefs.h <<\_ACEOF
6865  #define BROKEN_GETADDRINFO 1
6866 -EOF
6867 +_ACEOF
6868  
6869 -       cat >>confdefs.h <<\EOF
6870 +       cat >>confdefs.h <<\_ACEOF
6871  #define LOCKED_PASSWD_SUBSTR "Nologin"
6872 -EOF
6873 +_ACEOF
6874  
6875         ;;
6876  
6877  *-*-nto-qnx)
6878 -       cat >>confdefs.h <<\EOF
6879 +       cat >>confdefs.h <<\_ACEOF
6880  #define USE_PIPES 1
6881 -EOF
6882 +_ACEOF
6883  
6884 -       cat >>confdefs.h <<\EOF
6885 +       cat >>confdefs.h <<\_ACEOF
6886  #define NO_X11_UNIX_SOCKETS 1
6887 -EOF
6888 +_ACEOF
6889  
6890 -       cat >>confdefs.h <<\EOF
6891 +       cat >>confdefs.h <<\_ACEOF
6892  #define MISSING_NFDBITS 1
6893 -EOF
6894 +_ACEOF
6895  
6896 -       cat >>confdefs.h <<\EOF
6897 +       cat >>confdefs.h <<\_ACEOF
6898  #define MISSING_HOWMANY 1
6899 -EOF
6900 +_ACEOF
6901  
6902 -       cat >>confdefs.h <<\EOF
6903 +       cat >>confdefs.h <<\_ACEOF
6904  #define MISSING_FD_MASK 1
6905 -EOF
6906 +_ACEOF
6907  
6908         ;;
6909  esac
6910 @@ -4593,6 +5284,7 @@
6911                         CFLAGS="$CFLAGS $withval"
6912                 fi
6913  
6914 +
6915  fi;
6916  
6917  # Check whether --with-cppflags or --without-cppflags was given.
6918 @@ -4603,6 +5295,7 @@
6919                         CPPFLAGS="$CPPFLAGS $withval"
6920                 fi
6921  
6922 +
6923  fi;
6924  
6925  # Check whether --with-ldflags or --without-ldflags was given.
6926 @@ -4613,6 +5306,7 @@
6927                         LDFLAGS="$LDFLAGS $withval"
6928                 fi
6929  
6930 +
6931  fi;
6932  
6933  # Check whether --with-libs or --without-libs was given.
6934 @@ -4623,53 +5317,345 @@
6935                         LIBS="$LIBS $withval"
6936                 fi
6937  
6938 +
6939  fi;
6940  
6941 -echo "$as_me:4628: checking compiler and flags for sanity" >&5
6942 +echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
6943  echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
6944  if test "$cross_compiling" = yes; then
6945 -  { { echo "$as_me:4631: error: cannot run test program while cross compiling" >&5
6946 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
6947 -   { (exit 1); exit 1; }; }
6948 +       echo "$as_me:$LINENO: result: yes" >&5
6949 +echo "${ECHO_T}yes" >&6
6950 +
6951  else
6952    cat >conftest.$ac_ext <<_ACEOF
6953 -#line 4636 "configure"
6954 -#include "confdefs.h"
6955 +#line $LINENO "configure"
6956 +/* confdefs.h.  */
6957 +_ACEOF
6958 +cat confdefs.h >>conftest.$ac_ext
6959 +cat >>conftest.$ac_ext <<_ACEOF
6960 +/* end confdefs.h.  */
6961  
6962  #include <stdio.h>
6963  int main(){exit(0);}
6964  
6965  _ACEOF
6966  rm -f conftest$ac_exeext
6967 -if { (eval echo "$as_me:4644: \"$ac_link\"") >&5
6968 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969    (eval $ac_link) 2>&5
6970    ac_status=$?
6971 -  echo "$as_me:4647: \$? = $ac_status" >&5
6972 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6974 -  { (eval echo "$as_me:4649: \"$ac_try\"") >&5
6975 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976    (eval $ac_try) 2>&5
6977    ac_status=$?
6978 -  echo "$as_me:4652: \$? = $ac_status" >&5
6979 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980    (exit $ac_status); }; }; then
6981 -       echo "$as_me:4654: result: yes" >&5
6982 +       echo "$as_me:$LINENO: result: yes" >&5
6983  echo "${ECHO_T}yes" >&6
6984  else
6985    echo "$as_me: program exited with status $ac_status" >&5
6986  echo "$as_me: failed program was:" >&5
6987 -cat conftest.$ac_ext >&5
6988 +sed 's/^/| /' conftest.$ac_ext >&5
6989  
6990 -               echo "$as_me:4661: result: no" >&5
6991 +( exit $ac_status )
6992 +
6993 +               echo "$as_me:$LINENO: result: no" >&5
6994  echo "${ECHO_T}no" >&6
6995 -               { { echo "$as_me:4663: error: *** compiler cannot create working executables, check config.log ***" >&5
6996 +               { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5
6997  echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
6998     { (exit 1); exit 1; }; }
6999  
7000  fi
7001 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7002 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7003  fi
7004  
7005  # Checks for header files.
7006  
7007 +echo "$as_me:$LINENO: checking for egrep" >&5
7008 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7009 +if test "${ac_cv_prog_egrep+set}" = set; then
7010 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7011 +else
7012 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7013 +    then ac_cv_prog_egrep='grep -E'
7014 +    else ac_cv_prog_egrep='egrep'
7015 +    fi
7016 +fi
7017 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7018 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7019 + EGREP=$ac_cv_prog_egrep
7020 +
7021 +
7022 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7023 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7024 +if test "${ac_cv_header_stdc+set}" = set; then
7025 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7026 +else
7027 +  cat >conftest.$ac_ext <<_ACEOF
7028 +#line $LINENO "configure"
7029 +/* confdefs.h.  */
7030 +_ACEOF
7031 +cat confdefs.h >>conftest.$ac_ext
7032 +cat >>conftest.$ac_ext <<_ACEOF
7033 +/* end confdefs.h.  */
7034 +#include <stdlib.h>
7035 +#include <stdarg.h>
7036 +#include <string.h>
7037 +#include <float.h>
7038 +
7039 +int
7040 +main ()
7041 +{
7042 +
7043 +  ;
7044 +  return 0;
7045 +}
7046 +_ACEOF
7047 +rm -f conftest.$ac_objext
7048 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7049 +  (eval $ac_compile) 2>&5
7050 +  ac_status=$?
7051 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 +  (exit $ac_status); } &&
7053 +         { ac_try='test -s conftest.$ac_objext'
7054 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 +  (eval $ac_try) 2>&5
7056 +  ac_status=$?
7057 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 +  (exit $ac_status); }; }; then
7059 +  ac_cv_header_stdc=yes
7060 +else
7061 +  echo "$as_me: failed program was:" >&5
7062 +sed 's/^/| /' conftest.$ac_ext >&5
7063 +
7064 +ac_cv_header_stdc=no
7065 +fi
7066 +rm -f conftest.$ac_objext conftest.$ac_ext
7067 +
7068 +if test $ac_cv_header_stdc = yes; then
7069 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7070 +  cat >conftest.$ac_ext <<_ACEOF
7071 +#line $LINENO "configure"
7072 +/* confdefs.h.  */
7073 +_ACEOF
7074 +cat confdefs.h >>conftest.$ac_ext
7075 +cat >>conftest.$ac_ext <<_ACEOF
7076 +/* end confdefs.h.  */
7077 +#include <string.h>
7078 +
7079 +_ACEOF
7080 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7081 +  $EGREP "memchr" >/dev/null 2>&1; then
7082 +  :
7083 +else
7084 +  ac_cv_header_stdc=no
7085 +fi
7086 +rm -f conftest*
7087 +
7088 +fi
7089 +
7090 +if test $ac_cv_header_stdc = yes; then
7091 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7092 +  cat >conftest.$ac_ext <<_ACEOF
7093 +#line $LINENO "configure"
7094 +/* confdefs.h.  */
7095 +_ACEOF
7096 +cat confdefs.h >>conftest.$ac_ext
7097 +cat >>conftest.$ac_ext <<_ACEOF
7098 +/* end confdefs.h.  */
7099 +#include <stdlib.h>
7100 +
7101 +_ACEOF
7102 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7103 +  $EGREP "free" >/dev/null 2>&1; then
7104 +  :
7105 +else
7106 +  ac_cv_header_stdc=no
7107 +fi
7108 +rm -f conftest*
7109 +
7110 +fi
7111 +
7112 +if test $ac_cv_header_stdc = yes; then
7113 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7114 +  if test "$cross_compiling" = yes; then
7115 +  :
7116 +else
7117 +  cat >conftest.$ac_ext <<_ACEOF
7118 +#line $LINENO "configure"
7119 +/* confdefs.h.  */
7120 +_ACEOF
7121 +cat confdefs.h >>conftest.$ac_ext
7122 +cat >>conftest.$ac_ext <<_ACEOF
7123 +/* end confdefs.h.  */
7124 +#include <ctype.h>
7125 +#if ((' ' & 0x0FF) == 0x020)
7126 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7127 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7128 +#else
7129 +# define ISLOWER(c) \
7130 +                   (('a' <= (c) && (c) <= 'i') \
7131 +                     || ('j' <= (c) && (c) <= 'r') \
7132 +                     || ('s' <= (c) && (c) <= 'z'))
7133 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7134 +#endif
7135 +
7136 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7137 +int
7138 +main ()
7139 +{
7140 +  int i;
7141 +  for (i = 0; i < 256; i++)
7142 +    if (XOR (islower (i), ISLOWER (i))
7143 +        || toupper (i) != TOUPPER (i))
7144 +      exit(2);
7145 +  exit (0);
7146 +}
7147 +_ACEOF
7148 +rm -f conftest$ac_exeext
7149 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7150 +  (eval $ac_link) 2>&5
7151 +  ac_status=$?
7152 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7154 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 +  (eval $ac_try) 2>&5
7156 +  ac_status=$?
7157 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 +  (exit $ac_status); }; }; then
7159 +  :
7160 +else
7161 +  echo "$as_me: program exited with status $ac_status" >&5
7162 +echo "$as_me: failed program was:" >&5
7163 +sed 's/^/| /' conftest.$ac_ext >&5
7164 +
7165 +( exit $ac_status )
7166 +ac_cv_header_stdc=no
7167 +fi
7168 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7169 +fi
7170 +fi
7171 +fi
7172 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7173 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
7174 +if test $ac_cv_header_stdc = yes; then
7175 +
7176 +cat >>confdefs.h <<\_ACEOF
7177 +#define STDC_HEADERS 1
7178 +_ACEOF
7179 +
7180 +fi
7181 +
7182 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7183 +
7184 +
7185 +
7186 +
7187 +
7188 +
7189 +
7190 +
7191 +
7192 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7193 +                  inttypes.h stdint.h unistd.h
7194 +do
7195 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7196 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7197 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7198 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7199 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7200 +else
7201 +  cat >conftest.$ac_ext <<_ACEOF
7202 +#line $LINENO "configure"
7203 +/* confdefs.h.  */
7204 +_ACEOF
7205 +cat confdefs.h >>conftest.$ac_ext
7206 +cat >>conftest.$ac_ext <<_ACEOF
7207 +/* end confdefs.h.  */
7208 +$ac_includes_default
7209 +
7210 +#include <$ac_header>
7211 +_ACEOF
7212 +rm -f conftest.$ac_objext
7213 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7214 +  (eval $ac_compile) 2>&5
7215 +  ac_status=$?
7216 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 +  (exit $ac_status); } &&
7218 +         { ac_try='test -s conftest.$ac_objext'
7219 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220 +  (eval $ac_try) 2>&5
7221 +  ac_status=$?
7222 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 +  (exit $ac_status); }; }; then
7224 +  eval "$as_ac_Header=yes"
7225 +else
7226 +  echo "$as_me: failed program was:" >&5
7227 +sed 's/^/| /' conftest.$ac_ext >&5
7228 +
7229 +eval "$as_ac_Header=no"
7230 +fi
7231 +rm -f conftest.$ac_objext conftest.$ac_ext
7232 +fi
7233 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7234 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7235 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7236 +  cat >>confdefs.h <<_ACEOF
7237 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7238 +_ACEOF
7239 +
7240 +fi
7241 +
7242 +done
7243 +
7244 +
7245 +
7246 +
7247 +
7248 +
7249 +
7250 +
7251 +
7252 +
7253 +
7254 +
7255 +
7256 +
7257 +
7258 +
7259 +
7260 +
7261 +
7262 +
7263 +
7264 +
7265 +
7266 +
7267 +
7268 +
7269 +
7270 +
7271 +
7272 +
7273 +
7274 +
7275 +
7276 +
7277 +
7278 +
7279 +
7280 +
7281 +
7282 +
7283 +
7284 +
7285 +
7286 +
7287 +
7288 +
7289 +
7290 +
7291 +
7292  for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \
7293         getopt.h glob.h ia.h lastlog.h limits.h login.h \
7294         login_cap.h maillock.h netdb.h netgroup.h \
7295 @@ -4682,23 +5668,70 @@
7296         util.h utime.h utmp.h utmpx.h
7297  do
7298  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7299 -echo "$as_me:4685: checking for $ac_header" >&5
7300 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7301 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
7302  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7303  if eval "test \"\${$as_ac_Header+set}\" = set"; then
7304    echo $ECHO_N "(cached) $ECHO_C" >&6
7305 +fi
7306 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7307 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7308  else
7309 -  cat >conftest.$ac_ext <<_ACEOF
7310 -#line 4691 "configure"
7311 -#include "confdefs.h"
7312 +  # Is the header compilable?
7313 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7314 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7315 +cat >conftest.$ac_ext <<_ACEOF
7316 +#line $LINENO "configure"
7317 +/* confdefs.h.  */
7318 +_ACEOF
7319 +cat confdefs.h >>conftest.$ac_ext
7320 +cat >>conftest.$ac_ext <<_ACEOF
7321 +/* end confdefs.h.  */
7322 +$ac_includes_default
7323  #include <$ac_header>
7324  _ACEOF
7325 -if { (eval echo "$as_me:4695: \"$ac_cpp conftest.$ac_ext\"") >&5
7326 +rm -f conftest.$ac_objext
7327 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7328 +  (eval $ac_compile) 2>&5
7329 +  ac_status=$?
7330 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 +  (exit $ac_status); } &&
7332 +         { ac_try='test -s conftest.$ac_objext'
7333 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334 +  (eval $ac_try) 2>&5
7335 +  ac_status=$?
7336 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 +  (exit $ac_status); }; }; then
7338 +  ac_header_compiler=yes
7339 +else
7340 +  echo "$as_me: failed program was:" >&5
7341 +sed 's/^/| /' conftest.$ac_ext >&5
7342 +
7343 +ac_header_compiler=no
7344 +fi
7345 +rm -f conftest.$ac_objext conftest.$ac_ext
7346 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7347 +echo "${ECHO_T}$ac_header_compiler" >&6
7348 +
7349 +# Is the header present?
7350 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7351 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7352 +cat >conftest.$ac_ext <<_ACEOF
7353 +#line $LINENO "configure"
7354 +/* confdefs.h.  */
7355 +_ACEOF
7356 +cat confdefs.h >>conftest.$ac_ext
7357 +cat >>conftest.$ac_ext <<_ACEOF
7358 +/* end confdefs.h.  */
7359 +#include <$ac_header>
7360 +_ACEOF
7361 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7362    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7363    ac_status=$?
7364 -  egrep -v '^ *\+' conftest.er1 >conftest.err
7365 +  grep -v '^ *+' conftest.er1 >conftest.err
7366    rm -f conftest.er1
7367    cat conftest.err >&5
7368 -  echo "$as_me:4701: \$? = $ac_status" >&5
7369 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370    (exit $ac_status); } >/dev/null; then
7371    if test -s conftest.err; then
7372      ac_cpp_err=$ac_c_preproc_warn_flag
7373 @@ -4709,88 +5742,149 @@
7374    ac_cpp_err=yes
7375  fi
7376  if test -z "$ac_cpp_err"; then
7377 -  eval "$as_ac_Header=yes"
7378 +  ac_header_preproc=yes
7379  else
7380    echo "$as_me: failed program was:" >&5
7381 -  cat conftest.$ac_ext >&5
7382 -  eval "$as_ac_Header=no"
7383 +sed 's/^/| /' conftest.$ac_ext >&5
7384 +
7385 +  ac_header_preproc=no
7386  fi
7387  rm -f conftest.err conftest.$ac_ext
7388 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7389 +echo "${ECHO_T}$ac_header_preproc" >&6
7390 +
7391 +# So?  What about this header?
7392 +case $ac_header_compiler:$ac_header_preproc in
7393 +  yes:no )
7394 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7395 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7396 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7397 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7398 +    (
7399 +      cat <<\_ASBOX
7400 +## ------------------------------------ ##
7401 +## Report this to bug-autoconf@gnu.org. ##
7402 +## ------------------------------------ ##
7403 +_ASBOX
7404 +    ) |
7405 +      sed "s/^/$as_me: WARNING:     /" >&2
7406 +    ;;
7407 +  no:yes )
7408 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7409 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7410 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7411 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7412 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7413 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7414 +    (
7415 +      cat <<\_ASBOX
7416 +## ------------------------------------ ##
7417 +## Report this to bug-autoconf@gnu.org. ##
7418 +## ------------------------------------ ##
7419 +_ASBOX
7420 +    ) |
7421 +      sed "s/^/$as_me: WARNING:     /" >&2
7422 +    ;;
7423 +esac
7424 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7425 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7427 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7428 +else
7429 +  eval "$as_ac_Header=$ac_header_preproc"
7430  fi
7431 -echo "$as_me:4720: result: `eval echo '${'$as_ac_Header'}'`" >&5
7432 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7433  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7434 +
7435 +fi
7436  if test `eval echo '${'$as_ac_Header'}'` = yes; then
7437 -  cat >>confdefs.h <<EOF
7438 +  cat >>confdefs.h <<_ACEOF
7439  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7440 -EOF
7441 +_ACEOF
7442  
7443  fi
7444 +
7445  done
7446  
7447 +
7448  # Checks for libraries.
7449 -echo "$as_me:4731: checking for yp_match" >&5
7450 +echo "$as_me:$LINENO: checking for yp_match" >&5
7451  echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
7452  if test "${ac_cv_func_yp_match+set}" = set; then
7453    echo $ECHO_N "(cached) $ECHO_C" >&6
7454  else
7455    cat >conftest.$ac_ext <<_ACEOF
7456 -#line 4737 "configure"
7457 -#include "confdefs.h"
7458 +#line $LINENO "configure"
7459 +/* confdefs.h.  */
7460 +_ACEOF
7461 +cat confdefs.h >>conftest.$ac_ext
7462 +cat >>conftest.$ac_ext <<_ACEOF
7463 +/* end confdefs.h.  */
7464  /* System header to define __stub macros and hopefully few prototypes,
7465 -    which can conflict with char yp_match (); below.  */
7466 -#include <assert.h>
7467 +    which can conflict with char yp_match (); below.
7468 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7469 +    <limits.h> exists even on freestanding compilers.  */
7470 +#ifdef __STDC__
7471 +# include <limits.h>
7472 +#else
7473 +# include <assert.h>
7474 +#endif
7475  /* Override any gcc2 internal prototype to avoid an error.  */
7476  #ifdef __cplusplus
7477  extern "C"
7478 +{
7479  #endif
7480  /* We use char because int might match the return type of a gcc2
7481     builtin and then its argument prototype would still apply.  */
7482  char yp_match ();
7483 -char (*f) ();
7484 -
7485 -int
7486 -main ()
7487 -{
7488  /* The GNU C library defines this for functions which it implements
7489      to always fail with ENOSYS.  Some functions are actually named
7490      something starting with __ and the normal name is an alias.  */
7491  #if defined (__stub_yp_match) || defined (__stub___yp_match)
7492  choke me
7493  #else
7494 -f = yp_match;
7495 +char (*f) () = yp_match;
7496 +#endif
7497 +#ifdef __cplusplus
7498 +}
7499  #endif
7500  
7501 +int
7502 +main ()
7503 +{
7504 +return f != yp_match;
7505    ;
7506    return 0;
7507  }
7508  _ACEOF
7509  rm -f conftest.$ac_objext conftest$ac_exeext
7510 -if { (eval echo "$as_me:4768: \"$ac_link\"") >&5
7511 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7512    (eval $ac_link) 2>&5
7513    ac_status=$?
7514 -  echo "$as_me:4771: \$? = $ac_status" >&5
7515 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516    (exit $ac_status); } &&
7517           { ac_try='test -s conftest$ac_exeext'
7518 -  { (eval echo "$as_me:4774: \"$ac_try\"") >&5
7519 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7520    (eval $ac_try) 2>&5
7521    ac_status=$?
7522 -  echo "$as_me:4777: \$? = $ac_status" >&5
7523 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524    (exit $ac_status); }; }; then
7525    ac_cv_func_yp_match=yes
7526  else
7527    echo "$as_me: failed program was:" >&5
7528 -cat conftest.$ac_ext >&5
7529 +sed 's/^/| /' conftest.$ac_ext >&5
7530 +
7531  ac_cv_func_yp_match=no
7532  fi
7533  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7534  fi
7535 -echo "$as_me:4787: result: $ac_cv_func_yp_match" >&5
7536 +echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
7537  echo "${ECHO_T}$ac_cv_func_yp_match" >&6
7538  if test $ac_cv_func_yp_match = yes; then
7539    :
7540  else
7541  
7542 -echo "$as_me:4793: checking for yp_match in -lnsl" >&5
7543 +echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
7544  echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
7545  if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
7546    echo $ECHO_N "(cached) $ECHO_C" >&6
7547 @@ -4798,8 +5892,12 @@
7548    ac_check_lib_save_LIBS=$LIBS
7549  LIBS="-lnsl  $LIBS"
7550  cat >conftest.$ac_ext <<_ACEOF
7551 -#line 4801 "configure"
7552 -#include "confdefs.h"
7553 +#line $LINENO "configure"
7554 +/* confdefs.h.  */
7555 +_ACEOF
7556 +cat confdefs.h >>conftest.$ac_ext
7557 +cat >>conftest.$ac_ext <<_ACEOF
7558 +/* end confdefs.h.  */
7559  
7560  /* Override any gcc2 internal prototype to avoid an error.  */
7561  #ifdef __cplusplus
7562 @@ -4817,32 +5915,33 @@
7563  }
7564  _ACEOF
7565  rm -f conftest.$ac_objext conftest$ac_exeext
7566 -if { (eval echo "$as_me:4820: \"$ac_link\"") >&5
7567 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7568    (eval $ac_link) 2>&5
7569    ac_status=$?
7570 -  echo "$as_me:4823: \$? = $ac_status" >&5
7571 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572    (exit $ac_status); } &&
7573           { ac_try='test -s conftest$ac_exeext'
7574 -  { (eval echo "$as_me:4826: \"$ac_try\"") >&5
7575 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576    (eval $ac_try) 2>&5
7577    ac_status=$?
7578 -  echo "$as_me:4829: \$? = $ac_status" >&5
7579 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580    (exit $ac_status); }; }; then
7581    ac_cv_lib_nsl_yp_match=yes
7582  else
7583    echo "$as_me: failed program was:" >&5
7584 -cat conftest.$ac_ext >&5
7585 +sed 's/^/| /' conftest.$ac_ext >&5
7586 +
7587  ac_cv_lib_nsl_yp_match=no
7588  fi
7589  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7590  LIBS=$ac_check_lib_save_LIBS
7591  fi
7592 -echo "$as_me:4840: result: $ac_cv_lib_nsl_yp_match" >&5
7593 +echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
7594  echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
7595  if test $ac_cv_lib_nsl_yp_match = yes; then
7596 -  cat >>confdefs.h <<EOF
7597 +  cat >>confdefs.h <<_ACEOF
7598  #define HAVE_LIBNSL 1
7599 -EOF
7600 +_ACEOF
7601  
7602    LIBS="-lnsl $LIBS"
7603  
7604 @@ -4850,69 +5949,83 @@
7605  
7606  fi
7607  
7608 -echo "$as_me:4853: checking for setsockopt" >&5
7609 +echo "$as_me:$LINENO: checking for setsockopt" >&5
7610  echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
7611  if test "${ac_cv_func_setsockopt+set}" = set; then
7612    echo $ECHO_N "(cached) $ECHO_C" >&6
7613  else
7614    cat >conftest.$ac_ext <<_ACEOF
7615 -#line 4859 "configure"
7616 -#include "confdefs.h"
7617 +#line $LINENO "configure"
7618 +/* confdefs.h.  */
7619 +_ACEOF
7620 +cat confdefs.h >>conftest.$ac_ext
7621 +cat >>conftest.$ac_ext <<_ACEOF
7622 +/* end confdefs.h.  */
7623  /* System header to define __stub macros and hopefully few prototypes,
7624 -    which can conflict with char setsockopt (); below.  */
7625 -#include <assert.h>
7626 +    which can conflict with char setsockopt (); below.
7627 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7628 +    <limits.h> exists even on freestanding compilers.  */
7629 +#ifdef __STDC__
7630 +# include <limits.h>
7631 +#else
7632 +# include <assert.h>
7633 +#endif
7634  /* Override any gcc2 internal prototype to avoid an error.  */
7635  #ifdef __cplusplus
7636  extern "C"
7637 +{
7638  #endif
7639  /* We use char because int might match the return type of a gcc2
7640     builtin and then its argument prototype would still apply.  */
7641  char setsockopt ();
7642 -char (*f) ();
7643 -
7644 -int
7645 -main ()
7646 -{
7647  /* The GNU C library defines this for functions which it implements
7648      to always fail with ENOSYS.  Some functions are actually named
7649      something starting with __ and the normal name is an alias.  */
7650  #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
7651  choke me
7652  #else
7653 -f = setsockopt;
7654 +char (*f) () = setsockopt;
7655 +#endif
7656 +#ifdef __cplusplus
7657 +}
7658  #endif
7659  
7660 +int
7661 +main ()
7662 +{
7663 +return f != setsockopt;
7664    ;
7665    return 0;
7666  }
7667  _ACEOF
7668  rm -f conftest.$ac_objext conftest$ac_exeext
7669 -if { (eval echo "$as_me:4890: \"$ac_link\"") >&5
7670 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7671    (eval $ac_link) 2>&5
7672    ac_status=$?
7673 -  echo "$as_me:4893: \$? = $ac_status" >&5
7674 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675    (exit $ac_status); } &&
7676           { ac_try='test -s conftest$ac_exeext'
7677 -  { (eval echo "$as_me:4896: \"$ac_try\"") >&5
7678 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679    (eval $ac_try) 2>&5
7680    ac_status=$?
7681 -  echo "$as_me:4899: \$? = $ac_status" >&5
7682 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683    (exit $ac_status); }; }; then
7684    ac_cv_func_setsockopt=yes
7685  else
7686    echo "$as_me: failed program was:" >&5
7687 -cat conftest.$ac_ext >&5
7688 +sed 's/^/| /' conftest.$ac_ext >&5
7689 +
7690  ac_cv_func_setsockopt=no
7691  fi
7692  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7693  fi
7694 -echo "$as_me:4909: result: $ac_cv_func_setsockopt" >&5
7695 +echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
7696  echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
7697  if test $ac_cv_func_setsockopt = yes; then
7698    :
7699  else
7700  
7701 -echo "$as_me:4915: checking for setsockopt in -lsocket" >&5
7702 +echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
7703  echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
7704  if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
7705    echo $ECHO_N "(cached) $ECHO_C" >&6
7706 @@ -4920,8 +6033,12 @@
7707    ac_check_lib_save_LIBS=$LIBS
7708  LIBS="-lsocket  $LIBS"
7709  cat >conftest.$ac_ext <<_ACEOF
7710 -#line 4923 "configure"
7711 -#include "confdefs.h"
7712 +#line $LINENO "configure"
7713 +/* confdefs.h.  */
7714 +_ACEOF
7715 +cat confdefs.h >>conftest.$ac_ext
7716 +cat >>conftest.$ac_ext <<_ACEOF
7717 +/* end confdefs.h.  */
7718  
7719  /* Override any gcc2 internal prototype to avoid an error.  */
7720  #ifdef __cplusplus
7721 @@ -4939,32 +6056,33 @@
7722  }
7723  _ACEOF
7724  rm -f conftest.$ac_objext conftest$ac_exeext
7725 -if { (eval echo "$as_me:4942: \"$ac_link\"") >&5
7726 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727    (eval $ac_link) 2>&5
7728    ac_status=$?
7729 -  echo "$as_me:4945: \$? = $ac_status" >&5
7730 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731    (exit $ac_status); } &&
7732           { ac_try='test -s conftest$ac_exeext'
7733 -  { (eval echo "$as_me:4948: \"$ac_try\"") >&5
7734 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735    (eval $ac_try) 2>&5
7736    ac_status=$?
7737 -  echo "$as_me:4951: \$? = $ac_status" >&5
7738 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739    (exit $ac_status); }; }; then
7740    ac_cv_lib_socket_setsockopt=yes
7741  else
7742    echo "$as_me: failed program was:" >&5
7743 -cat conftest.$ac_ext >&5
7744 +sed 's/^/| /' conftest.$ac_ext >&5
7745 +
7746  ac_cv_lib_socket_setsockopt=no
7747  fi
7748  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7749  LIBS=$ac_check_lib_save_LIBS
7750  fi
7751 -echo "$as_me:4962: result: $ac_cv_lib_socket_setsockopt" >&5
7752 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
7753  echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
7754  if test $ac_cv_lib_socket_setsockopt = yes; then
7755 -  cat >>confdefs.h <<EOF
7756 +  cat >>confdefs.h <<_ACEOF
7757  #define HAVE_LIBSOCKET 1
7758 -EOF
7759 +_ACEOF
7760  
7761    LIBS="-lsocket $LIBS"
7762  
7763 @@ -4972,9 +6090,10 @@
7764  
7765  fi
7766  
7767 +
7768  if test "x$with_tcp_wrappers" != "xno" ; then
7769      if test "x$do_sco3_extra_lib_check" = "xyes" ; then
7770 -       echo "$as_me:4977: checking for innetgr in -lrpc" >&5
7771 +       echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
7772  echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
7773  if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
7774    echo $ECHO_N "(cached) $ECHO_C" >&6
7775 @@ -4982,8 +6101,12 @@
7776    ac_check_lib_save_LIBS=$LIBS
7777  LIBS="-lrpc -lyp -lrpc $LIBS"
7778  cat >conftest.$ac_ext <<_ACEOF
7779 -#line 4985 "configure"
7780 -#include "confdefs.h"
7781 +#line $LINENO "configure"
7782 +/* confdefs.h.  */
7783 +_ACEOF
7784 +cat confdefs.h >>conftest.$ac_ext
7785 +cat >>conftest.$ac_ext <<_ACEOF
7786 +/* end confdefs.h.  */
7787  
7788  /* Override any gcc2 internal prototype to avoid an error.  */
7789  #ifdef __cplusplus
7790 @@ -5001,27 +6124,28 @@
7791  }
7792  _ACEOF
7793  rm -f conftest.$ac_objext conftest$ac_exeext
7794 -if { (eval echo "$as_me:5004: \"$ac_link\"") >&5
7795 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7796    (eval $ac_link) 2>&5
7797    ac_status=$?
7798 -  echo "$as_me:5007: \$? = $ac_status" >&5
7799 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800    (exit $ac_status); } &&
7801           { ac_try='test -s conftest$ac_exeext'
7802 -  { (eval echo "$as_me:5010: \"$ac_try\"") >&5
7803 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7804    (eval $ac_try) 2>&5
7805    ac_status=$?
7806 -  echo "$as_me:5013: \$? = $ac_status" >&5
7807 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808    (exit $ac_status); }; }; then
7809    ac_cv_lib_rpc_innetgr=yes
7810  else
7811    echo "$as_me: failed program was:" >&5
7812 -cat conftest.$ac_ext >&5
7813 +sed 's/^/| /' conftest.$ac_ext >&5
7814 +
7815  ac_cv_lib_rpc_innetgr=no
7816  fi
7817  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7818  LIBS=$ac_check_lib_save_LIBS
7819  fi
7820 -echo "$as_me:5024: result: $ac_cv_lib_rpc_innetgr" >&5
7821 +echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
7822  echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
7823  if test $ac_cv_lib_rpc_innetgr = yes; then
7824    LIBS="-lrpc -lyp -lrpc $LIBS"
7825 @@ -5030,92 +6154,154 @@
7826      fi
7827  fi
7828  
7829 +
7830  for ac_func in dirname
7831  do
7832  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7833 -echo "$as_me:5036: checking for $ac_func" >&5
7834 +echo "$as_me:$LINENO: checking for $ac_func" >&5
7835  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7836  if eval "test \"\${$as_ac_var+set}\" = set"; then
7837    echo $ECHO_N "(cached) $ECHO_C" >&6
7838  else
7839    cat >conftest.$ac_ext <<_ACEOF
7840 -#line 5042 "configure"
7841 -#include "confdefs.h"
7842 +#line $LINENO "configure"
7843 +/* confdefs.h.  */
7844 +_ACEOF
7845 +cat confdefs.h >>conftest.$ac_ext
7846 +cat >>conftest.$ac_ext <<_ACEOF
7847 +/* end confdefs.h.  */
7848  /* System header to define __stub macros and hopefully few prototypes,
7849 -    which can conflict with char $ac_func (); below.  */
7850 -#include <assert.h>
7851 +    which can conflict with char $ac_func (); below.
7852 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7853 +    <limits.h> exists even on freestanding compilers.  */
7854 +#ifdef __STDC__
7855 +# include <limits.h>
7856 +#else
7857 +# include <assert.h>
7858 +#endif
7859  /* Override any gcc2 internal prototype to avoid an error.  */
7860  #ifdef __cplusplus
7861  extern "C"
7862 +{
7863  #endif
7864  /* We use char because int might match the return type of a gcc2
7865     builtin and then its argument prototype would still apply.  */
7866  char $ac_func ();
7867 -char (*f) ();
7868 -
7869 -int
7870 -main ()
7871 -{
7872  /* The GNU C library defines this for functions which it implements
7873      to always fail with ENOSYS.  Some functions are actually named
7874      something starting with __ and the normal name is an alias.  */
7875  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7876  choke me
7877  #else
7878 -f = $ac_func;
7879 +char (*f) () = $ac_func;
7880 +#endif
7881 +#ifdef __cplusplus
7882 +}
7883  #endif
7884  
7885 +int
7886 +main ()
7887 +{
7888 +return f != $ac_func;
7889    ;
7890    return 0;
7891  }
7892  _ACEOF
7893  rm -f conftest.$ac_objext conftest$ac_exeext
7894 -if { (eval echo "$as_me:5073: \"$ac_link\"") >&5
7895 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7896    (eval $ac_link) 2>&5
7897    ac_status=$?
7898 -  echo "$as_me:5076: \$? = $ac_status" >&5
7899 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900    (exit $ac_status); } &&
7901           { ac_try='test -s conftest$ac_exeext'
7902 -  { (eval echo "$as_me:5079: \"$ac_try\"") >&5
7903 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904    (eval $ac_try) 2>&5
7905    ac_status=$?
7906 -  echo "$as_me:5082: \$? = $ac_status" >&5
7907 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908    (exit $ac_status); }; }; then
7909    eval "$as_ac_var=yes"
7910  else
7911    echo "$as_me: failed program was:" >&5
7912 -cat conftest.$ac_ext >&5
7913 +sed 's/^/| /' conftest.$ac_ext >&5
7914 +
7915  eval "$as_ac_var=no"
7916  fi
7917  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7918  fi
7919 -echo "$as_me:5092: result: `eval echo '${'$as_ac_var'}'`" >&5
7920 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7921  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7922  if test `eval echo '${'$as_ac_var'}'` = yes; then
7923 -  cat >>confdefs.h <<EOF
7924 +  cat >>confdefs.h <<_ACEOF
7925  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7926 -EOF
7927 +_ACEOF
7928  
7929  for ac_header in libgen.h
7930  do
7931  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7932 -echo "$as_me:5102: checking for $ac_header" >&5
7933 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7934 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
7935  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7936  if eval "test \"\${$as_ac_Header+set}\" = set"; then
7937    echo $ECHO_N "(cached) $ECHO_C" >&6
7938 +fi
7939 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7940 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7941  else
7942 -  cat >conftest.$ac_ext <<_ACEOF
7943 -#line 5108 "configure"
7944 -#include "confdefs.h"
7945 +  # Is the header compilable?
7946 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7947 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7948 +cat >conftest.$ac_ext <<_ACEOF
7949 +#line $LINENO "configure"
7950 +/* confdefs.h.  */
7951 +_ACEOF
7952 +cat confdefs.h >>conftest.$ac_ext
7953 +cat >>conftest.$ac_ext <<_ACEOF
7954 +/* end confdefs.h.  */
7955 +$ac_includes_default
7956  #include <$ac_header>
7957  _ACEOF
7958 -if { (eval echo "$as_me:5112: \"$ac_cpp conftest.$ac_ext\"") >&5
7959 +rm -f conftest.$ac_objext
7960 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 +  (eval $ac_compile) 2>&5
7962 +  ac_status=$?
7963 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 +  (exit $ac_status); } &&
7965 +         { ac_try='test -s conftest.$ac_objext'
7966 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 +  (eval $ac_try) 2>&5
7968 +  ac_status=$?
7969 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 +  (exit $ac_status); }; }; then
7971 +  ac_header_compiler=yes
7972 +else
7973 +  echo "$as_me: failed program was:" >&5
7974 +sed 's/^/| /' conftest.$ac_ext >&5
7975 +
7976 +ac_header_compiler=no
7977 +fi
7978 +rm -f conftest.$ac_objext conftest.$ac_ext
7979 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7980 +echo "${ECHO_T}$ac_header_compiler" >&6
7981 +
7982 +# Is the header present?
7983 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7984 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7985 +cat >conftest.$ac_ext <<_ACEOF
7986 +#line $LINENO "configure"
7987 +/* confdefs.h.  */
7988 +_ACEOF
7989 +cat confdefs.h >>conftest.$ac_ext
7990 +cat >>conftest.$ac_ext <<_ACEOF
7991 +/* end confdefs.h.  */
7992 +#include <$ac_header>
7993 +_ACEOF
7994 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7995    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7996    ac_status=$?
7997 -  egrep -v '^ *\+' conftest.er1 >conftest.err
7998 +  grep -v '^ *+' conftest.er1 >conftest.err
7999    rm -f conftest.er1
8000    cat conftest.err >&5
8001 -  echo "$as_me:5118: \$? = $ac_status" >&5
8002 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003    (exit $ac_status); } >/dev/null; then
8004    if test -s conftest.err; then
8005      ac_cpp_err=$ac_c_preproc_warn_flag
8006 @@ -5126,27 +6312,73 @@
8007    ac_cpp_err=yes
8008  fi
8009  if test -z "$ac_cpp_err"; then
8010 -  eval "$as_ac_Header=yes"
8011 +  ac_header_preproc=yes
8012  else
8013    echo "$as_me: failed program was:" >&5
8014 -  cat conftest.$ac_ext >&5
8015 -  eval "$as_ac_Header=no"
8016 +sed 's/^/| /' conftest.$ac_ext >&5
8017 +
8018 +  ac_header_preproc=no
8019  fi
8020  rm -f conftest.err conftest.$ac_ext
8021 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8022 +echo "${ECHO_T}$ac_header_preproc" >&6
8023 +
8024 +# So?  What about this header?
8025 +case $ac_header_compiler:$ac_header_preproc in
8026 +  yes:no )
8027 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8028 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8029 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8030 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8031 +    (
8032 +      cat <<\_ASBOX
8033 +## ------------------------------------ ##
8034 +## Report this to bug-autoconf@gnu.org. ##
8035 +## ------------------------------------ ##
8036 +_ASBOX
8037 +    ) |
8038 +      sed "s/^/$as_me: WARNING:     /" >&2
8039 +    ;;
8040 +  no:yes )
8041 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8042 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8043 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8044 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8045 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8046 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8047 +    (
8048 +      cat <<\_ASBOX
8049 +## ------------------------------------ ##
8050 +## Report this to bug-autoconf@gnu.org. ##
8051 +## ------------------------------------ ##
8052 +_ASBOX
8053 +    ) |
8054 +      sed "s/^/$as_me: WARNING:     /" >&2
8055 +    ;;
8056 +esac
8057 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8058 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8059 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8060 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8061 +else
8062 +  eval "$as_ac_Header=$ac_header_preproc"
8063  fi
8064 -echo "$as_me:5137: result: `eval echo '${'$as_ac_Header'}'`" >&5
8065 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8066  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8067 +
8068 +fi
8069  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8070 -  cat >>confdefs.h <<EOF
8071 +  cat >>confdefs.h <<_ACEOF
8072  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 -EOF
8074 +_ACEOF
8075  
8076  fi
8077 +
8078  done
8079  
8080  else
8081  
8082 -       echo "$as_me:5149: checking for dirname in -lgen" >&5
8083 +       echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
8084  echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
8085  if test "${ac_cv_lib_gen_dirname+set}" = set; then
8086    echo $ECHO_N "(cached) $ECHO_C" >&6
8087 @@ -5154,8 +6386,12 @@
8088    ac_check_lib_save_LIBS=$LIBS
8089  LIBS="-lgen  $LIBS"
8090  cat >conftest.$ac_ext <<_ACEOF
8091 -#line 5157 "configure"
8092 -#include "confdefs.h"
8093 +#line $LINENO "configure"
8094 +/* confdefs.h.  */
8095 +_ACEOF
8096 +cat confdefs.h >>conftest.$ac_ext
8097 +cat >>conftest.$ac_ext <<_ACEOF
8098 +/* end confdefs.h.  */
8099  
8100  /* Override any gcc2 internal prototype to avoid an error.  */
8101  #ifdef __cplusplus
8102 @@ -5173,31 +6409,32 @@
8103  }
8104  _ACEOF
8105  rm -f conftest.$ac_objext conftest$ac_exeext
8106 -if { (eval echo "$as_me:5176: \"$ac_link\"") >&5
8107 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8108    (eval $ac_link) 2>&5
8109    ac_status=$?
8110 -  echo "$as_me:5179: \$? = $ac_status" >&5
8111 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112    (exit $ac_status); } &&
8113           { ac_try='test -s conftest$ac_exeext'
8114 -  { (eval echo "$as_me:5182: \"$ac_try\"") >&5
8115 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116    (eval $ac_try) 2>&5
8117    ac_status=$?
8118 -  echo "$as_me:5185: \$? = $ac_status" >&5
8119 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120    (exit $ac_status); }; }; then
8121    ac_cv_lib_gen_dirname=yes
8122  else
8123    echo "$as_me: failed program was:" >&5
8124 -cat conftest.$ac_ext >&5
8125 +sed 's/^/| /' conftest.$ac_ext >&5
8126 +
8127  ac_cv_lib_gen_dirname=no
8128  fi
8129  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8130  LIBS=$ac_check_lib_save_LIBS
8131  fi
8132 -echo "$as_me:5196: result: $ac_cv_lib_gen_dirname" >&5
8133 +echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
8134  echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
8135  if test $ac_cv_lib_gen_dirname = yes; then
8136  
8137 -               echo "$as_me:5200: checking for broken dirname" >&5
8138 +               echo "$as_me:$LINENO: checking for broken dirname" >&5
8139  echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
8140  if test "${ac_cv_have_broken_dirname+set}" = set; then
8141    echo $ECHO_N "(cached) $ECHO_C" >&6
8142 @@ -5206,13 +6443,19 @@
8143                         save_LIBS="$LIBS"
8144                         LIBS="$LIBS -lgen"
8145                         if test "$cross_compiling" = yes; then
8146 -  { { echo "$as_me:5209: error: cannot run test program while cross compiling" >&5
8147 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8148 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8149 +See \`config.log' for more details." >&5
8150 +echo "$as_me: error: cannot run test program while cross compiling
8151 +See \`config.log' for more details." >&2;}
8152     { (exit 1); exit 1; }; }
8153  else
8154    cat >conftest.$ac_ext <<_ACEOF
8155 -#line 5214 "configure"
8156 -#include "confdefs.h"
8157 +#line $LINENO "configure"
8158 +/* confdefs.h.  */
8159 +_ACEOF
8160 +cat confdefs.h >>conftest.$ac_ext
8161 +cat >>conftest.$ac_ext <<_ACEOF
8162 +/* end confdefs.h.  */
8163  
8164  #include <libgen.h>
8165  #include <string.h>
8166 @@ -5231,57 +6474,107 @@
8167  
8168  _ACEOF
8169  rm -f conftest$ac_exeext
8170 -if { (eval echo "$as_me:5234: \"$ac_link\"") >&5
8171 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8172    (eval $ac_link) 2>&5
8173    ac_status=$?
8174 -  echo "$as_me:5237: \$? = $ac_status" >&5
8175 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8177 -  { (eval echo "$as_me:5239: \"$ac_try\"") >&5
8178 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179    (eval $ac_try) 2>&5
8180    ac_status=$?
8181 -  echo "$as_me:5242: \$? = $ac_status" >&5
8182 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183    (exit $ac_status); }; }; then
8184     ac_cv_have_broken_dirname="no"
8185  else
8186    echo "$as_me: program exited with status $ac_status" >&5
8187  echo "$as_me: failed program was:" >&5
8188 -cat conftest.$ac_ext >&5
8189 +sed 's/^/| /' conftest.$ac_ext >&5
8190 +
8191 +( exit $ac_status )
8192   ac_cv_have_broken_dirname="yes"
8193  
8194  fi
8195 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8196 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8197  fi
8198                         LIBS="$save_LIBS"
8199  
8200  fi
8201 -echo "$as_me:5257: result: $ac_cv_have_broken_dirname" >&5
8202 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
8203  echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
8204                 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
8205                         LIBS="$LIBS -lgen"
8206 -                       cat >>confdefs.h <<\EOF
8207 +                       cat >>confdefs.h <<\_ACEOF
8208  #define HAVE_DIRNAME 1
8209 -EOF
8210 +_ACEOF
8211 +
8212  
8213  for ac_header in libgen.h
8214  do
8215  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8216 -echo "$as_me:5268: checking for $ac_header" >&5
8217 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8218 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
8219  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8220  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8221    echo $ECHO_N "(cached) $ECHO_C" >&6
8222 +fi
8223 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8224 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8225  else
8226 -  cat >conftest.$ac_ext <<_ACEOF
8227 -#line 5274 "configure"
8228 -#include "confdefs.h"
8229 +  # Is the header compilable?
8230 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
8231 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8232 +cat >conftest.$ac_ext <<_ACEOF
8233 +#line $LINENO "configure"
8234 +/* confdefs.h.  */
8235 +_ACEOF
8236 +cat confdefs.h >>conftest.$ac_ext
8237 +cat >>conftest.$ac_ext <<_ACEOF
8238 +/* end confdefs.h.  */
8239 +$ac_includes_default
8240  #include <$ac_header>
8241  _ACEOF
8242 -if { (eval echo "$as_me:5278: \"$ac_cpp conftest.$ac_ext\"") >&5
8243 +rm -f conftest.$ac_objext
8244 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8245 +  (eval $ac_compile) 2>&5
8246 +  ac_status=$?
8247 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 +  (exit $ac_status); } &&
8249 +         { ac_try='test -s conftest.$ac_objext'
8250 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 +  (eval $ac_try) 2>&5
8252 +  ac_status=$?
8253 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 +  (exit $ac_status); }; }; then
8255 +  ac_header_compiler=yes
8256 +else
8257 +  echo "$as_me: failed program was:" >&5
8258 +sed 's/^/| /' conftest.$ac_ext >&5
8259 +
8260 +ac_header_compiler=no
8261 +fi
8262 +rm -f conftest.$ac_objext conftest.$ac_ext
8263 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8264 +echo "${ECHO_T}$ac_header_compiler" >&6
8265 +
8266 +# Is the header present?
8267 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
8268 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8269 +cat >conftest.$ac_ext <<_ACEOF
8270 +#line $LINENO "configure"
8271 +/* confdefs.h.  */
8272 +_ACEOF
8273 +cat confdefs.h >>conftest.$ac_ext
8274 +cat >>conftest.$ac_ext <<_ACEOF
8275 +/* end confdefs.h.  */
8276 +#include <$ac_header>
8277 +_ACEOF
8278 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8279    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8280    ac_status=$?
8281 -  egrep -v '^ *\+' conftest.er1 >conftest.err
8282 +  grep -v '^ *+' conftest.er1 >conftest.err
8283    rm -f conftest.er1
8284    cat conftest.err >&5
8285 -  echo "$as_me:5284: \$? = $ac_status" >&5
8286 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287    (exit $ac_status); } >/dev/null; then
8288    if test -s conftest.err; then
8289      ac_cpp_err=$ac_c_preproc_warn_flag
8290 @@ -5292,93 +6585,155 @@
8291    ac_cpp_err=yes
8292  fi
8293  if test -z "$ac_cpp_err"; then
8294 -  eval "$as_ac_Header=yes"
8295 +  ac_header_preproc=yes
8296  else
8297    echo "$as_me: failed program was:" >&5
8298 -  cat conftest.$ac_ext >&5
8299 -  eval "$as_ac_Header=no"
8300 +sed 's/^/| /' conftest.$ac_ext >&5
8301 +
8302 +  ac_header_preproc=no
8303  fi
8304  rm -f conftest.err conftest.$ac_ext
8305 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8306 +echo "${ECHO_T}$ac_header_preproc" >&6
8307 +
8308 +# So?  What about this header?
8309 +case $ac_header_compiler:$ac_header_preproc in
8310 +  yes:no )
8311 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8312 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8313 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8314 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8315 +    (
8316 +      cat <<\_ASBOX
8317 +## ------------------------------------ ##
8318 +## Report this to bug-autoconf@gnu.org. ##
8319 +## ------------------------------------ ##
8320 +_ASBOX
8321 +    ) |
8322 +      sed "s/^/$as_me: WARNING:     /" >&2
8323 +    ;;
8324 +  no:yes )
8325 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8326 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8327 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8328 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8329 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8330 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8331 +    (
8332 +      cat <<\_ASBOX
8333 +## ------------------------------------ ##
8334 +## Report this to bug-autoconf@gnu.org. ##
8335 +## ------------------------------------ ##
8336 +_ASBOX
8337 +    ) |
8338 +      sed "s/^/$as_me: WARNING:     /" >&2
8339 +    ;;
8340 +esac
8341 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8342 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8343 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8344 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8345 +else
8346 +  eval "$as_ac_Header=$ac_header_preproc"
8347  fi
8348 -echo "$as_me:5303: result: `eval echo '${'$as_ac_Header'}'`" >&5
8349 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8350  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8351 +
8352 +fi
8353  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8354 -  cat >>confdefs.h <<EOF
8355 +  cat >>confdefs.h <<_ACEOF
8356  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8357 -EOF
8358 +_ACEOF
8359  
8360  fi
8361 +
8362  done
8363  
8364                 fi
8365  
8366  fi
8367  
8368 +
8369  fi
8370  done
8371  
8372 -echo "$as_me:5320: checking for getspnam" >&5
8373 +
8374 +echo "$as_me:$LINENO: checking for getspnam" >&5
8375  echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
8376  if test "${ac_cv_func_getspnam+set}" = set; then
8377    echo $ECHO_N "(cached) $ECHO_C" >&6
8378  else
8379    cat >conftest.$ac_ext <<_ACEOF
8380 -#line 5326 "configure"
8381 -#include "confdefs.h"
8382 +#line $LINENO "configure"
8383 +/* confdefs.h.  */
8384 +_ACEOF
8385 +cat confdefs.h >>conftest.$ac_ext
8386 +cat >>conftest.$ac_ext <<_ACEOF
8387 +/* end confdefs.h.  */
8388  /* System header to define __stub macros and hopefully few prototypes,
8389 -    which can conflict with char getspnam (); below.  */
8390 -#include <assert.h>
8391 +    which can conflict with char getspnam (); below.
8392 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8393 +    <limits.h> exists even on freestanding compilers.  */
8394 +#ifdef __STDC__
8395 +# include <limits.h>
8396 +#else
8397 +# include <assert.h>
8398 +#endif
8399  /* Override any gcc2 internal prototype to avoid an error.  */
8400  #ifdef __cplusplus
8401  extern "C"
8402 +{
8403  #endif
8404  /* We use char because int might match the return type of a gcc2
8405     builtin and then its argument prototype would still apply.  */
8406  char getspnam ();
8407 -char (*f) ();
8408 -
8409 -int
8410 -main ()
8411 -{
8412  /* The GNU C library defines this for functions which it implements
8413      to always fail with ENOSYS.  Some functions are actually named
8414      something starting with __ and the normal name is an alias.  */
8415  #if defined (__stub_getspnam) || defined (__stub___getspnam)
8416  choke me
8417  #else
8418 -f = getspnam;
8419 +char (*f) () = getspnam;
8420 +#endif
8421 +#ifdef __cplusplus
8422 +}
8423  #endif
8424  
8425 +int
8426 +main ()
8427 +{
8428 +return f != getspnam;
8429    ;
8430    return 0;
8431  }
8432  _ACEOF
8433  rm -f conftest.$ac_objext conftest$ac_exeext
8434 -if { (eval echo "$as_me:5357: \"$ac_link\"") >&5
8435 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436    (eval $ac_link) 2>&5
8437    ac_status=$?
8438 -  echo "$as_me:5360: \$? = $ac_status" >&5
8439 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440    (exit $ac_status); } &&
8441           { ac_try='test -s conftest$ac_exeext'
8442 -  { (eval echo "$as_me:5363: \"$ac_try\"") >&5
8443 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444    (eval $ac_try) 2>&5
8445    ac_status=$?
8446 -  echo "$as_me:5366: \$? = $ac_status" >&5
8447 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448    (exit $ac_status); }; }; then
8449    ac_cv_func_getspnam=yes
8450  else
8451    echo "$as_me: failed program was:" >&5
8452 -cat conftest.$ac_ext >&5
8453 +sed 's/^/| /' conftest.$ac_ext >&5
8454 +
8455  ac_cv_func_getspnam=no
8456  fi
8457  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8458  fi
8459 -echo "$as_me:5376: result: $ac_cv_func_getspnam" >&5
8460 +echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
8461  echo "${ECHO_T}$ac_cv_func_getspnam" >&6
8462  if test $ac_cv_func_getspnam = yes; then
8463    :
8464  else
8465 -  echo "$as_me:5381: checking for getspnam in -lgen" >&5
8466 +  echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
8467  echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
8468  if test "${ac_cv_lib_gen_getspnam+set}" = set; then
8469    echo $ECHO_N "(cached) $ECHO_C" >&6
8470 @@ -5386,8 +6741,12 @@
8471    ac_check_lib_save_LIBS=$LIBS
8472  LIBS="-lgen  $LIBS"
8473  cat >conftest.$ac_ext <<_ACEOF
8474 -#line 5389 "configure"
8475 -#include "confdefs.h"
8476 +#line $LINENO "configure"
8477 +/* confdefs.h.  */
8478 +_ACEOF
8479 +cat confdefs.h >>conftest.$ac_ext
8480 +cat >>conftest.$ac_ext <<_ACEOF
8481 +/* end confdefs.h.  */
8482  
8483  /* Override any gcc2 internal prototype to avoid an error.  */
8484  #ifdef __cplusplus
8485 @@ -5405,27 +6764,28 @@
8486  }
8487  _ACEOF
8488  rm -f conftest.$ac_objext conftest$ac_exeext
8489 -if { (eval echo "$as_me:5408: \"$ac_link\"") >&5
8490 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8491    (eval $ac_link) 2>&5
8492    ac_status=$?
8493 -  echo "$as_me:5411: \$? = $ac_status" >&5
8494 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495    (exit $ac_status); } &&
8496           { ac_try='test -s conftest$ac_exeext'
8497 -  { (eval echo "$as_me:5414: \"$ac_try\"") >&5
8498 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499    (eval $ac_try) 2>&5
8500    ac_status=$?
8501 -  echo "$as_me:5417: \$? = $ac_status" >&5
8502 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503    (exit $ac_status); }; }; then
8504    ac_cv_lib_gen_getspnam=yes
8505  else
8506    echo "$as_me: failed program was:" >&5
8507 -cat conftest.$ac_ext >&5
8508 +sed 's/^/| /' conftest.$ac_ext >&5
8509 +
8510  ac_cv_lib_gen_getspnam=no
8511  fi
8512  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8513  LIBS=$ac_check_lib_save_LIBS
8514  fi
8515 -echo "$as_me:5428: result: $ac_cv_lib_gen_getspnam" >&5
8516 +echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
8517  echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
8518  if test $ac_cv_lib_gen_getspnam = yes; then
8519    LIBS="$LIBS -lgen"
8520 @@ -5433,7 +6793,7 @@
8521  
8522  fi
8523  
8524 -echo "$as_me:5436: checking for library containing basename" >&5
8525 +echo "$as_me:$LINENO: checking for library containing basename" >&5
8526  echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
8527  if test "${ac_cv_search_basename+set}" = set; then
8528    echo $ECHO_N "(cached) $ECHO_C" >&6
8529 @@ -5441,8 +6801,12 @@
8530    ac_func_search_save_LIBS=$LIBS
8531  ac_cv_search_basename=no
8532  cat >conftest.$ac_ext <<_ACEOF
8533 -#line 5444 "configure"
8534 -#include "confdefs.h"
8535 +#line $LINENO "configure"
8536 +/* confdefs.h.  */
8537 +_ACEOF
8538 +cat confdefs.h >>conftest.$ac_ext
8539 +cat >>conftest.$ac_ext <<_ACEOF
8540 +/* end confdefs.h.  */
8541  
8542  /* Override any gcc2 internal prototype to avoid an error.  */
8543  #ifdef __cplusplus
8544 @@ -5460,29 +6824,34 @@
8545  }
8546  _ACEOF
8547  rm -f conftest.$ac_objext conftest$ac_exeext
8548 -if { (eval echo "$as_me:5463: \"$ac_link\"") >&5
8549 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8550    (eval $ac_link) 2>&5
8551    ac_status=$?
8552 -  echo "$as_me:5466: \$? = $ac_status" >&5
8553 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554    (exit $ac_status); } &&
8555           { ac_try='test -s conftest$ac_exeext'
8556 -  { (eval echo "$as_me:5469: \"$ac_try\"") >&5
8557 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558    (eval $ac_try) 2>&5
8559    ac_status=$?
8560 -  echo "$as_me:5472: \$? = $ac_status" >&5
8561 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562    (exit $ac_status); }; }; then
8563    ac_cv_search_basename="none required"
8564  else
8565    echo "$as_me: failed program was:" >&5
8566 -cat conftest.$ac_ext >&5
8567 +sed 's/^/| /' conftest.$ac_ext >&5
8568 +
8569  fi
8570  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8571  if test "$ac_cv_search_basename" = no; then
8572    for ac_lib in gen; do
8573      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
8574      cat >conftest.$ac_ext <<_ACEOF
8575 -#line 5484 "configure"
8576 -#include "confdefs.h"
8577 +#line $LINENO "configure"
8578 +/* confdefs.h.  */
8579 +_ACEOF
8580 +cat confdefs.h >>conftest.$ac_ext
8581 +cat >>conftest.$ac_ext <<_ACEOF
8582 +/* end confdefs.h.  */
8583  
8584  /* Override any gcc2 internal prototype to avoid an error.  */
8585  #ifdef __cplusplus
8586 @@ -5500,38 +6869,41 @@
8587  }
8588  _ACEOF
8589  rm -f conftest.$ac_objext conftest$ac_exeext
8590 -if { (eval echo "$as_me:5503: \"$ac_link\"") >&5
8591 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8592    (eval $ac_link) 2>&5
8593    ac_status=$?
8594 -  echo "$as_me:5506: \$? = $ac_status" >&5
8595 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596    (exit $ac_status); } &&
8597           { ac_try='test -s conftest$ac_exeext'
8598 -  { (eval echo "$as_me:5509: \"$ac_try\"") >&5
8599 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600    (eval $ac_try) 2>&5
8601    ac_status=$?
8602 -  echo "$as_me:5512: \$? = $ac_status" >&5
8603 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604    (exit $ac_status); }; }; then
8605    ac_cv_search_basename="-l$ac_lib"
8606  break
8607  else
8608    echo "$as_me: failed program was:" >&5
8609 -cat conftest.$ac_ext >&5
8610 +sed 's/^/| /' conftest.$ac_ext >&5
8611 +
8612  fi
8613  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8614    done
8615  fi
8616  LIBS=$ac_func_search_save_LIBS
8617  fi
8618 -echo "$as_me:5525: result: $ac_cv_search_basename" >&5
8619 +echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
8620  echo "${ECHO_T}$ac_cv_search_basename" >&6
8621  if test "$ac_cv_search_basename" != no; then
8622    test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
8623 -  cat >>confdefs.h <<\EOF
8624 +  cat >>confdefs.h <<\_ACEOF
8625  #define HAVE_BASENAME 1
8626 -EOF
8627 +_ACEOF
8628  
8629  fi
8630  
8631 +
8632 +
8633  # Check whether --with-rpath or --without-rpath was given.
8634  if test "${with_rpath+set}" = set; then
8635    withval="$with_rpath"
8636 @@ -5543,14 +6915,16 @@
8637                         need_dash_r=1
8638                 fi
8639  
8640 +
8641  fi;
8642  
8643 +
8644  # Check whether --with-zlib or --without-zlib was given.
8645  if test "${with_zlib+set}" = set; then
8646    withval="$with_zlib"
8647  
8648                 if test "x$withval" = "xno" ; then
8649 -                       { { echo "$as_me:5553: error: *** zlib is required ***" >&5
8650 +                       { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
8651  echo "$as_me: error: *** zlib is required ***" >&2;}
8652     { (exit 1); exit 1; }; }
8653                 fi
8654 @@ -5573,9 +6947,11 @@
8655                         CPPFLAGS="-I${withval} ${CPPFLAGS}"
8656                 fi
8657  
8658 +
8659  fi;
8660  
8661 -echo "$as_me:5578: checking for deflate in -lz" >&5
8662 +
8663 +echo "$as_me:$LINENO: checking for deflate in -lz" >&5
8664  echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
8665  if test "${ac_cv_lib_z_deflate+set}" = set; then
8666    echo $ECHO_N "(cached) $ECHO_C" >&6
8667 @@ -5583,8 +6959,12 @@
8668    ac_check_lib_save_LIBS=$LIBS
8669  LIBS="-lz  $LIBS"
8670  cat >conftest.$ac_ext <<_ACEOF
8671 -#line 5586 "configure"
8672 -#include "confdefs.h"
8673 +#line $LINENO "configure"
8674 +/* confdefs.h.  */
8675 +_ACEOF
8676 +cat confdefs.h >>conftest.$ac_ext
8677 +cat >>conftest.$ac_ext <<_ACEOF
8678 +/* end confdefs.h.  */
8679  
8680  /* Override any gcc2 internal prototype to avoid an error.  */
8681  #ifdef __cplusplus
8682 @@ -5602,103 +6982,119 @@
8683  }
8684  _ACEOF
8685  rm -f conftest.$ac_objext conftest$ac_exeext
8686 -if { (eval echo "$as_me:5605: \"$ac_link\"") >&5
8687 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8688    (eval $ac_link) 2>&5
8689    ac_status=$?
8690 -  echo "$as_me:5608: \$? = $ac_status" >&5
8691 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692    (exit $ac_status); } &&
8693           { ac_try='test -s conftest$ac_exeext'
8694 -  { (eval echo "$as_me:5611: \"$ac_try\"") >&5
8695 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696    (eval $ac_try) 2>&5
8697    ac_status=$?
8698 -  echo "$as_me:5614: \$? = $ac_status" >&5
8699 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700    (exit $ac_status); }; }; then
8701    ac_cv_lib_z_deflate=yes
8702  else
8703    echo "$as_me: failed program was:" >&5
8704 -cat conftest.$ac_ext >&5
8705 +sed 's/^/| /' conftest.$ac_ext >&5
8706 +
8707  ac_cv_lib_z_deflate=no
8708  fi
8709  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8710  LIBS=$ac_check_lib_save_LIBS
8711  fi
8712 -echo "$as_me:5625: result: $ac_cv_lib_z_deflate" >&5
8713 +echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
8714  echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
8715  if test $ac_cv_lib_z_deflate = yes; then
8716 -  cat >>confdefs.h <<EOF
8717 +  cat >>confdefs.h <<_ACEOF
8718  #define HAVE_LIBZ 1
8719 -EOF
8720 +_ACEOF
8721  
8722    LIBS="-lz $LIBS"
8723  
8724  else
8725 -  { { echo "$as_me:5635: error: *** zlib missing - please install first or check config.log ***" >&5
8726 +  { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
8727  echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
8728     { (exit 1); exit 1; }; }
8729  fi
8730  
8731 -echo "$as_me:5640: checking for strcasecmp" >&5
8732 +
8733 +echo "$as_me:$LINENO: checking for strcasecmp" >&5
8734  echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
8735  if test "${ac_cv_func_strcasecmp+set}" = set; then
8736    echo $ECHO_N "(cached) $ECHO_C" >&6
8737  else
8738    cat >conftest.$ac_ext <<_ACEOF
8739 -#line 5646 "configure"
8740 -#include "confdefs.h"
8741 +#line $LINENO "configure"
8742 +/* confdefs.h.  */
8743 +_ACEOF
8744 +cat confdefs.h >>conftest.$ac_ext
8745 +cat >>conftest.$ac_ext <<_ACEOF
8746 +/* end confdefs.h.  */
8747  /* System header to define __stub macros and hopefully few prototypes,
8748 -    which can conflict with char strcasecmp (); below.  */
8749 -#include <assert.h>
8750 +    which can conflict with char strcasecmp (); below.
8751 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8752 +    <limits.h> exists even on freestanding compilers.  */
8753 +#ifdef __STDC__
8754 +# include <limits.h>
8755 +#else
8756 +# include <assert.h>
8757 +#endif
8758  /* Override any gcc2 internal prototype to avoid an error.  */
8759  #ifdef __cplusplus
8760  extern "C"
8761 +{
8762  #endif
8763  /* We use char because int might match the return type of a gcc2
8764     builtin and then its argument prototype would still apply.  */
8765  char strcasecmp ();
8766 -char (*f) ();
8767 -
8768 -int
8769 -main ()
8770 -{
8771  /* The GNU C library defines this for functions which it implements
8772      to always fail with ENOSYS.  Some functions are actually named
8773      something starting with __ and the normal name is an alias.  */
8774  #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
8775  choke me
8776  #else
8777 -f = strcasecmp;
8778 +char (*f) () = strcasecmp;
8779 +#endif
8780 +#ifdef __cplusplus
8781 +}
8782  #endif
8783  
8784 +int
8785 +main ()
8786 +{
8787 +return f != strcasecmp;
8788    ;
8789    return 0;
8790  }
8791  _ACEOF
8792  rm -f conftest.$ac_objext conftest$ac_exeext
8793 -if { (eval echo "$as_me:5677: \"$ac_link\"") >&5
8794 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8795    (eval $ac_link) 2>&5
8796    ac_status=$?
8797 -  echo "$as_me:5680: \$? = $ac_status" >&5
8798 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799    (exit $ac_status); } &&
8800           { ac_try='test -s conftest$ac_exeext'
8801 -  { (eval echo "$as_me:5683: \"$ac_try\"") >&5
8802 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803    (eval $ac_try) 2>&5
8804    ac_status=$?
8805 -  echo "$as_me:5686: \$? = $ac_status" >&5
8806 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807    (exit $ac_status); }; }; then
8808    ac_cv_func_strcasecmp=yes
8809  else
8810    echo "$as_me: failed program was:" >&5
8811 -cat conftest.$ac_ext >&5
8812 +sed 's/^/| /' conftest.$ac_ext >&5
8813 +
8814  ac_cv_func_strcasecmp=no
8815  fi
8816  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8817  fi
8818 -echo "$as_me:5696: result: $ac_cv_func_strcasecmp" >&5
8819 +echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
8820  echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
8821  if test $ac_cv_func_strcasecmp = yes; then
8822    :
8823  else
8824 -   echo "$as_me:5701: checking for strcasecmp in -lresolv" >&5
8825 +   echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
8826  echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
8827  if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
8828    echo $ECHO_N "(cached) $ECHO_C" >&6
8829 @@ -5706,8 +7102,12 @@
8830    ac_check_lib_save_LIBS=$LIBS
8831  LIBS="-lresolv  $LIBS"
8832  cat >conftest.$ac_ext <<_ACEOF
8833 -#line 5709 "configure"
8834 -#include "confdefs.h"
8835 +#line $LINENO "configure"
8836 +/* confdefs.h.  */
8837 +_ACEOF
8838 +cat confdefs.h >>conftest.$ac_ext
8839 +cat >>conftest.$ac_ext <<_ACEOF
8840 +/* end confdefs.h.  */
8841  
8842  /* Override any gcc2 internal prototype to avoid an error.  */
8843  #ifdef __cplusplus
8844 @@ -5725,96 +7125,112 @@
8845  }
8846  _ACEOF
8847  rm -f conftest.$ac_objext conftest$ac_exeext
8848 -if { (eval echo "$as_me:5728: \"$ac_link\"") >&5
8849 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8850    (eval $ac_link) 2>&5
8851    ac_status=$?
8852 -  echo "$as_me:5731: \$? = $ac_status" >&5
8853 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854    (exit $ac_status); } &&
8855           { ac_try='test -s conftest$ac_exeext'
8856 -  { (eval echo "$as_me:5734: \"$ac_try\"") >&5
8857 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858    (eval $ac_try) 2>&5
8859    ac_status=$?
8860 -  echo "$as_me:5737: \$? = $ac_status" >&5
8861 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862    (exit $ac_status); }; }; then
8863    ac_cv_lib_resolv_strcasecmp=yes
8864  else
8865    echo "$as_me: failed program was:" >&5
8866 -cat conftest.$ac_ext >&5
8867 +sed 's/^/| /' conftest.$ac_ext >&5
8868 +
8869  ac_cv_lib_resolv_strcasecmp=no
8870  fi
8871  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8872  LIBS=$ac_check_lib_save_LIBS
8873  fi
8874 -echo "$as_me:5748: result: $ac_cv_lib_resolv_strcasecmp" >&5
8875 +echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
8876  echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
8877  if test $ac_cv_lib_resolv_strcasecmp = yes; then
8878    LIBS="$LIBS -lresolv"
8879  fi
8880  
8881 +
8882  fi
8883  
8884 -echo "$as_me:5756: checking for utimes" >&5
8885 +echo "$as_me:$LINENO: checking for utimes" >&5
8886  echo $ECHO_N "checking for utimes... $ECHO_C" >&6
8887  if test "${ac_cv_func_utimes+set}" = set; then
8888    echo $ECHO_N "(cached) $ECHO_C" >&6
8889  else
8890    cat >conftest.$ac_ext <<_ACEOF
8891 -#line 5762 "configure"
8892 -#include "confdefs.h"
8893 +#line $LINENO "configure"
8894 +/* confdefs.h.  */
8895 +_ACEOF
8896 +cat confdefs.h >>conftest.$ac_ext
8897 +cat >>conftest.$ac_ext <<_ACEOF
8898 +/* end confdefs.h.  */
8899  /* System header to define __stub macros and hopefully few prototypes,
8900 -    which can conflict with char utimes (); below.  */
8901 -#include <assert.h>
8902 +    which can conflict with char utimes (); below.
8903 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8904 +    <limits.h> exists even on freestanding compilers.  */
8905 +#ifdef __STDC__
8906 +# include <limits.h>
8907 +#else
8908 +# include <assert.h>
8909 +#endif
8910  /* Override any gcc2 internal prototype to avoid an error.  */
8911  #ifdef __cplusplus
8912  extern "C"
8913 +{
8914  #endif
8915  /* We use char because int might match the return type of a gcc2
8916     builtin and then its argument prototype would still apply.  */
8917  char utimes ();
8918 -char (*f) ();
8919 -
8920 -int
8921 -main ()
8922 -{
8923  /* The GNU C library defines this for functions which it implements
8924      to always fail with ENOSYS.  Some functions are actually named
8925      something starting with __ and the normal name is an alias.  */
8926  #if defined (__stub_utimes) || defined (__stub___utimes)
8927  choke me
8928  #else
8929 -f = utimes;
8930 +char (*f) () = utimes;
8931 +#endif
8932 +#ifdef __cplusplus
8933 +}
8934  #endif
8935  
8936 +int
8937 +main ()
8938 +{
8939 +return f != utimes;
8940    ;
8941    return 0;
8942  }
8943  _ACEOF
8944  rm -f conftest.$ac_objext conftest$ac_exeext
8945 -if { (eval echo "$as_me:5793: \"$ac_link\"") >&5
8946 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8947    (eval $ac_link) 2>&5
8948    ac_status=$?
8949 -  echo "$as_me:5796: \$? = $ac_status" >&5
8950 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951    (exit $ac_status); } &&
8952           { ac_try='test -s conftest$ac_exeext'
8953 -  { (eval echo "$as_me:5799: \"$ac_try\"") >&5
8954 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955    (eval $ac_try) 2>&5
8956    ac_status=$?
8957 -  echo "$as_me:5802: \$? = $ac_status" >&5
8958 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959    (exit $ac_status); }; }; then
8960    ac_cv_func_utimes=yes
8961  else
8962    echo "$as_me: failed program was:" >&5
8963 -cat conftest.$ac_ext >&5
8964 +sed 's/^/| /' conftest.$ac_ext >&5
8965 +
8966  ac_cv_func_utimes=no
8967  fi
8968  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8969  fi
8970 -echo "$as_me:5812: result: $ac_cv_func_utimes" >&5
8971 +echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
8972  echo "${ECHO_T}$ac_cv_func_utimes" >&6
8973  if test $ac_cv_func_utimes = yes; then
8974    :
8975  else
8976 -   echo "$as_me:5817: checking for utimes in -lc89" >&5
8977 +   echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
8978  echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
8979  if test "${ac_cv_lib_c89_utimes+set}" = set; then
8980    echo $ECHO_N "(cached) $ECHO_C" >&6
8981 @@ -5822,8 +7238,12 @@
8982    ac_check_lib_save_LIBS=$LIBS
8983  LIBS="-lc89  $LIBS"
8984  cat >conftest.$ac_ext <<_ACEOF
8985 -#line 5825 "configure"
8986 -#include "confdefs.h"
8987 +#line $LINENO "configure"
8988 +/* confdefs.h.  */
8989 +_ACEOF
8990 +cat confdefs.h >>conftest.$ac_ext
8991 +cat >>conftest.$ac_ext <<_ACEOF
8992 +/* end confdefs.h.  */
8993  
8994  /* Override any gcc2 internal prototype to avoid an error.  */
8995  #ifdef __cplusplus
8996 @@ -5841,58 +7261,109 @@
8997  }
8998  _ACEOF
8999  rm -f conftest.$ac_objext conftest$ac_exeext
9000 -if { (eval echo "$as_me:5844: \"$ac_link\"") >&5
9001 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9002    (eval $ac_link) 2>&5
9003    ac_status=$?
9004 -  echo "$as_me:5847: \$? = $ac_status" >&5
9005 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006    (exit $ac_status); } &&
9007           { ac_try='test -s conftest$ac_exeext'
9008 -  { (eval echo "$as_me:5850: \"$ac_try\"") >&5
9009 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010    (eval $ac_try) 2>&5
9011    ac_status=$?
9012 -  echo "$as_me:5853: \$? = $ac_status" >&5
9013 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014    (exit $ac_status); }; }; then
9015    ac_cv_lib_c89_utimes=yes
9016  else
9017    echo "$as_me: failed program was:" >&5
9018 -cat conftest.$ac_ext >&5
9019 +sed 's/^/| /' conftest.$ac_ext >&5
9020 +
9021  ac_cv_lib_c89_utimes=no
9022  fi
9023  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9024  LIBS=$ac_check_lib_save_LIBS
9025  fi
9026 -echo "$as_me:5864: result: $ac_cv_lib_c89_utimes" >&5
9027 +echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
9028  echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
9029  if test $ac_cv_lib_c89_utimes = yes; then
9030 -  cat >>confdefs.h <<\EOF
9031 +  cat >>confdefs.h <<\_ACEOF
9032  #define HAVE_UTIMES 1
9033 -EOF
9034 +_ACEOF
9035  
9036                                         LIBS="$LIBS -lc89"
9037  fi
9038  
9039 +
9040  fi
9041  
9042 +
9043 +
9044  for ac_header in libutil.h
9045  do
9046  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9047 -echo "$as_me:5879: checking for $ac_header" >&5
9048 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9049 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
9050  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9051  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9052    echo $ECHO_N "(cached) $ECHO_C" >&6
9053 +fi
9054 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9055 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9056  else
9057 -  cat >conftest.$ac_ext <<_ACEOF
9058 -#line 5885 "configure"
9059 -#include "confdefs.h"
9060 +  # Is the header compilable?
9061 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
9062 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9063 +cat >conftest.$ac_ext <<_ACEOF
9064 +#line $LINENO "configure"
9065 +/* confdefs.h.  */
9066 +_ACEOF
9067 +cat confdefs.h >>conftest.$ac_ext
9068 +cat >>conftest.$ac_ext <<_ACEOF
9069 +/* end confdefs.h.  */
9070 +$ac_includes_default
9071  #include <$ac_header>
9072  _ACEOF
9073 -if { (eval echo "$as_me:5889: \"$ac_cpp conftest.$ac_ext\"") >&5
9074 +rm -f conftest.$ac_objext
9075 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9076 +  (eval $ac_compile) 2>&5
9077 +  ac_status=$?
9078 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 +  (exit $ac_status); } &&
9080 +         { ac_try='test -s conftest.$ac_objext'
9081 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 +  (eval $ac_try) 2>&5
9083 +  ac_status=$?
9084 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 +  (exit $ac_status); }; }; then
9086 +  ac_header_compiler=yes
9087 +else
9088 +  echo "$as_me: failed program was:" >&5
9089 +sed 's/^/| /' conftest.$ac_ext >&5
9090 +
9091 +ac_header_compiler=no
9092 +fi
9093 +rm -f conftest.$ac_objext conftest.$ac_ext
9094 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9095 +echo "${ECHO_T}$ac_header_compiler" >&6
9096 +
9097 +# Is the header present?
9098 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
9099 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9100 +cat >conftest.$ac_ext <<_ACEOF
9101 +#line $LINENO "configure"
9102 +/* confdefs.h.  */
9103 +_ACEOF
9104 +cat confdefs.h >>conftest.$ac_ext
9105 +cat >>conftest.$ac_ext <<_ACEOF
9106 +/* end confdefs.h.  */
9107 +#include <$ac_header>
9108 +_ACEOF
9109 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9110    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9111    ac_status=$?
9112 -  egrep -v '^ *\+' conftest.er1 >conftest.err
9113 +  grep -v '^ *+' conftest.er1 >conftest.err
9114    rm -f conftest.er1
9115    cat conftest.err >&5
9116 -  echo "$as_me:5895: \$? = $ac_status" >&5
9117 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118    (exit $ac_status); } >/dev/null; then
9119    if test -s conftest.err; then
9120      ac_cpp_err=$ac_c_preproc_warn_flag
9121 @@ -5903,25 +7374,71 @@
9122    ac_cpp_err=yes
9123  fi
9124  if test -z "$ac_cpp_err"; then
9125 -  eval "$as_ac_Header=yes"
9126 +  ac_header_preproc=yes
9127  else
9128    echo "$as_me: failed program was:" >&5
9129 -  cat conftest.$ac_ext >&5
9130 -  eval "$as_ac_Header=no"
9131 +sed 's/^/| /' conftest.$ac_ext >&5
9132 +
9133 +  ac_header_preproc=no
9134  fi
9135  rm -f conftest.err conftest.$ac_ext
9136 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9137 +echo "${ECHO_T}$ac_header_preproc" >&6
9138 +
9139 +# So?  What about this header?
9140 +case $ac_header_compiler:$ac_header_preproc in
9141 +  yes:no )
9142 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9143 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9144 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9145 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9146 +    (
9147 +      cat <<\_ASBOX
9148 +## ------------------------------------ ##
9149 +## Report this to bug-autoconf@gnu.org. ##
9150 +## ------------------------------------ ##
9151 +_ASBOX
9152 +    ) |
9153 +      sed "s/^/$as_me: WARNING:     /" >&2
9154 +    ;;
9155 +  no:yes )
9156 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9157 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9158 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9159 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9160 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9161 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9162 +    (
9163 +      cat <<\_ASBOX
9164 +## ------------------------------------ ##
9165 +## Report this to bug-autoconf@gnu.org. ##
9166 +## ------------------------------------ ##
9167 +_ASBOX
9168 +    ) |
9169 +      sed "s/^/$as_me: WARNING:     /" >&2
9170 +    ;;
9171 +esac
9172 +echo "$as_me:$LINENO: checking for $ac_header" >&5
9173 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9174 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9175 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9176 +else
9177 +  eval "$as_ac_Header=$ac_header_preproc"
9178  fi
9179 -echo "$as_me:5914: result: `eval echo '${'$as_ac_Header'}'`" >&5
9180 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9181  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9182 +
9183 +fi
9184  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9185 -  cat >>confdefs.h <<EOF
9186 +  cat >>confdefs.h <<_ACEOF
9187  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9188 -EOF
9189 +_ACEOF
9190  
9191  fi
9192 +
9193  done
9194  
9195 -echo "$as_me:5924: checking for library containing login" >&5
9196 +echo "$as_me:$LINENO: checking for library containing login" >&5
9197  echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
9198  if test "${ac_cv_search_login+set}" = set; then
9199    echo $ECHO_N "(cached) $ECHO_C" >&6
9200 @@ -5929,8 +7446,12 @@
9201    ac_func_search_save_LIBS=$LIBS
9202  ac_cv_search_login=no
9203  cat >conftest.$ac_ext <<_ACEOF
9204 -#line 5932 "configure"
9205 -#include "confdefs.h"
9206 +#line $LINENO "configure"
9207 +/* confdefs.h.  */
9208 +_ACEOF
9209 +cat confdefs.h >>conftest.$ac_ext
9210 +cat >>conftest.$ac_ext <<_ACEOF
9211 +/* end confdefs.h.  */
9212  
9213  /* Override any gcc2 internal prototype to avoid an error.  */
9214  #ifdef __cplusplus
9215 @@ -5948,29 +7469,34 @@
9216  }
9217  _ACEOF
9218  rm -f conftest.$ac_objext conftest$ac_exeext
9219 -if { (eval echo "$as_me:5951: \"$ac_link\"") >&5
9220 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9221    (eval $ac_link) 2>&5
9222    ac_status=$?
9223 -  echo "$as_me:5954: \$? = $ac_status" >&5
9224 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225    (exit $ac_status); } &&
9226           { ac_try='test -s conftest$ac_exeext'
9227 -  { (eval echo "$as_me:5957: \"$ac_try\"") >&5
9228 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229    (eval $ac_try) 2>&5
9230    ac_status=$?
9231 -  echo "$as_me:5960: \$? = $ac_status" >&5
9232 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233    (exit $ac_status); }; }; then
9234    ac_cv_search_login="none required"
9235  else
9236    echo "$as_me: failed program was:" >&5
9237 -cat conftest.$ac_ext >&5
9238 +sed 's/^/| /' conftest.$ac_ext >&5
9239 +
9240  fi
9241  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9242  if test "$ac_cv_search_login" = no; then
9243    for ac_lib in util bsd; do
9244      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
9245      cat >conftest.$ac_ext <<_ACEOF
9246 -#line 5972 "configure"
9247 -#include "confdefs.h"
9248 +#line $LINENO "configure"
9249 +/* confdefs.h.  */
9250 +_ACEOF
9251 +cat confdefs.h >>conftest.$ac_ext
9252 +cat >>conftest.$ac_ext <<_ACEOF
9253 +/* end confdefs.h.  */
9254  
9255  /* Override any gcc2 internal prototype to avoid an error.  */
9256  #ifdef __cplusplus
9257 @@ -5988,176 +7514,210 @@
9258  }
9259  _ACEOF
9260  rm -f conftest.$ac_objext conftest$ac_exeext
9261 -if { (eval echo "$as_me:5991: \"$ac_link\"") >&5
9262 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9263    (eval $ac_link) 2>&5
9264    ac_status=$?
9265 -  echo "$as_me:5994: \$? = $ac_status" >&5
9266 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267    (exit $ac_status); } &&
9268           { ac_try='test -s conftest$ac_exeext'
9269 -  { (eval echo "$as_me:5997: \"$ac_try\"") >&5
9270 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9271    (eval $ac_try) 2>&5
9272    ac_status=$?
9273 -  echo "$as_me:6000: \$? = $ac_status" >&5
9274 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275    (exit $ac_status); }; }; then
9276    ac_cv_search_login="-l$ac_lib"
9277  break
9278  else
9279    echo "$as_me: failed program was:" >&5
9280 -cat conftest.$ac_ext >&5
9281 +sed 's/^/| /' conftest.$ac_ext >&5
9282 +
9283  fi
9284  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9285    done
9286  fi
9287  LIBS=$ac_func_search_save_LIBS
9288  fi
9289 -echo "$as_me:6013: result: $ac_cv_search_login" >&5
9290 +echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9291  echo "${ECHO_T}$ac_cv_search_login" >&6
9292  if test "$ac_cv_search_login" != no; then
9293    test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
9294 -  cat >>confdefs.h <<\EOF
9295 +  cat >>confdefs.h <<\_ACEOF
9296  #define HAVE_LOGIN 1
9297 -EOF
9298 +_ACEOF
9299  
9300  fi
9301  
9302 +
9303 +
9304 +
9305  for ac_func in logout updwtmp logwtmp
9306  do
9307  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9308 -echo "$as_me:6026: checking for $ac_func" >&5
9309 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9310  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9311  if eval "test \"\${$as_ac_var+set}\" = set"; then
9312    echo $ECHO_N "(cached) $ECHO_C" >&6
9313  else
9314    cat >conftest.$ac_ext <<_ACEOF
9315 -#line 6032 "configure"
9316 -#include "confdefs.h"
9317 +#line $LINENO "configure"
9318 +/* confdefs.h.  */
9319 +_ACEOF
9320 +cat confdefs.h >>conftest.$ac_ext
9321 +cat >>conftest.$ac_ext <<_ACEOF
9322 +/* end confdefs.h.  */
9323  /* System header to define __stub macros and hopefully few prototypes,
9324 -    which can conflict with char $ac_func (); below.  */
9325 -#include <assert.h>
9326 +    which can conflict with char $ac_func (); below.
9327 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9328 +    <limits.h> exists even on freestanding compilers.  */
9329 +#ifdef __STDC__
9330 +# include <limits.h>
9331 +#else
9332 +# include <assert.h>
9333 +#endif
9334  /* Override any gcc2 internal prototype to avoid an error.  */
9335  #ifdef __cplusplus
9336  extern "C"
9337 +{
9338  #endif
9339  /* We use char because int might match the return type of a gcc2
9340     builtin and then its argument prototype would still apply.  */
9341  char $ac_func ();
9342 -char (*f) ();
9343 -
9344 -int
9345 -main ()
9346 -{
9347  /* The GNU C library defines this for functions which it implements
9348      to always fail with ENOSYS.  Some functions are actually named
9349      something starting with __ and the normal name is an alias.  */
9350  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9351  choke me
9352  #else
9353 -f = $ac_func;
9354 +char (*f) () = $ac_func;
9355 +#endif
9356 +#ifdef __cplusplus
9357 +}
9358  #endif
9359  
9360 +int
9361 +main ()
9362 +{
9363 +return f != $ac_func;
9364    ;
9365    return 0;
9366  }
9367  _ACEOF
9368  rm -f conftest.$ac_objext conftest$ac_exeext
9369 -if { (eval echo "$as_me:6063: \"$ac_link\"") >&5
9370 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9371    (eval $ac_link) 2>&5
9372    ac_status=$?
9373 -  echo "$as_me:6066: \$? = $ac_status" >&5
9374 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375    (exit $ac_status); } &&
9376           { ac_try='test -s conftest$ac_exeext'
9377 -  { (eval echo "$as_me:6069: \"$ac_try\"") >&5
9378 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379    (eval $ac_try) 2>&5
9380    ac_status=$?
9381 -  echo "$as_me:6072: \$? = $ac_status" >&5
9382 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383    (exit $ac_status); }; }; then
9384    eval "$as_ac_var=yes"
9385  else
9386    echo "$as_me: failed program was:" >&5
9387 -cat conftest.$ac_ext >&5
9388 +sed 's/^/| /' conftest.$ac_ext >&5
9389 +
9390  eval "$as_ac_var=no"
9391  fi
9392  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9393  fi
9394 -echo "$as_me:6082: result: `eval echo '${'$as_ac_var'}'`" >&5
9395 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9396  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9397  if test `eval echo '${'$as_ac_var'}'` = yes; then
9398 -  cat >>confdefs.h <<EOF
9399 +  cat >>confdefs.h <<_ACEOF
9400  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9401 -EOF
9402 +_ACEOF
9403  
9404  fi
9405  done
9406  
9407 +
9408 +
9409  for ac_func in strftime
9410  do
9411  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9412 -echo "$as_me:6095: checking for $ac_func" >&5
9413 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9414  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9415  if eval "test \"\${$as_ac_var+set}\" = set"; then
9416    echo $ECHO_N "(cached) $ECHO_C" >&6
9417  else
9418    cat >conftest.$ac_ext <<_ACEOF
9419 -#line 6101 "configure"
9420 -#include "confdefs.h"
9421 +#line $LINENO "configure"
9422 +/* confdefs.h.  */
9423 +_ACEOF
9424 +cat confdefs.h >>conftest.$ac_ext
9425 +cat >>conftest.$ac_ext <<_ACEOF
9426 +/* end confdefs.h.  */
9427  /* System header to define __stub macros and hopefully few prototypes,
9428 -    which can conflict with char $ac_func (); below.  */
9429 -#include <assert.h>
9430 +    which can conflict with char $ac_func (); below.
9431 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9432 +    <limits.h> exists even on freestanding compilers.  */
9433 +#ifdef __STDC__
9434 +# include <limits.h>
9435 +#else
9436 +# include <assert.h>
9437 +#endif
9438  /* Override any gcc2 internal prototype to avoid an error.  */
9439  #ifdef __cplusplus
9440  extern "C"
9441 +{
9442  #endif
9443  /* We use char because int might match the return type of a gcc2
9444     builtin and then its argument prototype would still apply.  */
9445  char $ac_func ();
9446 -char (*f) ();
9447 -
9448 -int
9449 -main ()
9450 -{
9451  /* The GNU C library defines this for functions which it implements
9452      to always fail with ENOSYS.  Some functions are actually named
9453      something starting with __ and the normal name is an alias.  */
9454  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9455  choke me
9456  #else
9457 -f = $ac_func;
9458 +char (*f) () = $ac_func;
9459 +#endif
9460 +#ifdef __cplusplus
9461 +}
9462  #endif
9463  
9464 +int
9465 +main ()
9466 +{
9467 +return f != $ac_func;
9468    ;
9469    return 0;
9470  }
9471  _ACEOF
9472  rm -f conftest.$ac_objext conftest$ac_exeext
9473 -if { (eval echo "$as_me:6132: \"$ac_link\"") >&5
9474 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9475    (eval $ac_link) 2>&5
9476    ac_status=$?
9477 -  echo "$as_me:6135: \$? = $ac_status" >&5
9478 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479    (exit $ac_status); } &&
9480           { ac_try='test -s conftest$ac_exeext'
9481 -  { (eval echo "$as_me:6138: \"$ac_try\"") >&5
9482 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483    (eval $ac_try) 2>&5
9484    ac_status=$?
9485 -  echo "$as_me:6141: \$? = $ac_status" >&5
9486 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487    (exit $ac_status); }; }; then
9488    eval "$as_ac_var=yes"
9489  else
9490    echo "$as_me: failed program was:" >&5
9491 -cat conftest.$ac_ext >&5
9492 +sed 's/^/| /' conftest.$ac_ext >&5
9493 +
9494  eval "$as_ac_var=no"
9495  fi
9496  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9497  fi
9498 -echo "$as_me:6151: result: `eval echo '${'$as_ac_var'}'`" >&5
9499 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9500  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9501  if test `eval echo '${'$as_ac_var'}'` = yes; then
9502 -  cat >>confdefs.h <<EOF
9503 +  cat >>confdefs.h <<_ACEOF
9504  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9505 -EOF
9506 +_ACEOF
9507  
9508  else
9509    # strftime is in -lintl on SCO UNIX.
9510 -echo "$as_me:6160: checking for strftime in -lintl" >&5
9511 +echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
9512  echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
9513  if test "${ac_cv_lib_intl_strftime+set}" = set; then
9514    echo $ECHO_N "(cached) $ECHO_C" >&6
9515 @@ -6165,8 +7725,12 @@
9516    ac_check_lib_save_LIBS=$LIBS
9517  LIBS="-lintl  $LIBS"
9518  cat >conftest.$ac_ext <<_ACEOF
9519 -#line 6168 "configure"
9520 -#include "confdefs.h"
9521 +#line $LINENO "configure"
9522 +/* confdefs.h.  */
9523 +_ACEOF
9524 +cat confdefs.h >>conftest.$ac_ext
9525 +cat >>conftest.$ac_ext <<_ACEOF
9526 +/* end confdefs.h.  */
9527  
9528  /* Override any gcc2 internal prototype to avoid an error.  */
9529  #ifdef __cplusplus
9530 @@ -6184,32 +7748,33 @@
9531  }
9532  _ACEOF
9533  rm -f conftest.$ac_objext conftest$ac_exeext
9534 -if { (eval echo "$as_me:6187: \"$ac_link\"") >&5
9535 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9536    (eval $ac_link) 2>&5
9537    ac_status=$?
9538 -  echo "$as_me:6190: \$? = $ac_status" >&5
9539 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540    (exit $ac_status); } &&
9541           { ac_try='test -s conftest$ac_exeext'
9542 -  { (eval echo "$as_me:6193: \"$ac_try\"") >&5
9543 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544    (eval $ac_try) 2>&5
9545    ac_status=$?
9546 -  echo "$as_me:6196: \$? = $ac_status" >&5
9547 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548    (exit $ac_status); }; }; then
9549    ac_cv_lib_intl_strftime=yes
9550  else
9551    echo "$as_me: failed program was:" >&5
9552 -cat conftest.$ac_ext >&5
9553 +sed 's/^/| /' conftest.$ac_ext >&5
9554 +
9555  ac_cv_lib_intl_strftime=no
9556  fi
9557  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9558  LIBS=$ac_check_lib_save_LIBS
9559  fi
9560 -echo "$as_me:6207: result: $ac_cv_lib_intl_strftime" >&5
9561 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
9562  echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
9563  if test $ac_cv_lib_intl_strftime = yes; then
9564 -  cat >>confdefs.h <<\EOF
9565 +  cat >>confdefs.h <<\_ACEOF
9566  #define HAVE_STRFTIME 1
9567 -EOF
9568 +_ACEOF
9569  
9570  LIBS="-lintl $LIBS"
9571  fi
9572 @@ -6217,12 +7782,17 @@
9573  fi
9574  done
9575  
9576 +
9577  # Check for ALTDIRFUNC glob() extension
9578 -echo "$as_me:6221: checking for GLOB_ALTDIRFUNC support" >&5
9579 +echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
9580  echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
9581  cat >conftest.$ac_ext <<_ACEOF
9582 -#line 6224 "configure"
9583 -#include "confdefs.h"
9584 +#line $LINENO "configure"
9585 +/* confdefs.h.  */
9586 +_ACEOF
9587 +cat confdefs.h >>conftest.$ac_ext
9588 +cat >>conftest.$ac_ext <<_ACEOF
9589 +/* end confdefs.h.  */
9590  
9591                 #include <glob.h>
9592                 #ifdef GLOB_ALTDIRFUNC
9593 @@ -6231,94 +7801,119 @@
9594  
9595  _ACEOF
9596  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9597 -  egrep "FOUNDIT" >/dev/null 2>&1; then
9598 +  $EGREP "FOUNDIT" >/dev/null 2>&1; then
9599  
9600 -               cat >>confdefs.h <<\EOF
9601 +               cat >>confdefs.h <<\_ACEOF
9602  #define GLOB_HAS_ALTDIRFUNC 1
9603 -EOF
9604 +_ACEOF
9605  
9606 -               echo "$as_me:6240: result: yes" >&5
9607 +               echo "$as_me:$LINENO: result: yes" >&5
9608  echo "${ECHO_T}yes" >&6
9609  
9610  else
9611  
9612 -               echo "$as_me:6245: result: no" >&5
9613 +               echo "$as_me:$LINENO: result: no" >&5
9614  echo "${ECHO_T}no" >&6
9615  
9616 +
9617  fi
9618  rm -f conftest*
9619  
9620 +
9621  # Check for g.gl_matchc glob() extension
9622 -echo "$as_me:6252: checking for gl_matchc field in glob_t" >&5
9623 +echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
9624  echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
9625  cat >conftest.$ac_ext <<_ACEOF
9626 -#line 6255 "configure"
9627 -#include "confdefs.h"
9628 +#line $LINENO "configure"
9629 +/* confdefs.h.  */
9630 +_ACEOF
9631 +cat confdefs.h >>conftest.$ac_ext
9632 +cat >>conftest.$ac_ext <<_ACEOF
9633 +/* end confdefs.h.  */
9634  
9635                  #include <glob.h>
9636                 int main(void){glob_t g; g.gl_matchc = 1;}
9637  
9638  _ACEOF
9639  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9640 -  egrep "FOUNDIT" >/dev/null 2>&1; then
9641 +  $EGREP "FOUNDIT" >/dev/null 2>&1; then
9642  
9643 -                cat >>confdefs.h <<\EOF
9644 +                cat >>confdefs.h <<\_ACEOF
9645  #define GLOB_HAS_GL_MATCHC 1
9646 -EOF
9647 +_ACEOF
9648  
9649 -                echo "$as_me:6269: result: yes" >&5
9650 +                echo "$as_me:$LINENO: result: yes" >&5
9651  echo "${ECHO_T}yes" >&6
9652  
9653  else
9654  
9655 -                echo "$as_me:6274: result: no" >&5
9656 +                echo "$as_me:$LINENO: result: no" >&5
9657  echo "${ECHO_T}no" >&6
9658  
9659 +
9660  fi
9661  rm -f conftest*
9662  
9663 -echo "$as_me:6280: checking whether struct dirent allocates space for d_name" >&5
9664 +
9665 +echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
9666  echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
9667 -if test "$cross_compiling" = yes; then
9668 -  { { echo "$as_me:6283: error: cannot run test program while cross compiling" >&5
9669 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9670 +if test "${ac_cv_have_space_d_name_in_struct_dirent+set}" = set; then
9671 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9672 +else
9673 +
9674 +       if test "$cross_compiling" = yes; then
9675 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9676 +See \`config.log' for more details." >&5
9677 +echo "$as_me: error: cannot run test program while cross compiling
9678 +See \`config.log' for more details." >&2;}
9679     { (exit 1); exit 1; }; }
9680  else
9681    cat >conftest.$ac_ext <<_ACEOF
9682 -#line 6288 "configure"
9683 -#include "confdefs.h"
9684 +#line $LINENO "configure"
9685 +/* confdefs.h.  */
9686 +_ACEOF
9687 +cat confdefs.h >>conftest.$ac_ext
9688 +cat >>conftest.$ac_ext <<_ACEOF
9689 +/* end confdefs.h.  */
9690  
9691 -#include <sys/types.h>
9692 -#include <dirent.h>
9693 -int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
9694 +                       #include <sys/types.h>
9695 +                       #include <dirent.h>
9696 +                       int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
9697  
9698  _ACEOF
9699  rm -f conftest$ac_exeext
9700 -if { (eval echo "$as_me:6297: \"$ac_link\"") >&5
9701 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9702    (eval $ac_link) 2>&5
9703    ac_status=$?
9704 -  echo "$as_me:6300: \$? = $ac_status" >&5
9705 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9707 -  { (eval echo "$as_me:6302: \"$ac_try\"") >&5
9708 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709    (eval $ac_try) 2>&5
9710    ac_status=$?
9711 -  echo "$as_me:6305: \$? = $ac_status" >&5
9712 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713    (exit $ac_status); }; }; then
9714 -  echo "$as_me:6307: result: yes" >&5
9715 -echo "${ECHO_T}yes" >&6
9716 +  ac_cv_have_space_d_name_in_struct_dirent="yes"
9717  else
9718    echo "$as_me: program exited with status $ac_status" >&5
9719  echo "$as_me: failed program was:" >&5
9720 -cat conftest.$ac_ext >&5
9721 +sed 's/^/| /' conftest.$ac_ext >&5
9722  
9723 -               echo "$as_me:6314: result: no" >&5
9724 -echo "${ECHO_T}no" >&6
9725 -               cat >>confdefs.h <<\EOF
9726 -#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9727 -EOF
9728 +( exit $ac_status )
9729 +ac_cv_have_space_d_name_in_struct_dirent="no"
9730  
9731  fi
9732 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9733 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9734 +fi
9735 +
9736 +fi
9737 +echo "$as_me:$LINENO: result: $ac_cv_have_space_d_name_in_struct_dirent" >&5
9738 +echo "${ECHO_T}$ac_cv_have_space_d_name_in_struct_dirent" >&6
9739 +
9740 +if test "x$ac_cv_dirent_have_space_d_name" = "xyes" ; then
9741 +       cat >>confdefs.h <<\_ACEOF
9742 +#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9743 +_ACEOF
9744 +
9745  fi
9746  
9747  # Check whether user wants S/Key support
9748 @@ -6335,23 +7930,29 @@
9749                                 LDFLAGS="$LDFLAGS -L${withval}/lib"
9750                         fi
9751  
9752 -                       cat >>confdefs.h <<\EOF
9753 +                       cat >>confdefs.h <<\_ACEOF
9754  #define SKEY 1
9755 -EOF
9756 +_ACEOF
9757  
9758                         LIBS="-lskey $LIBS"
9759                         SKEY_MSG="yes"
9760  
9761 -                       echo "$as_me:6345: checking for s/key support" >&5
9762 +                       echo "$as_me:$LINENO: checking for s/key support" >&5
9763  echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
9764                         if test "$cross_compiling" = yes; then
9765 -  { { echo "$as_me:6348: error: cannot run test program while cross compiling" >&5
9766 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9767 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9768 +See \`config.log' for more details." >&5
9769 +echo "$as_me: error: cannot run test program while cross compiling
9770 +See \`config.log' for more details." >&2;}
9771     { (exit 1); exit 1; }; }
9772  else
9773    cat >conftest.$ac_ext <<_ACEOF
9774 -#line 6353 "configure"
9775 -#include "confdefs.h"
9776 +#line $LINENO "configure"
9777 +/* confdefs.h.  */
9778 +_ACEOF
9779 +cat confdefs.h >>conftest.$ac_ext
9780 +cat >>conftest.$ac_ext <<_ACEOF
9781 +/* end confdefs.h.  */
9782  
9783  #include <stdio.h>
9784  #include <skey.h>
9785 @@ -6359,34 +7960,37 @@
9786  
9787  _ACEOF
9788  rm -f conftest$ac_exeext
9789 -if { (eval echo "$as_me:6362: \"$ac_link\"") >&5
9790 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9791    (eval $ac_link) 2>&5
9792    ac_status=$?
9793 -  echo "$as_me:6365: \$? = $ac_status" >&5
9794 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9796 -  { (eval echo "$as_me:6367: \"$ac_try\"") >&5
9797 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9798    (eval $ac_try) 2>&5
9799    ac_status=$?
9800 -  echo "$as_me:6370: \$? = $ac_status" >&5
9801 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802    (exit $ac_status); }; }; then
9803 -  echo "$as_me:6372: result: yes" >&5
9804 +  echo "$as_me:$LINENO: result: yes" >&5
9805  echo "${ECHO_T}yes" >&6
9806  else
9807    echo "$as_me: program exited with status $ac_status" >&5
9808  echo "$as_me: failed program was:" >&5
9809 -cat conftest.$ac_ext >&5
9810 +sed 's/^/| /' conftest.$ac_ext >&5
9811  
9812 -                                       echo "$as_me:6379: result: no" >&5
9813 +( exit $ac_status )
9814 +
9815 +                                       echo "$as_me:$LINENO: result: no" >&5
9816  echo "${ECHO_T}no" >&6
9817 -                                       { { echo "$as_me:6381: error: ** Incomplete or missing s/key libraries." >&5
9818 +                                       { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
9819  echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
9820     { (exit 1); exit 1; }; }
9821  
9822  fi
9823 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9824 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9825  fi
9826                 fi
9827  
9828 +
9829  fi;
9830  
9831  # Check whether user wants TCP wrappers support
9832 @@ -6422,11 +8026,15 @@
9833                         fi
9834                         LIBWRAP="-lwrap"
9835                         LIBS="$LIBWRAP $LIBS"
9836 -                       echo "$as_me:6425: checking for libwrap" >&5
9837 +                       echo "$as_me:$LINENO: checking for libwrap" >&5
9838  echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
9839                         cat >conftest.$ac_ext <<_ACEOF
9840 -#line 6428 "configure"
9841 -#include "confdefs.h"
9842 +#line $LINENO "configure"
9843 +/* confdefs.h.  */
9844 +_ACEOF
9845 +cat confdefs.h >>conftest.$ac_ext
9846 +cat >>conftest.$ac_ext <<_ACEOF
9847 +/* end confdefs.h.  */
9848  
9849  #include <tcpd.h>
9850                                         int deny_severity = 0, allow_severity = 0;
9851 @@ -6440,41 +8048,120 @@
9852  }
9853  _ACEOF
9854  rm -f conftest.$ac_objext conftest$ac_exeext
9855 -if { (eval echo "$as_me:6443: \"$ac_link\"") >&5
9856 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9857    (eval $ac_link) 2>&5
9858    ac_status=$?
9859 -  echo "$as_me:6446: \$? = $ac_status" >&5
9860 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861    (exit $ac_status); } &&
9862           { ac_try='test -s conftest$ac_exeext'
9863 -  { (eval echo "$as_me:6449: \"$ac_try\"") >&5
9864 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865    (eval $ac_try) 2>&5
9866    ac_status=$?
9867 -  echo "$as_me:6452: \$? = $ac_status" >&5
9868 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869    (exit $ac_status); }; }; then
9870  
9871 -                                       echo "$as_me:6455: result: yes" >&5
9872 +                                       echo "$as_me:$LINENO: result: yes" >&5
9873  echo "${ECHO_T}yes" >&6
9874 -                                       cat >>confdefs.h <<\EOF
9875 +                                       cat >>confdefs.h <<\_ACEOF
9876  #define LIBWRAP 1
9877 -EOF
9878 +_ACEOF
9879 +
9880  
9881                                         TCPW_MSG="yes"
9882  
9883  else
9884    echo "$as_me: failed program was:" >&5
9885 -cat conftest.$ac_ext >&5
9886 +sed 's/^/| /' conftest.$ac_ext >&5
9887  
9888 -                                       { { echo "$as_me:6467: error: *** libwrap missing" >&5
9889 +
9890 +                                       { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
9891  echo "$as_me: error: *** libwrap missing" >&2;}
9892     { (exit 1); exit 1; }; }
9893  
9894 +
9895  fi
9896  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9897                         LIBS="$saved_LIBS"
9898                 fi
9899  
9900 +
9901  fi;
9902  
9903 +
9904 +
9905 +
9906 +
9907 +
9908 +
9909 +
9910 +
9911 +
9912 +
9913 +
9914 +
9915 +
9916 +
9917 +
9918 +
9919 +
9920 +
9921 +
9922 +
9923 +
9924 +
9925 +
9926 +
9927 +
9928 +
9929 +
9930 +
9931 +
9932 +
9933 +
9934 +
9935 +
9936 +
9937 +
9938 +
9939 +
9940 +
9941 +
9942 +
9943 +
9944 +
9945 +
9946 +
9947 +
9948 +
9949 +
9950 +
9951 +
9952 +
9953 +
9954 +
9955 +
9956 +
9957 +
9958 +
9959 +
9960 +
9961 +
9962 +
9963 +
9964 +
9965 +
9966 +
9967 +
9968 +
9969 +
9970 +
9971 +
9972 +
9973 +
9974 +
9975 +
9976 +
9977 +
9978  for ac_func in \
9979         arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
9980         bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
9981 @@ -6491,73 +8178,88 @@
9982  
9983  do
9984  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9985 -echo "$as_me:6494: checking for $ac_func" >&5
9986 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9987  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9988  if eval "test \"\${$as_ac_var+set}\" = set"; then
9989    echo $ECHO_N "(cached) $ECHO_C" >&6
9990  else
9991    cat >conftest.$ac_ext <<_ACEOF
9992 -#line 6500 "configure"
9993 -#include "confdefs.h"
9994 +#line $LINENO "configure"
9995 +/* confdefs.h.  */
9996 +_ACEOF
9997 +cat confdefs.h >>conftest.$ac_ext
9998 +cat >>conftest.$ac_ext <<_ACEOF
9999 +/* end confdefs.h.  */
10000  /* System header to define __stub macros and hopefully few prototypes,
10001 -    which can conflict with char $ac_func (); below.  */
10002 -#include <assert.h>
10003 +    which can conflict with char $ac_func (); below.
10004 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10005 +    <limits.h> exists even on freestanding compilers.  */
10006 +#ifdef __STDC__
10007 +# include <limits.h>
10008 +#else
10009 +# include <assert.h>
10010 +#endif
10011  /* Override any gcc2 internal prototype to avoid an error.  */
10012  #ifdef __cplusplus
10013  extern "C"
10014 +{
10015  #endif
10016  /* We use char because int might match the return type of a gcc2
10017     builtin and then its argument prototype would still apply.  */
10018  char $ac_func ();
10019 -char (*f) ();
10020 -
10021 -int
10022 -main ()
10023 -{
10024  /* The GNU C library defines this for functions which it implements
10025      to always fail with ENOSYS.  Some functions are actually named
10026      something starting with __ and the normal name is an alias.  */
10027  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10028  choke me
10029  #else
10030 -f = $ac_func;
10031 +char (*f) () = $ac_func;
10032 +#endif
10033 +#ifdef __cplusplus
10034 +}
10035  #endif
10036  
10037 +int
10038 +main ()
10039 +{
10040 +return f != $ac_func;
10041    ;
10042    return 0;
10043  }
10044  _ACEOF
10045  rm -f conftest.$ac_objext conftest$ac_exeext
10046 -if { (eval echo "$as_me:6531: \"$ac_link\"") >&5
10047 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048    (eval $ac_link) 2>&5
10049    ac_status=$?
10050 -  echo "$as_me:6534: \$? = $ac_status" >&5
10051 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10052    (exit $ac_status); } &&
10053           { ac_try='test -s conftest$ac_exeext'
10054 -  { (eval echo "$as_me:6537: \"$ac_try\"") >&5
10055 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10056    (eval $ac_try) 2>&5
10057    ac_status=$?
10058 -  echo "$as_me:6540: \$? = $ac_status" >&5
10059 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060    (exit $ac_status); }; }; then
10061    eval "$as_ac_var=yes"
10062  else
10063    echo "$as_me: failed program was:" >&5
10064 -cat conftest.$ac_ext >&5
10065 +sed 's/^/| /' conftest.$ac_ext >&5
10066 +
10067  eval "$as_ac_var=no"
10068  fi
10069  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10070  fi
10071 -echo "$as_me:6550: result: `eval echo '${'$as_ac_var'}'`" >&5
10072 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10073  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10074  if test `eval echo '${'$as_ac_var'}'` = yes; then
10075 -  cat >>confdefs.h <<EOF
10076 +  cat >>confdefs.h <<_ACEOF
10077  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10078 -EOF
10079 +_ACEOF
10080  
10081  fi
10082  done
10083  
10084 -echo "$as_me:6560: checking for library containing nanosleep" >&5
10085 +
10086 +echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
10087  echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
10088  if test "${ac_cv_search_nanosleep+set}" = set; then
10089    echo $ECHO_N "(cached) $ECHO_C" >&6
10090 @@ -6565,8 +8267,12 @@
10091    ac_func_search_save_LIBS=$LIBS
10092  ac_cv_search_nanosleep=no
10093  cat >conftest.$ac_ext <<_ACEOF
10094 -#line 6568 "configure"
10095 -#include "confdefs.h"
10096 +#line $LINENO "configure"
10097 +/* confdefs.h.  */
10098 +_ACEOF
10099 +cat confdefs.h >>conftest.$ac_ext
10100 +cat >>conftest.$ac_ext <<_ACEOF
10101 +/* end confdefs.h.  */
10102  
10103  /* Override any gcc2 internal prototype to avoid an error.  */
10104  #ifdef __cplusplus
10105 @@ -6584,29 +8290,34 @@
10106  }
10107  _ACEOF
10108  rm -f conftest.$ac_objext conftest$ac_exeext
10109 -if { (eval echo "$as_me:6587: \"$ac_link\"") >&5
10110 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10111    (eval $ac_link) 2>&5
10112    ac_status=$?
10113 -  echo "$as_me:6590: \$? = $ac_status" >&5
10114 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115    (exit $ac_status); } &&
10116           { ac_try='test -s conftest$ac_exeext'
10117 -  { (eval echo "$as_me:6593: \"$ac_try\"") >&5
10118 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119    (eval $ac_try) 2>&5
10120    ac_status=$?
10121 -  echo "$as_me:6596: \$? = $ac_status" >&5
10122 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10123    (exit $ac_status); }; }; then
10124    ac_cv_search_nanosleep="none required"
10125  else
10126    echo "$as_me: failed program was:" >&5
10127 -cat conftest.$ac_ext >&5
10128 +sed 's/^/| /' conftest.$ac_ext >&5
10129 +
10130  fi
10131  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10132  if test "$ac_cv_search_nanosleep" = no; then
10133    for ac_lib in rt posix4; do
10134      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10135      cat >conftest.$ac_ext <<_ACEOF
10136 -#line 6608 "configure"
10137 -#include "confdefs.h"
10138 +#line $LINENO "configure"
10139 +/* confdefs.h.  */
10140 +_ACEOF
10141 +cat confdefs.h >>conftest.$ac_ext
10142 +cat >>conftest.$ac_ext <<_ACEOF
10143 +/* end confdefs.h.  */
10144  
10145  /* Override any gcc2 internal prototype to avoid an error.  */
10146  #ifdef __cplusplus
10147 @@ -6624,231 +8335,52 @@
10148  }
10149  _ACEOF
10150  rm -f conftest.$ac_objext conftest$ac_exeext
10151 -if { (eval echo "$as_me:6627: \"$ac_link\"") >&5
10152 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10153    (eval $ac_link) 2>&5
10154    ac_status=$?
10155 -  echo "$as_me:6630: \$? = $ac_status" >&5
10156 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157    (exit $ac_status); } &&
10158           { ac_try='test -s conftest$ac_exeext'
10159 -  { (eval echo "$as_me:6633: \"$ac_try\"") >&5
10160 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161    (eval $ac_try) 2>&5
10162    ac_status=$?
10163 -  echo "$as_me:6636: \$? = $ac_status" >&5
10164 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165    (exit $ac_status); }; }; then
10166    ac_cv_search_nanosleep="-l$ac_lib"
10167  break
10168  else
10169    echo "$as_me: failed program was:" >&5
10170 -cat conftest.$ac_ext >&5
10171 +sed 's/^/| /' conftest.$ac_ext >&5
10172 +
10173  fi
10174  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10175    done
10176  fi
10177  LIBS=$ac_func_search_save_LIBS
10178  fi
10179 -echo "$as_me:6649: result: $ac_cv_search_nanosleep" >&5
10180 +echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
10181  echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
10182  if test "$ac_cv_search_nanosleep" != no; then
10183    test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
10184 -  cat >>confdefs.h <<\EOF
10185 +  cat >>confdefs.h <<\_ACEOF
10186  #define HAVE_NANOSLEEP 1
10187 -EOF
10188 -
10189 -fi
10190 -
10191 -echo "$as_me:6659: checking for ANSI C header files" >&5
10192 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10193 -if test "${ac_cv_header_stdc+set}" = set; then
10194 -  echo $ECHO_N "(cached) $ECHO_C" >&6
10195 -else
10196 -  cat >conftest.$ac_ext <<_ACEOF
10197 -#line 6665 "configure"
10198 -#include "confdefs.h"
10199 -#include <stdlib.h>
10200 -#include <stdarg.h>
10201 -#include <string.h>
10202 -#include <float.h>
10203 -
10204 -_ACEOF
10205 -if { (eval echo "$as_me:6673: \"$ac_cpp conftest.$ac_ext\"") >&5
10206 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10207 -  ac_status=$?
10208 -  egrep -v '^ *\+' conftest.er1 >conftest.err
10209 -  rm -f conftest.er1
10210 -  cat conftest.err >&5
10211 -  echo "$as_me:6679: \$? = $ac_status" >&5
10212 -  (exit $ac_status); } >/dev/null; then
10213 -  if test -s conftest.err; then
10214 -    ac_cpp_err=$ac_c_preproc_warn_flag
10215 -  else
10216 -    ac_cpp_err=
10217 -  fi
10218 -else
10219 -  ac_cpp_err=yes
10220 -fi
10221 -if test -z "$ac_cpp_err"; then
10222 -  ac_cv_header_stdc=yes
10223 -else
10224 -  echo "$as_me: failed program was:" >&5
10225 -  cat conftest.$ac_ext >&5
10226 -  ac_cv_header_stdc=no
10227 -fi
10228 -rm -f conftest.err conftest.$ac_ext
10229 -
10230 -if test $ac_cv_header_stdc = yes; then
10231 -  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10232 -  cat >conftest.$ac_ext <<_ACEOF
10233 -#line 6701 "configure"
10234 -#include "confdefs.h"
10235 -#include <string.h>
10236 -
10237 -_ACEOF
10238 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10239 -  egrep "memchr" >/dev/null 2>&1; then
10240 -  :
10241 -else
10242 -  ac_cv_header_stdc=no
10243 -fi
10244 -rm -f conftest*
10245 -
10246 -fi
10247 -
10248 -if test $ac_cv_header_stdc = yes; then
10249 -  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10250 -  cat >conftest.$ac_ext <<_ACEOF
10251 -#line 6719 "configure"
10252 -#include "confdefs.h"
10253 -#include <stdlib.h>
10254 -
10255 -_ACEOF
10256 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10257 -  egrep "free" >/dev/null 2>&1; then
10258 -  :
10259 -else
10260 -  ac_cv_header_stdc=no
10261 -fi
10262 -rm -f conftest*
10263 -
10264 -fi
10265 -
10266 -if test $ac_cv_header_stdc = yes; then
10267 -  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10268 -  if test "$cross_compiling" = yes; then
10269 -  :
10270 -else
10271 -  cat >conftest.$ac_ext <<_ACEOF
10272 -#line 6740 "configure"
10273 -#include "confdefs.h"
10274 -#include <ctype.h>
10275 -#if ((' ' & 0x0FF) == 0x020)
10276 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10277 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10278 -#else
10279 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10280 -                     || ('j' <= (c) && (c) <= 'r') \
10281 -                     || ('s' <= (c) && (c) <= 'z'))
10282 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10283 -#endif
10284 -
10285 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10286 -int
10287 -main ()
10288 -{
10289 -  int i;
10290 -  for (i = 0; i < 256; i++)
10291 -    if (XOR (islower (i), ISLOWER (i))
10292 -        || toupper (i) != TOUPPER (i))
10293 -      exit(2);
10294 -  exit (0);
10295 -}
10296  _ACEOF
10297 -rm -f conftest$ac_exeext
10298 -if { (eval echo "$as_me:6766: \"$ac_link\"") >&5
10299 -  (eval $ac_link) 2>&5
10300 -  ac_status=$?
10301 -  echo "$as_me:6769: \$? = $ac_status" >&5
10302 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10303 -  { (eval echo "$as_me:6771: \"$ac_try\"") >&5
10304 -  (eval $ac_try) 2>&5
10305 -  ac_status=$?
10306 -  echo "$as_me:6774: \$? = $ac_status" >&5
10307 -  (exit $ac_status); }; }; then
10308 -  :
10309 -else
10310 -  echo "$as_me: program exited with status $ac_status" >&5
10311 -echo "$as_me: failed program was:" >&5
10312 -cat conftest.$ac_ext >&5
10313 -ac_cv_header_stdc=no
10314 -fi
10315 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10316 -fi
10317 -fi
10318 -fi
10319 -echo "$as_me:6787: result: $ac_cv_header_stdc" >&5
10320 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
10321 -if test $ac_cv_header_stdc = yes; then
10322 -
10323 -cat >>confdefs.h <<\EOF
10324 -#define STDC_HEADERS 1
10325 -EOF
10326 -
10327 -fi
10328 -
10329 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10330  
10331 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10332 -                  inttypes.h stdint.h unistd.h
10333 -do
10334 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10335 -echo "$as_me:6803: checking for $ac_header" >&5
10336 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10337 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10338 -  echo $ECHO_N "(cached) $ECHO_C" >&6
10339 -else
10340 -  cat >conftest.$ac_ext <<_ACEOF
10341 -#line 6809 "configure"
10342 -#include "confdefs.h"
10343 -$ac_includes_default
10344 -#include <$ac_header>
10345 -_ACEOF
10346 -rm -f conftest.$ac_objext
10347 -if { (eval echo "$as_me:6815: \"$ac_compile\"") >&5
10348 -  (eval $ac_compile) 2>&5
10349 -  ac_status=$?
10350 -  echo "$as_me:6818: \$? = $ac_status" >&5
10351 -  (exit $ac_status); } &&
10352 -         { ac_try='test -s conftest.$ac_objext'
10353 -  { (eval echo "$as_me:6821: \"$ac_try\"") >&5
10354 -  (eval $ac_try) 2>&5
10355 -  ac_status=$?
10356 -  echo "$as_me:6824: \$? = $ac_status" >&5
10357 -  (exit $ac_status); }; }; then
10358 -  eval "$as_ac_Header=yes"
10359 -else
10360 -  echo "$as_me: failed program was:" >&5
10361 -cat conftest.$ac_ext >&5
10362 -eval "$as_ac_Header=no"
10363 -fi
10364 -rm -f conftest.$ac_objext conftest.$ac_ext
10365  fi
10366 -echo "$as_me:6834: result: `eval echo '${'$as_ac_Header'}'`" >&5
10367 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10368 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
10369 -  cat >>confdefs.h <<EOF
10370 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10371 -EOF
10372  
10373 -fi
10374 -done
10375  
10376 -echo "$as_me:6844: checking whether strsep is declared" >&5
10377 +echo "$as_me:$LINENO: checking whether strsep is declared" >&5
10378  echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
10379  if test "${ac_cv_have_decl_strsep+set}" = set; then
10380    echo $ECHO_N "(cached) $ECHO_C" >&6
10381  else
10382    cat >conftest.$ac_ext <<_ACEOF
10383 -#line 6850 "configure"
10384 -#include "confdefs.h"
10385 +#line $LINENO "configure"
10386 +/* confdefs.h.  */
10387 +_ACEOF
10388 +cat confdefs.h >>conftest.$ac_ext
10389 +cat >>conftest.$ac_ext <<_ACEOF
10390 +/* end confdefs.h.  */
10391  $ac_includes_default
10392  int
10393  main ()
10394 @@ -6862,108 +8394,127 @@
10395  }
10396  _ACEOF
10397  rm -f conftest.$ac_objext
10398 -if { (eval echo "$as_me:6865: \"$ac_compile\"") >&5
10399 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400    (eval $ac_compile) 2>&5
10401    ac_status=$?
10402 -  echo "$as_me:6868: \$? = $ac_status" >&5
10403 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404    (exit $ac_status); } &&
10405           { ac_try='test -s conftest.$ac_objext'
10406 -  { (eval echo "$as_me:6871: \"$ac_try\"") >&5
10407 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10408    (eval $ac_try) 2>&5
10409    ac_status=$?
10410 -  echo "$as_me:6874: \$? = $ac_status" >&5
10411 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412    (exit $ac_status); }; }; then
10413    ac_cv_have_decl_strsep=yes
10414  else
10415    echo "$as_me: failed program was:" >&5
10416 -cat conftest.$ac_ext >&5
10417 +sed 's/^/| /' conftest.$ac_ext >&5
10418 +
10419  ac_cv_have_decl_strsep=no
10420  fi
10421  rm -f conftest.$ac_objext conftest.$ac_ext
10422  fi
10423 -echo "$as_me:6884: result: $ac_cv_have_decl_strsep" >&5
10424 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
10425  echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
10426  if test $ac_cv_have_decl_strsep = yes; then
10427  
10428  for ac_func in strsep
10429  do
10430  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10431 -echo "$as_me:6891: checking for $ac_func" >&5
10432 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10433  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10434  if eval "test \"\${$as_ac_var+set}\" = set"; then
10435    echo $ECHO_N "(cached) $ECHO_C" >&6
10436  else
10437    cat >conftest.$ac_ext <<_ACEOF
10438 -#line 6897 "configure"
10439 -#include "confdefs.h"
10440 +#line $LINENO "configure"
10441 +/* confdefs.h.  */
10442 +_ACEOF
10443 +cat confdefs.h >>conftest.$ac_ext
10444 +cat >>conftest.$ac_ext <<_ACEOF
10445 +/* end confdefs.h.  */
10446  /* System header to define __stub macros and hopefully few prototypes,
10447 -    which can conflict with char $ac_func (); below.  */
10448 -#include <assert.h>
10449 +    which can conflict with char $ac_func (); below.
10450 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10451 +    <limits.h> exists even on freestanding compilers.  */
10452 +#ifdef __STDC__
10453 +# include <limits.h>
10454 +#else
10455 +# include <assert.h>
10456 +#endif
10457  /* Override any gcc2 internal prototype to avoid an error.  */
10458  #ifdef __cplusplus
10459  extern "C"
10460 +{
10461  #endif
10462  /* We use char because int might match the return type of a gcc2
10463     builtin and then its argument prototype would still apply.  */
10464  char $ac_func ();
10465 -char (*f) ();
10466 -
10467 -int
10468 -main ()
10469 -{
10470  /* The GNU C library defines this for functions which it implements
10471      to always fail with ENOSYS.  Some functions are actually named
10472      something starting with __ and the normal name is an alias.  */
10473  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10474  choke me
10475  #else
10476 -f = $ac_func;
10477 +char (*f) () = $ac_func;
10478 +#endif
10479 +#ifdef __cplusplus
10480 +}
10481  #endif
10482  
10483 +int
10484 +main ()
10485 +{
10486 +return f != $ac_func;
10487    ;
10488    return 0;
10489  }
10490  _ACEOF
10491  rm -f conftest.$ac_objext conftest$ac_exeext
10492 -if { (eval echo "$as_me:6928: \"$ac_link\"") >&5
10493 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10494    (eval $ac_link) 2>&5
10495    ac_status=$?
10496 -  echo "$as_me:6931: \$? = $ac_status" >&5
10497 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498    (exit $ac_status); } &&
10499           { ac_try='test -s conftest$ac_exeext'
10500 -  { (eval echo "$as_me:6934: \"$ac_try\"") >&5
10501 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10502    (eval $ac_try) 2>&5
10503    ac_status=$?
10504 -  echo "$as_me:6937: \$? = $ac_status" >&5
10505 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506    (exit $ac_status); }; }; then
10507    eval "$as_ac_var=yes"
10508  else
10509    echo "$as_me: failed program was:" >&5
10510 -cat conftest.$ac_ext >&5
10511 +sed 's/^/| /' conftest.$ac_ext >&5
10512 +
10513  eval "$as_ac_var=no"
10514  fi
10515  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10516  fi
10517 -echo "$as_me:6947: result: `eval echo '${'$as_ac_var'}'`" >&5
10518 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10519  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10520  if test `eval echo '${'$as_ac_var'}'` = yes; then
10521 -  cat >>confdefs.h <<EOF
10522 +  cat >>confdefs.h <<_ACEOF
10523  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10524 -EOF
10525 +_ACEOF
10526  
10527  fi
10528  done
10529  
10530  fi
10531  
10532 -echo "$as_me:6959: checking whether getrusage is declared" >&5
10533 +echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
10534  echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
10535  if test "${ac_cv_have_decl_getrusage+set}" = set; then
10536    echo $ECHO_N "(cached) $ECHO_C" >&6
10537  else
10538    cat >conftest.$ac_ext <<_ACEOF
10539 -#line 6965 "configure"
10540 -#include "confdefs.h"
10541 +#line $LINENO "configure"
10542 +/* confdefs.h.  */
10543 +_ACEOF
10544 +cat confdefs.h >>conftest.$ac_ext
10545 +cat >>conftest.$ac_ext <<_ACEOF
10546 +/* end confdefs.h.  */
10547  $ac_includes_default
10548  int
10549  main ()
10550 @@ -6977,110 +8528,131 @@
10551  }
10552  _ACEOF
10553  rm -f conftest.$ac_objext
10554 -if { (eval echo "$as_me:6980: \"$ac_compile\"") >&5
10555 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10556    (eval $ac_compile) 2>&5
10557    ac_status=$?
10558 -  echo "$as_me:6983: \$? = $ac_status" >&5
10559 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560    (exit $ac_status); } &&
10561           { ac_try='test -s conftest.$ac_objext'
10562 -  { (eval echo "$as_me:6986: \"$ac_try\"") >&5
10563 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564    (eval $ac_try) 2>&5
10565    ac_status=$?
10566 -  echo "$as_me:6989: \$? = $ac_status" >&5
10567 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568    (exit $ac_status); }; }; then
10569    ac_cv_have_decl_getrusage=yes
10570  else
10571    echo "$as_me: failed program was:" >&5
10572 -cat conftest.$ac_ext >&5
10573 +sed 's/^/| /' conftest.$ac_ext >&5
10574 +
10575  ac_cv_have_decl_getrusage=no
10576  fi
10577  rm -f conftest.$ac_objext conftest.$ac_ext
10578  fi
10579 -echo "$as_me:6999: result: $ac_cv_have_decl_getrusage" >&5
10580 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
10581  echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
10582  if test $ac_cv_have_decl_getrusage = yes; then
10583  
10584  for ac_func in getrusage
10585  do
10586  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10587 -echo "$as_me:7006: checking for $ac_func" >&5
10588 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10589  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10590  if eval "test \"\${$as_ac_var+set}\" = set"; then
10591    echo $ECHO_N "(cached) $ECHO_C" >&6
10592  else
10593    cat >conftest.$ac_ext <<_ACEOF
10594 -#line 7012 "configure"
10595 -#include "confdefs.h"
10596 +#line $LINENO "configure"
10597 +/* confdefs.h.  */
10598 +_ACEOF
10599 +cat confdefs.h >>conftest.$ac_ext
10600 +cat >>conftest.$ac_ext <<_ACEOF
10601 +/* end confdefs.h.  */
10602  /* System header to define __stub macros and hopefully few prototypes,
10603 -    which can conflict with char $ac_func (); below.  */
10604 -#include <assert.h>
10605 +    which can conflict with char $ac_func (); below.
10606 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10607 +    <limits.h> exists even on freestanding compilers.  */
10608 +#ifdef __STDC__
10609 +# include <limits.h>
10610 +#else
10611 +# include <assert.h>
10612 +#endif
10613  /* Override any gcc2 internal prototype to avoid an error.  */
10614  #ifdef __cplusplus
10615  extern "C"
10616 +{
10617  #endif
10618  /* We use char because int might match the return type of a gcc2
10619     builtin and then its argument prototype would still apply.  */
10620  char $ac_func ();
10621 -char (*f) ();
10622 -
10623 -int
10624 -main ()
10625 -{
10626  /* The GNU C library defines this for functions which it implements
10627      to always fail with ENOSYS.  Some functions are actually named
10628      something starting with __ and the normal name is an alias.  */
10629  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10630  choke me
10631  #else
10632 -f = $ac_func;
10633 +char (*f) () = $ac_func;
10634 +#endif
10635 +#ifdef __cplusplus
10636 +}
10637  #endif
10638  
10639 +int
10640 +main ()
10641 +{
10642 +return f != $ac_func;
10643    ;
10644    return 0;
10645  }
10646  _ACEOF
10647  rm -f conftest.$ac_objext conftest$ac_exeext
10648 -if { (eval echo "$as_me:7043: \"$ac_link\"") >&5
10649 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10650    (eval $ac_link) 2>&5
10651    ac_status=$?
10652 -  echo "$as_me:7046: \$? = $ac_status" >&5
10653 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654    (exit $ac_status); } &&
10655           { ac_try='test -s conftest$ac_exeext'
10656 -  { (eval echo "$as_me:7049: \"$ac_try\"") >&5
10657 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658    (eval $ac_try) 2>&5
10659    ac_status=$?
10660 -  echo "$as_me:7052: \$? = $ac_status" >&5
10661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662    (exit $ac_status); }; }; then
10663    eval "$as_ac_var=yes"
10664  else
10665    echo "$as_me: failed program was:" >&5
10666 -cat conftest.$ac_ext >&5
10667 +sed 's/^/| /' conftest.$ac_ext >&5
10668 +
10669  eval "$as_ac_var=no"
10670  fi
10671  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10672  fi
10673 -echo "$as_me:7062: result: `eval echo '${'$as_ac_var'}'`" >&5
10674 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10675  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10676  if test `eval echo '${'$as_ac_var'}'` = yes; then
10677 -  cat >>confdefs.h <<EOF
10678 +  cat >>confdefs.h <<_ACEOF
10679  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10680 -EOF
10681 +_ACEOF
10682  
10683  fi
10684  done
10685  
10686  fi
10687  
10688 -echo "$as_me:7074: checking whether tcsendbreak is declared" >&5
10689 +
10690 +echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5
10691  echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6
10692  if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
10693    echo $ECHO_N "(cached) $ECHO_C" >&6
10694  else
10695    cat >conftest.$ac_ext <<_ACEOF
10696 -#line 7080 "configure"
10697 -#include "confdefs.h"
10698 +#line $LINENO "configure"
10699 +/* confdefs.h.  */
10700 +_ACEOF
10701 +cat confdefs.h >>conftest.$ac_ext
10702 +cat >>conftest.$ac_ext <<_ACEOF
10703 +/* end confdefs.h.  */
10704  #include <termios.h>
10705  
10706 +
10707  int
10708  main ()
10709  {
10710 @@ -7093,515 +8665,632 @@
10711  }
10712  _ACEOF
10713  rm -f conftest.$ac_objext
10714 -if { (eval echo "$as_me:7096: \"$ac_compile\"") >&5
10715 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10716    (eval $ac_compile) 2>&5
10717    ac_status=$?
10718 -  echo "$as_me:7099: \$? = $ac_status" >&5
10719 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720    (exit $ac_status); } &&
10721           { ac_try='test -s conftest.$ac_objext'
10722 -  { (eval echo "$as_me:7102: \"$ac_try\"") >&5
10723 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724    (eval $ac_try) 2>&5
10725    ac_status=$?
10726 -  echo "$as_me:7105: \$? = $ac_status" >&5
10727 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728    (exit $ac_status); }; }; then
10729    ac_cv_have_decl_tcsendbreak=yes
10730  else
10731    echo "$as_me: failed program was:" >&5
10732 -cat conftest.$ac_ext >&5
10733 +sed 's/^/| /' conftest.$ac_ext >&5
10734 +
10735  ac_cv_have_decl_tcsendbreak=no
10736  fi
10737  rm -f conftest.$ac_objext conftest.$ac_ext
10738  fi
10739 -echo "$as_me:7115: result: $ac_cv_have_decl_tcsendbreak" >&5
10740 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5
10741  echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6
10742  if test $ac_cv_have_decl_tcsendbreak = yes; then
10743 -  cat >>confdefs.h <<\EOF
10744 +  cat >>confdefs.h <<\_ACEOF
10745  #define HAVE_TCSENDBREAK 1
10746 -EOF
10747 +_ACEOF
10748  
10749  else
10750  
10751  for ac_func in tcsendbreak
10752  do
10753  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10754 -echo "$as_me:7127: checking for $ac_func" >&5
10755 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10756  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10757  if eval "test \"\${$as_ac_var+set}\" = set"; then
10758    echo $ECHO_N "(cached) $ECHO_C" >&6
10759  else
10760    cat >conftest.$ac_ext <<_ACEOF
10761 -#line 7133 "configure"
10762 -#include "confdefs.h"
10763 +#line $LINENO "configure"
10764 +/* confdefs.h.  */
10765 +_ACEOF
10766 +cat confdefs.h >>conftest.$ac_ext
10767 +cat >>conftest.$ac_ext <<_ACEOF
10768 +/* end confdefs.h.  */
10769  /* System header to define __stub macros and hopefully few prototypes,
10770 -    which can conflict with char $ac_func (); below.  */
10771 -#include <assert.h>
10772 +    which can conflict with char $ac_func (); below.
10773 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10774 +    <limits.h> exists even on freestanding compilers.  */
10775 +#ifdef __STDC__
10776 +# include <limits.h>
10777 +#else
10778 +# include <assert.h>
10779 +#endif
10780  /* Override any gcc2 internal prototype to avoid an error.  */
10781  #ifdef __cplusplus
10782  extern "C"
10783 +{
10784  #endif
10785  /* We use char because int might match the return type of a gcc2
10786     builtin and then its argument prototype would still apply.  */
10787  char $ac_func ();
10788 -char (*f) ();
10789 -
10790 -int
10791 -main ()
10792 -{
10793  /* The GNU C library defines this for functions which it implements
10794      to always fail with ENOSYS.  Some functions are actually named
10795      something starting with __ and the normal name is an alias.  */
10796  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10797  choke me
10798  #else
10799 -f = $ac_func;
10800 +char (*f) () = $ac_func;
10801 +#endif
10802 +#ifdef __cplusplus
10803 +}
10804  #endif
10805  
10806 +int
10807 +main ()
10808 +{
10809 +return f != $ac_func;
10810    ;
10811    return 0;
10812  }
10813  _ACEOF
10814  rm -f conftest.$ac_objext conftest$ac_exeext
10815 -if { (eval echo "$as_me:7164: \"$ac_link\"") >&5
10816 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10817    (eval $ac_link) 2>&5
10818    ac_status=$?
10819 -  echo "$as_me:7167: \$? = $ac_status" >&5
10820 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821    (exit $ac_status); } &&
10822           { ac_try='test -s conftest$ac_exeext'
10823 -  { (eval echo "$as_me:7170: \"$ac_try\"") >&5
10824 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825    (eval $ac_try) 2>&5
10826    ac_status=$?
10827 -  echo "$as_me:7173: \$? = $ac_status" >&5
10828 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829    (exit $ac_status); }; }; then
10830    eval "$as_ac_var=yes"
10831  else
10832    echo "$as_me: failed program was:" >&5
10833 -cat conftest.$ac_ext >&5
10834 +sed 's/^/| /' conftest.$ac_ext >&5
10835 +
10836  eval "$as_ac_var=no"
10837  fi
10838  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10839  fi
10840 -echo "$as_me:7183: result: `eval echo '${'$as_ac_var'}'`" >&5
10841 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10842  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10843  if test `eval echo '${'$as_ac_var'}'` = yes; then
10844 -  cat >>confdefs.h <<EOF
10845 +  cat >>confdefs.h <<_ACEOF
10846  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10847 -EOF
10848 +_ACEOF
10849  
10850  fi
10851  done
10852  
10853  fi
10854  
10855 +
10856 +
10857 +
10858  for ac_func in gettimeofday time
10859  do
10860  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10861 -echo "$as_me:7198: checking for $ac_func" >&5
10862 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10863  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10864  if eval "test \"\${$as_ac_var+set}\" = set"; then
10865    echo $ECHO_N "(cached) $ECHO_C" >&6
10866  else
10867    cat >conftest.$ac_ext <<_ACEOF
10868 -#line 7204 "configure"
10869 -#include "confdefs.h"
10870 +#line $LINENO "configure"
10871 +/* confdefs.h.  */
10872 +_ACEOF
10873 +cat confdefs.h >>conftest.$ac_ext
10874 +cat >>conftest.$ac_ext <<_ACEOF
10875 +/* end confdefs.h.  */
10876  /* System header to define __stub macros and hopefully few prototypes,
10877 -    which can conflict with char $ac_func (); below.  */
10878 -#include <assert.h>
10879 +    which can conflict with char $ac_func (); below.
10880 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10881 +    <limits.h> exists even on freestanding compilers.  */
10882 +#ifdef __STDC__
10883 +# include <limits.h>
10884 +#else
10885 +# include <assert.h>
10886 +#endif
10887  /* Override any gcc2 internal prototype to avoid an error.  */
10888  #ifdef __cplusplus
10889  extern "C"
10890 +{
10891  #endif
10892  /* We use char because int might match the return type of a gcc2
10893     builtin and then its argument prototype would still apply.  */
10894  char $ac_func ();
10895 -char (*f) ();
10896 -
10897 -int
10898 -main ()
10899 -{
10900  /* The GNU C library defines this for functions which it implements
10901      to always fail with ENOSYS.  Some functions are actually named
10902      something starting with __ and the normal name is an alias.  */
10903  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10904  choke me
10905  #else
10906 -f = $ac_func;
10907 +char (*f) () = $ac_func;
10908 +#endif
10909 +#ifdef __cplusplus
10910 +}
10911  #endif
10912  
10913 +int
10914 +main ()
10915 +{
10916 +return f != $ac_func;
10917    ;
10918    return 0;
10919  }
10920  _ACEOF
10921  rm -f conftest.$ac_objext conftest$ac_exeext
10922 -if { (eval echo "$as_me:7235: \"$ac_link\"") >&5
10923 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10924    (eval $ac_link) 2>&5
10925    ac_status=$?
10926 -  echo "$as_me:7238: \$? = $ac_status" >&5
10927 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928    (exit $ac_status); } &&
10929           { ac_try='test -s conftest$ac_exeext'
10930 -  { (eval echo "$as_me:7241: \"$ac_try\"") >&5
10931 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932    (eval $ac_try) 2>&5
10933    ac_status=$?
10934 -  echo "$as_me:7244: \$? = $ac_status" >&5
10935 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936    (exit $ac_status); }; }; then
10937    eval "$as_ac_var=yes"
10938  else
10939    echo "$as_me: failed program was:" >&5
10940 -cat conftest.$ac_ext >&5
10941 +sed 's/^/| /' conftest.$ac_ext >&5
10942 +
10943  eval "$as_ac_var=no"
10944  fi
10945  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10946  fi
10947 -echo "$as_me:7254: result: `eval echo '${'$as_ac_var'}'`" >&5
10948 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10949  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10950  if test `eval echo '${'$as_ac_var'}'` = yes; then
10951 -  cat >>confdefs.h <<EOF
10952 +  cat >>confdefs.h <<_ACEOF
10953  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10954 -EOF
10955 +_ACEOF
10956  
10957  fi
10958  done
10959  
10960 +
10961 +
10962 +
10963 +
10964 +
10965 +
10966  for ac_func in endutent getutent getutid getutline pututline setutent
10967  do
10968  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10969 -echo "$as_me:7267: checking for $ac_func" >&5
10970 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10971  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10972  if eval "test \"\${$as_ac_var+set}\" = set"; then
10973    echo $ECHO_N "(cached) $ECHO_C" >&6
10974  else
10975    cat >conftest.$ac_ext <<_ACEOF
10976 -#line 7273 "configure"
10977 -#include "confdefs.h"
10978 +#line $LINENO "configure"
10979 +/* confdefs.h.  */
10980 +_ACEOF
10981 +cat confdefs.h >>conftest.$ac_ext
10982 +cat >>conftest.$ac_ext <<_ACEOF
10983 +/* end confdefs.h.  */
10984  /* System header to define __stub macros and hopefully few prototypes,
10985 -    which can conflict with char $ac_func (); below.  */
10986 -#include <assert.h>
10987 +    which can conflict with char $ac_func (); below.
10988 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10989 +    <limits.h> exists even on freestanding compilers.  */
10990 +#ifdef __STDC__
10991 +# include <limits.h>
10992 +#else
10993 +# include <assert.h>
10994 +#endif
10995  /* Override any gcc2 internal prototype to avoid an error.  */
10996  #ifdef __cplusplus
10997  extern "C"
10998 +{
10999  #endif
11000  /* We use char because int might match the return type of a gcc2
11001     builtin and then its argument prototype would still apply.  */
11002  char $ac_func ();
11003 -char (*f) ();
11004 -
11005 -int
11006 -main ()
11007 -{
11008  /* The GNU C library defines this for functions which it implements
11009      to always fail with ENOSYS.  Some functions are actually named
11010      something starting with __ and the normal name is an alias.  */
11011  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11012  choke me
11013  #else
11014 -f = $ac_func;
11015 +char (*f) () = $ac_func;
11016 +#endif
11017 +#ifdef __cplusplus
11018 +}
11019  #endif
11020  
11021 +int
11022 +main ()
11023 +{
11024 +return f != $ac_func;
11025    ;
11026    return 0;
11027  }
11028  _ACEOF
11029  rm -f conftest.$ac_objext conftest$ac_exeext
11030 -if { (eval echo "$as_me:7304: \"$ac_link\"") >&5
11031 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11032    (eval $ac_link) 2>&5
11033    ac_status=$?
11034 -  echo "$as_me:7307: \$? = $ac_status" >&5
11035 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036    (exit $ac_status); } &&
11037           { ac_try='test -s conftest$ac_exeext'
11038 -  { (eval echo "$as_me:7310: \"$ac_try\"") >&5
11039 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040    (eval $ac_try) 2>&5
11041    ac_status=$?
11042 -  echo "$as_me:7313: \$? = $ac_status" >&5
11043 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044    (exit $ac_status); }; }; then
11045    eval "$as_ac_var=yes"
11046  else
11047    echo "$as_me: failed program was:" >&5
11048 -cat conftest.$ac_ext >&5
11049 +sed 's/^/| /' conftest.$ac_ext >&5
11050 +
11051  eval "$as_ac_var=no"
11052  fi
11053  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11054  fi
11055 -echo "$as_me:7323: result: `eval echo '${'$as_ac_var'}'`" >&5
11056 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11057  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11058  if test `eval echo '${'$as_ac_var'}'` = yes; then
11059 -  cat >>confdefs.h <<EOF
11060 +  cat >>confdefs.h <<_ACEOF
11061  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11062 -EOF
11063 +_ACEOF
11064  
11065  fi
11066  done
11067  
11068 +
11069  for ac_func in utmpname
11070  do
11071  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11072 -echo "$as_me:7336: checking for $ac_func" >&5
11073 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11074  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11075  if eval "test \"\${$as_ac_var+set}\" = set"; then
11076    echo $ECHO_N "(cached) $ECHO_C" >&6
11077  else
11078    cat >conftest.$ac_ext <<_ACEOF
11079 -#line 7342 "configure"
11080 -#include "confdefs.h"
11081 +#line $LINENO "configure"
11082 +/* confdefs.h.  */
11083 +_ACEOF
11084 +cat confdefs.h >>conftest.$ac_ext
11085 +cat >>conftest.$ac_ext <<_ACEOF
11086 +/* end confdefs.h.  */
11087  /* System header to define __stub macros and hopefully few prototypes,
11088 -    which can conflict with char $ac_func (); below.  */
11089 -#include <assert.h>
11090 +    which can conflict with char $ac_func (); below.
11091 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11092 +    <limits.h> exists even on freestanding compilers.  */
11093 +#ifdef __STDC__
11094 +# include <limits.h>
11095 +#else
11096 +# include <assert.h>
11097 +#endif
11098  /* Override any gcc2 internal prototype to avoid an error.  */
11099  #ifdef __cplusplus
11100  extern "C"
11101 +{
11102  #endif
11103  /* We use char because int might match the return type of a gcc2
11104     builtin and then its argument prototype would still apply.  */
11105  char $ac_func ();
11106 -char (*f) ();
11107 -
11108 -int
11109 -main ()
11110 -{
11111  /* The GNU C library defines this for functions which it implements
11112      to always fail with ENOSYS.  Some functions are actually named
11113      something starting with __ and the normal name is an alias.  */
11114  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11115  choke me
11116  #else
11117 -f = $ac_func;
11118 +char (*f) () = $ac_func;
11119 +#endif
11120 +#ifdef __cplusplus
11121 +}
11122  #endif
11123  
11124 +int
11125 +main ()
11126 +{
11127 +return f != $ac_func;
11128    ;
11129    return 0;
11130  }
11131  _ACEOF
11132  rm -f conftest.$ac_objext conftest$ac_exeext
11133 -if { (eval echo "$as_me:7373: \"$ac_link\"") >&5
11134 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135    (eval $ac_link) 2>&5
11136    ac_status=$?
11137 -  echo "$as_me:7376: \$? = $ac_status" >&5
11138 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139    (exit $ac_status); } &&
11140           { ac_try='test -s conftest$ac_exeext'
11141 -  { (eval echo "$as_me:7379: \"$ac_try\"") >&5
11142 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143    (eval $ac_try) 2>&5
11144    ac_status=$?
11145 -  echo "$as_me:7382: \$? = $ac_status" >&5
11146 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147    (exit $ac_status); }; }; then
11148    eval "$as_ac_var=yes"
11149  else
11150    echo "$as_me: failed program was:" >&5
11151 -cat conftest.$ac_ext >&5
11152 +sed 's/^/| /' conftest.$ac_ext >&5
11153 +
11154  eval "$as_ac_var=no"
11155  fi
11156  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11157  fi
11158 -echo "$as_me:7392: result: `eval echo '${'$as_ac_var'}'`" >&5
11159 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11160  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11161  if test `eval echo '${'$as_ac_var'}'` = yes; then
11162 -  cat >>confdefs.h <<EOF
11163 +  cat >>confdefs.h <<_ACEOF
11164  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11165 -EOF
11166 +_ACEOF
11167  
11168  fi
11169  done
11170  
11171 +
11172 +
11173 +
11174 +
11175 +
11176  for ac_func in endutxent getutxent getutxid getutxline pututxline
11177  do
11178  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11179 -echo "$as_me:7405: checking for $ac_func" >&5
11180 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11181  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11182  if eval "test \"\${$as_ac_var+set}\" = set"; then
11183    echo $ECHO_N "(cached) $ECHO_C" >&6
11184  else
11185    cat >conftest.$ac_ext <<_ACEOF
11186 -#line 7411 "configure"
11187 -#include "confdefs.h"
11188 +#line $LINENO "configure"
11189 +/* confdefs.h.  */
11190 +_ACEOF
11191 +cat confdefs.h >>conftest.$ac_ext
11192 +cat >>conftest.$ac_ext <<_ACEOF
11193 +/* end confdefs.h.  */
11194  /* System header to define __stub macros and hopefully few prototypes,
11195 -    which can conflict with char $ac_func (); below.  */
11196 -#include <assert.h>
11197 +    which can conflict with char $ac_func (); below.
11198 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11199 +    <limits.h> exists even on freestanding compilers.  */
11200 +#ifdef __STDC__
11201 +# include <limits.h>
11202 +#else
11203 +# include <assert.h>
11204 +#endif
11205  /* Override any gcc2 internal prototype to avoid an error.  */
11206  #ifdef __cplusplus
11207  extern "C"
11208 +{
11209  #endif
11210  /* We use char because int might match the return type of a gcc2
11211     builtin and then its argument prototype would still apply.  */
11212  char $ac_func ();
11213 -char (*f) ();
11214 -
11215 -int
11216 -main ()
11217 -{
11218  /* The GNU C library defines this for functions which it implements
11219      to always fail with ENOSYS.  Some functions are actually named
11220      something starting with __ and the normal name is an alias.  */
11221  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11222  choke me
11223  #else
11224 -f = $ac_func;
11225 +char (*f) () = $ac_func;
11226 +#endif
11227 +#ifdef __cplusplus
11228 +}
11229  #endif
11230  
11231 +int
11232 +main ()
11233 +{
11234 +return f != $ac_func;
11235    ;
11236    return 0;
11237  }
11238  _ACEOF
11239  rm -f conftest.$ac_objext conftest$ac_exeext
11240 -if { (eval echo "$as_me:7442: \"$ac_link\"") >&5
11241 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11242    (eval $ac_link) 2>&5
11243    ac_status=$?
11244 -  echo "$as_me:7445: \$? = $ac_status" >&5
11245 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246    (exit $ac_status); } &&
11247           { ac_try='test -s conftest$ac_exeext'
11248 -  { (eval echo "$as_me:7448: \"$ac_try\"") >&5
11249 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250    (eval $ac_try) 2>&5
11251    ac_status=$?
11252 -  echo "$as_me:7451: \$? = $ac_status" >&5
11253 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254    (exit $ac_status); }; }; then
11255    eval "$as_ac_var=yes"
11256  else
11257    echo "$as_me: failed program was:" >&5
11258 -cat conftest.$ac_ext >&5
11259 +sed 's/^/| /' conftest.$ac_ext >&5
11260 +
11261  eval "$as_ac_var=no"
11262  fi
11263  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11264  fi
11265 -echo "$as_me:7461: result: `eval echo '${'$as_ac_var'}'`" >&5
11266 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11267  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11268  if test `eval echo '${'$as_ac_var'}'` = yes; then
11269 -  cat >>confdefs.h <<EOF
11270 +  cat >>confdefs.h <<_ACEOF
11271  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11272 -EOF
11273 +_ACEOF
11274  
11275  fi
11276  done
11277  
11278 +
11279 +
11280  for ac_func in setutxent utmpxname
11281  do
11282  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11283 -echo "$as_me:7474: checking for $ac_func" >&5
11284 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11285  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11286  if eval "test \"\${$as_ac_var+set}\" = set"; then
11287    echo $ECHO_N "(cached) $ECHO_C" >&6
11288  else
11289    cat >conftest.$ac_ext <<_ACEOF
11290 -#line 7480 "configure"
11291 -#include "confdefs.h"
11292 +#line $LINENO "configure"
11293 +/* confdefs.h.  */
11294 +_ACEOF
11295 +cat confdefs.h >>conftest.$ac_ext
11296 +cat >>conftest.$ac_ext <<_ACEOF
11297 +/* end confdefs.h.  */
11298  /* System header to define __stub macros and hopefully few prototypes,
11299 -    which can conflict with char $ac_func (); below.  */
11300 -#include <assert.h>
11301 +    which can conflict with char $ac_func (); below.
11302 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11303 +    <limits.h> exists even on freestanding compilers.  */
11304 +#ifdef __STDC__
11305 +# include <limits.h>
11306 +#else
11307 +# include <assert.h>
11308 +#endif
11309  /* Override any gcc2 internal prototype to avoid an error.  */
11310  #ifdef __cplusplus
11311  extern "C"
11312 +{
11313  #endif
11314  /* We use char because int might match the return type of a gcc2
11315     builtin and then its argument prototype would still apply.  */
11316  char $ac_func ();
11317 -char (*f) ();
11318 -
11319 -int
11320 -main ()
11321 -{
11322  /* The GNU C library defines this for functions which it implements
11323      to always fail with ENOSYS.  Some functions are actually named
11324      something starting with __ and the normal name is an alias.  */
11325  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11326  choke me
11327  #else
11328 -f = $ac_func;
11329 +char (*f) () = $ac_func;
11330 +#endif
11331 +#ifdef __cplusplus
11332 +}
11333  #endif
11334  
11335 +int
11336 +main ()
11337 +{
11338 +return f != $ac_func;
11339    ;
11340    return 0;
11341  }
11342  _ACEOF
11343  rm -f conftest.$ac_objext conftest$ac_exeext
11344 -if { (eval echo "$as_me:7511: \"$ac_link\"") >&5
11345 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11346    (eval $ac_link) 2>&5
11347    ac_status=$?
11348 -  echo "$as_me:7514: \$? = $ac_status" >&5
11349 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350    (exit $ac_status); } &&
11351           { ac_try='test -s conftest$ac_exeext'
11352 -  { (eval echo "$as_me:7517: \"$ac_try\"") >&5
11353 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11354    (eval $ac_try) 2>&5
11355    ac_status=$?
11356 -  echo "$as_me:7520: \$? = $ac_status" >&5
11357 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358    (exit $ac_status); }; }; then
11359    eval "$as_ac_var=yes"
11360  else
11361    echo "$as_me: failed program was:" >&5
11362 -cat conftest.$ac_ext >&5
11363 +sed 's/^/| /' conftest.$ac_ext >&5
11364 +
11365  eval "$as_ac_var=no"
11366  fi
11367  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11368  fi
11369 -echo "$as_me:7530: result: `eval echo '${'$as_ac_var'}'`" >&5
11370 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11371  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11372  if test `eval echo '${'$as_ac_var'}'` = yes; then
11373 -  cat >>confdefs.h <<EOF
11374 +  cat >>confdefs.h <<_ACEOF
11375  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11376 -EOF
11377 +_ACEOF
11378  
11379  fi
11380  done
11381  
11382 -echo "$as_me:7540: checking for daemon" >&5
11383 +
11384 +echo "$as_me:$LINENO: checking for daemon" >&5
11385  echo $ECHO_N "checking for daemon... $ECHO_C" >&6
11386  if test "${ac_cv_func_daemon+set}" = set; then
11387    echo $ECHO_N "(cached) $ECHO_C" >&6
11388  else
11389    cat >conftest.$ac_ext <<_ACEOF
11390 -#line 7546 "configure"
11391 -#include "confdefs.h"
11392 +#line $LINENO "configure"
11393 +/* confdefs.h.  */
11394 +_ACEOF
11395 +cat confdefs.h >>conftest.$ac_ext
11396 +cat >>conftest.$ac_ext <<_ACEOF
11397 +/* end confdefs.h.  */
11398  /* System header to define __stub macros and hopefully few prototypes,
11399 -    which can conflict with char daemon (); below.  */
11400 -#include <assert.h>
11401 +    which can conflict with char daemon (); below.
11402 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11403 +    <limits.h> exists even on freestanding compilers.  */
11404 +#ifdef __STDC__
11405 +# include <limits.h>
11406 +#else
11407 +# include <assert.h>
11408 +#endif
11409  /* Override any gcc2 internal prototype to avoid an error.  */
11410  #ifdef __cplusplus
11411  extern "C"
11412 +{
11413  #endif
11414  /* We use char because int might match the return type of a gcc2
11415     builtin and then its argument prototype would still apply.  */
11416  char daemon ();
11417 -char (*f) ();
11418 -
11419 -int
11420 -main ()
11421 -{
11422  /* The GNU C library defines this for functions which it implements
11423      to always fail with ENOSYS.  Some functions are actually named
11424      something starting with __ and the normal name is an alias.  */
11425  #if defined (__stub_daemon) || defined (__stub___daemon)
11426  choke me
11427  #else
11428 -f = daemon;
11429 +char (*f) () = daemon;
11430 +#endif
11431 +#ifdef __cplusplus
11432 +}
11433  #endif
11434  
11435 +int
11436 +main ()
11437 +{
11438 +return f != daemon;
11439    ;
11440    return 0;
11441  }
11442  _ACEOF
11443  rm -f conftest.$ac_objext conftest$ac_exeext
11444 -if { (eval echo "$as_me:7577: \"$ac_link\"") >&5
11445 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11446    (eval $ac_link) 2>&5
11447    ac_status=$?
11448 -  echo "$as_me:7580: \$? = $ac_status" >&5
11449 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450    (exit $ac_status); } &&
11451           { ac_try='test -s conftest$ac_exeext'
11452 -  { (eval echo "$as_me:7583: \"$ac_try\"") >&5
11453 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454    (eval $ac_try) 2>&5
11455    ac_status=$?
11456 -  echo "$as_me:7586: \$? = $ac_status" >&5
11457 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458    (exit $ac_status); }; }; then
11459    ac_cv_func_daemon=yes
11460  else
11461    echo "$as_me: failed program was:" >&5
11462 -cat conftest.$ac_ext >&5
11463 +sed 's/^/| /' conftest.$ac_ext >&5
11464 +
11465  ac_cv_func_daemon=no
11466  fi
11467  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11468  fi
11469 -echo "$as_me:7596: result: $ac_cv_func_daemon" >&5
11470 +echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
11471  echo "${ECHO_T}$ac_cv_func_daemon" >&6
11472  if test $ac_cv_func_daemon = yes; then
11473 -  cat >>confdefs.h <<\EOF
11474 +  cat >>confdefs.h <<\_ACEOF
11475  #define HAVE_DAEMON 1
11476 -EOF
11477 +_ACEOF
11478  
11479  else
11480 -  echo "$as_me:7604: checking for daemon in -lbsd" >&5
11481 +  echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
11482  echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
11483  if test "${ac_cv_lib_bsd_daemon+set}" = set; then
11484    echo $ECHO_N "(cached) $ECHO_C" >&6
11485 @@ -7609,8 +9298,12 @@
11486    ac_check_lib_save_LIBS=$LIBS
11487  LIBS="-lbsd  $LIBS"
11488  cat >conftest.$ac_ext <<_ACEOF
11489 -#line 7612 "configure"
11490 -#include "confdefs.h"
11491 +#line $LINENO "configure"
11492 +/* confdefs.h.  */
11493 +_ACEOF
11494 +cat confdefs.h >>conftest.$ac_ext
11495 +cat >>conftest.$ac_ext <<_ACEOF
11496 +/* end confdefs.h.  */
11497  
11498  /* Override any gcc2 internal prototype to avoid an error.  */
11499  #ifdef __cplusplus
11500 @@ -7628,102 +9321,119 @@
11501  }
11502  _ACEOF
11503  rm -f conftest.$ac_objext conftest$ac_exeext
11504 -if { (eval echo "$as_me:7631: \"$ac_link\"") >&5
11505 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11506    (eval $ac_link) 2>&5
11507    ac_status=$?
11508 -  echo "$as_me:7634: \$? = $ac_status" >&5
11509 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510    (exit $ac_status); } &&
11511           { ac_try='test -s conftest$ac_exeext'
11512 -  { (eval echo "$as_me:7637: \"$ac_try\"") >&5
11513 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11514    (eval $ac_try) 2>&5
11515    ac_status=$?
11516 -  echo "$as_me:7640: \$? = $ac_status" >&5
11517 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518    (exit $ac_status); }; }; then
11519    ac_cv_lib_bsd_daemon=yes
11520  else
11521    echo "$as_me: failed program was:" >&5
11522 -cat conftest.$ac_ext >&5
11523 +sed 's/^/| /' conftest.$ac_ext >&5
11524 +
11525  ac_cv_lib_bsd_daemon=no
11526  fi
11527  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11528  LIBS=$ac_check_lib_save_LIBS
11529  fi
11530 -echo "$as_me:7651: result: $ac_cv_lib_bsd_daemon" >&5
11531 +echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
11532  echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
11533  if test $ac_cv_lib_bsd_daemon = yes; then
11534 -  LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF
11535 +  LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
11536  #define HAVE_DAEMON 1
11537 -EOF
11538 +_ACEOF
11539  
11540  fi
11541  
11542 +
11543  fi
11544  
11545 -echo "$as_me:7662: checking for getpagesize" >&5
11546 +
11547 +echo "$as_me:$LINENO: checking for getpagesize" >&5
11548  echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
11549  if test "${ac_cv_func_getpagesize+set}" = set; then
11550    echo $ECHO_N "(cached) $ECHO_C" >&6
11551  else
11552    cat >conftest.$ac_ext <<_ACEOF
11553 -#line 7668 "configure"
11554 -#include "confdefs.h"
11555 +#line $LINENO "configure"
11556 +/* confdefs.h.  */
11557 +_ACEOF
11558 +cat confdefs.h >>conftest.$ac_ext
11559 +cat >>conftest.$ac_ext <<_ACEOF
11560 +/* end confdefs.h.  */
11561  /* System header to define __stub macros and hopefully few prototypes,
11562 -    which can conflict with char getpagesize (); below.  */
11563 -#include <assert.h>
11564 +    which can conflict with char getpagesize (); below.
11565 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566 +    <limits.h> exists even on freestanding compilers.  */
11567 +#ifdef __STDC__
11568 +# include <limits.h>
11569 +#else
11570 +# include <assert.h>
11571 +#endif
11572  /* Override any gcc2 internal prototype to avoid an error.  */
11573  #ifdef __cplusplus
11574  extern "C"
11575 +{
11576  #endif
11577  /* We use char because int might match the return type of a gcc2
11578     builtin and then its argument prototype would still apply.  */
11579  char getpagesize ();
11580 -char (*f) ();
11581 -
11582 -int
11583 -main ()
11584 -{
11585  /* The GNU C library defines this for functions which it implements
11586      to always fail with ENOSYS.  Some functions are actually named
11587      something starting with __ and the normal name is an alias.  */
11588  #if defined (__stub_getpagesize) || defined (__stub___getpagesize)
11589  choke me
11590  #else
11591 -f = getpagesize;
11592 +char (*f) () = getpagesize;
11593 +#endif
11594 +#ifdef __cplusplus
11595 +}
11596  #endif
11597  
11598 +int
11599 +main ()
11600 +{
11601 +return f != getpagesize;
11602    ;
11603    return 0;
11604  }
11605  _ACEOF
11606  rm -f conftest.$ac_objext conftest$ac_exeext
11607 -if { (eval echo "$as_me:7699: \"$ac_link\"") >&5
11608 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11609    (eval $ac_link) 2>&5
11610    ac_status=$?
11611 -  echo "$as_me:7702: \$? = $ac_status" >&5
11612 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613    (exit $ac_status); } &&
11614           { ac_try='test -s conftest$ac_exeext'
11615 -  { (eval echo "$as_me:7705: \"$ac_try\"") >&5
11616 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617    (eval $ac_try) 2>&5
11618    ac_status=$?
11619 -  echo "$as_me:7708: \$? = $ac_status" >&5
11620 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621    (exit $ac_status); }; }; then
11622    ac_cv_func_getpagesize=yes
11623  else
11624    echo "$as_me: failed program was:" >&5
11625 -cat conftest.$ac_ext >&5
11626 +sed 's/^/| /' conftest.$ac_ext >&5
11627 +
11628  ac_cv_func_getpagesize=no
11629  fi
11630  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11631  fi
11632 -echo "$as_me:7718: result: $ac_cv_func_getpagesize" >&5
11633 +echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
11634  echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
11635  if test $ac_cv_func_getpagesize = yes; then
11636 -  cat >>confdefs.h <<\EOF
11637 +  cat >>confdefs.h <<\_ACEOF
11638  #define HAVE_GETPAGESIZE 1
11639 -EOF
11640 +_ACEOF
11641  
11642  else
11643 -  echo "$as_me:7726: checking for getpagesize in -lucb" >&5
11644 +  echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
11645  echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
11646  if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
11647    echo $ECHO_N "(cached) $ECHO_C" >&6
11648 @@ -7731,8 +9441,12 @@
11649    ac_check_lib_save_LIBS=$LIBS
11650  LIBS="-lucb  $LIBS"
11651  cat >conftest.$ac_ext <<_ACEOF
11652 -#line 7734 "configure"
11653 -#include "confdefs.h"
11654 +#line $LINENO "configure"
11655 +/* confdefs.h.  */
11656 +_ACEOF
11657 +cat confdefs.h >>conftest.$ac_ext
11658 +cat >>conftest.$ac_ext <<_ACEOF
11659 +/* end confdefs.h.  */
11660  
11661  /* Override any gcc2 internal prototype to avoid an error.  */
11662  #ifdef __cplusplus
11663 @@ -7750,101 +9464,125 @@
11664  }
11665  _ACEOF
11666  rm -f conftest.$ac_objext conftest$ac_exeext
11667 -if { (eval echo "$as_me:7753: \"$ac_link\"") >&5
11668 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11669    (eval $ac_link) 2>&5
11670    ac_status=$?
11671 -  echo "$as_me:7756: \$? = $ac_status" >&5
11672 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673    (exit $ac_status); } &&
11674           { ac_try='test -s conftest$ac_exeext'
11675 -  { (eval echo "$as_me:7759: \"$ac_try\"") >&5
11676 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677    (eval $ac_try) 2>&5
11678    ac_status=$?
11679 -  echo "$as_me:7762: \$? = $ac_status" >&5
11680 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681    (exit $ac_status); }; }; then
11682    ac_cv_lib_ucb_getpagesize=yes
11683  else
11684    echo "$as_me: failed program was:" >&5
11685 -cat conftest.$ac_ext >&5
11686 +sed 's/^/| /' conftest.$ac_ext >&5
11687 +
11688  ac_cv_lib_ucb_getpagesize=no
11689  fi
11690  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11691  LIBS=$ac_check_lib_save_LIBS
11692  fi
11693 -echo "$as_me:7773: result: $ac_cv_lib_ucb_getpagesize" >&5
11694 +echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
11695  echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
11696  if test $ac_cv_lib_ucb_getpagesize = yes; then
11697 -  LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF
11698 +  LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
11699  #define HAVE_GETPAGESIZE 1
11700 -EOF
11701 +_ACEOF
11702  
11703  fi
11704  
11705 +
11706  fi
11707  
11708 +
11709  # Check for broken snprintf
11710  if test "x$ac_cv_func_snprintf" = "xyes" ; then
11711 -       echo "$as_me:7786: checking whether snprintf correctly terminates long strings" >&5
11712 +echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
11713  echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
11714 +if test "${ac_cv_have_broken_snprintf+set}" = set; then
11715 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11716 +else
11717 +
11718         if test "$cross_compiling" = yes; then
11719 -  { { echo "$as_me:7789: error: cannot run test program while cross compiling" >&5
11720 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11721 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11722 +See \`config.log' for more details." >&5
11723 +echo "$as_me: error: cannot run test program while cross compiling
11724 +See \`config.log' for more details." >&2;}
11725     { (exit 1); exit 1; }; }
11726  else
11727    cat >conftest.$ac_ext <<_ACEOF
11728 -#line 7794 "configure"
11729 -#include "confdefs.h"
11730 +#line $LINENO "configure"
11731 +/* confdefs.h.  */
11732 +_ACEOF
11733 +cat confdefs.h >>conftest.$ac_ext
11734 +cat >>conftest.$ac_ext <<_ACEOF
11735 +/* end confdefs.h.  */
11736  
11737  #include <stdio.h>
11738  int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
11739  
11740  _ACEOF
11741  rm -f conftest$ac_exeext
11742 -if { (eval echo "$as_me:7802: \"$ac_link\"") >&5
11743 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744    (eval $ac_link) 2>&5
11745    ac_status=$?
11746 -  echo "$as_me:7805: \$? = $ac_status" >&5
11747 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11749 -  { (eval echo "$as_me:7807: \"$ac_try\"") >&5
11750 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751    (eval $ac_try) 2>&5
11752    ac_status=$?
11753 -  echo "$as_me:7810: \$? = $ac_status" >&5
11754 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755    (exit $ac_status); }; }; then
11756 -  echo "$as_me:7812: result: yes" >&5
11757 -echo "${ECHO_T}yes" >&6
11758 +   ac_cv_have_broken_snprintf="no"
11759  else
11760    echo "$as_me: program exited with status $ac_status" >&5
11761  echo "$as_me: failed program was:" >&5
11762 -cat conftest.$ac_ext >&5
11763 +sed 's/^/| /' conftest.$ac_ext >&5
11764  
11765 -                       echo "$as_me:7819: result: no" >&5
11766 -echo "${ECHO_T}no" >&6
11767 -                       cat >>confdefs.h <<\EOF
11768 -#define BROKEN_SNPRINTF 1
11769 -EOF
11770 +( exit $ac_status )
11771 + ac_cv_have_broken_snprintf="yes"
11772  
11773 -                       { echo "$as_me:7825: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
11774 -echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
11775 +fi
11776 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11777 +fi
11778  
11779  fi
11780 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11781 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_snprintf" >&5
11782 +echo "${ECHO_T}$ac_cv_have_broken_snprintf" >&6
11783 +if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
11784 +       cat >>confdefs.h <<\_ACEOF
11785 +#define BROKEN_SNPRINTF 1
11786 +_ACEOF
11787 +
11788 +       { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
11789 +echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
11790  fi
11791  fi
11792  
11793  if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
11794 -echo "$as_me:7834: checking for (overly) strict mkstemp" >&5
11795 +echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
11796  echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
11797  if test "$cross_compiling" = yes; then
11798  
11799 -               echo "$as_me:7838: result: yes" >&5
11800 +               echo "$as_me:$LINENO: result: yes" >&5
11801  echo "${ECHO_T}yes" >&6
11802 -               cat >>confdefs.h <<\EOF
11803 +               cat >>confdefs.h <<\_ACEOF
11804  #define HAVE_STRICT_MKSTEMP 1
11805 -EOF
11806 +_ACEOF
11807 +
11808 +
11809  
11810  else
11811    cat >conftest.$ac_ext <<_ACEOF
11812 -#line 7846 "configure"
11813 -#include "confdefs.h"
11814 +#line $LINENO "configure"
11815 +/* confdefs.h.  */
11816 +_ACEOF
11817 +cat confdefs.h >>conftest.$ac_ext
11818 +cat >>conftest.$ac_ext <<_ACEOF
11819 +/* end confdefs.h.  */
11820  
11821  #include <stdlib.h>
11822  main() { char template[]="conftest.mkstemp-test";
11823 @@ -7855,47 +9593,60 @@
11824  
11825  _ACEOF
11826  rm -f conftest$ac_exeext
11827 -if { (eval echo "$as_me:7858: \"$ac_link\"") >&5
11828 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829    (eval $ac_link) 2>&5
11830    ac_status=$?
11831 -  echo "$as_me:7861: \$? = $ac_status" >&5
11832 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11834 -  { (eval echo "$as_me:7863: \"$ac_try\"") >&5
11835 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836    (eval $ac_try) 2>&5
11837    ac_status=$?
11838 -  echo "$as_me:7866: \$? = $ac_status" >&5
11839 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840    (exit $ac_status); }; }; then
11841  
11842 -               echo "$as_me:7869: result: no" >&5
11843 +               echo "$as_me:$LINENO: result: no" >&5
11844  echo "${ECHO_T}no" >&6
11845  
11846  else
11847    echo "$as_me: program exited with status $ac_status" >&5
11848  echo "$as_me: failed program was:" >&5
11849 -cat conftest.$ac_ext >&5
11850 +sed 's/^/| /' conftest.$ac_ext >&5
11851  
11852 -               echo "$as_me:7877: result: yes" >&5
11853 +( exit $ac_status )
11854 +
11855 +               echo "$as_me:$LINENO: result: yes" >&5
11856  echo "${ECHO_T}yes" >&6
11857 -               cat >>confdefs.h <<\EOF
11858 +               cat >>confdefs.h <<\_ACEOF
11859  #define HAVE_STRICT_MKSTEMP 1
11860 -EOF
11861 +_ACEOF
11862 +
11863  
11864  fi
11865 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11866 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11867  fi
11868  fi
11869  
11870  if test ! -z "$check_for_openpty_ctty_bug"; then
11871 -       echo "$as_me:7889: checking if openpty correctly handles controlling tty" >&5
11872 -echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
11873 +echo "$as_me:$LINENO: checking if openpty acquires controlling terminal" >&5
11874 +echo $ECHO_N "checking if openpty acquires controlling terminal... $ECHO_C" >&6
11875 +if test "${ac_cv_have_openpty_ctty_bug+set}" = set; then
11876 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11877 +else
11878 +
11879         if test "$cross_compiling" = yes; then
11880 -  { { echo "$as_me:7892: error: cannot run test program while cross compiling" >&5
11881 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11882 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11883 +See \`config.log' for more details." >&5
11884 +echo "$as_me: error: cannot run test program while cross compiling
11885 +See \`config.log' for more details." >&2;}
11886     { (exit 1); exit 1; }; }
11887  else
11888    cat >conftest.$ac_ext <<_ACEOF
11889 -#line 7897 "configure"
11890 -#include "confdefs.h"
11891 +#line $LINENO "configure"
11892 +/* confdefs.h.  */
11893 +_ACEOF
11894 +cat confdefs.h >>conftest.$ac_ext
11895 +cat >>conftest.$ac_ext <<_ACEOF
11896 +/* end confdefs.h.  */
11897  
11898  #include <stdio.h>
11899  #include <sys/fcntl.h>
11900 @@ -7931,201 +9682,95 @@
11901  
11902  _ACEOF
11903  rm -f conftest$ac_exeext
11904 -if { (eval echo "$as_me:7934: \"$ac_link\"") >&5
11905 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11906    (eval $ac_link) 2>&5
11907    ac_status=$?
11908 -  echo "$as_me:7937: \$? = $ac_status" >&5
11909 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11911 -  { (eval echo "$as_me:7939: \"$ac_try\"") >&5
11912 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11913    (eval $ac_try) 2>&5
11914    ac_status=$?
11915 -  echo "$as_me:7942: \$? = $ac_status" >&5
11916 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917    (exit $ac_status); }; }; then
11918 -
11919 -                       echo "$as_me:7945: result: yes" >&5
11920 -echo "${ECHO_T}yes" >&6
11921 -
11922 +   ac_cv_have_openpty_ctty_bug="no"
11923  else
11924    echo "$as_me: program exited with status $ac_status" >&5
11925  echo "$as_me: failed program was:" >&5
11926 -cat conftest.$ac_ext >&5
11927 +sed 's/^/| /' conftest.$ac_ext >&5
11928  
11929 -                       echo "$as_me:7953: result: no" >&5
11930 -echo "${ECHO_T}no" >&6
11931 -                       cat >>confdefs.h <<\EOF
11932 -#define SSHD_ACQUIRES_CTTY 1
11933 -EOF
11934 +( exit $ac_status )
11935 + ac_cv_have_openpty_ctty_bug="yes"
11936  
11937  fi
11938 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11939 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11940  fi
11941 +
11942  fi
11943 +echo "$as_me:$LINENO: result: $ac_cv_have_openpty_ctty_bug" >&5
11944 +echo "${ECHO_T}$ac_cv_have_openpty_ctty_bug" >&6
11945 +if test "x$ac_cv_have_openpty_ctty_bug" = "xyes" ; then
11946 +       cat >>confdefs.h <<\_ACEOF
11947 +#define SSHD_ACQUIRES_CTTY 1
11948 +_ACEOF
11949  
11950 -echo "$as_me:7964: checking whether getpgrp takes no argument" >&5
11951 -echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6
11952 +fi
11953 +fi
11954 +
11955 +echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
11956 +echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
11957  if test "${ac_cv_func_getpgrp_void+set}" = set; then
11958    echo $ECHO_N "(cached) $ECHO_C" >&6
11959  else
11960    # Use it with a single arg.
11961  cat >conftest.$ac_ext <<_ACEOF
11962 -#line 7971 "configure"
11963 -#include "confdefs.h"
11964 -$ac_includes_default
11965 -int
11966 -main ()
11967 -{
11968 -getpgrp (0);
11969 -  ;
11970 -  return 0;
11971 -}
11972 +#line $LINENO "configure"
11973 +/* confdefs.h.  */
11974  _ACEOF
11975 -rm -f conftest.$ac_objext
11976 -if { (eval echo "$as_me:7983: \"$ac_compile\"") >&5
11977 -  (eval $ac_compile) 2>&5
11978 -  ac_status=$?
11979 -  echo "$as_me:7986: \$? = $ac_status" >&5
11980 -  (exit $ac_status); } &&
11981 -         { ac_try='test -s conftest.$ac_objext'
11982 -  { (eval echo "$as_me:7989: \"$ac_try\"") >&5
11983 -  (eval $ac_try) 2>&5
11984 -  ac_status=$?
11985 -  echo "$as_me:7992: \$? = $ac_status" >&5
11986 -  (exit $ac_status); }; }; then
11987 -  ac_func_getpgrp_1=yes
11988 -else
11989 -  echo "$as_me: failed program was:" >&5
11990 -cat conftest.$ac_ext >&5
11991 -ac_func_getpgrp_1=no
11992 -fi
11993 -rm -f conftest.$ac_objext conftest.$ac_ext
11994 -# Use it with no arg.
11995 -cat >conftest.$ac_ext <<_ACEOF
11996 -#line 8003 "configure"
11997 -#include "confdefs.h"
11998 +cat confdefs.h >>conftest.$ac_ext
11999 +cat >>conftest.$ac_ext <<_ACEOF
12000 +/* end confdefs.h.  */
12001  $ac_includes_default
12002  int
12003  main ()
12004  {
12005 -getpgrp ();
12006 +getpgrp (0);
12007    ;
12008    return 0;
12009  }
12010  _ACEOF
12011  rm -f conftest.$ac_objext
12012 -if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5
12013 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12014    (eval $ac_compile) 2>&5
12015    ac_status=$?
12016 -  echo "$as_me:8018: \$? = $ac_status" >&5
12017 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018    (exit $ac_status); } &&
12019           { ac_try='test -s conftest.$ac_objext'
12020 -  { (eval echo "$as_me:8021: \"$ac_try\"") >&5
12021 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022    (eval $ac_try) 2>&5
12023    ac_status=$?
12024 -  echo "$as_me:8024: \$? = $ac_status" >&5
12025 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026    (exit $ac_status); }; }; then
12027 -  ac_func_getpgrp_0=yes
12028 +  ac_cv_func_getpgrp_void=no
12029  else
12030    echo "$as_me: failed program was:" >&5
12031 -cat conftest.$ac_ext >&5
12032 -ac_func_getpgrp_0=no
12033 -fi
12034 -rm -f conftest.$ac_objext conftest.$ac_ext
12035 -# If both static checks agree, we are done.
12036 -case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
12037 -  yes:no) ac_cv_func_getpgrp_void=yes;;
12038 -  no:yes) ac_cv_func_getpgrp_void=false;;
12039 -  *) if test "$cross_compiling" = yes; then
12040 -  { { echo "$as_me:8038: error: cannot check getpgrp if cross compiling" >&5
12041 -echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;}
12042 -   { (exit 1); exit 1; }; }
12043 -else
12044 -  cat >conftest.$ac_ext <<_ACEOF
12045 -#line 8043 "configure"
12046 -#include "confdefs.h"
12047 -$ac_includes_default
12048 -
12049 -/*
12050 - * If this system has a BSD-style getpgrp(),
12051 - * which takes a pid argument, exit unsuccessfully.
12052 - *
12053 - * Snarfed from Chet Ramey's bash pgrp.c test program
12054 - */
12055 -
12056 -int     pid;
12057 -int     pg1, pg2, pg3, pg4;
12058 -int     ng, np, s, child;
12059 -
12060 -int
12061 -main ()
12062 -{
12063 -  pid = getpid ();
12064 -  pg1 = getpgrp (0);
12065 -  pg2 = getpgrp ();
12066 -  pg3 = getpgrp (pid);
12067 -  pg4 = getpgrp (1);
12068 -
12069 -  /* If all of these values are the same, it's pretty sure that we're
12070 -     on a system that ignores getpgrp's first argument.  */
12071 -  if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
12072 -    exit (0);
12073 -
12074 -  child = fork ();
12075 -  if (child < 0)
12076 -    exit(1);
12077 -  else if (child == 0)
12078 -    {
12079 -      np = getpid ();
12080 -      /*  If this is Sys V, this will not work; pgrp will be set to np
12081 -        because setpgrp just changes a pgrp to be the same as the
12082 -        pid.  */
12083 -      setpgrp (np, pg1);
12084 -      ng = getpgrp (0);        /* Same result for Sys V and BSD */
12085 -      if (ng == pg1)
12086 -       exit (1);
12087 -      else
12088 -       exit (0);
12089 -    }
12090 -  else
12091 -    {
12092 -      wait (&s);
12093 -      exit (s>>8);
12094 -    }
12095 -}
12096 +sed 's/^/| /' conftest.$ac_ext >&5
12097  
12098 -_ACEOF
12099 -rm -f conftest$ac_exeext
12100 -if { (eval echo "$as_me:8097: \"$ac_link\"") >&5
12101 -  (eval $ac_link) 2>&5
12102 -  ac_status=$?
12103 -  echo "$as_me:8100: \$? = $ac_status" >&5
12104 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12105 -  { (eval echo "$as_me:8102: \"$ac_try\"") >&5
12106 -  (eval $ac_try) 2>&5
12107 -  ac_status=$?
12108 -  echo "$as_me:8105: \$? = $ac_status" >&5
12109 -  (exit $ac_status); }; }; then
12110 -  ac_cv_func_getpgrp_void=yes
12111 -else
12112 -  echo "$as_me: program exited with status $ac_status" >&5
12113 -echo "$as_me: failed program was:" >&5
12114 -cat conftest.$ac_ext >&5
12115 -ac_cv_func_getpgrp_void=no
12116 +ac_cv_func_getpgrp_void=yes
12117  fi
12118 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12119 -fi;;
12120 -esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
12121 +rm -f conftest.$ac_objext conftest.$ac_ext
12122  
12123  fi
12124 -echo "$as_me:8119: result: $ac_cv_func_getpgrp_void" >&5
12125 +echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
12126  echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
12127  if test $ac_cv_func_getpgrp_void = yes; then
12128  
12129 -cat >>confdefs.h <<\EOF
12130 +cat >>confdefs.h <<\_ACEOF
12131  #define GETPGRP_VOID 1
12132 -EOF
12133 +_ACEOF
12134  
12135  fi
12136  
12137 +
12138  # Check for PAM libs
12139  PAM_MSG="no"
12140  
12141 @@ -8135,12 +9780,13 @@
12142  
12143                 if test "x$withval" != "xno" ; then
12144                         if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
12145 -                               { { echo "$as_me:8138: error: PAM headers not found" >&5
12146 +                               { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
12147  echo "$as_me: error: PAM headers not found" >&2;}
12148     { (exit 1); exit 1; }; }
12149                         fi
12150  
12151 -echo "$as_me:8143: checking for dlopen in -ldl" >&5
12152 +
12153 +echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12154  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12155  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12156    echo $ECHO_N "(cached) $ECHO_C" >&6
12157 @@ -8148,8 +9794,12 @@
12158    ac_check_lib_save_LIBS=$LIBS
12159  LIBS="-ldl  $LIBS"
12160  cat >conftest.$ac_ext <<_ACEOF
12161 -#line 8151 "configure"
12162 -#include "confdefs.h"
12163 +#line $LINENO "configure"
12164 +/* confdefs.h.  */
12165 +_ACEOF
12166 +cat confdefs.h >>conftest.$ac_ext
12167 +cat >>conftest.$ac_ext <<_ACEOF
12168 +/* end confdefs.h.  */
12169  
12170  /* Override any gcc2 internal prototype to avoid an error.  */
12171  #ifdef __cplusplus
12172 @@ -8167,38 +9817,40 @@
12173  }
12174  _ACEOF
12175  rm -f conftest.$ac_objext conftest$ac_exeext
12176 -if { (eval echo "$as_me:8170: \"$ac_link\"") >&5
12177 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12178    (eval $ac_link) 2>&5
12179    ac_status=$?
12180 -  echo "$as_me:8173: \$? = $ac_status" >&5
12181 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182    (exit $ac_status); } &&
12183           { ac_try='test -s conftest$ac_exeext'
12184 -  { (eval echo "$as_me:8176: \"$ac_try\"") >&5
12185 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186    (eval $ac_try) 2>&5
12187    ac_status=$?
12188 -  echo "$as_me:8179: \$? = $ac_status" >&5
12189 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190    (exit $ac_status); }; }; then
12191    ac_cv_lib_dl_dlopen=yes
12192  else
12193    echo "$as_me: failed program was:" >&5
12194 -cat conftest.$ac_ext >&5
12195 +sed 's/^/| /' conftest.$ac_ext >&5
12196 +
12197  ac_cv_lib_dl_dlopen=no
12198  fi
12199  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12200  LIBS=$ac_check_lib_save_LIBS
12201  fi
12202 -echo "$as_me:8190: result: $ac_cv_lib_dl_dlopen" >&5
12203 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12204  echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12205  if test $ac_cv_lib_dl_dlopen = yes; then
12206 -  cat >>confdefs.h <<EOF
12207 +  cat >>confdefs.h <<_ACEOF
12208  #define HAVE_LIBDL 1
12209 -EOF
12210 +_ACEOF
12211  
12212    LIBS="-ldl $LIBS"
12213  
12214  fi
12215  
12216 -echo "$as_me:8201: checking for pam_set_item in -lpam" >&5
12217 +
12218 +echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
12219  echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
12220  if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
12221    echo $ECHO_N "(cached) $ECHO_C" >&6
12222 @@ -8206,8 +9858,12 @@
12223    ac_check_lib_save_LIBS=$LIBS
12224  LIBS="-lpam  $LIBS"
12225  cat >conftest.$ac_ext <<_ACEOF
12226 -#line 8209 "configure"
12227 -#include "confdefs.h"
12228 +#line $LINENO "configure"
12229 +/* confdefs.h.  */
12230 +_ACEOF
12231 +cat confdefs.h >>conftest.$ac_ext
12232 +cat >>conftest.$ac_ext <<_ACEOF
12233 +/* end confdefs.h.  */
12234  
12235  /* Override any gcc2 internal prototype to avoid an error.  */
12236  #ifdef __cplusplus
12237 @@ -8225,185 +9881,217 @@
12238  }
12239  _ACEOF
12240  rm -f conftest.$ac_objext conftest$ac_exeext
12241 -if { (eval echo "$as_me:8228: \"$ac_link\"") >&5
12242 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12243    (eval $ac_link) 2>&5
12244    ac_status=$?
12245 -  echo "$as_me:8231: \$? = $ac_status" >&5
12246 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247    (exit $ac_status); } &&
12248           { ac_try='test -s conftest$ac_exeext'
12249 -  { (eval echo "$as_me:8234: \"$ac_try\"") >&5
12250 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12251    (eval $ac_try) 2>&5
12252    ac_status=$?
12253 -  echo "$as_me:8237: \$? = $ac_status" >&5
12254 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255    (exit $ac_status); }; }; then
12256    ac_cv_lib_pam_pam_set_item=yes
12257  else
12258    echo "$as_me: failed program was:" >&5
12259 -cat conftest.$ac_ext >&5
12260 +sed 's/^/| /' conftest.$ac_ext >&5
12261 +
12262  ac_cv_lib_pam_pam_set_item=no
12263  fi
12264  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12265  LIBS=$ac_check_lib_save_LIBS
12266  fi
12267 -echo "$as_me:8248: result: $ac_cv_lib_pam_pam_set_item" >&5
12268 +echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
12269  echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
12270  if test $ac_cv_lib_pam_pam_set_item = yes; then
12271 -  cat >>confdefs.h <<EOF
12272 +  cat >>confdefs.h <<_ACEOF
12273  #define HAVE_LIBPAM 1
12274 -EOF
12275 +_ACEOF
12276  
12277    LIBS="-lpam $LIBS"
12278  
12279  else
12280 -  { { echo "$as_me:8258: error: *** libpam missing" >&5
12281 +  { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
12282  echo "$as_me: error: *** libpam missing" >&2;}
12283     { (exit 1); exit 1; }; }
12284  fi
12285  
12286 +
12287  for ac_func in pam_getenvlist
12288  do
12289  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12290 -echo "$as_me:8266: checking for $ac_func" >&5
12291 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12292  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12293  if eval "test \"\${$as_ac_var+set}\" = set"; then
12294    echo $ECHO_N "(cached) $ECHO_C" >&6
12295  else
12296    cat >conftest.$ac_ext <<_ACEOF
12297 -#line 8272 "configure"
12298 -#include "confdefs.h"
12299 +#line $LINENO "configure"
12300 +/* confdefs.h.  */
12301 +_ACEOF
12302 +cat confdefs.h >>conftest.$ac_ext
12303 +cat >>conftest.$ac_ext <<_ACEOF
12304 +/* end confdefs.h.  */
12305  /* System header to define __stub macros and hopefully few prototypes,
12306 -    which can conflict with char $ac_func (); below.  */
12307 -#include <assert.h>
12308 +    which can conflict with char $ac_func (); below.
12309 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12310 +    <limits.h> exists even on freestanding compilers.  */
12311 +#ifdef __STDC__
12312 +# include <limits.h>
12313 +#else
12314 +# include <assert.h>
12315 +#endif
12316  /* Override any gcc2 internal prototype to avoid an error.  */
12317  #ifdef __cplusplus
12318  extern "C"
12319 +{
12320  #endif
12321  /* We use char because int might match the return type of a gcc2
12322     builtin and then its argument prototype would still apply.  */
12323  char $ac_func ();
12324 -char (*f) ();
12325 -
12326 -int
12327 -main ()
12328 -{
12329  /* The GNU C library defines this for functions which it implements
12330      to always fail with ENOSYS.  Some functions are actually named
12331      something starting with __ and the normal name is an alias.  */
12332  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12333  choke me
12334  #else
12335 -f = $ac_func;
12336 +char (*f) () = $ac_func;
12337 +#endif
12338 +#ifdef __cplusplus
12339 +}
12340  #endif
12341  
12342 +int
12343 +main ()
12344 +{
12345 +return f != $ac_func;
12346    ;
12347    return 0;
12348  }
12349  _ACEOF
12350  rm -f conftest.$ac_objext conftest$ac_exeext
12351 -if { (eval echo "$as_me:8303: \"$ac_link\"") >&5
12352 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12353    (eval $ac_link) 2>&5
12354    ac_status=$?
12355 -  echo "$as_me:8306: \$? = $ac_status" >&5
12356 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357    (exit $ac_status); } &&
12358           { ac_try='test -s conftest$ac_exeext'
12359 -  { (eval echo "$as_me:8309: \"$ac_try\"") >&5
12360 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361    (eval $ac_try) 2>&5
12362    ac_status=$?
12363 -  echo "$as_me:8312: \$? = $ac_status" >&5
12364 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365    (exit $ac_status); }; }; then
12366    eval "$as_ac_var=yes"
12367  else
12368    echo "$as_me: failed program was:" >&5
12369 -cat conftest.$ac_ext >&5
12370 +sed 's/^/| /' conftest.$ac_ext >&5
12371 +
12372  eval "$as_ac_var=no"
12373  fi
12374  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12375  fi
12376 -echo "$as_me:8322: result: `eval echo '${'$as_ac_var'}'`" >&5
12377 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12378  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12379  if test `eval echo '${'$as_ac_var'}'` = yes; then
12380 -  cat >>confdefs.h <<EOF
12381 +  cat >>confdefs.h <<_ACEOF
12382  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12383 -EOF
12384 +_ACEOF
12385  
12386  fi
12387  done
12388  
12389 +
12390  for ac_func in pam_putenv
12391  do
12392  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12393 -echo "$as_me:8335: checking for $ac_func" >&5
12394 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12395  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12396  if eval "test \"\${$as_ac_var+set}\" = set"; then
12397    echo $ECHO_N "(cached) $ECHO_C" >&6
12398  else
12399    cat >conftest.$ac_ext <<_ACEOF
12400 -#line 8341 "configure"
12401 -#include "confdefs.h"
12402 +#line $LINENO "configure"
12403 +/* confdefs.h.  */
12404 +_ACEOF
12405 +cat confdefs.h >>conftest.$ac_ext
12406 +cat >>conftest.$ac_ext <<_ACEOF
12407 +/* end confdefs.h.  */
12408  /* System header to define __stub macros and hopefully few prototypes,
12409 -    which can conflict with char $ac_func (); below.  */
12410 -#include <assert.h>
12411 +    which can conflict with char $ac_func (); below.
12412 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12413 +    <limits.h> exists even on freestanding compilers.  */
12414 +#ifdef __STDC__
12415 +# include <limits.h>
12416 +#else
12417 +# include <assert.h>
12418 +#endif
12419  /* Override any gcc2 internal prototype to avoid an error.  */
12420  #ifdef __cplusplus
12421  extern "C"
12422 +{
12423  #endif
12424  /* We use char because int might match the return type of a gcc2
12425     builtin and then its argument prototype would still apply.  */
12426  char $ac_func ();
12427 -char (*f) ();
12428 -
12429 -int
12430 -main ()
12431 -{
12432  /* The GNU C library defines this for functions which it implements
12433      to always fail with ENOSYS.  Some functions are actually named
12434      something starting with __ and the normal name is an alias.  */
12435  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12436  choke me
12437  #else
12438 -f = $ac_func;
12439 +char (*f) () = $ac_func;
12440 +#endif
12441 +#ifdef __cplusplus
12442 +}
12443  #endif
12444  
12445 +int
12446 +main ()
12447 +{
12448 +return f != $ac_func;
12449    ;
12450    return 0;
12451  }
12452  _ACEOF
12453  rm -f conftest.$ac_objext conftest$ac_exeext
12454 -if { (eval echo "$as_me:8372: \"$ac_link\"") >&5
12455 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12456    (eval $ac_link) 2>&5
12457    ac_status=$?
12458 -  echo "$as_me:8375: \$? = $ac_status" >&5
12459 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460    (exit $ac_status); } &&
12461           { ac_try='test -s conftest$ac_exeext'
12462 -  { (eval echo "$as_me:8378: \"$ac_try\"") >&5
12463 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464    (eval $ac_try) 2>&5
12465    ac_status=$?
12466 -  echo "$as_me:8381: \$? = $ac_status" >&5
12467 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468    (exit $ac_status); }; }; then
12469    eval "$as_ac_var=yes"
12470  else
12471    echo "$as_me: failed program was:" >&5
12472 -cat conftest.$ac_ext >&5
12473 +sed 's/^/| /' conftest.$ac_ext >&5
12474 +
12475  eval "$as_ac_var=no"
12476  fi
12477  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12478  fi
12479 -echo "$as_me:8391: result: `eval echo '${'$as_ac_var'}'`" >&5
12480 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12481  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12482  if test `eval echo '${'$as_ac_var'}'` = yes; then
12483 -  cat >>confdefs.h <<EOF
12484 +  cat >>confdefs.h <<_ACEOF
12485  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12486 -EOF
12487 +_ACEOF
12488  
12489  fi
12490  done
12491  
12492 +
12493                         disable_shadow=yes
12494                         PAM_MSG="yes"
12495  
12496 -                       cat >>confdefs.h <<\EOF
12497 +                       cat >>confdefs.h <<\_ACEOF
12498  #define USE_PAM 1
12499 -EOF
12500 +_ACEOF
12501  
12502                         if test $ac_cv_lib_dl_dlopen = yes; then
12503                                 LIBPAM="-lpam -ldl"
12504 @@ -8413,16 +10101,21 @@
12505  
12506                 fi
12507  
12508 +
12509  fi;
12510  
12511  # Check for older PAM
12512  if test "x$PAM_MSG" = "xyes" ; then
12513         # Check PAM strerror arguments (old PAM)
12514 -       echo "$as_me:8421: checking whether pam_strerror takes only one argument" >&5
12515 +       echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
12516  echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
12517         cat >conftest.$ac_ext <<_ACEOF
12518 -#line 8424 "configure"
12519 -#include "confdefs.h"
12520 +#line $LINENO "configure"
12521 +/* confdefs.h.  */
12522 +_ACEOF
12523 +cat confdefs.h >>conftest.$ac_ext
12524 +cat >>conftest.$ac_ext <<_ACEOF
12525 +/* end confdefs.h.  */
12526  
12527  #include <stdlib.h>
12528  #include <security/pam_appl.h>
12529 @@ -8436,31 +10129,33 @@
12530  }
12531  _ACEOF
12532  rm -f conftest.$ac_objext
12533 -if { (eval echo "$as_me:8439: \"$ac_compile\"") >&5
12534 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12535    (eval $ac_compile) 2>&5
12536    ac_status=$?
12537 -  echo "$as_me:8442: \$? = $ac_status" >&5
12538 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539    (exit $ac_status); } &&
12540           { ac_try='test -s conftest.$ac_objext'
12541 -  { (eval echo "$as_me:8445: \"$ac_try\"") >&5
12542 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543    (eval $ac_try) 2>&5
12544    ac_status=$?
12545 -  echo "$as_me:8448: \$? = $ac_status" >&5
12546 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547    (exit $ac_status); }; }; then
12548 -  echo "$as_me:8450: result: no" >&5
12549 +  echo "$as_me:$LINENO: result: no" >&5
12550  echo "${ECHO_T}no" >&6
12551  else
12552    echo "$as_me: failed program was:" >&5
12553 -cat conftest.$ac_ext >&5
12554 +sed 's/^/| /' conftest.$ac_ext >&5
12555  
12556 -                       cat >>confdefs.h <<\EOF
12557 +
12558 +                       cat >>confdefs.h <<\_ACEOF
12559  #define HAVE_OLD_PAM 1
12560 -EOF
12561 +_ACEOF
12562  
12563 -                       echo "$as_me:8460: result: yes" >&5
12564 +                       echo "$as_me:$LINENO: result: yes" >&5
12565  echo "${ECHO_T}yes" >&6
12566                         PAM_MSG="yes (old library)"
12567  
12568 +
12569  fi
12570  rm -f conftest.$ac_objext conftest.$ac_ext
12571  fi
12572 @@ -8469,7 +10164,7 @@
12573  # because the system crypt() is more featureful.
12574  if test "x$check_for_libcrypt_before" = "x1"; then
12575  
12576 -echo "$as_me:8472: checking for crypt in -lcrypt" >&5
12577 +echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12578  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
12579  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
12580    echo $ECHO_N "(cached) $ECHO_C" >&6
12581 @@ -8477,8 +10172,12 @@
12582    ac_check_lib_save_LIBS=$LIBS
12583  LIBS="-lcrypt  $LIBS"
12584  cat >conftest.$ac_ext <<_ACEOF
12585 -#line 8480 "configure"
12586 -#include "confdefs.h"
12587 +#line $LINENO "configure"
12588 +/* confdefs.h.  */
12589 +_ACEOF
12590 +cat confdefs.h >>conftest.$ac_ext
12591 +cat >>conftest.$ac_ext <<_ACEOF
12592 +/* end confdefs.h.  */
12593  
12594  /* Override any gcc2 internal prototype to avoid an error.  */
12595  #ifdef __cplusplus
12596 @@ -8496,32 +10195,33 @@
12597  }
12598  _ACEOF
12599  rm -f conftest.$ac_objext conftest$ac_exeext
12600 -if { (eval echo "$as_me:8499: \"$ac_link\"") >&5
12601 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12602    (eval $ac_link) 2>&5
12603    ac_status=$?
12604 -  echo "$as_me:8502: \$? = $ac_status" >&5
12605 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606    (exit $ac_status); } &&
12607           { ac_try='test -s conftest$ac_exeext'
12608 -  { (eval echo "$as_me:8505: \"$ac_try\"") >&5
12609 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610    (eval $ac_try) 2>&5
12611    ac_status=$?
12612 -  echo "$as_me:8508: \$? = $ac_status" >&5
12613 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614    (exit $ac_status); }; }; then
12615    ac_cv_lib_crypt_crypt=yes
12616  else
12617    echo "$as_me: failed program was:" >&5
12618 -cat conftest.$ac_ext >&5
12619 +sed 's/^/| /' conftest.$ac_ext >&5
12620 +
12621  ac_cv_lib_crypt_crypt=no
12622  fi
12623  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12624  LIBS=$ac_check_lib_save_LIBS
12625  fi
12626 -echo "$as_me:8519: result: $ac_cv_lib_crypt_crypt" >&5
12627 +echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
12628  echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
12629  if test $ac_cv_lib_crypt_crypt = yes; then
12630 -  cat >>confdefs.h <<EOF
12631 +  cat >>confdefs.h <<_ACEOF
12632  #define HAVE_LIBCRYPT 1
12633 -EOF
12634 +_ACEOF
12635  
12636    LIBS="-lcrypt $LIBS"
12637  
12638 @@ -8558,11 +10258,16 @@
12639                         fi
12640                 fi
12641  
12642 +
12643  fi;
12644  LIBS="$LIBS -lcrypto"
12645  cat >conftest.$ac_ext <<_ACEOF
12646 -#line 8564 "configure"
12647 -#include "confdefs.h"
12648 +#line $LINENO "configure"
12649 +/* confdefs.h.  */
12650 +_ACEOF
12651 +cat confdefs.h >>conftest.$ac_ext
12652 +cat >>conftest.$ac_ext <<_ACEOF
12653 +/* end confdefs.h.  */
12654  
12655  /* Override any gcc2 internal prototype to avoid an error.  */
12656  #ifdef __cplusplus
12657 @@ -8580,24 +10285,25 @@
12658  }
12659  _ACEOF
12660  rm -f conftest.$ac_objext conftest$ac_exeext
12661 -if { (eval echo "$as_me:8583: \"$ac_link\"") >&5
12662 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12663    (eval $ac_link) 2>&5
12664    ac_status=$?
12665 -  echo "$as_me:8586: \$? = $ac_status" >&5
12666 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667    (exit $ac_status); } &&
12668           { ac_try='test -s conftest$ac_exeext'
12669 -  { (eval echo "$as_me:8589: \"$ac_try\"") >&5
12670 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671    (eval $ac_try) 2>&5
12672    ac_status=$?
12673 -  echo "$as_me:8592: \$? = $ac_status" >&5
12674 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675    (exit $ac_status); }; }; then
12676 -  cat >>confdefs.h <<\EOF
12677 +  cat >>confdefs.h <<\_ACEOF
12678  #define HAVE_OPENSSL 1
12679 -EOF
12680 +_ACEOF
12681  
12682  else
12683    echo "$as_me: failed program was:" >&5
12684 -cat conftest.$ac_ext >&5
12685 +sed 's/^/| /' conftest.$ac_ext >&5
12686 +
12687  
12688                                 if test -n "${need_dash_r}"; then
12689                         LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
12690 @@ -8606,8 +10312,12 @@
12691                 fi
12692                 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
12693                 cat >conftest.$ac_ext <<_ACEOF
12694 -#line 8609 "configure"
12695 -#include "confdefs.h"
12696 +#line $LINENO "configure"
12697 +/* confdefs.h.  */
12698 +_ACEOF
12699 +cat confdefs.h >>conftest.$ac_ext
12700 +cat >>conftest.$ac_ext <<_ACEOF
12701 +/* end confdefs.h.  */
12702  
12703  /* Override any gcc2 internal prototype to avoid an error.  */
12704  #ifdef __cplusplus
12705 @@ -8625,46 +10335,57 @@
12706  }
12707  _ACEOF
12708  rm -f conftest.$ac_objext conftest$ac_exeext
12709 -if { (eval echo "$as_me:8628: \"$ac_link\"") >&5
12710 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12711    (eval $ac_link) 2>&5
12712    ac_status=$?
12713 -  echo "$as_me:8631: \$? = $ac_status" >&5
12714 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715    (exit $ac_status); } &&
12716           { ac_try='test -s conftest$ac_exeext'
12717 -  { (eval echo "$as_me:8634: \"$ac_try\"") >&5
12718 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719    (eval $ac_try) 2>&5
12720    ac_status=$?
12721 -  echo "$as_me:8637: \$? = $ac_status" >&5
12722 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723    (exit $ac_status); }; }; then
12724 -  cat >>confdefs.h <<\EOF
12725 +  cat >>confdefs.h <<\_ACEOF
12726  #define HAVE_OPENSSL 1
12727 -EOF
12728 +_ACEOF
12729  
12730  else
12731    echo "$as_me: failed program was:" >&5
12732 -cat conftest.$ac_ext >&5
12733 +sed 's/^/| /' conftest.$ac_ext >&5
12734  
12735 -                               { { echo "$as_me:8647: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
12736 +
12737 +                               { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
12738  echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
12739     { (exit 1); exit 1; }; }
12740  
12741 +
12742  fi
12743  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12744  
12745 +
12746  fi
12747  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12748  
12749  # Determine OpenSSL header version
12750 -echo "$as_me:8658: checking OpenSSL header version" >&5
12751 +echo "$as_me:$LINENO: checking OpenSSL header version" >&5
12752  echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
12753  if test "$cross_compiling" = yes; then
12754 -  { { echo "$as_me:8661: error: cannot run test program while cross compiling" >&5
12755 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12756 -   { (exit 1); exit 1; }; }
12757 +
12758 +               echo "$as_me:$LINENO: result: unknown" >&5
12759 +echo "${ECHO_T}unknown" >&6
12760 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL header version check due to crosscompilation." >&5
12761 +echo "$as_me: WARNING: Skipping OpenSSL header version check due to crosscompilation." >&2;}
12762 +
12763 +
12764  else
12765    cat >conftest.$ac_ext <<_ACEOF
12766 -#line 8666 "configure"
12767 -#include "confdefs.h"
12768 +#line $LINENO "configure"
12769 +/* confdefs.h.  */
12770 +_ACEOF
12771 +cat confdefs.h >>conftest.$ac_ext
12772 +cat >>conftest.$ac_ext <<_ACEOF
12773 +/* end confdefs.h.  */
12774  
12775  #include <stdio.h>
12776  #include <string.h>
12777 @@ -8686,47 +10407,57 @@
12778  
12779  _ACEOF
12780  rm -f conftest$ac_exeext
12781 -if { (eval echo "$as_me:8689: \"$ac_link\"") >&5
12782 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783    (eval $ac_link) 2>&5
12784    ac_status=$?
12785 -  echo "$as_me:8692: \$? = $ac_status" >&5
12786 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12788 -  { (eval echo "$as_me:8694: \"$ac_try\"") >&5
12789 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790    (eval $ac_try) 2>&5
12791    ac_status=$?
12792 -  echo "$as_me:8697: \$? = $ac_status" >&5
12793 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794    (exit $ac_status); }; }; then
12795  
12796                 ssl_header_ver=`cat conftest.sslincver`
12797 -               echo "$as_me:8701: result: $ssl_header_ver" >&5
12798 +               echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
12799  echo "${ECHO_T}$ssl_header_ver" >&6
12800  
12801  else
12802    echo "$as_me: program exited with status $ac_status" >&5
12803  echo "$as_me: failed program was:" >&5
12804 -cat conftest.$ac_ext >&5
12805 +sed 's/^/| /' conftest.$ac_ext >&5
12806  
12807 -               echo "$as_me:8709: result: not found" >&5
12808 +( exit $ac_status )
12809 +
12810 +               echo "$as_me:$LINENO: result: not found" >&5
12811  echo "${ECHO_T}not found" >&6
12812 -               { { echo "$as_me:8711: error: OpenSSL version header not found." >&5
12813 +               { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
12814  echo "$as_me: error: OpenSSL version header not found." >&2;}
12815     { (exit 1); exit 1; }; }
12816  
12817  fi
12818 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12819 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12820  fi
12821  
12822  # Determine OpenSSL library version
12823 -echo "$as_me:8720: checking OpenSSL library version" >&5
12824 +echo "$as_me:$LINENO: checking OpenSSL library version" >&5
12825  echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
12826  if test "$cross_compiling" = yes; then
12827 -  { { echo "$as_me:8723: error: cannot run test program while cross compiling" >&5
12828 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12829 -   { (exit 1); exit 1; }; }
12830 +
12831 +               echo "$as_me:$LINENO: result: unknown" >&5
12832 +echo "${ECHO_T}unknown" >&6
12833 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL library version check due to crosscompilation." >&5
12834 +echo "$as_me: WARNING: Skipping OpenSSL library version check due to crosscompilation." >&2;}
12835 +
12836 +
12837  else
12838    cat >conftest.$ac_ext <<_ACEOF
12839 -#line 8728 "configure"
12840 -#include "confdefs.h"
12841 +#line $LINENO "configure"
12842 +/* confdefs.h.  */
12843 +_ACEOF
12844 +cat confdefs.h >>conftest.$ac_ext
12845 +cat >>conftest.$ac_ext <<_ACEOF
12846 +/* end confdefs.h.  */
12847  
12848  #include <stdio.h>
12849  #include <string.h>
12850 @@ -8749,47 +10480,57 @@
12851  
12852  _ACEOF
12853  rm -f conftest$ac_exeext
12854 -if { (eval echo "$as_me:8752: \"$ac_link\"") >&5
12855 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856    (eval $ac_link) 2>&5
12857    ac_status=$?
12858 -  echo "$as_me:8755: \$? = $ac_status" >&5
12859 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12861 -  { (eval echo "$as_me:8757: \"$ac_try\"") >&5
12862 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863    (eval $ac_try) 2>&5
12864    ac_status=$?
12865 -  echo "$as_me:8760: \$? = $ac_status" >&5
12866 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867    (exit $ac_status); }; }; then
12868  
12869                 ssl_library_ver=`cat conftest.ssllibver`
12870 -               echo "$as_me:8764: result: $ssl_library_ver" >&5
12871 +               echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
12872  echo "${ECHO_T}$ssl_library_ver" >&6
12873  
12874  else
12875    echo "$as_me: program exited with status $ac_status" >&5
12876  echo "$as_me: failed program was:" >&5
12877 -cat conftest.$ac_ext >&5
12878 +sed 's/^/| /' conftest.$ac_ext >&5
12879  
12880 -               echo "$as_me:8772: result: not found" >&5
12881 +( exit $ac_status )
12882 +
12883 +               echo "$as_me:$LINENO: result: not found" >&5
12884  echo "${ECHO_T}not found" >&6
12885 -               { { echo "$as_me:8774: error: OpenSSL library not found." >&5
12886 +               { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
12887  echo "$as_me: error: OpenSSL library not found." >&2;}
12888     { (exit 1); exit 1; }; }
12889  
12890  fi
12891 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12892 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12893  fi
12894  
12895  # Sanity check OpenSSL headers
12896 -echo "$as_me:8783: checking whether OpenSSL's headers match the library" >&5
12897 +echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
12898  echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
12899  if test "$cross_compiling" = yes; then
12900 -  { { echo "$as_me:8786: error: cannot run test program while cross compiling" >&5
12901 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12902 -   { (exit 1); exit 1; }; }
12903 +
12904 +               echo "$as_me:$LINENO: result: unknown" >&5
12905 +echo "${ECHO_T}unknown" >&6
12906 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL version comparison due to crosscompilation." >&5
12907 +echo "$as_me: WARNING: Skipping OpenSSL version comparison due to crosscompilation." >&2;}
12908 +
12909 +
12910  else
12911    cat >conftest.$ac_ext <<_ACEOF
12912 -#line 8791 "configure"
12913 -#include "confdefs.h"
12914 +#line $LINENO "configure"
12915 +/* confdefs.h.  */
12916 +_ACEOF
12917 +cat confdefs.h >>conftest.$ac_ext
12918 +cat >>conftest.$ac_ext <<_ACEOF
12919 +/* end confdefs.h.  */
12920  
12921  #include <string.h>
12922  #include <openssl/opensslv.h>
12923 @@ -8797,28 +10538,30 @@
12924  
12925  _ACEOF
12926  rm -f conftest$ac_exeext
12927 -if { (eval echo "$as_me:8800: \"$ac_link\"") >&5
12928 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12929    (eval $ac_link) 2>&5
12930    ac_status=$?
12931 -  echo "$as_me:8803: \$? = $ac_status" >&5
12932 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12934 -  { (eval echo "$as_me:8805: \"$ac_try\"") >&5
12935 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936    (eval $ac_try) 2>&5
12937    ac_status=$?
12938 -  echo "$as_me:8808: \$? = $ac_status" >&5
12939 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940    (exit $ac_status); }; }; then
12941  
12942 -               echo "$as_me:8811: result: yes" >&5
12943 +               echo "$as_me:$LINENO: result: yes" >&5
12944  echo "${ECHO_T}yes" >&6
12945  
12946  else
12947    echo "$as_me: program exited with status $ac_status" >&5
12948  echo "$as_me: failed program was:" >&5
12949 -cat conftest.$ac_ext >&5
12950 +sed 's/^/| /' conftest.$ac_ext >&5
12951  
12952 -               echo "$as_me:8819: result: no" >&5
12953 +( exit $ac_status )
12954 +
12955 +               echo "$as_me:$LINENO: result: no" >&5
12956  echo "${ECHO_T}no" >&6
12957 -               { { echo "$as_me:8821: error: Your OpenSSL headers do not match your library.
12958 +               { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library.
12959  Check config.log for details.
12960  Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
12961  echo "$as_me: error: Your OpenSSL headers do not match your library.
12962 @@ -8827,13 +10570,13 @@
12963     { (exit 1); exit 1; }; }
12964  
12965  fi
12966 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12967 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12968  fi
12969  
12970  # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
12971  # version in OpenSSL. Skip this for PAM
12972  if test "x$check_for_libcrypt_later" = "x1"; then
12973 -       echo "$as_me:8836: checking for crypt in -lcrypt" >&5
12974 +       echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12975  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
12976  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
12977    echo $ECHO_N "(cached) $ECHO_C" >&6
12978 @@ -8841,8 +10584,12 @@
12979    ac_check_lib_save_LIBS=$LIBS
12980  LIBS="-lcrypt  $LIBS"
12981  cat >conftest.$ac_ext <<_ACEOF
12982 -#line 8844 "configure"
12983 -#include "confdefs.h"
12984 +#line $LINENO "configure"
12985 +/* confdefs.h.  */
12986 +_ACEOF
12987 +cat confdefs.h >>conftest.$ac_ext
12988 +cat >>conftest.$ac_ext <<_ACEOF
12989 +/* end confdefs.h.  */
12990  
12991  /* Override any gcc2 internal prototype to avoid an error.  */
12992  #ifdef __cplusplus
12993 @@ -8860,27 +10607,28 @@
12994  }
12995  _ACEOF
12996  rm -f conftest.$ac_objext conftest$ac_exeext
12997 -if { (eval echo "$as_me:8863: \"$ac_link\"") >&5
12998 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12999    (eval $ac_link) 2>&5
13000    ac_status=$?
13001 -  echo "$as_me:8866: \$? = $ac_status" >&5
13002 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003    (exit $ac_status); } &&
13004           { ac_try='test -s conftest$ac_exeext'
13005 -  { (eval echo "$as_me:8869: \"$ac_try\"") >&5
13006 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13007    (eval $ac_try) 2>&5
13008    ac_status=$?
13009 -  echo "$as_me:8872: \$? = $ac_status" >&5
13010 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011    (exit $ac_status); }; }; then
13012    ac_cv_lib_crypt_crypt=yes
13013  else
13014    echo "$as_me: failed program was:" >&5
13015 -cat conftest.$ac_ext >&5
13016 +sed 's/^/| /' conftest.$ac_ext >&5
13017 +
13018  ac_cv_lib_crypt_crypt=no
13019  fi
13020  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13021  LIBS=$ac_check_lib_save_LIBS
13022  fi
13023 -echo "$as_me:8883: result: $ac_cv_lib_crypt_crypt" >&5
13024 +echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
13025  echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
13026  if test $ac_cv_lib_crypt_crypt = yes; then
13027    LIBS="$LIBS -lcrypt"
13028 @@ -8890,81 +10638,93 @@
13029  
13030  ### Configure cryptographic random number support
13031  
13032 -# Check wheter OpenSSL seeds itself
13033 -echo "$as_me:8894: checking whether OpenSSL's PRNG is internally seeded" >&5
13034 +# Do we want to force the use of the rand helper?
13035 +
13036 +# Check whether --with-rand-helper or --without-rand-helper was given.
13037 +if test "${with_rand_helper+set}" = set; then
13038 +  withval="$with_rand_helper"
13039 +
13040 +               if test "x$withval" = "xno" ; then
13041 +                       # Force use of OpenSSL's internal RNG, even if
13042 +                       # the previous test showed it to be unseeded.
13043 +                       if test -z "$OPENSSL_SEEDS_ITSELF" ; then
13044 +                               { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
13045 +echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
13046 +                               OPENSSL_SEEDS_ITSELF=yes
13047 +                               USE_RAND_HELPER=""
13048 +                       fi
13049 +               else
13050 +                       USE_RAND_HELPER=yes
13051 +               fi
13052 +
13053 +else
13054 +  # Check whether OpenSSL seeds itself
13055 +
13056 +               echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
13057  echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
13058 -if test "$cross_compiling" = yes; then
13059 -  { { echo "$as_me:8897: error: cannot run test program while cross compiling" >&5
13060 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13061 +               if test "$cross_compiling" = yes; then
13062 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13063 +See \`config.log' for more details." >&5
13064 +echo "$as_me: error: cannot run test program while cross compiling
13065 +See \`config.log' for more details." >&2;}
13066     { (exit 1); exit 1; }; }
13067  else
13068    cat >conftest.$ac_ext <<_ACEOF
13069 -#line 8902 "configure"
13070 -#include "confdefs.h"
13071 +#line $LINENO "configure"
13072 +/* confdefs.h.  */
13073 +_ACEOF
13074 +cat confdefs.h >>conftest.$ac_ext
13075 +cat >>conftest.$ac_ext <<_ACEOF
13076 +/* end confdefs.h.  */
13077  
13078 -#include <string.h>
13079 -#include <openssl/rand.h>
13080 -int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
13081 +               #include <string.h>
13082 +               #include <openssl/rand.h>
13083 +               int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
13084  
13085  _ACEOF
13086  rm -f conftest$ac_exeext
13087 -if { (eval echo "$as_me:8911: \"$ac_link\"") >&5
13088 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13089    (eval $ac_link) 2>&5
13090    ac_status=$?
13091 -  echo "$as_me:8914: \$? = $ac_status" >&5
13092 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13094 -  { (eval echo "$as_me:8916: \"$ac_try\"") >&5
13095 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096    (eval $ac_try) 2>&5
13097    ac_status=$?
13098 -  echo "$as_me:8919: \$? = $ac_status" >&5
13099 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100    (exit $ac_status); }; }; then
13101  
13102 -               OPENSSL_SEEDS_ITSELF=yes
13103 -               echo "$as_me:8923: result: yes" >&5
13104 +                               OPENSSL_SEEDS_ITSELF=yes
13105 +                               echo "$as_me:$LINENO: result: yes" >&5
13106  echo "${ECHO_T}yes" >&6
13107  
13108  else
13109    echo "$as_me: program exited with status $ac_status" >&5
13110  echo "$as_me: failed program was:" >&5
13111 -cat conftest.$ac_ext >&5
13112 +sed 's/^/| /' conftest.$ac_ext >&5
13113  
13114 -               echo "$as_me:8931: result: no" >&5
13115 +( exit $ac_status )
13116 +
13117 +                               echo "$as_me:$LINENO: result: no" >&5
13118  echo "${ECHO_T}no" >&6
13119 -               # Default to use of the rand helper if OpenSSL doesn't
13120 -               # seed itself
13121 -               USE_RAND_HELPER=yes
13122 +                               # Default to use of the rand helper if OpenSSL doesn't
13123 +                               # seed itself
13124 +                               USE_RAND_HELPER=yes
13125 +
13126  
13127  fi
13128 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13129 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13130  fi
13131  
13132 -# Do we want to force the use of the rand helper?
13133 -
13134 -# Check whether --with-rand-helper or --without-rand-helper was given.
13135 -if test "${with_rand_helper+set}" = set; then
13136 -  withval="$with_rand_helper"
13137 -
13138 -               if test "x$withval" = "xno" ; then
13139 -                       # Force use of OpenSSL's internal RNG, even if
13140 -                       # the previous test showed it to be unseeded.
13141 -                       if test -z "$OPENSSL_SEEDS_ITSELF" ; then
13142 -                               { echo "$as_me:8951: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
13143 -echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
13144 -                               OPENSSL_SEEDS_ITSELF=yes
13145 -                               USE_RAND_HELPER=""
13146 -                       fi
13147 -               else
13148 -                       USE_RAND_HELPER=yes
13149 -               fi
13150  
13151  fi;
13152  
13153  # Which randomness source do we use?
13154  if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
13155         # OpenSSL only
13156 -       cat >>confdefs.h <<\EOF
13157 +       cat >>confdefs.h <<\_ACEOF
13158  #define OPENSSL_PRNG_ONLY 1
13159 -EOF
13160 +_ACEOF
13161  
13162         RAND_MSG="OpenSSL internal ONLY"
13163         INSTALL_SSH_RAND_HELPER=""
13164 @@ -8974,6 +10734,7 @@
13165         INSTALL_SSH_RAND_HELPER="yes"
13166  fi
13167  
13168 +
13169  ### Configuration of ssh-rand-helper
13170  
13171  # PRNGD TCP socket
13172 @@ -8989,19 +10750,20 @@
13173                 [0-9]*)
13174                         ;;
13175                 *)
13176 -                       { { echo "$as_me:8992: error: You must specify a numeric port number for --with-prngd-port" >&5
13177 +                       { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
13178  echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
13179     { (exit 1); exit 1; }; }
13180                         ;;
13181                 esac
13182                 if test ! -z "$withval" ; then
13183                         PRNGD_PORT="$withval"
13184 -                       cat >>confdefs.h <<EOF
13185 +                       cat >>confdefs.h <<_ACEOF
13186  #define PRNGD_PORT $PRNGD_PORT
13187 -EOF
13188 +_ACEOF
13189  
13190                 fi
13191  
13192 +
13193  fi;
13194  
13195  # PRNGD Unix domain socket
13196 @@ -9020,7 +10782,7 @@
13197                 /*)
13198                         ;;
13199                 *)
13200 -                       { { echo "$as_me:9023: error: You must specify an absolute path to the entropy socket" >&5
13201 +                       { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
13202  echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
13203     { (exit 1); exit 1; }; }
13204                         ;;
13205 @@ -9028,18 +10790,18 @@
13206  
13207                 if test ! -z "$withval" ; then
13208                         if test ! -z "$PRNGD_PORT" ; then
13209 -                               { { echo "$as_me:9031: error: You may not specify both a PRNGD/EGD port and socket" >&5
13210 +                               { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
13211  echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
13212     { (exit 1); exit 1; }; }
13213                         fi
13214                         if test ! -r "$withval" ; then
13215 -                               { echo "$as_me:9036: WARNING: Entropy socket is not readable" >&5
13216 +                               { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
13217  echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
13218                         fi
13219                         PRNGD_SOCKET="$withval"
13220 -                       cat >>confdefs.h <<EOF
13221 +                       cat >>confdefs.h <<_ACEOF
13222  #define PRNGD_SOCKET "$PRNGD_SOCKET"
13223 -EOF
13224 +_ACEOF
13225  
13226                 fi
13227  
13228 @@ -9047,28 +10809,29 @@
13229  
13230                 # Check for existing socket only if we don't have a random device already
13231                 if test "$USE_RAND_HELPER" = yes ; then
13232 -                       echo "$as_me:9050: checking for PRNGD/EGD socket" >&5
13233 +                       echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
13234  echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
13235                         # Insert other locations here
13236                         for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
13237                                 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
13238                                         PRNGD_SOCKET="$sock"
13239 -                                       cat >>confdefs.h <<EOF
13240 +                                       cat >>confdefs.h <<_ACEOF
13241  #define PRNGD_SOCKET "$PRNGD_SOCKET"
13242 -EOF
13243 +_ACEOF
13244  
13245                                         break;
13246                                 fi
13247                         done
13248                         if test ! -z "$PRNGD_SOCKET" ; then
13249 -                               echo "$as_me:9064: result: $PRNGD_SOCKET" >&5
13250 +                               echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
13251  echo "${ECHO_T}$PRNGD_SOCKET" >&6
13252                         else
13253 -                               echo "$as_me:9067: result: not found" >&5
13254 +                               echo "$as_me:$LINENO: result: not found" >&5
13255  echo "${ECHO_T}not found" >&6
13256                         fi
13257                 fi
13258  
13259 +
13260  fi;
13261  
13262  # Change default command timeout for hashing entropy source
13263 @@ -9082,10 +10845,12 @@
13264                         entropy_timeout=$withval
13265                 fi
13266  
13267 +
13268  fi;
13269 -cat >>confdefs.h <<EOF
13270 +cat >>confdefs.h <<_ACEOF
13271  #define ENTROPY_TIMEOUT_MSEC $entropy_timeout
13272 -EOF
13273 +_ACEOF
13274 +
13275  
13276  SSH_PRIVSEP_USER=sshd
13277  
13278 @@ -9097,10 +10862,13 @@
13279                         SSH_PRIVSEP_USER=$withval
13280                 fi
13281  
13282 +
13283  fi;
13284 -cat >>confdefs.h <<EOF
13285 +cat >>confdefs.h <<_ACEOF
13286  #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
13287 -EOF
13288 +_ACEOF
13289 +
13290 +
13291  
13292  # We do this little dance with the search path to insure
13293  # that programs that we select for use by installed programs
13294 @@ -9120,7 +10888,7 @@
13295  
13296         # Extract the first word of "ls", so it can be a program name with args.
13297  set dummy ls; ac_word=$2
13298 -echo "$as_me:9123: checking for $ac_word" >&5
13299 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13300  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13301  if test "${ac_cv_path_PROG_LS+set}" = set; then
13302    echo $ECHO_N "(cached) $ECHO_C" >&6
13303 @@ -9130,16 +10898,18 @@
13304    ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path.
13305    ;;
13306    *)
13307 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13308 -ac_dummy="$PATH"
13309 -for ac_dir in $ac_dummy; do
13310 -  IFS=$ac_save_IFS
13311 -  test -z "$ac_dir" && ac_dir=.
13312 -  if $as_executable_p "$ac_dir/$ac_word"; then
13313 -   ac_cv_path_PROG_LS="$ac_dir/$ac_word"
13314 -   echo "$as_me:9140: found $ac_dir/$ac_word" >&5
13315 -   break
13316 -fi
13317 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13318 +for as_dir in $PATH
13319 +do
13320 +  IFS=$as_save_IFS
13321 +  test -z "$as_dir" && as_dir=.
13322 +  for ac_exec_ext in '' $ac_executable_extensions; do
13323 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13324 +    ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
13325 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13326 +    break 2
13327 +  fi
13328 +done
13329  done
13330  
13331    ;;
13332 @@ -9148,10 +10918,10 @@
13333  PROG_LS=$ac_cv_path_PROG_LS
13334  
13335  if test -n "$PROG_LS"; then
13336 -  echo "$as_me:9151: result: $PROG_LS" >&5
13337 +  echo "$as_me:$LINENO: result: $PROG_LS" >&5
13338  echo "${ECHO_T}$PROG_LS" >&6
13339  else
13340 -  echo "$as_me:9154: result: no" >&5
13341 +  echo "$as_me:$LINENO: result: no" >&5
13342  echo "${ECHO_T}no" >&6
13343  fi
13344  
13345 @@ -9159,9 +10929,11 @@
13346                 PROG_LS="undef"
13347         fi
13348  
13349 +
13350 +
13351         # Extract the first word of "netstat", so it can be a program name with args.
13352  set dummy netstat; ac_word=$2
13353 -echo "$as_me:9164: checking for $ac_word" >&5
13354 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13355  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13356  if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
13357    echo $ECHO_N "(cached) $ECHO_C" >&6
13358 @@ -9171,16 +10943,18 @@
13359    ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path.
13360    ;;
13361    *)
13362 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13363 -ac_dummy="$PATH"
13364 -for ac_dir in $ac_dummy; do
13365 -  IFS=$ac_save_IFS
13366 -  test -z "$ac_dir" && ac_dir=.
13367 -  if $as_executable_p "$ac_dir/$ac_word"; then
13368 -   ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word"
13369 -   echo "$as_me:9181: found $ac_dir/$ac_word" >&5
13370 -   break
13371 -fi
13372 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13373 +for as_dir in $PATH
13374 +do
13375 +  IFS=$as_save_IFS
13376 +  test -z "$as_dir" && as_dir=.
13377 +  for ac_exec_ext in '' $ac_executable_extensions; do
13378 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13379 +    ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
13380 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13381 +    break 2
13382 +  fi
13383 +done
13384  done
13385  
13386    ;;
13387 @@ -9189,10 +10963,10 @@
13388  PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
13389  
13390  if test -n "$PROG_NETSTAT"; then
13391 -  echo "$as_me:9192: result: $PROG_NETSTAT" >&5
13392 +  echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
13393  echo "${ECHO_T}$PROG_NETSTAT" >&6
13394  else
13395 -  echo "$as_me:9195: result: no" >&5
13396 +  echo "$as_me:$LINENO: result: no" >&5
13397  echo "${ECHO_T}no" >&6
13398  fi
13399  
13400 @@ -9200,9 +10974,11 @@
13401                 PROG_NETSTAT="undef"
13402         fi
13403  
13404 +
13405 +
13406         # Extract the first word of "arp", so it can be a program name with args.
13407  set dummy arp; ac_word=$2
13408 -echo "$as_me:9205: checking for $ac_word" >&5
13409 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13410  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13411  if test "${ac_cv_path_PROG_ARP+set}" = set; then
13412    echo $ECHO_N "(cached) $ECHO_C" >&6
13413 @@ -9212,16 +10988,18 @@
13414    ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path.
13415    ;;
13416    *)
13417 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13418 -ac_dummy="$PATH"
13419 -for ac_dir in $ac_dummy; do
13420 -  IFS=$ac_save_IFS
13421 -  test -z "$ac_dir" && ac_dir=.
13422 -  if $as_executable_p "$ac_dir/$ac_word"; then
13423 -   ac_cv_path_PROG_ARP="$ac_dir/$ac_word"
13424 -   echo "$as_me:9222: found $ac_dir/$ac_word" >&5
13425 -   break
13426 -fi
13427 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13428 +for as_dir in $PATH
13429 +do
13430 +  IFS=$as_save_IFS
13431 +  test -z "$as_dir" && as_dir=.
13432 +  for ac_exec_ext in '' $ac_executable_extensions; do
13433 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13434 +    ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
13435 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13436 +    break 2
13437 +  fi
13438 +done
13439  done
13440  
13441    ;;
13442 @@ -9230,10 +11008,10 @@
13443  PROG_ARP=$ac_cv_path_PROG_ARP
13444  
13445  if test -n "$PROG_ARP"; then
13446 -  echo "$as_me:9233: result: $PROG_ARP" >&5
13447 +  echo "$as_me:$LINENO: result: $PROG_ARP" >&5
13448  echo "${ECHO_T}$PROG_ARP" >&6
13449  else
13450 -  echo "$as_me:9236: result: no" >&5
13451 +  echo "$as_me:$LINENO: result: no" >&5
13452  echo "${ECHO_T}no" >&6
13453  fi
13454  
13455 @@ -9241,9 +11019,11 @@
13456                 PROG_ARP="undef"
13457         fi
13458  
13459 +
13460 +
13461         # Extract the first word of "ifconfig", so it can be a program name with args.
13462  set dummy ifconfig; ac_word=$2
13463 -echo "$as_me:9246: checking for $ac_word" >&5
13464 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13465  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13466  if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
13467    echo $ECHO_N "(cached) $ECHO_C" >&6
13468 @@ -9253,16 +11033,18 @@
13469    ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path.
13470    ;;
13471    *)
13472 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13473 -ac_dummy="$PATH"
13474 -for ac_dir in $ac_dummy; do
13475 -  IFS=$ac_save_IFS
13476 -  test -z "$ac_dir" && ac_dir=.
13477 -  if $as_executable_p "$ac_dir/$ac_word"; then
13478 -   ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word"
13479 -   echo "$as_me:9263: found $ac_dir/$ac_word" >&5
13480 -   break
13481 -fi
13482 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13483 +for as_dir in $PATH
13484 +do
13485 +  IFS=$as_save_IFS
13486 +  test -z "$as_dir" && as_dir=.
13487 +  for ac_exec_ext in '' $ac_executable_extensions; do
13488 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13489 +    ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
13490 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13491 +    break 2
13492 +  fi
13493 +done
13494  done
13495  
13496    ;;
13497 @@ -9271,10 +11053,10 @@
13498  PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
13499  
13500  if test -n "$PROG_IFCONFIG"; then
13501 -  echo "$as_me:9274: result: $PROG_IFCONFIG" >&5
13502 +  echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
13503  echo "${ECHO_T}$PROG_IFCONFIG" >&6
13504  else
13505 -  echo "$as_me:9277: result: no" >&5
13506 +  echo "$as_me:$LINENO: result: no" >&5
13507  echo "${ECHO_T}no" >&6
13508  fi
13509  
13510 @@ -9282,9 +11064,11 @@
13511                 PROG_IFCONFIG="undef"
13512         fi
13513  
13514 +
13515 +
13516         # Extract the first word of "jstat", so it can be a program name with args.
13517  set dummy jstat; ac_word=$2
13518 -echo "$as_me:9287: checking for $ac_word" >&5
13519 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13520  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13521  if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
13522    echo $ECHO_N "(cached) $ECHO_C" >&6
13523 @@ -9294,16 +11078,18 @@
13524    ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path.
13525    ;;
13526    *)
13527 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13528 -ac_dummy="$PATH"
13529 -for ac_dir in $ac_dummy; do
13530 -  IFS=$ac_save_IFS
13531 -  test -z "$ac_dir" && ac_dir=.
13532 -  if $as_executable_p "$ac_dir/$ac_word"; then
13533 -   ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word"
13534 -   echo "$as_me:9304: found $ac_dir/$ac_word" >&5
13535 -   break
13536 -fi
13537 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13538 +for as_dir in $PATH
13539 +do
13540 +  IFS=$as_save_IFS
13541 +  test -z "$as_dir" && as_dir=.
13542 +  for ac_exec_ext in '' $ac_executable_extensions; do
13543 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13544 +    ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
13545 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13546 +    break 2
13547 +  fi
13548 +done
13549  done
13550  
13551    ;;
13552 @@ -9312,10 +11098,10 @@
13553  PROG_JSTAT=$ac_cv_path_PROG_JSTAT
13554  
13555  if test -n "$PROG_JSTAT"; then
13556 -  echo "$as_me:9315: result: $PROG_JSTAT" >&5
13557 +  echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
13558  echo "${ECHO_T}$PROG_JSTAT" >&6
13559  else
13560 -  echo "$as_me:9318: result: no" >&5
13561 +  echo "$as_me:$LINENO: result: no" >&5
13562  echo "${ECHO_T}no" >&6
13563  fi
13564  
13565 @@ -9323,9 +11109,11 @@
13566                 PROG_JSTAT="undef"
13567         fi
13568  
13569 +
13570 +
13571         # Extract the first word of "ps", so it can be a program name with args.
13572  set dummy ps; ac_word=$2
13573 -echo "$as_me:9328: checking for $ac_word" >&5
13574 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13575  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13576  if test "${ac_cv_path_PROG_PS+set}" = set; then
13577    echo $ECHO_N "(cached) $ECHO_C" >&6
13578 @@ -9335,16 +11123,18 @@
13579    ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path.
13580    ;;
13581    *)
13582 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13583 -ac_dummy="$PATH"
13584 -for ac_dir in $ac_dummy; do
13585 -  IFS=$ac_save_IFS
13586 -  test -z "$ac_dir" && ac_dir=.
13587 -  if $as_executable_p "$ac_dir/$ac_word"; then
13588 -   ac_cv_path_PROG_PS="$ac_dir/$ac_word"
13589 -   echo "$as_me:9345: found $ac_dir/$ac_word" >&5
13590 -   break
13591 -fi
13592 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13593 +for as_dir in $PATH
13594 +do
13595 +  IFS=$as_save_IFS
13596 +  test -z "$as_dir" && as_dir=.
13597 +  for ac_exec_ext in '' $ac_executable_extensions; do
13598 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13599 +    ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
13600 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13601 +    break 2
13602 +  fi
13603 +done
13604  done
13605  
13606    ;;
13607 @@ -9353,10 +11143,10 @@
13608  PROG_PS=$ac_cv_path_PROG_PS
13609  
13610  if test -n "$PROG_PS"; then
13611 -  echo "$as_me:9356: result: $PROG_PS" >&5
13612 +  echo "$as_me:$LINENO: result: $PROG_PS" >&5
13613  echo "${ECHO_T}$PROG_PS" >&6
13614  else
13615 -  echo "$as_me:9359: result: no" >&5
13616 +  echo "$as_me:$LINENO: result: no" >&5
13617  echo "${ECHO_T}no" >&6
13618  fi
13619  
13620 @@ -9364,9 +11154,11 @@
13621                 PROG_PS="undef"
13622         fi
13623  
13624 +
13625 +
13626         # Extract the first word of "sar", so it can be a program name with args.
13627  set dummy sar; ac_word=$2
13628 -echo "$as_me:9369: checking for $ac_word" >&5
13629 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13630  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13631  if test "${ac_cv_path_PROG_SAR+set}" = set; then
13632    echo $ECHO_N "(cached) $ECHO_C" >&6
13633 @@ -9376,16 +11168,18 @@
13634    ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path.
13635    ;;
13636    *)
13637 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13638 -ac_dummy="$PATH"
13639 -for ac_dir in $ac_dummy; do
13640 -  IFS=$ac_save_IFS
13641 -  test -z "$ac_dir" && ac_dir=.
13642 -  if $as_executable_p "$ac_dir/$ac_word"; then
13643 -   ac_cv_path_PROG_SAR="$ac_dir/$ac_word"
13644 -   echo "$as_me:9386: found $ac_dir/$ac_word" >&5
13645 -   break
13646 -fi
13647 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13648 +for as_dir in $PATH
13649 +do
13650 +  IFS=$as_save_IFS
13651 +  test -z "$as_dir" && as_dir=.
13652 +  for ac_exec_ext in '' $ac_executable_extensions; do
13653 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13654 +    ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
13655 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13656 +    break 2
13657 +  fi
13658 +done
13659  done
13660  
13661    ;;
13662 @@ -9394,10 +11188,10 @@
13663  PROG_SAR=$ac_cv_path_PROG_SAR
13664  
13665  if test -n "$PROG_SAR"; then
13666 -  echo "$as_me:9397: result: $PROG_SAR" >&5
13667 +  echo "$as_me:$LINENO: result: $PROG_SAR" >&5
13668  echo "${ECHO_T}$PROG_SAR" >&6
13669  else
13670 -  echo "$as_me:9400: result: no" >&5
13671 +  echo "$as_me:$LINENO: result: no" >&5
13672  echo "${ECHO_T}no" >&6
13673  fi
13674  
13675 @@ -9405,9 +11199,11 @@
13676                 PROG_SAR="undef"
13677         fi
13678  
13679 +
13680 +
13681         # Extract the first word of "w", so it can be a program name with args.
13682  set dummy w; ac_word=$2
13683 -echo "$as_me:9410: checking for $ac_word" >&5
13684 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13685  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13686  if test "${ac_cv_path_PROG_W+set}" = set; then
13687    echo $ECHO_N "(cached) $ECHO_C" >&6
13688 @@ -9417,16 +11213,18 @@
13689    ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path.
13690    ;;
13691    *)
13692 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13693 -ac_dummy="$PATH"
13694 -for ac_dir in $ac_dummy; do
13695 -  IFS=$ac_save_IFS
13696 -  test -z "$ac_dir" && ac_dir=.
13697 -  if $as_executable_p "$ac_dir/$ac_word"; then
13698 -   ac_cv_path_PROG_W="$ac_dir/$ac_word"
13699 -   echo "$as_me:9427: found $ac_dir/$ac_word" >&5
13700 -   break
13701 -fi
13702 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13703 +for as_dir in $PATH
13704 +do
13705 +  IFS=$as_save_IFS
13706 +  test -z "$as_dir" && as_dir=.
13707 +  for ac_exec_ext in '' $ac_executable_extensions; do
13708 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13709 +    ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
13710 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13711 +    break 2
13712 +  fi
13713 +done
13714  done
13715  
13716    ;;
13717 @@ -9435,10 +11233,10 @@
13718  PROG_W=$ac_cv_path_PROG_W
13719  
13720  if test -n "$PROG_W"; then
13721 -  echo "$as_me:9438: result: $PROG_W" >&5
13722 +  echo "$as_me:$LINENO: result: $PROG_W" >&5
13723  echo "${ECHO_T}$PROG_W" >&6
13724  else
13725 -  echo "$as_me:9441: result: no" >&5
13726 +  echo "$as_me:$LINENO: result: no" >&5
13727  echo "${ECHO_T}no" >&6
13728  fi
13729  
13730 @@ -9446,9 +11244,11 @@
13731                 PROG_W="undef"
13732         fi
13733  
13734 +
13735 +
13736         # Extract the first word of "who", so it can be a program name with args.
13737  set dummy who; ac_word=$2
13738 -echo "$as_me:9451: checking for $ac_word" >&5
13739 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13740  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13741  if test "${ac_cv_path_PROG_WHO+set}" = set; then
13742    echo $ECHO_N "(cached) $ECHO_C" >&6
13743 @@ -9458,16 +11258,18 @@
13744    ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path.
13745    ;;
13746    *)
13747 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13748 -ac_dummy="$PATH"
13749 -for ac_dir in $ac_dummy; do
13750 -  IFS=$ac_save_IFS
13751 -  test -z "$ac_dir" && ac_dir=.
13752 -  if $as_executable_p "$ac_dir/$ac_word"; then
13753 -   ac_cv_path_PROG_WHO="$ac_dir/$ac_word"
13754 -   echo "$as_me:9468: found $ac_dir/$ac_word" >&5
13755 -   break
13756 -fi
13757 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13758 +for as_dir in $PATH
13759 +do
13760 +  IFS=$as_save_IFS
13761 +  test -z "$as_dir" && as_dir=.
13762 +  for ac_exec_ext in '' $ac_executable_extensions; do
13763 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13764 +    ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
13765 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13766 +    break 2
13767 +  fi
13768 +done
13769  done
13770  
13771    ;;
13772 @@ -9476,10 +11278,10 @@
13773  PROG_WHO=$ac_cv_path_PROG_WHO
13774  
13775  if test -n "$PROG_WHO"; then
13776 -  echo "$as_me:9479: result: $PROG_WHO" >&5
13777 +  echo "$as_me:$LINENO: result: $PROG_WHO" >&5
13778  echo "${ECHO_T}$PROG_WHO" >&6
13779  else
13780 -  echo "$as_me:9482: result: no" >&5
13781 +  echo "$as_me:$LINENO: result: no" >&5
13782  echo "${ECHO_T}no" >&6
13783  fi
13784  
13785 @@ -9487,9 +11289,11 @@
13786                 PROG_WHO="undef"
13787         fi
13788  
13789 +
13790 +
13791         # Extract the first word of "last", so it can be a program name with args.
13792  set dummy last; ac_word=$2
13793 -echo "$as_me:9492: checking for $ac_word" >&5
13794 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13795  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13796  if test "${ac_cv_path_PROG_LAST+set}" = set; then
13797    echo $ECHO_N "(cached) $ECHO_C" >&6
13798 @@ -9499,16 +11303,18 @@
13799    ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path.
13800    ;;
13801    *)
13802 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13803 -ac_dummy="$PATH"
13804 -for ac_dir in $ac_dummy; do
13805 -  IFS=$ac_save_IFS
13806 -  test -z "$ac_dir" && ac_dir=.
13807 -  if $as_executable_p "$ac_dir/$ac_word"; then
13808 -   ac_cv_path_PROG_LAST="$ac_dir/$ac_word"
13809 -   echo "$as_me:9509: found $ac_dir/$ac_word" >&5
13810 -   break
13811 -fi
13812 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13813 +for as_dir in $PATH
13814 +do
13815 +  IFS=$as_save_IFS
13816 +  test -z "$as_dir" && as_dir=.
13817 +  for ac_exec_ext in '' $ac_executable_extensions; do
13818 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13819 +    ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
13820 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13821 +    break 2
13822 +  fi
13823 +done
13824  done
13825  
13826    ;;
13827 @@ -9517,10 +11323,10 @@
13828  PROG_LAST=$ac_cv_path_PROG_LAST
13829  
13830  if test -n "$PROG_LAST"; then
13831 -  echo "$as_me:9520: result: $PROG_LAST" >&5
13832 +  echo "$as_me:$LINENO: result: $PROG_LAST" >&5
13833  echo "${ECHO_T}$PROG_LAST" >&6
13834  else
13835 -  echo "$as_me:9523: result: no" >&5
13836 +  echo "$as_me:$LINENO: result: no" >&5
13837  echo "${ECHO_T}no" >&6
13838  fi
13839  
13840 @@ -9528,9 +11334,11 @@
13841                 PROG_LAST="undef"
13842         fi
13843  
13844 +
13845 +
13846         # Extract the first word of "lastlog", so it can be a program name with args.
13847  set dummy lastlog; ac_word=$2
13848 -echo "$as_me:9533: checking for $ac_word" >&5
13849 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13850  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13851  if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
13852    echo $ECHO_N "(cached) $ECHO_C" >&6
13853 @@ -9540,16 +11348,18 @@
13854    ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path.
13855    ;;
13856    *)
13857 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13858 -ac_dummy="$PATH"
13859 -for ac_dir in $ac_dummy; do
13860 -  IFS=$ac_save_IFS
13861 -  test -z "$ac_dir" && ac_dir=.
13862 -  if $as_executable_p "$ac_dir/$ac_word"; then
13863 -   ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word"
13864 -   echo "$as_me:9550: found $ac_dir/$ac_word" >&5
13865 -   break
13866 -fi
13867 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13868 +for as_dir in $PATH
13869 +do
13870 +  IFS=$as_save_IFS
13871 +  test -z "$as_dir" && as_dir=.
13872 +  for ac_exec_ext in '' $ac_executable_extensions; do
13873 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13874 +    ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
13875 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13876 +    break 2
13877 +  fi
13878 +done
13879  done
13880  
13881    ;;
13882 @@ -9558,10 +11368,10 @@
13883  PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
13884  
13885  if test -n "$PROG_LASTLOG"; then
13886 -  echo "$as_me:9561: result: $PROG_LASTLOG" >&5
13887 +  echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
13888  echo "${ECHO_T}$PROG_LASTLOG" >&6
13889  else
13890 -  echo "$as_me:9564: result: no" >&5
13891 +  echo "$as_me:$LINENO: result: no" >&5
13892  echo "${ECHO_T}no" >&6
13893  fi
13894  
13895 @@ -9569,9 +11379,11 @@
13896                 PROG_LASTLOG="undef"
13897         fi
13898  
13899 +
13900 +
13901         # Extract the first word of "df", so it can be a program name with args.
13902  set dummy df; ac_word=$2
13903 -echo "$as_me:9574: checking for $ac_word" >&5
13904 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13905  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13906  if test "${ac_cv_path_PROG_DF+set}" = set; then
13907    echo $ECHO_N "(cached) $ECHO_C" >&6
13908 @@ -9581,16 +11393,18 @@
13909    ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
13910    ;;
13911    *)
13912 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13913 -ac_dummy="$PATH"
13914 -for ac_dir in $ac_dummy; do
13915 -  IFS=$ac_save_IFS
13916 -  test -z "$ac_dir" && ac_dir=.
13917 -  if $as_executable_p "$ac_dir/$ac_word"; then
13918 -   ac_cv_path_PROG_DF="$ac_dir/$ac_word"
13919 -   echo "$as_me:9591: found $ac_dir/$ac_word" >&5
13920 -   break
13921 -fi
13922 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 +for as_dir in $PATH
13924 +do
13925 +  IFS=$as_save_IFS
13926 +  test -z "$as_dir" && as_dir=.
13927 +  for ac_exec_ext in '' $ac_executable_extensions; do
13928 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13929 +    ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
13930 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 +    break 2
13932 +  fi
13933 +done
13934  done
13935  
13936    ;;
13937 @@ -9599,10 +11413,10 @@
13938  PROG_DF=$ac_cv_path_PROG_DF
13939  
13940  if test -n "$PROG_DF"; then
13941 -  echo "$as_me:9602: result: $PROG_DF" >&5
13942 +  echo "$as_me:$LINENO: result: $PROG_DF" >&5
13943  echo "${ECHO_T}$PROG_DF" >&6
13944  else
13945 -  echo "$as_me:9605: result: no" >&5
13946 +  echo "$as_me:$LINENO: result: no" >&5
13947  echo "${ECHO_T}no" >&6
13948  fi
13949  
13950 @@ -9610,9 +11424,11 @@
13951                 PROG_DF="undef"
13952         fi
13953  
13954 +
13955 +
13956         # Extract the first word of "vmstat", so it can be a program name with args.
13957  set dummy vmstat; ac_word=$2
13958 -echo "$as_me:9615: checking for $ac_word" >&5
13959 +echo "$as_me:$LINENO: checking for $ac_word" >&5
13960  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961  if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
13962    echo $ECHO_N "(cached) $ECHO_C" >&6
13963 @@ -9622,16 +11438,18 @@
13964    ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
13965    ;;
13966    *)
13967 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
13968 -ac_dummy="$PATH"
13969 -for ac_dir in $ac_dummy; do
13970 -  IFS=$ac_save_IFS
13971 -  test -z "$ac_dir" && ac_dir=.
13972 -  if $as_executable_p "$ac_dir/$ac_word"; then
13973 -   ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word"
13974 -   echo "$as_me:9632: found $ac_dir/$ac_word" >&5
13975 -   break
13976 -fi
13977 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 +for as_dir in $PATH
13979 +do
13980 +  IFS=$as_save_IFS
13981 +  test -z "$as_dir" && as_dir=.
13982 +  for ac_exec_ext in '' $ac_executable_extensions; do
13983 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13984 +    ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
13985 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13986 +    break 2
13987 +  fi
13988 +done
13989  done
13990  
13991    ;;
13992 @@ -9640,10 +11458,10 @@
13993  PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
13994  
13995  if test -n "$PROG_VMSTAT"; then
13996 -  echo "$as_me:9643: result: $PROG_VMSTAT" >&5
13997 +  echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
13998  echo "${ECHO_T}$PROG_VMSTAT" >&6
13999  else
14000 -  echo "$as_me:9646: result: no" >&5
14001 +  echo "$as_me:$LINENO: result: no" >&5
14002  echo "${ECHO_T}no" >&6
14003  fi
14004  
14005 @@ -9651,9 +11469,11 @@
14006                 PROG_VMSTAT="undef"
14007         fi
14008  
14009 +
14010 +
14011         # Extract the first word of "uptime", so it can be a program name with args.
14012  set dummy uptime; ac_word=$2
14013 -echo "$as_me:9656: checking for $ac_word" >&5
14014 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14015  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14016  if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
14017    echo $ECHO_N "(cached) $ECHO_C" >&6
14018 @@ -9663,16 +11483,18 @@
14019    ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
14020    ;;
14021    *)
14022 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14023 -ac_dummy="$PATH"
14024 -for ac_dir in $ac_dummy; do
14025 -  IFS=$ac_save_IFS
14026 -  test -z "$ac_dir" && ac_dir=.
14027 -  if $as_executable_p "$ac_dir/$ac_word"; then
14028 -   ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word"
14029 -   echo "$as_me:9673: found $ac_dir/$ac_word" >&5
14030 -   break
14031 -fi
14032 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 +for as_dir in $PATH
14034 +do
14035 +  IFS=$as_save_IFS
14036 +  test -z "$as_dir" && as_dir=.
14037 +  for ac_exec_ext in '' $ac_executable_extensions; do
14038 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14039 +    ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
14040 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14041 +    break 2
14042 +  fi
14043 +done
14044  done
14045  
14046    ;;
14047 @@ -9681,10 +11503,10 @@
14048  PROG_UPTIME=$ac_cv_path_PROG_UPTIME
14049  
14050  if test -n "$PROG_UPTIME"; then
14051 -  echo "$as_me:9684: result: $PROG_UPTIME" >&5
14052 +  echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
14053  echo "${ECHO_T}$PROG_UPTIME" >&6
14054  else
14055 -  echo "$as_me:9687: result: no" >&5
14056 +  echo "$as_me:$LINENO: result: no" >&5
14057  echo "${ECHO_T}no" >&6
14058  fi
14059  
14060 @@ -9692,9 +11514,11 @@
14061                 PROG_UPTIME="undef"
14062         fi
14063  
14064 +
14065 +
14066         # Extract the first word of "ipcs", so it can be a program name with args.
14067  set dummy ipcs; ac_word=$2
14068 -echo "$as_me:9697: checking for $ac_word" >&5
14069 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14070  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14071  if test "${ac_cv_path_PROG_IPCS+set}" = set; then
14072    echo $ECHO_N "(cached) $ECHO_C" >&6
14073 @@ -9704,16 +11528,18 @@
14074    ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
14075    ;;
14076    *)
14077 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14078 -ac_dummy="$PATH"
14079 -for ac_dir in $ac_dummy; do
14080 -  IFS=$ac_save_IFS
14081 -  test -z "$ac_dir" && ac_dir=.
14082 -  if $as_executable_p "$ac_dir/$ac_word"; then
14083 -   ac_cv_path_PROG_IPCS="$ac_dir/$ac_word"
14084 -   echo "$as_me:9714: found $ac_dir/$ac_word" >&5
14085 -   break
14086 -fi
14087 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 +for as_dir in $PATH
14089 +do
14090 +  IFS=$as_save_IFS
14091 +  test -z "$as_dir" && as_dir=.
14092 +  for ac_exec_ext in '' $ac_executable_extensions; do
14093 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14094 +    ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
14095 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 +    break 2
14097 +  fi
14098 +done
14099  done
14100  
14101    ;;
14102 @@ -9722,10 +11548,10 @@
14103  PROG_IPCS=$ac_cv_path_PROG_IPCS
14104  
14105  if test -n "$PROG_IPCS"; then
14106 -  echo "$as_me:9725: result: $PROG_IPCS" >&5
14107 +  echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
14108  echo "${ECHO_T}$PROG_IPCS" >&6
14109  else
14110 -  echo "$as_me:9728: result: no" >&5
14111 +  echo "$as_me:$LINENO: result: no" >&5
14112  echo "${ECHO_T}no" >&6
14113  fi
14114  
14115 @@ -9733,9 +11559,11 @@
14116                 PROG_IPCS="undef"
14117         fi
14118  
14119 +
14120 +
14121         # Extract the first word of "tail", so it can be a program name with args.
14122  set dummy tail; ac_word=$2
14123 -echo "$as_me:9738: checking for $ac_word" >&5
14124 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14125  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14126  if test "${ac_cv_path_PROG_TAIL+set}" = set; then
14127    echo $ECHO_N "(cached) $ECHO_C" >&6
14128 @@ -9745,16 +11573,18 @@
14129    ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
14130    ;;
14131    *)
14132 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14133 -ac_dummy="$PATH"
14134 -for ac_dir in $ac_dummy; do
14135 -  IFS=$ac_save_IFS
14136 -  test -z "$ac_dir" && ac_dir=.
14137 -  if $as_executable_p "$ac_dir/$ac_word"; then
14138 -   ac_cv_path_PROG_TAIL="$ac_dir/$ac_word"
14139 -   echo "$as_me:9755: found $ac_dir/$ac_word" >&5
14140 -   break
14141 -fi
14142 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 +for as_dir in $PATH
14144 +do
14145 +  IFS=$as_save_IFS
14146 +  test -z "$as_dir" && as_dir=.
14147 +  for ac_exec_ext in '' $ac_executable_extensions; do
14148 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14149 +    ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
14150 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 +    break 2
14152 +  fi
14153 +done
14154  done
14155  
14156    ;;
14157 @@ -9763,10 +11593,10 @@
14158  PROG_TAIL=$ac_cv_path_PROG_TAIL
14159  
14160  if test -n "$PROG_TAIL"; then
14161 -  echo "$as_me:9766: result: $PROG_TAIL" >&5
14162 +  echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
14163  echo "${ECHO_T}$PROG_TAIL" >&6
14164  else
14165 -  echo "$as_me:9769: result: no" >&5
14166 +  echo "$as_me:$LINENO: result: no" >&5
14167  echo "${ECHO_T}no" >&6
14168  fi
14169  
14170 @@ -9774,6 +11604,7 @@
14171                 PROG_TAIL="undef"
14172         fi
14173  
14174 +
14175  # restore PATH
14176  PATH=$OPATH
14177  
14178 @@ -9791,20 +11622,26 @@
14179         fi
14180  fi
14181  
14182 +
14183 +
14184  # Cheap hack to ensure NEWS-OS libraries are arranged right.
14185  if test ! -z "$SONY" ; then
14186    LIBS="$LIBS -liberty";
14187  fi
14188  
14189  # Checks for data types
14190 -echo "$as_me:9800: checking for char" >&5
14191 +echo "$as_me:$LINENO: checking for char" >&5
14192  echo $ECHO_N "checking for char... $ECHO_C" >&6
14193  if test "${ac_cv_type_char+set}" = set; then
14194    echo $ECHO_N "(cached) $ECHO_C" >&6
14195  else
14196    cat >conftest.$ac_ext <<_ACEOF
14197 -#line 9806 "configure"
14198 -#include "confdefs.h"
14199 +#line $LINENO "configure"
14200 +/* confdefs.h.  */
14201 +_ACEOF
14202 +cat confdefs.h >>conftest.$ac_ext
14203 +cat >>conftest.$ac_ext <<_ACEOF
14204 +/* end confdefs.h.  */
14205  $ac_includes_default
14206  int
14207  main ()
14208 @@ -9818,209 +11655,328 @@
14209  }
14210  _ACEOF
14211  rm -f conftest.$ac_objext
14212 -if { (eval echo "$as_me:9821: \"$ac_compile\"") >&5
14213 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14214    (eval $ac_compile) 2>&5
14215    ac_status=$?
14216 -  echo "$as_me:9824: \$? = $ac_status" >&5
14217 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218    (exit $ac_status); } &&
14219           { ac_try='test -s conftest.$ac_objext'
14220 -  { (eval echo "$as_me:9827: \"$ac_try\"") >&5
14221 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222    (eval $ac_try) 2>&5
14223    ac_status=$?
14224 -  echo "$as_me:9830: \$? = $ac_status" >&5
14225 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226    (exit $ac_status); }; }; then
14227    ac_cv_type_char=yes
14228  else
14229    echo "$as_me: failed program was:" >&5
14230 -cat conftest.$ac_ext >&5
14231 +sed 's/^/| /' conftest.$ac_ext >&5
14232 +
14233  ac_cv_type_char=no
14234  fi
14235  rm -f conftest.$ac_objext conftest.$ac_ext
14236  fi
14237 -echo "$as_me:9840: result: $ac_cv_type_char" >&5
14238 +echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14239  echo "${ECHO_T}$ac_cv_type_char" >&6
14240  
14241 -echo "$as_me:9843: checking size of char" >&5
14242 +echo "$as_me:$LINENO: checking size of char" >&5
14243  echo $ECHO_N "checking size of char... $ECHO_C" >&6
14244  if test "${ac_cv_sizeof_char+set}" = set; then
14245    echo $ECHO_N "(cached) $ECHO_C" >&6
14246  else
14247    if test "$ac_cv_type_char" = yes; then
14248 +  # The cast to unsigned long works around a bug in the HP C Compiler
14249 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14250 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14251 +  # This bug is HP SR number 8606223364.
14252    if test "$cross_compiling" = yes; then
14253    # Depending upon the size, compute the lo and hi bounds.
14254  cat >conftest.$ac_ext <<_ACEOF
14255 -#line 9852 "configure"
14256 -#include "confdefs.h"
14257 +#line $LINENO "configure"
14258 +/* confdefs.h.  */
14259 +_ACEOF
14260 +cat confdefs.h >>conftest.$ac_ext
14261 +cat >>conftest.$ac_ext <<_ACEOF
14262 +/* end confdefs.h.  */
14263  $ac_includes_default
14264  int
14265  main ()
14266  {
14267 -int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
14268 +static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14269 +test_array [0] = 0
14270 +
14271    ;
14272    return 0;
14273  }
14274  _ACEOF
14275  rm -f conftest.$ac_objext
14276 -if { (eval echo "$as_me:9864: \"$ac_compile\"") >&5
14277 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14278    (eval $ac_compile) 2>&5
14279    ac_status=$?
14280 -  echo "$as_me:9867: \$? = $ac_status" >&5
14281 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282    (exit $ac_status); } &&
14283           { ac_try='test -s conftest.$ac_objext'
14284 -  { (eval echo "$as_me:9870: \"$ac_try\"") >&5
14285 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286    (eval $ac_try) 2>&5
14287    ac_status=$?
14288 -  echo "$as_me:9873: \$? = $ac_status" >&5
14289 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290    (exit $ac_status); }; }; then
14291    ac_lo=0 ac_mid=0
14292    while :; do
14293      cat >conftest.$ac_ext <<_ACEOF
14294 -#line 9878 "configure"
14295 -#include "confdefs.h"
14296 +#line $LINENO "configure"
14297 +/* confdefs.h.  */
14298 +_ACEOF
14299 +cat confdefs.h >>conftest.$ac_ext
14300 +cat >>conftest.$ac_ext <<_ACEOF
14301 +/* end confdefs.h.  */
14302  $ac_includes_default
14303  int
14304  main ()
14305  {
14306 -int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
14307 +static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14308 +test_array [0] = 0
14309 +
14310    ;
14311    return 0;
14312  }
14313  _ACEOF
14314  rm -f conftest.$ac_objext
14315 -if { (eval echo "$as_me:9890: \"$ac_compile\"") >&5
14316 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14317    (eval $ac_compile) 2>&5
14318    ac_status=$?
14319 -  echo "$as_me:9893: \$? = $ac_status" >&5
14320 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321    (exit $ac_status); } &&
14322           { ac_try='test -s conftest.$ac_objext'
14323 -  { (eval echo "$as_me:9896: \"$ac_try\"") >&5
14324 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325    (eval $ac_try) 2>&5
14326    ac_status=$?
14327 -  echo "$as_me:9899: \$? = $ac_status" >&5
14328 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329    (exit $ac_status); }; }; then
14330    ac_hi=$ac_mid; break
14331  else
14332    echo "$as_me: failed program was:" >&5
14333 -cat conftest.$ac_ext >&5
14334 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
14335 +sed 's/^/| /' conftest.$ac_ext >&5
14336 +
14337 +ac_lo=`expr $ac_mid + 1`
14338 +                    if test $ac_lo -le $ac_mid; then
14339 +                      ac_lo= ac_hi=
14340 +                      break
14341 +                    fi
14342 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
14343  fi
14344  rm -f conftest.$ac_objext conftest.$ac_ext
14345    done
14346  else
14347    echo "$as_me: failed program was:" >&5
14348 -cat conftest.$ac_ext >&5
14349 -ac_hi=-1 ac_mid=-1
14350 +sed 's/^/| /' conftest.$ac_ext >&5
14351 +
14352 +cat >conftest.$ac_ext <<_ACEOF
14353 +#line $LINENO "configure"
14354 +/* confdefs.h.  */
14355 +_ACEOF
14356 +cat confdefs.h >>conftest.$ac_ext
14357 +cat >>conftest.$ac_ext <<_ACEOF
14358 +/* end confdefs.h.  */
14359 +$ac_includes_default
14360 +int
14361 +main ()
14362 +{
14363 +static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14364 +test_array [0] = 0
14365 +
14366 +  ;
14367 +  return 0;
14368 +}
14369 +_ACEOF
14370 +rm -f conftest.$ac_objext
14371 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14372 +  (eval $ac_compile) 2>&5
14373 +  ac_status=$?
14374 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 +  (exit $ac_status); } &&
14376 +         { ac_try='test -s conftest.$ac_objext'
14377 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 +  (eval $ac_try) 2>&5
14379 +  ac_status=$?
14380 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 +  (exit $ac_status); }; }; then
14382 +  ac_hi=-1 ac_mid=-1
14383    while :; do
14384      cat >conftest.$ac_ext <<_ACEOF
14385 -#line 9915 "configure"
14386 -#include "confdefs.h"
14387 +#line $LINENO "configure"
14388 +/* confdefs.h.  */
14389 +_ACEOF
14390 +cat confdefs.h >>conftest.$ac_ext
14391 +cat >>conftest.$ac_ext <<_ACEOF
14392 +/* end confdefs.h.  */
14393  $ac_includes_default
14394  int
14395  main ()
14396  {
14397 -int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
14398 +static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14399 +test_array [0] = 0
14400 +
14401    ;
14402    return 0;
14403  }
14404  _ACEOF
14405  rm -f conftest.$ac_objext
14406 -if { (eval echo "$as_me:9927: \"$ac_compile\"") >&5
14407 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14408    (eval $ac_compile) 2>&5
14409    ac_status=$?
14410 -  echo "$as_me:9930: \$? = $ac_status" >&5
14411 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412    (exit $ac_status); } &&
14413           { ac_try='test -s conftest.$ac_objext'
14414 -  { (eval echo "$as_me:9933: \"$ac_try\"") >&5
14415 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416    (eval $ac_try) 2>&5
14417    ac_status=$?
14418 -  echo "$as_me:9936: \$? = $ac_status" >&5
14419 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420    (exit $ac_status); }; }; then
14421    ac_lo=$ac_mid; break
14422  else
14423    echo "$as_me: failed program was:" >&5
14424 -cat conftest.$ac_ext >&5
14425 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
14426 +sed 's/^/| /' conftest.$ac_ext >&5
14427 +
14428 +ac_hi=`expr '(' $ac_mid ')' - 1`
14429 +                       if test $ac_mid -le $ac_hi; then
14430 +                         ac_lo= ac_hi=
14431 +                         break
14432 +                       fi
14433 +                       ac_mid=`expr 2 '*' $ac_mid`
14434  fi
14435  rm -f conftest.$ac_objext conftest.$ac_ext
14436    done
14437 +else
14438 +  echo "$as_me: failed program was:" >&5
14439 +sed 's/^/| /' conftest.$ac_ext >&5
14440 +
14441 +ac_lo= ac_hi=
14442 +fi
14443 +rm -f conftest.$ac_objext conftest.$ac_ext
14444  fi
14445  rm -f conftest.$ac_objext conftest.$ac_ext
14446  # Binary search between lo and hi bounds.
14447  while test "x$ac_lo" != "x$ac_hi"; do
14448    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14449    cat >conftest.$ac_ext <<_ACEOF
14450 -#line 9952 "configure"
14451 -#include "confdefs.h"
14452 +#line $LINENO "configure"
14453 +/* confdefs.h.  */
14454 +_ACEOF
14455 +cat confdefs.h >>conftest.$ac_ext
14456 +cat >>conftest.$ac_ext <<_ACEOF
14457 +/* end confdefs.h.  */
14458  $ac_includes_default
14459  int
14460  main ()
14461  {
14462 -int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
14463 +static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14464 +test_array [0] = 0
14465 +
14466    ;
14467    return 0;
14468  }
14469  _ACEOF
14470  rm -f conftest.$ac_objext
14471 -if { (eval echo "$as_me:9964: \"$ac_compile\"") >&5
14472 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473    (eval $ac_compile) 2>&5
14474    ac_status=$?
14475 -  echo "$as_me:9967: \$? = $ac_status" >&5
14476 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477    (exit $ac_status); } &&
14478           { ac_try='test -s conftest.$ac_objext'
14479 -  { (eval echo "$as_me:9970: \"$ac_try\"") >&5
14480 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481    (eval $ac_try) 2>&5
14482    ac_status=$?
14483 -  echo "$as_me:9973: \$? = $ac_status" >&5
14484 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485    (exit $ac_status); }; }; then
14486    ac_hi=$ac_mid
14487  else
14488    echo "$as_me: failed program was:" >&5
14489 -cat conftest.$ac_ext >&5
14490 -ac_lo=`expr $ac_mid + 1`
14491 +sed 's/^/| /' conftest.$ac_ext >&5
14492 +
14493 +ac_lo=`expr '(' $ac_mid ')' + 1`
14494  fi
14495  rm -f conftest.$ac_objext conftest.$ac_ext
14496  done
14497 -ac_cv_sizeof_char=$ac_lo
14498 +case $ac_lo in
14499 +?*) ac_cv_sizeof_char=$ac_lo;;
14500 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14501 +See \`config.log' for more details." >&5
14502 +echo "$as_me: error: cannot compute sizeof (char), 77
14503 +See \`config.log' for more details." >&2;}
14504 +   { (exit 1); exit 1; }; } ;;
14505 +esac
14506  else
14507    if test "$cross_compiling" = yes; then
14508 -  { { echo "$as_me:9986: error: cannot run test program while cross compiling" >&5
14509 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14510 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14511 +See \`config.log' for more details." >&5
14512 +echo "$as_me: error: cannot run test program while cross compiling
14513 +See \`config.log' for more details." >&2;}
14514     { (exit 1); exit 1; }; }
14515  else
14516    cat >conftest.$ac_ext <<_ACEOF
14517 -#line 9991 "configure"
14518 -#include "confdefs.h"
14519 +#line $LINENO "configure"
14520 +/* confdefs.h.  */
14521 +_ACEOF
14522 +cat confdefs.h >>conftest.$ac_ext
14523 +cat >>conftest.$ac_ext <<_ACEOF
14524 +/* end confdefs.h.  */
14525  $ac_includes_default
14526 +long longval () { return (long) (sizeof (char)); }
14527 +unsigned long ulongval () { return (long) (sizeof (char)); }
14528 +#include <stdio.h>
14529 +#include <stdlib.h>
14530  int
14531  main ()
14532  {
14533 -FILE *f = fopen ("conftest.val", "w");
14534 -if (!f)
14535 -  exit (1);
14536 -fprintf (f, "%d", (sizeof (char)));
14537 -fclose (f);
14538 +
14539 +  FILE *f = fopen ("conftest.val", "w");
14540 +  if (! f)
14541 +    exit (1);
14542 +  if (((long) (sizeof (char))) < 0)
14543 +    {
14544 +      long i = longval ();
14545 +      if (i != ((long) (sizeof (char))))
14546 +       exit (1);
14547 +      fprintf (f, "%ld\n", i);
14548 +    }
14549 +  else
14550 +    {
14551 +      unsigned long i = ulongval ();
14552 +      if (i != ((long) (sizeof (char))))
14553 +       exit (1);
14554 +      fprintf (f, "%lu\n", i);
14555 +    }
14556 +  exit (ferror (f) || fclose (f) != 0);
14557 +
14558    ;
14559    return 0;
14560  }
14561  _ACEOF
14562  rm -f conftest$ac_exeext
14563 -if { (eval echo "$as_me:10007: \"$ac_link\"") >&5
14564 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14565    (eval $ac_link) 2>&5
14566    ac_status=$?
14567 -  echo "$as_me:10010: \$? = $ac_status" >&5
14568 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14570 -  { (eval echo "$as_me:10012: \"$ac_try\"") >&5
14571 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572    (eval $ac_try) 2>&5
14573    ac_status=$?
14574 -  echo "$as_me:10015: \$? = $ac_status" >&5
14575 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576    (exit $ac_status); }; }; then
14577    ac_cv_sizeof_char=`cat conftest.val`
14578  else
14579    echo "$as_me: program exited with status $ac_status" >&5
14580  echo "$as_me: failed program was:" >&5
14581 -cat conftest.$ac_ext >&5
14582 +sed 's/^/| /' conftest.$ac_ext >&5
14583 +
14584 +( exit $ac_status )
14585 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14586 +See \`config.log' for more details." >&5
14587 +echo "$as_me: error: cannot compute sizeof (char), 77
14588 +See \`config.log' for more details." >&2;}
14589 +   { (exit 1); exit 1; }; }
14590  fi
14591 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14592 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14593  fi
14594  fi
14595  rm -f conftest.val
14596 @@ -10028,20 +11984,25 @@
14597    ac_cv_sizeof_char=0
14598  fi
14599  fi
14600 -echo "$as_me:10031: result: $ac_cv_sizeof_char" >&5
14601 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14602  echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14603 -cat >>confdefs.h <<EOF
14604 +cat >>confdefs.h <<_ACEOF
14605  #define SIZEOF_CHAR $ac_cv_sizeof_char
14606 -EOF
14607 +_ACEOF
14608  
14609 -echo "$as_me:10037: checking for short int" >&5
14610 +
14611 +echo "$as_me:$LINENO: checking for short int" >&5
14612  echo $ECHO_N "checking for short int... $ECHO_C" >&6
14613  if test "${ac_cv_type_short_int+set}" = set; then
14614    echo $ECHO_N "(cached) $ECHO_C" >&6
14615  else
14616    cat >conftest.$ac_ext <<_ACEOF
14617 -#line 10043 "configure"
14618 -#include "confdefs.h"
14619 +#line $LINENO "configure"
14620 +/* confdefs.h.  */
14621 +_ACEOF
14622 +cat confdefs.h >>conftest.$ac_ext
14623 +cat >>conftest.$ac_ext <<_ACEOF
14624 +/* end confdefs.h.  */
14625  $ac_includes_default
14626  int
14627  main ()
14628 @@ -10055,209 +12016,328 @@
14629  }
14630  _ACEOF
14631  rm -f conftest.$ac_objext
14632 -if { (eval echo "$as_me:10058: \"$ac_compile\"") >&5
14633 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634    (eval $ac_compile) 2>&5
14635    ac_status=$?
14636 -  echo "$as_me:10061: \$? = $ac_status" >&5
14637 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638    (exit $ac_status); } &&
14639           { ac_try='test -s conftest.$ac_objext'
14640 -  { (eval echo "$as_me:10064: \"$ac_try\"") >&5
14641 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642    (eval $ac_try) 2>&5
14643    ac_status=$?
14644 -  echo "$as_me:10067: \$? = $ac_status" >&5
14645 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646    (exit $ac_status); }; }; then
14647    ac_cv_type_short_int=yes
14648  else
14649    echo "$as_me: failed program was:" >&5
14650 -cat conftest.$ac_ext >&5
14651 +sed 's/^/| /' conftest.$ac_ext >&5
14652 +
14653  ac_cv_type_short_int=no
14654  fi
14655  rm -f conftest.$ac_objext conftest.$ac_ext
14656  fi
14657 -echo "$as_me:10077: result: $ac_cv_type_short_int" >&5
14658 +echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
14659  echo "${ECHO_T}$ac_cv_type_short_int" >&6
14660  
14661 -echo "$as_me:10080: checking size of short int" >&5
14662 +echo "$as_me:$LINENO: checking size of short int" >&5
14663  echo $ECHO_N "checking size of short int... $ECHO_C" >&6
14664  if test "${ac_cv_sizeof_short_int+set}" = set; then
14665    echo $ECHO_N "(cached) $ECHO_C" >&6
14666  else
14667    if test "$ac_cv_type_short_int" = yes; then
14668 +  # The cast to unsigned long works around a bug in the HP C Compiler
14669 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14670 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14671 +  # This bug is HP SR number 8606223364.
14672    if test "$cross_compiling" = yes; then
14673    # Depending upon the size, compute the lo and hi bounds.
14674  cat >conftest.$ac_ext <<_ACEOF
14675 -#line 10089 "configure"
14676 -#include "confdefs.h"
14677 +#line $LINENO "configure"
14678 +/* confdefs.h.  */
14679 +_ACEOF
14680 +cat confdefs.h >>conftest.$ac_ext
14681 +cat >>conftest.$ac_ext <<_ACEOF
14682 +/* end confdefs.h.  */
14683  $ac_includes_default
14684  int
14685  main ()
14686  {
14687 -int _array_ [1 - 2 * !((sizeof (short int)) >= 0)]
14688 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
14689 +test_array [0] = 0
14690 +
14691    ;
14692    return 0;
14693  }
14694  _ACEOF
14695  rm -f conftest.$ac_objext
14696 -if { (eval echo "$as_me:10101: \"$ac_compile\"") >&5
14697 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14698    (eval $ac_compile) 2>&5
14699    ac_status=$?
14700 -  echo "$as_me:10104: \$? = $ac_status" >&5
14701 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702    (exit $ac_status); } &&
14703           { ac_try='test -s conftest.$ac_objext'
14704 -  { (eval echo "$as_me:10107: \"$ac_try\"") >&5
14705 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14706    (eval $ac_try) 2>&5
14707    ac_status=$?
14708 -  echo "$as_me:10110: \$? = $ac_status" >&5
14709 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710    (exit $ac_status); }; }; then
14711    ac_lo=0 ac_mid=0
14712    while :; do
14713      cat >conftest.$ac_ext <<_ACEOF
14714 -#line 10115 "configure"
14715 -#include "confdefs.h"
14716 +#line $LINENO "configure"
14717 +/* confdefs.h.  */
14718 +_ACEOF
14719 +cat confdefs.h >>conftest.$ac_ext
14720 +cat >>conftest.$ac_ext <<_ACEOF
14721 +/* end confdefs.h.  */
14722  $ac_includes_default
14723  int
14724  main ()
14725  {
14726 -int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
14727 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14728 +test_array [0] = 0
14729 +
14730    ;
14731    return 0;
14732  }
14733  _ACEOF
14734  rm -f conftest.$ac_objext
14735 -if { (eval echo "$as_me:10127: \"$ac_compile\"") >&5
14736 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737    (eval $ac_compile) 2>&5
14738    ac_status=$?
14739 -  echo "$as_me:10130: \$? = $ac_status" >&5
14740 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741    (exit $ac_status); } &&
14742           { ac_try='test -s conftest.$ac_objext'
14743 -  { (eval echo "$as_me:10133: \"$ac_try\"") >&5
14744 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745    (eval $ac_try) 2>&5
14746    ac_status=$?
14747 -  echo "$as_me:10136: \$? = $ac_status" >&5
14748 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749    (exit $ac_status); }; }; then
14750    ac_hi=$ac_mid; break
14751  else
14752    echo "$as_me: failed program was:" >&5
14753 -cat conftest.$ac_ext >&5
14754 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
14755 +sed 's/^/| /' conftest.$ac_ext >&5
14756 +
14757 +ac_lo=`expr $ac_mid + 1`
14758 +                    if test $ac_lo -le $ac_mid; then
14759 +                      ac_lo= ac_hi=
14760 +                      break
14761 +                    fi
14762 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
14763  fi
14764  rm -f conftest.$ac_objext conftest.$ac_ext
14765    done
14766  else
14767    echo "$as_me: failed program was:" >&5
14768 -cat conftest.$ac_ext >&5
14769 -ac_hi=-1 ac_mid=-1
14770 +sed 's/^/| /' conftest.$ac_ext >&5
14771 +
14772 +cat >conftest.$ac_ext <<_ACEOF
14773 +#line $LINENO "configure"
14774 +/* confdefs.h.  */
14775 +_ACEOF
14776 +cat confdefs.h >>conftest.$ac_ext
14777 +cat >>conftest.$ac_ext <<_ACEOF
14778 +/* end confdefs.h.  */
14779 +$ac_includes_default
14780 +int
14781 +main ()
14782 +{
14783 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
14784 +test_array [0] = 0
14785 +
14786 +  ;
14787 +  return 0;
14788 +}
14789 +_ACEOF
14790 +rm -f conftest.$ac_objext
14791 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14792 +  (eval $ac_compile) 2>&5
14793 +  ac_status=$?
14794 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 +  (exit $ac_status); } &&
14796 +         { ac_try='test -s conftest.$ac_objext'
14797 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14798 +  (eval $ac_try) 2>&5
14799 +  ac_status=$?
14800 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 +  (exit $ac_status); }; }; then
14802 +  ac_hi=-1 ac_mid=-1
14803    while :; do
14804      cat >conftest.$ac_ext <<_ACEOF
14805 -#line 10152 "configure"
14806 -#include "confdefs.h"
14807 +#line $LINENO "configure"
14808 +/* confdefs.h.  */
14809 +_ACEOF
14810 +cat confdefs.h >>conftest.$ac_ext
14811 +cat >>conftest.$ac_ext <<_ACEOF
14812 +/* end confdefs.h.  */
14813  $ac_includes_default
14814  int
14815  main ()
14816  {
14817 -int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)]
14818 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
14819 +test_array [0] = 0
14820 +
14821    ;
14822    return 0;
14823  }
14824  _ACEOF
14825  rm -f conftest.$ac_objext
14826 -if { (eval echo "$as_me:10164: \"$ac_compile\"") >&5
14827 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14828    (eval $ac_compile) 2>&5
14829    ac_status=$?
14830 -  echo "$as_me:10167: \$? = $ac_status" >&5
14831 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832    (exit $ac_status); } &&
14833           { ac_try='test -s conftest.$ac_objext'
14834 -  { (eval echo "$as_me:10170: \"$ac_try\"") >&5
14835 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836    (eval $ac_try) 2>&5
14837    ac_status=$?
14838 -  echo "$as_me:10173: \$? = $ac_status" >&5
14839 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840    (exit $ac_status); }; }; then
14841    ac_lo=$ac_mid; break
14842  else
14843    echo "$as_me: failed program was:" >&5
14844 -cat conftest.$ac_ext >&5
14845 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
14846 +sed 's/^/| /' conftest.$ac_ext >&5
14847 +
14848 +ac_hi=`expr '(' $ac_mid ')' - 1`
14849 +                       if test $ac_mid -le $ac_hi; then
14850 +                         ac_lo= ac_hi=
14851 +                         break
14852 +                       fi
14853 +                       ac_mid=`expr 2 '*' $ac_mid`
14854  fi
14855  rm -f conftest.$ac_objext conftest.$ac_ext
14856    done
14857 +else
14858 +  echo "$as_me: failed program was:" >&5
14859 +sed 's/^/| /' conftest.$ac_ext >&5
14860 +
14861 +ac_lo= ac_hi=
14862 +fi
14863 +rm -f conftest.$ac_objext conftest.$ac_ext
14864  fi
14865  rm -f conftest.$ac_objext conftest.$ac_ext
14866  # Binary search between lo and hi bounds.
14867  while test "x$ac_lo" != "x$ac_hi"; do
14868    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14869    cat >conftest.$ac_ext <<_ACEOF
14870 -#line 10189 "configure"
14871 -#include "confdefs.h"
14872 +#line $LINENO "configure"
14873 +/* confdefs.h.  */
14874 +_ACEOF
14875 +cat confdefs.h >>conftest.$ac_ext
14876 +cat >>conftest.$ac_ext <<_ACEOF
14877 +/* end confdefs.h.  */
14878  $ac_includes_default
14879  int
14880  main ()
14881  {
14882 -int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
14883 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14884 +test_array [0] = 0
14885 +
14886    ;
14887    return 0;
14888  }
14889  _ACEOF
14890  rm -f conftest.$ac_objext
14891 -if { (eval echo "$as_me:10201: \"$ac_compile\"") >&5
14892 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14893    (eval $ac_compile) 2>&5
14894    ac_status=$?
14895 -  echo "$as_me:10204: \$? = $ac_status" >&5
14896 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897    (exit $ac_status); } &&
14898           { ac_try='test -s conftest.$ac_objext'
14899 -  { (eval echo "$as_me:10207: \"$ac_try\"") >&5
14900 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901    (eval $ac_try) 2>&5
14902    ac_status=$?
14903 -  echo "$as_me:10210: \$? = $ac_status" >&5
14904 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905    (exit $ac_status); }; }; then
14906    ac_hi=$ac_mid
14907  else
14908    echo "$as_me: failed program was:" >&5
14909 -cat conftest.$ac_ext >&5
14910 -ac_lo=`expr $ac_mid + 1`
14911 +sed 's/^/| /' conftest.$ac_ext >&5
14912 +
14913 +ac_lo=`expr '(' $ac_mid ')' + 1`
14914  fi
14915  rm -f conftest.$ac_objext conftest.$ac_ext
14916  done
14917 -ac_cv_sizeof_short_int=$ac_lo
14918 +case $ac_lo in
14919 +?*) ac_cv_sizeof_short_int=$ac_lo;;
14920 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
14921 +See \`config.log' for more details." >&5
14922 +echo "$as_me: error: cannot compute sizeof (short int), 77
14923 +See \`config.log' for more details." >&2;}
14924 +   { (exit 1); exit 1; }; } ;;
14925 +esac
14926  else
14927    if test "$cross_compiling" = yes; then
14928 -  { { echo "$as_me:10223: error: cannot run test program while cross compiling" >&5
14929 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14930 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14931 +See \`config.log' for more details." >&5
14932 +echo "$as_me: error: cannot run test program while cross compiling
14933 +See \`config.log' for more details." >&2;}
14934     { (exit 1); exit 1; }; }
14935  else
14936    cat >conftest.$ac_ext <<_ACEOF
14937 -#line 10228 "configure"
14938 -#include "confdefs.h"
14939 +#line $LINENO "configure"
14940 +/* confdefs.h.  */
14941 +_ACEOF
14942 +cat confdefs.h >>conftest.$ac_ext
14943 +cat >>conftest.$ac_ext <<_ACEOF
14944 +/* end confdefs.h.  */
14945  $ac_includes_default
14946 +long longval () { return (long) (sizeof (short int)); }
14947 +unsigned long ulongval () { return (long) (sizeof (short int)); }
14948 +#include <stdio.h>
14949 +#include <stdlib.h>
14950  int
14951  main ()
14952  {
14953 -FILE *f = fopen ("conftest.val", "w");
14954 -if (!f)
14955 -  exit (1);
14956 -fprintf (f, "%d", (sizeof (short int)));
14957 -fclose (f);
14958 +
14959 +  FILE *f = fopen ("conftest.val", "w");
14960 +  if (! f)
14961 +    exit (1);
14962 +  if (((long) (sizeof (short int))) < 0)
14963 +    {
14964 +      long i = longval ();
14965 +      if (i != ((long) (sizeof (short int))))
14966 +       exit (1);
14967 +      fprintf (f, "%ld\n", i);
14968 +    }
14969 +  else
14970 +    {
14971 +      unsigned long i = ulongval ();
14972 +      if (i != ((long) (sizeof (short int))))
14973 +       exit (1);
14974 +      fprintf (f, "%lu\n", i);
14975 +    }
14976 +  exit (ferror (f) || fclose (f) != 0);
14977 +
14978    ;
14979    return 0;
14980  }
14981  _ACEOF
14982  rm -f conftest$ac_exeext
14983 -if { (eval echo "$as_me:10244: \"$ac_link\"") >&5
14984 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14985    (eval $ac_link) 2>&5
14986    ac_status=$?
14987 -  echo "$as_me:10247: \$? = $ac_status" >&5
14988 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14990 -  { (eval echo "$as_me:10249: \"$ac_try\"") >&5
14991 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992    (eval $ac_try) 2>&5
14993    ac_status=$?
14994 -  echo "$as_me:10252: \$? = $ac_status" >&5
14995 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996    (exit $ac_status); }; }; then
14997    ac_cv_sizeof_short_int=`cat conftest.val`
14998  else
14999    echo "$as_me: program exited with status $ac_status" >&5
15000  echo "$as_me: failed program was:" >&5
15001 -cat conftest.$ac_ext >&5
15002 +sed 's/^/| /' conftest.$ac_ext >&5
15003 +
15004 +( exit $ac_status )
15005 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15006 +See \`config.log' for more details." >&5
15007 +echo "$as_me: error: cannot compute sizeof (short int), 77
15008 +See \`config.log' for more details." >&2;}
15009 +   { (exit 1); exit 1; }; }
15010  fi
15011 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15012 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15013  fi
15014  fi
15015  rm -f conftest.val
15016 @@ -10265,20 +12345,25 @@
15017    ac_cv_sizeof_short_int=0
15018  fi
15019  fi
15020 -echo "$as_me:10268: result: $ac_cv_sizeof_short_int" >&5
15021 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
15022  echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
15023 -cat >>confdefs.h <<EOF
15024 +cat >>confdefs.h <<_ACEOF
15025  #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
15026 -EOF
15027 +_ACEOF
15028  
15029 -echo "$as_me:10274: checking for int" >&5
15030 +
15031 +echo "$as_me:$LINENO: checking for int" >&5
15032  echo $ECHO_N "checking for int... $ECHO_C" >&6
15033  if test "${ac_cv_type_int+set}" = set; then
15034    echo $ECHO_N "(cached) $ECHO_C" >&6
15035  else
15036    cat >conftest.$ac_ext <<_ACEOF
15037 -#line 10280 "configure"
15038 -#include "confdefs.h"
15039 +#line $LINENO "configure"
15040 +/* confdefs.h.  */
15041 +_ACEOF
15042 +cat confdefs.h >>conftest.$ac_ext
15043 +cat >>conftest.$ac_ext <<_ACEOF
15044 +/* end confdefs.h.  */
15045  $ac_includes_default
15046  int
15047  main ()
15048 @@ -10292,209 +12377,328 @@
15049  }
15050  _ACEOF
15051  rm -f conftest.$ac_objext
15052 -if { (eval echo "$as_me:10295: \"$ac_compile\"") >&5
15053 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15054    (eval $ac_compile) 2>&5
15055    ac_status=$?
15056 -  echo "$as_me:10298: \$? = $ac_status" >&5
15057 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058    (exit $ac_status); } &&
15059           { ac_try='test -s conftest.$ac_objext'
15060 -  { (eval echo "$as_me:10301: \"$ac_try\"") >&5
15061 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062    (eval $ac_try) 2>&5
15063    ac_status=$?
15064 -  echo "$as_me:10304: \$? = $ac_status" >&5
15065 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066    (exit $ac_status); }; }; then
15067    ac_cv_type_int=yes
15068  else
15069    echo "$as_me: failed program was:" >&5
15070 -cat conftest.$ac_ext >&5
15071 +sed 's/^/| /' conftest.$ac_ext >&5
15072 +
15073  ac_cv_type_int=no
15074  fi
15075  rm -f conftest.$ac_objext conftest.$ac_ext
15076  fi
15077 -echo "$as_me:10314: result: $ac_cv_type_int" >&5
15078 +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15079  echo "${ECHO_T}$ac_cv_type_int" >&6
15080  
15081 -echo "$as_me:10317: checking size of int" >&5
15082 +echo "$as_me:$LINENO: checking size of int" >&5
15083  echo $ECHO_N "checking size of int... $ECHO_C" >&6
15084  if test "${ac_cv_sizeof_int+set}" = set; then
15085    echo $ECHO_N "(cached) $ECHO_C" >&6
15086  else
15087    if test "$ac_cv_type_int" = yes; then
15088 +  # The cast to unsigned long works around a bug in the HP C Compiler
15089 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15090 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15091 +  # This bug is HP SR number 8606223364.
15092    if test "$cross_compiling" = yes; then
15093    # Depending upon the size, compute the lo and hi bounds.
15094  cat >conftest.$ac_ext <<_ACEOF
15095 -#line 10326 "configure"
15096 -#include "confdefs.h"
15097 +#line $LINENO "configure"
15098 +/* confdefs.h.  */
15099 +_ACEOF
15100 +cat confdefs.h >>conftest.$ac_ext
15101 +cat >>conftest.$ac_ext <<_ACEOF
15102 +/* end confdefs.h.  */
15103  $ac_includes_default
15104  int
15105  main ()
15106  {
15107 -int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
15108 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15109 +test_array [0] = 0
15110 +
15111    ;
15112    return 0;
15113  }
15114  _ACEOF
15115  rm -f conftest.$ac_objext
15116 -if { (eval echo "$as_me:10338: \"$ac_compile\"") >&5
15117 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15118    (eval $ac_compile) 2>&5
15119    ac_status=$?
15120 -  echo "$as_me:10341: \$? = $ac_status" >&5
15121 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122    (exit $ac_status); } &&
15123           { ac_try='test -s conftest.$ac_objext'
15124 -  { (eval echo "$as_me:10344: \"$ac_try\"") >&5
15125 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126    (eval $ac_try) 2>&5
15127    ac_status=$?
15128 -  echo "$as_me:10347: \$? = $ac_status" >&5
15129 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130    (exit $ac_status); }; }; then
15131    ac_lo=0 ac_mid=0
15132    while :; do
15133      cat >conftest.$ac_ext <<_ACEOF
15134 -#line 10352 "configure"
15135 -#include "confdefs.h"
15136 +#line $LINENO "configure"
15137 +/* confdefs.h.  */
15138 +_ACEOF
15139 +cat confdefs.h >>conftest.$ac_ext
15140 +cat >>conftest.$ac_ext <<_ACEOF
15141 +/* end confdefs.h.  */
15142  $ac_includes_default
15143  int
15144  main ()
15145  {
15146 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
15147 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15148 +test_array [0] = 0
15149 +
15150    ;
15151    return 0;
15152  }
15153  _ACEOF
15154  rm -f conftest.$ac_objext
15155 -if { (eval echo "$as_me:10364: \"$ac_compile\"") >&5
15156 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15157    (eval $ac_compile) 2>&5
15158    ac_status=$?
15159 -  echo "$as_me:10367: \$? = $ac_status" >&5
15160 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161    (exit $ac_status); } &&
15162           { ac_try='test -s conftest.$ac_objext'
15163 -  { (eval echo "$as_me:10370: \"$ac_try\"") >&5
15164 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165    (eval $ac_try) 2>&5
15166    ac_status=$?
15167 -  echo "$as_me:10373: \$? = $ac_status" >&5
15168 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169    (exit $ac_status); }; }; then
15170    ac_hi=$ac_mid; break
15171  else
15172    echo "$as_me: failed program was:" >&5
15173 -cat conftest.$ac_ext >&5
15174 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
15175 +sed 's/^/| /' conftest.$ac_ext >&5
15176 +
15177 +ac_lo=`expr $ac_mid + 1`
15178 +                    if test $ac_lo -le $ac_mid; then
15179 +                      ac_lo= ac_hi=
15180 +                      break
15181 +                    fi
15182 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
15183  fi
15184  rm -f conftest.$ac_objext conftest.$ac_ext
15185    done
15186  else
15187    echo "$as_me: failed program was:" >&5
15188 -cat conftest.$ac_ext >&5
15189 -ac_hi=-1 ac_mid=-1
15190 +sed 's/^/| /' conftest.$ac_ext >&5
15191 +
15192 +cat >conftest.$ac_ext <<_ACEOF
15193 +#line $LINENO "configure"
15194 +/* confdefs.h.  */
15195 +_ACEOF
15196 +cat confdefs.h >>conftest.$ac_ext
15197 +cat >>conftest.$ac_ext <<_ACEOF
15198 +/* end confdefs.h.  */
15199 +$ac_includes_default
15200 +int
15201 +main ()
15202 +{
15203 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15204 +test_array [0] = 0
15205 +
15206 +  ;
15207 +  return 0;
15208 +}
15209 +_ACEOF
15210 +rm -f conftest.$ac_objext
15211 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 +  (eval $ac_compile) 2>&5
15213 +  ac_status=$?
15214 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 +  (exit $ac_status); } &&
15216 +         { ac_try='test -s conftest.$ac_objext'
15217 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 +  (eval $ac_try) 2>&5
15219 +  ac_status=$?
15220 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 +  (exit $ac_status); }; }; then
15222 +  ac_hi=-1 ac_mid=-1
15223    while :; do
15224      cat >conftest.$ac_ext <<_ACEOF
15225 -#line 10389 "configure"
15226 -#include "confdefs.h"
15227 +#line $LINENO "configure"
15228 +/* confdefs.h.  */
15229 +_ACEOF
15230 +cat confdefs.h >>conftest.$ac_ext
15231 +cat >>conftest.$ac_ext <<_ACEOF
15232 +/* end confdefs.h.  */
15233  $ac_includes_default
15234  int
15235  main ()
15236  {
15237 -int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
15238 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15239 +test_array [0] = 0
15240 +
15241    ;
15242    return 0;
15243  }
15244  _ACEOF
15245  rm -f conftest.$ac_objext
15246 -if { (eval echo "$as_me:10401: \"$ac_compile\"") >&5
15247 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248    (eval $ac_compile) 2>&5
15249    ac_status=$?
15250 -  echo "$as_me:10404: \$? = $ac_status" >&5
15251 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252    (exit $ac_status); } &&
15253           { ac_try='test -s conftest.$ac_objext'
15254 -  { (eval echo "$as_me:10407: \"$ac_try\"") >&5
15255 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256    (eval $ac_try) 2>&5
15257    ac_status=$?
15258 -  echo "$as_me:10410: \$? = $ac_status" >&5
15259 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260    (exit $ac_status); }; }; then
15261    ac_lo=$ac_mid; break
15262  else
15263    echo "$as_me: failed program was:" >&5
15264 -cat conftest.$ac_ext >&5
15265 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
15266 +sed 's/^/| /' conftest.$ac_ext >&5
15267 +
15268 +ac_hi=`expr '(' $ac_mid ')' - 1`
15269 +                       if test $ac_mid -le $ac_hi; then
15270 +                         ac_lo= ac_hi=
15271 +                         break
15272 +                       fi
15273 +                       ac_mid=`expr 2 '*' $ac_mid`
15274  fi
15275  rm -f conftest.$ac_objext conftest.$ac_ext
15276    done
15277 +else
15278 +  echo "$as_me: failed program was:" >&5
15279 +sed 's/^/| /' conftest.$ac_ext >&5
15280 +
15281 +ac_lo= ac_hi=
15282 +fi
15283 +rm -f conftest.$ac_objext conftest.$ac_ext
15284  fi
15285  rm -f conftest.$ac_objext conftest.$ac_ext
15286  # Binary search between lo and hi bounds.
15287  while test "x$ac_lo" != "x$ac_hi"; do
15288    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15289    cat >conftest.$ac_ext <<_ACEOF
15290 -#line 10426 "configure"
15291 -#include "confdefs.h"
15292 +#line $LINENO "configure"
15293 +/* confdefs.h.  */
15294 +_ACEOF
15295 +cat confdefs.h >>conftest.$ac_ext
15296 +cat >>conftest.$ac_ext <<_ACEOF
15297 +/* end confdefs.h.  */
15298  $ac_includes_default
15299  int
15300  main ()
15301  {
15302 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
15303 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15304 +test_array [0] = 0
15305 +
15306    ;
15307    return 0;
15308  }
15309  _ACEOF
15310  rm -f conftest.$ac_objext
15311 -if { (eval echo "$as_me:10438: \"$ac_compile\"") >&5
15312 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313    (eval $ac_compile) 2>&5
15314    ac_status=$?
15315 -  echo "$as_me:10441: \$? = $ac_status" >&5
15316 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317    (exit $ac_status); } &&
15318           { ac_try='test -s conftest.$ac_objext'
15319 -  { (eval echo "$as_me:10444: \"$ac_try\"") >&5
15320 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321    (eval $ac_try) 2>&5
15322    ac_status=$?
15323 -  echo "$as_me:10447: \$? = $ac_status" >&5
15324 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325    (exit $ac_status); }; }; then
15326    ac_hi=$ac_mid
15327  else
15328    echo "$as_me: failed program was:" >&5
15329 -cat conftest.$ac_ext >&5
15330 -ac_lo=`expr $ac_mid + 1`
15331 +sed 's/^/| /' conftest.$ac_ext >&5
15332 +
15333 +ac_lo=`expr '(' $ac_mid ')' + 1`
15334  fi
15335  rm -f conftest.$ac_objext conftest.$ac_ext
15336  done
15337 -ac_cv_sizeof_int=$ac_lo
15338 +case $ac_lo in
15339 +?*) ac_cv_sizeof_int=$ac_lo;;
15340 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15341 +See \`config.log' for more details." >&5
15342 +echo "$as_me: error: cannot compute sizeof (int), 77
15343 +See \`config.log' for more details." >&2;}
15344 +   { (exit 1); exit 1; }; } ;;
15345 +esac
15346  else
15347    if test "$cross_compiling" = yes; then
15348 -  { { echo "$as_me:10460: error: cannot run test program while cross compiling" >&5
15349 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15350 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15351 +See \`config.log' for more details." >&5
15352 +echo "$as_me: error: cannot run test program while cross compiling
15353 +See \`config.log' for more details." >&2;}
15354     { (exit 1); exit 1; }; }
15355  else
15356    cat >conftest.$ac_ext <<_ACEOF
15357 -#line 10465 "configure"
15358 -#include "confdefs.h"
15359 +#line $LINENO "configure"
15360 +/* confdefs.h.  */
15361 +_ACEOF
15362 +cat confdefs.h >>conftest.$ac_ext
15363 +cat >>conftest.$ac_ext <<_ACEOF
15364 +/* end confdefs.h.  */
15365  $ac_includes_default
15366 +long longval () { return (long) (sizeof (int)); }
15367 +unsigned long ulongval () { return (long) (sizeof (int)); }
15368 +#include <stdio.h>
15369 +#include <stdlib.h>
15370  int
15371  main ()
15372  {
15373 -FILE *f = fopen ("conftest.val", "w");
15374 -if (!f)
15375 -  exit (1);
15376 -fprintf (f, "%d", (sizeof (int)));
15377 -fclose (f);
15378 +
15379 +  FILE *f = fopen ("conftest.val", "w");
15380 +  if (! f)
15381 +    exit (1);
15382 +  if (((long) (sizeof (int))) < 0)
15383 +    {
15384 +      long i = longval ();
15385 +      if (i != ((long) (sizeof (int))))
15386 +       exit (1);
15387 +      fprintf (f, "%ld\n", i);
15388 +    }
15389 +  else
15390 +    {
15391 +      unsigned long i = ulongval ();
15392 +      if (i != ((long) (sizeof (int))))
15393 +       exit (1);
15394 +      fprintf (f, "%lu\n", i);
15395 +    }
15396 +  exit (ferror (f) || fclose (f) != 0);
15397 +
15398    ;
15399    return 0;
15400  }
15401  _ACEOF
15402  rm -f conftest$ac_exeext
15403 -if { (eval echo "$as_me:10481: \"$ac_link\"") >&5
15404 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15405    (eval $ac_link) 2>&5
15406    ac_status=$?
15407 -  echo "$as_me:10484: \$? = $ac_status" >&5
15408 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15410 -  { (eval echo "$as_me:10486: \"$ac_try\"") >&5
15411 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412    (eval $ac_try) 2>&5
15413    ac_status=$?
15414 -  echo "$as_me:10489: \$? = $ac_status" >&5
15415 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416    (exit $ac_status); }; }; then
15417    ac_cv_sizeof_int=`cat conftest.val`
15418  else
15419    echo "$as_me: program exited with status $ac_status" >&5
15420  echo "$as_me: failed program was:" >&5
15421 -cat conftest.$ac_ext >&5
15422 +sed 's/^/| /' conftest.$ac_ext >&5
15423 +
15424 +( exit $ac_status )
15425 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15426 +See \`config.log' for more details." >&5
15427 +echo "$as_me: error: cannot compute sizeof (int), 77
15428 +See \`config.log' for more details." >&2;}
15429 +   { (exit 1); exit 1; }; }
15430  fi
15431 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15432 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15433  fi
15434  fi
15435  rm -f conftest.val
15436 @@ -10502,20 +12706,25 @@
15437    ac_cv_sizeof_int=0
15438  fi
15439  fi
15440 -echo "$as_me:10505: result: $ac_cv_sizeof_int" >&5
15441 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15442  echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15443 -cat >>confdefs.h <<EOF
15444 +cat >>confdefs.h <<_ACEOF
15445  #define SIZEOF_INT $ac_cv_sizeof_int
15446 -EOF
15447 +_ACEOF
15448  
15449 -echo "$as_me:10511: checking for long int" >&5
15450 +
15451 +echo "$as_me:$LINENO: checking for long int" >&5
15452  echo $ECHO_N "checking for long int... $ECHO_C" >&6
15453  if test "${ac_cv_type_long_int+set}" = set; then
15454    echo $ECHO_N "(cached) $ECHO_C" >&6
15455  else
15456    cat >conftest.$ac_ext <<_ACEOF
15457 -#line 10517 "configure"
15458 -#include "confdefs.h"
15459 +#line $LINENO "configure"
15460 +/* confdefs.h.  */
15461 +_ACEOF
15462 +cat confdefs.h >>conftest.$ac_ext
15463 +cat >>conftest.$ac_ext <<_ACEOF
15464 +/* end confdefs.h.  */
15465  $ac_includes_default
15466  int
15467  main ()
15468 @@ -10529,209 +12738,328 @@
15469  }
15470  _ACEOF
15471  rm -f conftest.$ac_objext
15472 -if { (eval echo "$as_me:10532: \"$ac_compile\"") >&5
15473 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15474    (eval $ac_compile) 2>&5
15475    ac_status=$?
15476 -  echo "$as_me:10535: \$? = $ac_status" >&5
15477 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478    (exit $ac_status); } &&
15479           { ac_try='test -s conftest.$ac_objext'
15480 -  { (eval echo "$as_me:10538: \"$ac_try\"") >&5
15481 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482    (eval $ac_try) 2>&5
15483    ac_status=$?
15484 -  echo "$as_me:10541: \$? = $ac_status" >&5
15485 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486    (exit $ac_status); }; }; then
15487    ac_cv_type_long_int=yes
15488  else
15489    echo "$as_me: failed program was:" >&5
15490 -cat conftest.$ac_ext >&5
15491 +sed 's/^/| /' conftest.$ac_ext >&5
15492 +
15493  ac_cv_type_long_int=no
15494  fi
15495  rm -f conftest.$ac_objext conftest.$ac_ext
15496  fi
15497 -echo "$as_me:10551: result: $ac_cv_type_long_int" >&5
15498 +echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
15499  echo "${ECHO_T}$ac_cv_type_long_int" >&6
15500  
15501 -echo "$as_me:10554: checking size of long int" >&5
15502 +echo "$as_me:$LINENO: checking size of long int" >&5
15503  echo $ECHO_N "checking size of long int... $ECHO_C" >&6
15504  if test "${ac_cv_sizeof_long_int+set}" = set; then
15505    echo $ECHO_N "(cached) $ECHO_C" >&6
15506  else
15507    if test "$ac_cv_type_long_int" = yes; then
15508 +  # The cast to unsigned long works around a bug in the HP C Compiler
15509 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15510 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15511 +  # This bug is HP SR number 8606223364.
15512    if test "$cross_compiling" = yes; then
15513    # Depending upon the size, compute the lo and hi bounds.
15514  cat >conftest.$ac_ext <<_ACEOF
15515 -#line 10563 "configure"
15516 -#include "confdefs.h"
15517 +#line $LINENO "configure"
15518 +/* confdefs.h.  */
15519 +_ACEOF
15520 +cat confdefs.h >>conftest.$ac_ext
15521 +cat >>conftest.$ac_ext <<_ACEOF
15522 +/* end confdefs.h.  */
15523  $ac_includes_default
15524  int
15525  main ()
15526  {
15527 -int _array_ [1 - 2 * !((sizeof (long int)) >= 0)]
15528 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
15529 +test_array [0] = 0
15530 +
15531    ;
15532    return 0;
15533  }
15534  _ACEOF
15535  rm -f conftest.$ac_objext
15536 -if { (eval echo "$as_me:10575: \"$ac_compile\"") >&5
15537 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15538    (eval $ac_compile) 2>&5
15539    ac_status=$?
15540 -  echo "$as_me:10578: \$? = $ac_status" >&5
15541 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542    (exit $ac_status); } &&
15543           { ac_try='test -s conftest.$ac_objext'
15544 -  { (eval echo "$as_me:10581: \"$ac_try\"") >&5
15545 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546    (eval $ac_try) 2>&5
15547    ac_status=$?
15548 -  echo "$as_me:10584: \$? = $ac_status" >&5
15549 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550    (exit $ac_status); }; }; then
15551    ac_lo=0 ac_mid=0
15552    while :; do
15553      cat >conftest.$ac_ext <<_ACEOF
15554 -#line 10589 "configure"
15555 -#include "confdefs.h"
15556 +#line $LINENO "configure"
15557 +/* confdefs.h.  */
15558 +_ACEOF
15559 +cat confdefs.h >>conftest.$ac_ext
15560 +cat >>conftest.$ac_ext <<_ACEOF
15561 +/* end confdefs.h.  */
15562  $ac_includes_default
15563  int
15564  main ()
15565  {
15566 -int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
15567 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15568 +test_array [0] = 0
15569 +
15570    ;
15571    return 0;
15572  }
15573  _ACEOF
15574  rm -f conftest.$ac_objext
15575 -if { (eval echo "$as_me:10601: \"$ac_compile\"") >&5
15576 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577    (eval $ac_compile) 2>&5
15578    ac_status=$?
15579 -  echo "$as_me:10604: \$? = $ac_status" >&5
15580 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581    (exit $ac_status); } &&
15582           { ac_try='test -s conftest.$ac_objext'
15583 -  { (eval echo "$as_me:10607: \"$ac_try\"") >&5
15584 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585    (eval $ac_try) 2>&5
15586    ac_status=$?
15587 -  echo "$as_me:10610: \$? = $ac_status" >&5
15588 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589    (exit $ac_status); }; }; then
15590    ac_hi=$ac_mid; break
15591  else
15592    echo "$as_me: failed program was:" >&5
15593 -cat conftest.$ac_ext >&5
15594 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
15595 +sed 's/^/| /' conftest.$ac_ext >&5
15596 +
15597 +ac_lo=`expr $ac_mid + 1`
15598 +                    if test $ac_lo -le $ac_mid; then
15599 +                      ac_lo= ac_hi=
15600 +                      break
15601 +                    fi
15602 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
15603  fi
15604  rm -f conftest.$ac_objext conftest.$ac_ext
15605    done
15606  else
15607    echo "$as_me: failed program was:" >&5
15608 -cat conftest.$ac_ext >&5
15609 -ac_hi=-1 ac_mid=-1
15610 +sed 's/^/| /' conftest.$ac_ext >&5
15611 +
15612 +cat >conftest.$ac_ext <<_ACEOF
15613 +#line $LINENO "configure"
15614 +/* confdefs.h.  */
15615 +_ACEOF
15616 +cat confdefs.h >>conftest.$ac_ext
15617 +cat >>conftest.$ac_ext <<_ACEOF
15618 +/* end confdefs.h.  */
15619 +$ac_includes_default
15620 +int
15621 +main ()
15622 +{
15623 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15624 +test_array [0] = 0
15625 +
15626 +  ;
15627 +  return 0;
15628 +}
15629 +_ACEOF
15630 +rm -f conftest.$ac_objext
15631 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15632 +  (eval $ac_compile) 2>&5
15633 +  ac_status=$?
15634 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 +  (exit $ac_status); } &&
15636 +         { ac_try='test -s conftest.$ac_objext'
15637 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 +  (eval $ac_try) 2>&5
15639 +  ac_status=$?
15640 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 +  (exit $ac_status); }; }; then
15642 +  ac_hi=-1 ac_mid=-1
15643    while :; do
15644      cat >conftest.$ac_ext <<_ACEOF
15645 -#line 10626 "configure"
15646 -#include "confdefs.h"
15647 +#line $LINENO "configure"
15648 +/* confdefs.h.  */
15649 +_ACEOF
15650 +cat confdefs.h >>conftest.$ac_ext
15651 +cat >>conftest.$ac_ext <<_ACEOF
15652 +/* end confdefs.h.  */
15653  $ac_includes_default
15654  int
15655  main ()
15656  {
15657 -int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)]
15658 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
15659 +test_array [0] = 0
15660 +
15661    ;
15662    return 0;
15663  }
15664  _ACEOF
15665  rm -f conftest.$ac_objext
15666 -if { (eval echo "$as_me:10638: \"$ac_compile\"") >&5
15667 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668    (eval $ac_compile) 2>&5
15669    ac_status=$?
15670 -  echo "$as_me:10641: \$? = $ac_status" >&5
15671 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672    (exit $ac_status); } &&
15673           { ac_try='test -s conftest.$ac_objext'
15674 -  { (eval echo "$as_me:10644: \"$ac_try\"") >&5
15675 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676    (eval $ac_try) 2>&5
15677    ac_status=$?
15678 -  echo "$as_me:10647: \$? = $ac_status" >&5
15679 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680    (exit $ac_status); }; }; then
15681    ac_lo=$ac_mid; break
15682  else
15683    echo "$as_me: failed program was:" >&5
15684 -cat conftest.$ac_ext >&5
15685 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
15686 +sed 's/^/| /' conftest.$ac_ext >&5
15687 +
15688 +ac_hi=`expr '(' $ac_mid ')' - 1`
15689 +                       if test $ac_mid -le $ac_hi; then
15690 +                         ac_lo= ac_hi=
15691 +                         break
15692 +                       fi
15693 +                       ac_mid=`expr 2 '*' $ac_mid`
15694  fi
15695  rm -f conftest.$ac_objext conftest.$ac_ext
15696    done
15697 +else
15698 +  echo "$as_me: failed program was:" >&5
15699 +sed 's/^/| /' conftest.$ac_ext >&5
15700 +
15701 +ac_lo= ac_hi=
15702 +fi
15703 +rm -f conftest.$ac_objext conftest.$ac_ext
15704  fi
15705  rm -f conftest.$ac_objext conftest.$ac_ext
15706  # Binary search between lo and hi bounds.
15707  while test "x$ac_lo" != "x$ac_hi"; do
15708    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15709    cat >conftest.$ac_ext <<_ACEOF
15710 -#line 10663 "configure"
15711 -#include "confdefs.h"
15712 +#line $LINENO "configure"
15713 +/* confdefs.h.  */
15714 +_ACEOF
15715 +cat confdefs.h >>conftest.$ac_ext
15716 +cat >>conftest.$ac_ext <<_ACEOF
15717 +/* end confdefs.h.  */
15718  $ac_includes_default
15719  int
15720  main ()
15721  {
15722 -int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
15723 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15724 +test_array [0] = 0
15725 +
15726    ;
15727    return 0;
15728  }
15729  _ACEOF
15730  rm -f conftest.$ac_objext
15731 -if { (eval echo "$as_me:10675: \"$ac_compile\"") >&5
15732 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15733    (eval $ac_compile) 2>&5
15734    ac_status=$?
15735 -  echo "$as_me:10678: \$? = $ac_status" >&5
15736 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737    (exit $ac_status); } &&
15738           { ac_try='test -s conftest.$ac_objext'
15739 -  { (eval echo "$as_me:10681: \"$ac_try\"") >&5
15740 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15741    (eval $ac_try) 2>&5
15742    ac_status=$?
15743 -  echo "$as_me:10684: \$? = $ac_status" >&5
15744 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745    (exit $ac_status); }; }; then
15746    ac_hi=$ac_mid
15747  else
15748    echo "$as_me: failed program was:" >&5
15749 -cat conftest.$ac_ext >&5
15750 -ac_lo=`expr $ac_mid + 1`
15751 +sed 's/^/| /' conftest.$ac_ext >&5
15752 +
15753 +ac_lo=`expr '(' $ac_mid ')' + 1`
15754  fi
15755  rm -f conftest.$ac_objext conftest.$ac_ext
15756  done
15757 -ac_cv_sizeof_long_int=$ac_lo
15758 +case $ac_lo in
15759 +?*) ac_cv_sizeof_long_int=$ac_lo;;
15760 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15761 +See \`config.log' for more details." >&5
15762 +echo "$as_me: error: cannot compute sizeof (long int), 77
15763 +See \`config.log' for more details." >&2;}
15764 +   { (exit 1); exit 1; }; } ;;
15765 +esac
15766  else
15767    if test "$cross_compiling" = yes; then
15768 -  { { echo "$as_me:10697: error: cannot run test program while cross compiling" >&5
15769 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15770 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15771 +See \`config.log' for more details." >&5
15772 +echo "$as_me: error: cannot run test program while cross compiling
15773 +See \`config.log' for more details." >&2;}
15774     { (exit 1); exit 1; }; }
15775  else
15776    cat >conftest.$ac_ext <<_ACEOF
15777 -#line 10702 "configure"
15778 -#include "confdefs.h"
15779 +#line $LINENO "configure"
15780 +/* confdefs.h.  */
15781 +_ACEOF
15782 +cat confdefs.h >>conftest.$ac_ext
15783 +cat >>conftest.$ac_ext <<_ACEOF
15784 +/* end confdefs.h.  */
15785  $ac_includes_default
15786 +long longval () { return (long) (sizeof (long int)); }
15787 +unsigned long ulongval () { return (long) (sizeof (long int)); }
15788 +#include <stdio.h>
15789 +#include <stdlib.h>
15790  int
15791  main ()
15792  {
15793 -FILE *f = fopen ("conftest.val", "w");
15794 -if (!f)
15795 -  exit (1);
15796 -fprintf (f, "%d", (sizeof (long int)));
15797 -fclose (f);
15798 +
15799 +  FILE *f = fopen ("conftest.val", "w");
15800 +  if (! f)
15801 +    exit (1);
15802 +  if (((long) (sizeof (long int))) < 0)
15803 +    {
15804 +      long i = longval ();
15805 +      if (i != ((long) (sizeof (long int))))
15806 +       exit (1);
15807 +      fprintf (f, "%ld\n", i);
15808 +    }
15809 +  else
15810 +    {
15811 +      unsigned long i = ulongval ();
15812 +      if (i != ((long) (sizeof (long int))))
15813 +       exit (1);
15814 +      fprintf (f, "%lu\n", i);
15815 +    }
15816 +  exit (ferror (f) || fclose (f) != 0);
15817 +
15818    ;
15819    return 0;
15820  }
15821  _ACEOF
15822  rm -f conftest$ac_exeext
15823 -if { (eval echo "$as_me:10718: \"$ac_link\"") >&5
15824 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15825    (eval $ac_link) 2>&5
15826    ac_status=$?
15827 -  echo "$as_me:10721: \$? = $ac_status" >&5
15828 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15830 -  { (eval echo "$as_me:10723: \"$ac_try\"") >&5
15831 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15832    (eval $ac_try) 2>&5
15833    ac_status=$?
15834 -  echo "$as_me:10726: \$? = $ac_status" >&5
15835 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836    (exit $ac_status); }; }; then
15837    ac_cv_sizeof_long_int=`cat conftest.val`
15838  else
15839    echo "$as_me: program exited with status $ac_status" >&5
15840  echo "$as_me: failed program was:" >&5
15841 -cat conftest.$ac_ext >&5
15842 +sed 's/^/| /' conftest.$ac_ext >&5
15843 +
15844 +( exit $ac_status )
15845 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15846 +See \`config.log' for more details." >&5
15847 +echo "$as_me: error: cannot compute sizeof (long int), 77
15848 +See \`config.log' for more details." >&2;}
15849 +   { (exit 1); exit 1; }; }
15850  fi
15851 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15852 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15853  fi
15854  fi
15855  rm -f conftest.val
15856 @@ -10739,20 +13067,25 @@
15857    ac_cv_sizeof_long_int=0
15858  fi
15859  fi
15860 -echo "$as_me:10742: result: $ac_cv_sizeof_long_int" >&5
15861 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
15862  echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
15863 -cat >>confdefs.h <<EOF
15864 +cat >>confdefs.h <<_ACEOF
15865  #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
15866 -EOF
15867 +_ACEOF
15868  
15869 -echo "$as_me:10748: checking for long long int" >&5
15870 +
15871 +echo "$as_me:$LINENO: checking for long long int" >&5
15872  echo $ECHO_N "checking for long long int... $ECHO_C" >&6
15873  if test "${ac_cv_type_long_long_int+set}" = set; then
15874    echo $ECHO_N "(cached) $ECHO_C" >&6
15875  else
15876    cat >conftest.$ac_ext <<_ACEOF
15877 -#line 10754 "configure"
15878 -#include "confdefs.h"
15879 +#line $LINENO "configure"
15880 +/* confdefs.h.  */
15881 +_ACEOF
15882 +cat confdefs.h >>conftest.$ac_ext
15883 +cat >>conftest.$ac_ext <<_ACEOF
15884 +/* end confdefs.h.  */
15885  $ac_includes_default
15886  int
15887  main ()
15888 @@ -10766,209 +13099,328 @@
15889  }
15890  _ACEOF
15891  rm -f conftest.$ac_objext
15892 -if { (eval echo "$as_me:10769: \"$ac_compile\"") >&5
15893 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894    (eval $ac_compile) 2>&5
15895    ac_status=$?
15896 -  echo "$as_me:10772: \$? = $ac_status" >&5
15897 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898    (exit $ac_status); } &&
15899           { ac_try='test -s conftest.$ac_objext'
15900 -  { (eval echo "$as_me:10775: \"$ac_try\"") >&5
15901 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902    (eval $ac_try) 2>&5
15903    ac_status=$?
15904 -  echo "$as_me:10778: \$? = $ac_status" >&5
15905 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906    (exit $ac_status); }; }; then
15907    ac_cv_type_long_long_int=yes
15908  else
15909    echo "$as_me: failed program was:" >&5
15910 -cat conftest.$ac_ext >&5
15911 +sed 's/^/| /' conftest.$ac_ext >&5
15912 +
15913  ac_cv_type_long_long_int=no
15914  fi
15915  rm -f conftest.$ac_objext conftest.$ac_ext
15916  fi
15917 -echo "$as_me:10788: result: $ac_cv_type_long_long_int" >&5
15918 +echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
15919  echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
15920  
15921 -echo "$as_me:10791: checking size of long long int" >&5
15922 +echo "$as_me:$LINENO: checking size of long long int" >&5
15923  echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
15924  if test "${ac_cv_sizeof_long_long_int+set}" = set; then
15925    echo $ECHO_N "(cached) $ECHO_C" >&6
15926  else
15927    if test "$ac_cv_type_long_long_int" = yes; then
15928 +  # The cast to unsigned long works around a bug in the HP C Compiler
15929 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15930 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15931 +  # This bug is HP SR number 8606223364.
15932    if test "$cross_compiling" = yes; then
15933    # Depending upon the size, compute the lo and hi bounds.
15934  cat >conftest.$ac_ext <<_ACEOF
15935 -#line 10800 "configure"
15936 -#include "confdefs.h"
15937 +#line $LINENO "configure"
15938 +/* confdefs.h.  */
15939 +_ACEOF
15940 +cat confdefs.h >>conftest.$ac_ext
15941 +cat >>conftest.$ac_ext <<_ACEOF
15942 +/* end confdefs.h.  */
15943  $ac_includes_default
15944  int
15945  main ()
15946  {
15947 -int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)]
15948 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
15949 +test_array [0] = 0
15950 +
15951    ;
15952    return 0;
15953  }
15954  _ACEOF
15955  rm -f conftest.$ac_objext
15956 -if { (eval echo "$as_me:10812: \"$ac_compile\"") >&5
15957 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15958    (eval $ac_compile) 2>&5
15959    ac_status=$?
15960 -  echo "$as_me:10815: \$? = $ac_status" >&5
15961 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962    (exit $ac_status); } &&
15963           { ac_try='test -s conftest.$ac_objext'
15964 -  { (eval echo "$as_me:10818: \"$ac_try\"") >&5
15965 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15966    (eval $ac_try) 2>&5
15967    ac_status=$?
15968 -  echo "$as_me:10821: \$? = $ac_status" >&5
15969 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970    (exit $ac_status); }; }; then
15971    ac_lo=0 ac_mid=0
15972    while :; do
15973      cat >conftest.$ac_ext <<_ACEOF
15974 -#line 10826 "configure"
15975 -#include "confdefs.h"
15976 +#line $LINENO "configure"
15977 +/* confdefs.h.  */
15978 +_ACEOF
15979 +cat confdefs.h >>conftest.$ac_ext
15980 +cat >>conftest.$ac_ext <<_ACEOF
15981 +/* end confdefs.h.  */
15982  $ac_includes_default
15983  int
15984  main ()
15985  {
15986 -int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
15987 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
15988 +test_array [0] = 0
15989 +
15990    ;
15991    return 0;
15992  }
15993  _ACEOF
15994  rm -f conftest.$ac_objext
15995 -if { (eval echo "$as_me:10838: \"$ac_compile\"") >&5
15996 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15997    (eval $ac_compile) 2>&5
15998    ac_status=$?
15999 -  echo "$as_me:10841: \$? = $ac_status" >&5
16000 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001    (exit $ac_status); } &&
16002           { ac_try='test -s conftest.$ac_objext'
16003 -  { (eval echo "$as_me:10844: \"$ac_try\"") >&5
16004 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005    (eval $ac_try) 2>&5
16006    ac_status=$?
16007 -  echo "$as_me:10847: \$? = $ac_status" >&5
16008 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009    (exit $ac_status); }; }; then
16010    ac_hi=$ac_mid; break
16011  else
16012    echo "$as_me: failed program was:" >&5
16013 -cat conftest.$ac_ext >&5
16014 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
16015 +sed 's/^/| /' conftest.$ac_ext >&5
16016 +
16017 +ac_lo=`expr $ac_mid + 1`
16018 +                    if test $ac_lo -le $ac_mid; then
16019 +                      ac_lo= ac_hi=
16020 +                      break
16021 +                    fi
16022 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
16023  fi
16024  rm -f conftest.$ac_objext conftest.$ac_ext
16025    done
16026  else
16027    echo "$as_me: failed program was:" >&5
16028 -cat conftest.$ac_ext >&5
16029 -ac_hi=-1 ac_mid=-1
16030 +sed 's/^/| /' conftest.$ac_ext >&5
16031 +
16032 +cat >conftest.$ac_ext <<_ACEOF
16033 +#line $LINENO "configure"
16034 +/* confdefs.h.  */
16035 +_ACEOF
16036 +cat confdefs.h >>conftest.$ac_ext
16037 +cat >>conftest.$ac_ext <<_ACEOF
16038 +/* end confdefs.h.  */
16039 +$ac_includes_default
16040 +int
16041 +main ()
16042 +{
16043 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16044 +test_array [0] = 0
16045 +
16046 +  ;
16047 +  return 0;
16048 +}
16049 +_ACEOF
16050 +rm -f conftest.$ac_objext
16051 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 +  (eval $ac_compile) 2>&5
16053 +  ac_status=$?
16054 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 +  (exit $ac_status); } &&
16056 +         { ac_try='test -s conftest.$ac_objext'
16057 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 +  (eval $ac_try) 2>&5
16059 +  ac_status=$?
16060 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 +  (exit $ac_status); }; }; then
16062 +  ac_hi=-1 ac_mid=-1
16063    while :; do
16064      cat >conftest.$ac_ext <<_ACEOF
16065 -#line 10863 "configure"
16066 -#include "confdefs.h"
16067 +#line $LINENO "configure"
16068 +/* confdefs.h.  */
16069 +_ACEOF
16070 +cat confdefs.h >>conftest.$ac_ext
16071 +cat >>conftest.$ac_ext <<_ACEOF
16072 +/* end confdefs.h.  */
16073  $ac_includes_default
16074  int
16075  main ()
16076  {
16077 -int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)]
16078 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
16079 +test_array [0] = 0
16080 +
16081    ;
16082    return 0;
16083  }
16084  _ACEOF
16085  rm -f conftest.$ac_objext
16086 -if { (eval echo "$as_me:10875: \"$ac_compile\"") >&5
16087 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088    (eval $ac_compile) 2>&5
16089    ac_status=$?
16090 -  echo "$as_me:10878: \$? = $ac_status" >&5
16091 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092    (exit $ac_status); } &&
16093           { ac_try='test -s conftest.$ac_objext'
16094 -  { (eval echo "$as_me:10881: \"$ac_try\"") >&5
16095 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096    (eval $ac_try) 2>&5
16097    ac_status=$?
16098 -  echo "$as_me:10884: \$? = $ac_status" >&5
16099 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100    (exit $ac_status); }; }; then
16101    ac_lo=$ac_mid; break
16102  else
16103    echo "$as_me: failed program was:" >&5
16104 -cat conftest.$ac_ext >&5
16105 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
16106 +sed 's/^/| /' conftest.$ac_ext >&5
16107 +
16108 +ac_hi=`expr '(' $ac_mid ')' - 1`
16109 +                       if test $ac_mid -le $ac_hi; then
16110 +                         ac_lo= ac_hi=
16111 +                         break
16112 +                       fi
16113 +                       ac_mid=`expr 2 '*' $ac_mid`
16114  fi
16115  rm -f conftest.$ac_objext conftest.$ac_ext
16116    done
16117 +else
16118 +  echo "$as_me: failed program was:" >&5
16119 +sed 's/^/| /' conftest.$ac_ext >&5
16120 +
16121 +ac_lo= ac_hi=
16122 +fi
16123 +rm -f conftest.$ac_objext conftest.$ac_ext
16124  fi
16125  rm -f conftest.$ac_objext conftest.$ac_ext
16126  # Binary search between lo and hi bounds.
16127  while test "x$ac_lo" != "x$ac_hi"; do
16128    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16129    cat >conftest.$ac_ext <<_ACEOF
16130 -#line 10900 "configure"
16131 -#include "confdefs.h"
16132 +#line $LINENO "configure"
16133 +/* confdefs.h.  */
16134 +_ACEOF
16135 +cat confdefs.h >>conftest.$ac_ext
16136 +cat >>conftest.$ac_ext <<_ACEOF
16137 +/* end confdefs.h.  */
16138  $ac_includes_default
16139  int
16140  main ()
16141  {
16142 -int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
16143 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16144 +test_array [0] = 0
16145 +
16146    ;
16147    return 0;
16148  }
16149  _ACEOF
16150  rm -f conftest.$ac_objext
16151 -if { (eval echo "$as_me:10912: \"$ac_compile\"") >&5
16152 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153    (eval $ac_compile) 2>&5
16154    ac_status=$?
16155 -  echo "$as_me:10915: \$? = $ac_status" >&5
16156 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157    (exit $ac_status); } &&
16158           { ac_try='test -s conftest.$ac_objext'
16159 -  { (eval echo "$as_me:10918: \"$ac_try\"") >&5
16160 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161    (eval $ac_try) 2>&5
16162    ac_status=$?
16163 -  echo "$as_me:10921: \$? = $ac_status" >&5
16164 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165    (exit $ac_status); }; }; then
16166    ac_hi=$ac_mid
16167  else
16168    echo "$as_me: failed program was:" >&5
16169 -cat conftest.$ac_ext >&5
16170 -ac_lo=`expr $ac_mid + 1`
16171 +sed 's/^/| /' conftest.$ac_ext >&5
16172 +
16173 +ac_lo=`expr '(' $ac_mid ')' + 1`
16174  fi
16175  rm -f conftest.$ac_objext conftest.$ac_ext
16176  done
16177 -ac_cv_sizeof_long_long_int=$ac_lo
16178 +case $ac_lo in
16179 +?*) ac_cv_sizeof_long_long_int=$ac_lo;;
16180 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16181 +See \`config.log' for more details." >&5
16182 +echo "$as_me: error: cannot compute sizeof (long long int), 77
16183 +See \`config.log' for more details." >&2;}
16184 +   { (exit 1); exit 1; }; } ;;
16185 +esac
16186  else
16187    if test "$cross_compiling" = yes; then
16188 -  { { echo "$as_me:10934: error: cannot run test program while cross compiling" >&5
16189 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
16190 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16191 +See \`config.log' for more details." >&5
16192 +echo "$as_me: error: cannot run test program while cross compiling
16193 +See \`config.log' for more details." >&2;}
16194     { (exit 1); exit 1; }; }
16195  else
16196    cat >conftest.$ac_ext <<_ACEOF
16197 -#line 10939 "configure"
16198 -#include "confdefs.h"
16199 +#line $LINENO "configure"
16200 +/* confdefs.h.  */
16201 +_ACEOF
16202 +cat confdefs.h >>conftest.$ac_ext
16203 +cat >>conftest.$ac_ext <<_ACEOF
16204 +/* end confdefs.h.  */
16205  $ac_includes_default
16206 +long longval () { return (long) (sizeof (long long int)); }
16207 +unsigned long ulongval () { return (long) (sizeof (long long int)); }
16208 +#include <stdio.h>
16209 +#include <stdlib.h>
16210  int
16211  main ()
16212  {
16213 -FILE *f = fopen ("conftest.val", "w");
16214 -if (!f)
16215 -  exit (1);
16216 -fprintf (f, "%d", (sizeof (long long int)));
16217 -fclose (f);
16218 +
16219 +  FILE *f = fopen ("conftest.val", "w");
16220 +  if (! f)
16221 +    exit (1);
16222 +  if (((long) (sizeof (long long int))) < 0)
16223 +    {
16224 +      long i = longval ();
16225 +      if (i != ((long) (sizeof (long long int))))
16226 +       exit (1);
16227 +      fprintf (f, "%ld\n", i);
16228 +    }
16229 +  else
16230 +    {
16231 +      unsigned long i = ulongval ();
16232 +      if (i != ((long) (sizeof (long long int))))
16233 +       exit (1);
16234 +      fprintf (f, "%lu\n", i);
16235 +    }
16236 +  exit (ferror (f) || fclose (f) != 0);
16237 +
16238    ;
16239    return 0;
16240  }
16241  _ACEOF
16242  rm -f conftest$ac_exeext
16243 -if { (eval echo "$as_me:10955: \"$ac_link\"") >&5
16244 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16245    (eval $ac_link) 2>&5
16246    ac_status=$?
16247 -  echo "$as_me:10958: \$? = $ac_status" >&5
16248 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16250 -  { (eval echo "$as_me:10960: \"$ac_try\"") >&5
16251 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16252    (eval $ac_try) 2>&5
16253    ac_status=$?
16254 -  echo "$as_me:10963: \$? = $ac_status" >&5
16255 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256    (exit $ac_status); }; }; then
16257    ac_cv_sizeof_long_long_int=`cat conftest.val`
16258  else
16259    echo "$as_me: program exited with status $ac_status" >&5
16260  echo "$as_me: failed program was:" >&5
16261 -cat conftest.$ac_ext >&5
16262 +sed 's/^/| /' conftest.$ac_ext >&5
16263 +
16264 +( exit $ac_status )
16265 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16266 +See \`config.log' for more details." >&5
16267 +echo "$as_me: error: cannot compute sizeof (long long int), 77
16268 +See \`config.log' for more details." >&2;}
16269 +   { (exit 1); exit 1; }; }
16270  fi
16271 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16272 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16273  fi
16274  fi
16275  rm -f conftest.val
16276 @@ -10976,11 +13428,13 @@
16277    ac_cv_sizeof_long_long_int=0
16278  fi
16279  fi
16280 -echo "$as_me:10979: result: $ac_cv_sizeof_long_long_int" >&5
16281 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
16282  echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
16283 -cat >>confdefs.h <<EOF
16284 +cat >>confdefs.h <<_ACEOF
16285  #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
16286 -EOF
16287 +_ACEOF
16288 +
16289 +
16290  
16291  # Sanity check long long for some platforms (AIX)
16292  if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
16293 @@ -10988,15 +13442,19 @@
16294  fi
16295  
16296  # More checks for data types
16297 -echo "$as_me:10991: checking for u_int type" >&5
16298 +echo "$as_me:$LINENO: checking for u_int type" >&5
16299  echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
16300  if test "${ac_cv_have_u_int+set}" = set; then
16301    echo $ECHO_N "(cached) $ECHO_C" >&6
16302  else
16303  
16304         cat >conftest.$ac_ext <<_ACEOF
16305 -#line 10998 "configure"
16306 -#include "confdefs.h"
16307 +#line $LINENO "configure"
16308 +/* confdefs.h.  */
16309 +_ACEOF
16310 +cat confdefs.h >>conftest.$ac_ext
16311 +cat >>conftest.$ac_ext <<_ACEOF
16312 +/* end confdefs.h.  */
16313   #include <sys/types.h>
16314  int
16315  main ()
16316 @@ -11007,46 +13465,51 @@
16317  }
16318  _ACEOF
16319  rm -f conftest.$ac_objext
16320 -if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5
16321 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16322    (eval $ac_compile) 2>&5
16323    ac_status=$?
16324 -  echo "$as_me:11013: \$? = $ac_status" >&5
16325 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326    (exit $ac_status); } &&
16327           { ac_try='test -s conftest.$ac_objext'
16328 -  { (eval echo "$as_me:11016: \"$ac_try\"") >&5
16329 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330    (eval $ac_try) 2>&5
16331    ac_status=$?
16332 -  echo "$as_me:11019: \$? = $ac_status" >&5
16333 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334    (exit $ac_status); }; }; then
16335     ac_cv_have_u_int="yes"
16336  else
16337    echo "$as_me: failed program was:" >&5
16338 -cat conftest.$ac_ext >&5
16339 +sed 's/^/| /' conftest.$ac_ext >&5
16340 +
16341   ac_cv_have_u_int="no"
16342  
16343  fi
16344  rm -f conftest.$ac_objext conftest.$ac_ext
16345  
16346  fi
16347 -echo "$as_me:11031: result: $ac_cv_have_u_int" >&5
16348 +echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
16349  echo "${ECHO_T}$ac_cv_have_u_int" >&6
16350  if test "x$ac_cv_have_u_int" = "xyes" ; then
16351 -       cat >>confdefs.h <<\EOF
16352 +       cat >>confdefs.h <<\_ACEOF
16353  #define HAVE_U_INT 1
16354 -EOF
16355 +_ACEOF
16356  
16357         have_u_int=1
16358  fi
16359  
16360 -echo "$as_me:11041: checking for intXX_t types" >&5
16361 +echo "$as_me:$LINENO: checking for intXX_t types" >&5
16362  echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
16363  if test "${ac_cv_have_intxx_t+set}" = set; then
16364    echo $ECHO_N "(cached) $ECHO_C" >&6
16365  else
16366  
16367         cat >conftest.$ac_ext <<_ACEOF
16368 -#line 11048 "configure"
16369 -#include "confdefs.h"
16370 +#line $LINENO "configure"
16371 +/* confdefs.h.  */
16372 +_ACEOF
16373 +cat confdefs.h >>conftest.$ac_ext
16374 +cat >>conftest.$ac_ext <<_ACEOF
16375 +/* end confdefs.h.  */
16376   #include <sys/types.h>
16377  int
16378  main ()
16379 @@ -11057,33 +13520,34 @@
16380  }
16381  _ACEOF
16382  rm -f conftest.$ac_objext
16383 -if { (eval echo "$as_me:11060: \"$ac_compile\"") >&5
16384 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385    (eval $ac_compile) 2>&5
16386    ac_status=$?
16387 -  echo "$as_me:11063: \$? = $ac_status" >&5
16388 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389    (exit $ac_status); } &&
16390           { ac_try='test -s conftest.$ac_objext'
16391 -  { (eval echo "$as_me:11066: \"$ac_try\"") >&5
16392 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393    (eval $ac_try) 2>&5
16394    ac_status=$?
16395 -  echo "$as_me:11069: \$? = $ac_status" >&5
16396 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397    (exit $ac_status); }; }; then
16398     ac_cv_have_intxx_t="yes"
16399  else
16400    echo "$as_me: failed program was:" >&5
16401 -cat conftest.$ac_ext >&5
16402 +sed 's/^/| /' conftest.$ac_ext >&5
16403 +
16404   ac_cv_have_intxx_t="no"
16405  
16406  fi
16407  rm -f conftest.$ac_objext conftest.$ac_ext
16408  
16409  fi
16410 -echo "$as_me:11081: result: $ac_cv_have_intxx_t" >&5
16411 +echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
16412  echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
16413  if test "x$ac_cv_have_intxx_t" = "xyes" ; then
16414 -       cat >>confdefs.h <<\EOF
16415 +       cat >>confdefs.h <<\_ACEOF
16416  #define HAVE_INTXX_T 1
16417 -EOF
16418 +_ACEOF
16419  
16420         have_intxx_t=1
16421  fi
16422 @@ -11091,11 +13555,15 @@
16423  if (test -z "$have_intxx_t" && \
16424             test "x$ac_cv_header_stdint_h" = "xyes")
16425  then
16426 -    echo "$as_me:11094: checking for intXX_t types in stdint.h" >&5
16427 +    echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
16428  echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
16429         cat >conftest.$ac_ext <<_ACEOF
16430 -#line 11097 "configure"
16431 -#include "confdefs.h"
16432 +#line $LINENO "configure"
16433 +/* confdefs.h.  */
16434 +_ACEOF
16435 +cat confdefs.h >>conftest.$ac_ext
16436 +cat >>conftest.$ac_ext <<_ACEOF
16437 +/* end confdefs.h.  */
16438   #include <stdint.h>
16439  int
16440  main ()
16441 @@ -11106,44 +13574,49 @@
16442  }
16443  _ACEOF
16444  rm -f conftest.$ac_objext
16445 -if { (eval echo "$as_me:11109: \"$ac_compile\"") >&5
16446 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16447    (eval $ac_compile) 2>&5
16448    ac_status=$?
16449 -  echo "$as_me:11112: \$? = $ac_status" >&5
16450 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451    (exit $ac_status); } &&
16452           { ac_try='test -s conftest.$ac_objext'
16453 -  { (eval echo "$as_me:11115: \"$ac_try\"") >&5
16454 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455    (eval $ac_try) 2>&5
16456    ac_status=$?
16457 -  echo "$as_me:11118: \$? = $ac_status" >&5
16458 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459    (exit $ac_status); }; }; then
16460  
16461 -                       cat >>confdefs.h <<\EOF
16462 +                       cat >>confdefs.h <<\_ACEOF
16463  #define HAVE_INTXX_T 1
16464 -EOF
16465 +_ACEOF
16466  
16467 -                       echo "$as_me:11125: result: yes" >&5
16468 +                       echo "$as_me:$LINENO: result: yes" >&5
16469  echo "${ECHO_T}yes" >&6
16470  
16471  else
16472    echo "$as_me: failed program was:" >&5
16473 -cat conftest.$ac_ext >&5
16474 - echo "$as_me:11131: result: no" >&5
16475 +sed 's/^/| /' conftest.$ac_ext >&5
16476 +
16477 + echo "$as_me:$LINENO: result: no" >&5
16478  echo "${ECHO_T}no" >&6
16479  
16480  fi
16481  rm -f conftest.$ac_objext conftest.$ac_ext
16482  fi
16483  
16484 -echo "$as_me:11138: checking for int64_t type" >&5
16485 +echo "$as_me:$LINENO: checking for int64_t type" >&5
16486  echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
16487  if test "${ac_cv_have_int64_t+set}" = set; then
16488    echo $ECHO_N "(cached) $ECHO_C" >&6
16489  else
16490  
16491         cat >conftest.$ac_ext <<_ACEOF
16492 -#line 11145 "configure"
16493 -#include "confdefs.h"
16494 +#line $LINENO "configure"
16495 +/* confdefs.h.  */
16496 +_ACEOF
16497 +cat confdefs.h >>conftest.$ac_ext
16498 +cat >>conftest.$ac_ext <<_ACEOF
16499 +/* end confdefs.h.  */
16500  
16501  #include <sys/types.h>
16502  #ifdef HAVE_STDINT_H
16503 @@ -11163,45 +13636,50 @@
16504  }
16505  _ACEOF
16506  rm -f conftest.$ac_objext
16507 -if { (eval echo "$as_me:11166: \"$ac_compile\"") >&5
16508 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509    (eval $ac_compile) 2>&5
16510    ac_status=$?
16511 -  echo "$as_me:11169: \$? = $ac_status" >&5
16512 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513    (exit $ac_status); } &&
16514           { ac_try='test -s conftest.$ac_objext'
16515 -  { (eval echo "$as_me:11172: \"$ac_try\"") >&5
16516 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517    (eval $ac_try) 2>&5
16518    ac_status=$?
16519 -  echo "$as_me:11175: \$? = $ac_status" >&5
16520 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521    (exit $ac_status); }; }; then
16522     ac_cv_have_int64_t="yes"
16523  else
16524    echo "$as_me: failed program was:" >&5
16525 -cat conftest.$ac_ext >&5
16526 +sed 's/^/| /' conftest.$ac_ext >&5
16527 +
16528   ac_cv_have_int64_t="no"
16529  
16530  fi
16531  rm -f conftest.$ac_objext conftest.$ac_ext
16532  
16533  fi
16534 -echo "$as_me:11187: result: $ac_cv_have_int64_t" >&5
16535 +echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
16536  echo "${ECHO_T}$ac_cv_have_int64_t" >&6
16537  if test "x$ac_cv_have_int64_t" = "xyes" ; then
16538 -       cat >>confdefs.h <<\EOF
16539 +       cat >>confdefs.h <<\_ACEOF
16540  #define HAVE_INT64_T 1
16541 -EOF
16542 +_ACEOF
16543  
16544  fi
16545  
16546 -echo "$as_me:11196: checking for u_intXX_t types" >&5
16547 +echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
16548  echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
16549  if test "${ac_cv_have_u_intxx_t+set}" = set; then
16550    echo $ECHO_N "(cached) $ECHO_C" >&6
16551  else
16552  
16553         cat >conftest.$ac_ext <<_ACEOF
16554 -#line 11203 "configure"
16555 -#include "confdefs.h"
16556 +#line $LINENO "configure"
16557 +/* confdefs.h.  */
16558 +_ACEOF
16559 +cat confdefs.h >>conftest.$ac_ext
16560 +cat >>conftest.$ac_ext <<_ACEOF
16561 +/* end confdefs.h.  */
16562   #include <sys/types.h>
16563  int
16564  main ()
16565 @@ -11212,43 +13690,48 @@
16566  }
16567  _ACEOF
16568  rm -f conftest.$ac_objext
16569 -if { (eval echo "$as_me:11215: \"$ac_compile\"") >&5
16570 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16571    (eval $ac_compile) 2>&5
16572    ac_status=$?
16573 -  echo "$as_me:11218: \$? = $ac_status" >&5
16574 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575    (exit $ac_status); } &&
16576           { ac_try='test -s conftest.$ac_objext'
16577 -  { (eval echo "$as_me:11221: \"$ac_try\"") >&5
16578 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579    (eval $ac_try) 2>&5
16580    ac_status=$?
16581 -  echo "$as_me:11224: \$? = $ac_status" >&5
16582 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583    (exit $ac_status); }; }; then
16584     ac_cv_have_u_intxx_t="yes"
16585  else
16586    echo "$as_me: failed program was:" >&5
16587 -cat conftest.$ac_ext >&5
16588 +sed 's/^/| /' conftest.$ac_ext >&5
16589 +
16590   ac_cv_have_u_intxx_t="no"
16591  
16592  fi
16593  rm -f conftest.$ac_objext conftest.$ac_ext
16594  
16595  fi
16596 -echo "$as_me:11236: result: $ac_cv_have_u_intxx_t" >&5
16597 +echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
16598  echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
16599  if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
16600 -       cat >>confdefs.h <<\EOF
16601 +       cat >>confdefs.h <<\_ACEOF
16602  #define HAVE_U_INTXX_T 1
16603 -EOF
16604 +_ACEOF
16605  
16606         have_u_intxx_t=1
16607  fi
16608  
16609  if test -z "$have_u_intxx_t" ; then
16610 -    echo "$as_me:11247: checking for u_intXX_t types in sys/socket.h" >&5
16611 +    echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
16612  echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
16613         cat >conftest.$ac_ext <<_ACEOF
16614 -#line 11250 "configure"
16615 -#include "confdefs.h"
16616 +#line $LINENO "configure"
16617 +/* confdefs.h.  */
16618 +_ACEOF
16619 +cat confdefs.h >>conftest.$ac_ext
16620 +cat >>conftest.$ac_ext <<_ACEOF
16621 +/* end confdefs.h.  */
16622   #include <sys/socket.h>
16623  int
16624  main ()
16625 @@ -11259,44 +13742,49 @@
16626  }
16627  _ACEOF
16628  rm -f conftest.$ac_objext
16629 -if { (eval echo "$as_me:11262: \"$ac_compile\"") >&5
16630 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16631    (eval $ac_compile) 2>&5
16632    ac_status=$?
16633 -  echo "$as_me:11265: \$? = $ac_status" >&5
16634 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635    (exit $ac_status); } &&
16636           { ac_try='test -s conftest.$ac_objext'
16637 -  { (eval echo "$as_me:11268: \"$ac_try\"") >&5
16638 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639    (eval $ac_try) 2>&5
16640    ac_status=$?
16641 -  echo "$as_me:11271: \$? = $ac_status" >&5
16642 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643    (exit $ac_status); }; }; then
16644  
16645 -                       cat >>confdefs.h <<\EOF
16646 +                       cat >>confdefs.h <<\_ACEOF
16647  #define HAVE_U_INTXX_T 1
16648 -EOF
16649 +_ACEOF
16650  
16651 -                       echo "$as_me:11278: result: yes" >&5
16652 +                       echo "$as_me:$LINENO: result: yes" >&5
16653  echo "${ECHO_T}yes" >&6
16654  
16655  else
16656    echo "$as_me: failed program was:" >&5
16657 -cat conftest.$ac_ext >&5
16658 - echo "$as_me:11284: result: no" >&5
16659 +sed 's/^/| /' conftest.$ac_ext >&5
16660 +
16661 + echo "$as_me:$LINENO: result: no" >&5
16662  echo "${ECHO_T}no" >&6
16663  
16664  fi
16665  rm -f conftest.$ac_objext conftest.$ac_ext
16666  fi
16667  
16668 -echo "$as_me:11291: checking for u_int64_t types" >&5
16669 +echo "$as_me:$LINENO: checking for u_int64_t types" >&5
16670  echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
16671  if test "${ac_cv_have_u_int64_t+set}" = set; then
16672    echo $ECHO_N "(cached) $ECHO_C" >&6
16673  else
16674  
16675         cat >conftest.$ac_ext <<_ACEOF
16676 -#line 11298 "configure"
16677 -#include "confdefs.h"
16678 +#line $LINENO "configure"
16679 +/* confdefs.h.  */
16680 +_ACEOF
16681 +cat confdefs.h >>conftest.$ac_ext
16682 +cat >>conftest.$ac_ext <<_ACEOF
16683 +/* end confdefs.h.  */
16684   #include <sys/types.h>
16685  int
16686  main ()
16687 @@ -11307,43 +13795,48 @@
16688  }
16689  _ACEOF
16690  rm -f conftest.$ac_objext
16691 -if { (eval echo "$as_me:11310: \"$ac_compile\"") >&5
16692 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16693    (eval $ac_compile) 2>&5
16694    ac_status=$?
16695 -  echo "$as_me:11313: \$? = $ac_status" >&5
16696 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697    (exit $ac_status); } &&
16698           { ac_try='test -s conftest.$ac_objext'
16699 -  { (eval echo "$as_me:11316: \"$ac_try\"") >&5
16700 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701    (eval $ac_try) 2>&5
16702    ac_status=$?
16703 -  echo "$as_me:11319: \$? = $ac_status" >&5
16704 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705    (exit $ac_status); }; }; then
16706     ac_cv_have_u_int64_t="yes"
16707  else
16708    echo "$as_me: failed program was:" >&5
16709 -cat conftest.$ac_ext >&5
16710 +sed 's/^/| /' conftest.$ac_ext >&5
16711 +
16712   ac_cv_have_u_int64_t="no"
16713  
16714  fi
16715  rm -f conftest.$ac_objext conftest.$ac_ext
16716  
16717  fi
16718 -echo "$as_me:11331: result: $ac_cv_have_u_int64_t" >&5
16719 +echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
16720  echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
16721  if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
16722 -       cat >>confdefs.h <<\EOF
16723 +       cat >>confdefs.h <<\_ACEOF
16724  #define HAVE_U_INT64_T 1
16725 -EOF
16726 +_ACEOF
16727  
16728         have_u_int64_t=1
16729  fi
16730  
16731  if test -z "$have_u_int64_t" ; then
16732 -    echo "$as_me:11342: checking for u_int64_t type in sys/bitypes.h" >&5
16733 +    echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
16734  echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
16735         cat >conftest.$ac_ext <<_ACEOF
16736 -#line 11345 "configure"
16737 -#include "confdefs.h"
16738 +#line $LINENO "configure"
16739 +/* confdefs.h.  */
16740 +_ACEOF
16741 +cat confdefs.h >>conftest.$ac_ext
16742 +cat >>conftest.$ac_ext <<_ACEOF
16743 +/* end confdefs.h.  */
16744   #include <sys/bitypes.h>
16745  int
16746  main ()
16747 @@ -11354,29 +13847,30 @@
16748  }
16749  _ACEOF
16750  rm -f conftest.$ac_objext
16751 -if { (eval echo "$as_me:11357: \"$ac_compile\"") >&5
16752 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16753    (eval $ac_compile) 2>&5
16754    ac_status=$?
16755 -  echo "$as_me:11360: \$? = $ac_status" >&5
16756 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757    (exit $ac_status); } &&
16758           { ac_try='test -s conftest.$ac_objext'
16759 -  { (eval echo "$as_me:11363: \"$ac_try\"") >&5
16760 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761    (eval $ac_try) 2>&5
16762    ac_status=$?
16763 -  echo "$as_me:11366: \$? = $ac_status" >&5
16764 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765    (exit $ac_status); }; }; then
16766  
16767 -                       cat >>confdefs.h <<\EOF
16768 +                       cat >>confdefs.h <<\_ACEOF
16769  #define HAVE_U_INT64_T 1
16770 -EOF
16771 +_ACEOF
16772  
16773 -                       echo "$as_me:11373: result: yes" >&5
16774 +                       echo "$as_me:$LINENO: result: yes" >&5
16775  echo "${ECHO_T}yes" >&6
16776  
16777  else
16778    echo "$as_me: failed program was:" >&5
16779 -cat conftest.$ac_ext >&5
16780 - echo "$as_me:11379: result: no" >&5
16781 +sed 's/^/| /' conftest.$ac_ext >&5
16782 +
16783 + echo "$as_me:$LINENO: result: no" >&5
16784  echo "${ECHO_T}no" >&6
16785  
16786  fi
16787 @@ -11384,15 +13878,19 @@
16788  fi
16789  
16790  if test -z "$have_u_intxx_t" ; then
16791 -       echo "$as_me:11387: checking for uintXX_t types" >&5
16792 +       echo "$as_me:$LINENO: checking for uintXX_t types" >&5
16793  echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
16794  if test "${ac_cv_have_uintxx_t+set}" = set; then
16795    echo $ECHO_N "(cached) $ECHO_C" >&6
16796  else
16797  
16798                 cat >conftest.$ac_ext <<_ACEOF
16799 -#line 11394 "configure"
16800 -#include "confdefs.h"
16801 +#line $LINENO "configure"
16802 +/* confdefs.h.  */
16803 +_ACEOF
16804 +cat confdefs.h >>conftest.$ac_ext
16805 +cat >>conftest.$ac_ext <<_ACEOF
16806 +/* end confdefs.h.  */
16807  
16808  #include <sys/types.h>
16809  
16810 @@ -11405,43 +13903,48 @@
16811  }
16812  _ACEOF
16813  rm -f conftest.$ac_objext
16814 -if { (eval echo "$as_me:11408: \"$ac_compile\"") >&5
16815 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16816    (eval $ac_compile) 2>&5
16817    ac_status=$?
16818 -  echo "$as_me:11411: \$? = $ac_status" >&5
16819 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820    (exit $ac_status); } &&
16821           { ac_try='test -s conftest.$ac_objext'
16822 -  { (eval echo "$as_me:11414: \"$ac_try\"") >&5
16823 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824    (eval $ac_try) 2>&5
16825    ac_status=$?
16826 -  echo "$as_me:11417: \$? = $ac_status" >&5
16827 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828    (exit $ac_status); }; }; then
16829     ac_cv_have_uintxx_t="yes"
16830  else
16831    echo "$as_me: failed program was:" >&5
16832 -cat conftest.$ac_ext >&5
16833 +sed 's/^/| /' conftest.$ac_ext >&5
16834 +
16835   ac_cv_have_uintxx_t="no"
16836  
16837  fi
16838  rm -f conftest.$ac_objext conftest.$ac_ext
16839  
16840  fi
16841 -echo "$as_me:11429: result: $ac_cv_have_uintxx_t" >&5
16842 +echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
16843  echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
16844         if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
16845 -               cat >>confdefs.h <<\EOF
16846 +               cat >>confdefs.h <<\_ACEOF
16847  #define HAVE_UINTXX_T 1
16848 -EOF
16849 +_ACEOF
16850  
16851         fi
16852  fi
16853  
16854  if test -z "$have_uintxx_t" ; then
16855 -    echo "$as_me:11440: checking for uintXX_t types in stdint.h" >&5
16856 +    echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
16857  echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
16858         cat >conftest.$ac_ext <<_ACEOF
16859 -#line 11443 "configure"
16860 -#include "confdefs.h"
16861 +#line $LINENO "configure"
16862 +/* confdefs.h.  */
16863 +_ACEOF
16864 +cat confdefs.h >>conftest.$ac_ext
16865 +cat >>conftest.$ac_ext <<_ACEOF
16866 +/* end confdefs.h.  */
16867   #include <stdint.h>
16868  int
16869  main ()
16870 @@ -11452,29 +13955,30 @@
16871  }
16872  _ACEOF
16873  rm -f conftest.$ac_objext
16874 -if { (eval echo "$as_me:11455: \"$ac_compile\"") >&5
16875 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16876    (eval $ac_compile) 2>&5
16877    ac_status=$?
16878 -  echo "$as_me:11458: \$? = $ac_status" >&5
16879 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880    (exit $ac_status); } &&
16881           { ac_try='test -s conftest.$ac_objext'
16882 -  { (eval echo "$as_me:11461: \"$ac_try\"") >&5
16883 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884    (eval $ac_try) 2>&5
16885    ac_status=$?
16886 -  echo "$as_me:11464: \$? = $ac_status" >&5
16887 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888    (exit $ac_status); }; }; then
16889  
16890 -                       cat >>confdefs.h <<\EOF
16891 +                       cat >>confdefs.h <<\_ACEOF
16892  #define HAVE_UINTXX_T 1
16893 -EOF
16894 +_ACEOF
16895  
16896 -                       echo "$as_me:11471: result: yes" >&5
16897 +                       echo "$as_me:$LINENO: result: yes" >&5
16898  echo "${ECHO_T}yes" >&6
16899  
16900  else
16901    echo "$as_me: failed program was:" >&5
16902 -cat conftest.$ac_ext >&5
16903 - echo "$as_me:11477: result: no" >&5
16904 +sed 's/^/| /' conftest.$ac_ext >&5
16905 +
16906 + echo "$as_me:$LINENO: result: no" >&5
16907  echo "${ECHO_T}no" >&6
16908  
16909  fi
16910 @@ -11484,11 +13988,15 @@
16911  if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
16912             test "x$ac_cv_header_sys_bitypes_h" = "xyes")
16913  then
16914 -       echo "$as_me:11487: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
16915 +       echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
16916  echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
16917         cat >conftest.$ac_ext <<_ACEOF
16918 -#line 11490 "configure"
16919 -#include "confdefs.h"
16920 +#line $LINENO "configure"
16921 +/* confdefs.h.  */
16922 +_ACEOF
16923 +cat confdefs.h >>conftest.$ac_ext
16924 +cat >>conftest.$ac_ext <<_ACEOF
16925 +/* end confdefs.h.  */
16926  
16927  #include <sys/bitypes.h>
16928  
16929 @@ -11505,48 +14013,54 @@
16930  }
16931  _ACEOF
16932  rm -f conftest.$ac_objext
16933 -if { (eval echo "$as_me:11508: \"$ac_compile\"") >&5
16934 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935    (eval $ac_compile) 2>&5
16936    ac_status=$?
16937 -  echo "$as_me:11511: \$? = $ac_status" >&5
16938 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939    (exit $ac_status); } &&
16940           { ac_try='test -s conftest.$ac_objext'
16941 -  { (eval echo "$as_me:11514: \"$ac_try\"") >&5
16942 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943    (eval $ac_try) 2>&5
16944    ac_status=$?
16945 -  echo "$as_me:11517: \$? = $ac_status" >&5
16946 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947    (exit $ac_status); }; }; then
16948  
16949 -                       cat >>confdefs.h <<\EOF
16950 +                       cat >>confdefs.h <<\_ACEOF
16951  #define HAVE_U_INTXX_T 1
16952 -EOF
16953 +_ACEOF
16954  
16955 -                       cat >>confdefs.h <<\EOF
16956 +                       cat >>confdefs.h <<\_ACEOF
16957  #define HAVE_INTXX_T 1
16958 -EOF
16959 +_ACEOF
16960  
16961 -                       echo "$as_me:11528: result: yes" >&5
16962 +                       echo "$as_me:$LINENO: result: yes" >&5
16963  echo "${ECHO_T}yes" >&6
16964  
16965  else
16966    echo "$as_me: failed program was:" >&5
16967 -cat conftest.$ac_ext >&5
16968 -echo "$as_me:11534: result: no" >&5
16969 +sed 's/^/| /' conftest.$ac_ext >&5
16970 +
16971 +echo "$as_me:$LINENO: result: no" >&5
16972  echo "${ECHO_T}no" >&6
16973  
16974  fi
16975  rm -f conftest.$ac_objext conftest.$ac_ext
16976  fi
16977  
16978 -echo "$as_me:11541: checking for u_char" >&5
16979 +
16980 +echo "$as_me:$LINENO: checking for u_char" >&5
16981  echo $ECHO_N "checking for u_char... $ECHO_C" >&6
16982  if test "${ac_cv_have_u_char+set}" = set; then
16983    echo $ECHO_N "(cached) $ECHO_C" >&6
16984  else
16985  
16986         cat >conftest.$ac_ext <<_ACEOF
16987 -#line 11548 "configure"
16988 -#include "confdefs.h"
16989 +#line $LINENO "configure"
16990 +/* confdefs.h.  */
16991 +_ACEOF
16992 +cat confdefs.h >>conftest.$ac_ext
16993 +cat >>conftest.$ac_ext <<_ACEOF
16994 +/* end confdefs.h.  */
16995  
16996  #include <sys/types.h>
16997  
16998 @@ -11559,44 +14073,50 @@
16999  }
17000  _ACEOF
17001  rm -f conftest.$ac_objext
17002 -if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5
17003 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17004    (eval $ac_compile) 2>&5
17005    ac_status=$?
17006 -  echo "$as_me:11565: \$? = $ac_status" >&5
17007 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008    (exit $ac_status); } &&
17009           { ac_try='test -s conftest.$ac_objext'
17010 -  { (eval echo "$as_me:11568: \"$ac_try\"") >&5
17011 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012    (eval $ac_try) 2>&5
17013    ac_status=$?
17014 -  echo "$as_me:11571: \$? = $ac_status" >&5
17015 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016    (exit $ac_status); }; }; then
17017     ac_cv_have_u_char="yes"
17018  else
17019    echo "$as_me: failed program was:" >&5
17020 -cat conftest.$ac_ext >&5
17021 +sed 's/^/| /' conftest.$ac_ext >&5
17022 +
17023   ac_cv_have_u_char="no"
17024  
17025  fi
17026  rm -f conftest.$ac_objext conftest.$ac_ext
17027  
17028  fi
17029 -echo "$as_me:11583: result: $ac_cv_have_u_char" >&5
17030 +echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
17031  echo "${ECHO_T}$ac_cv_have_u_char" >&6
17032  if test "x$ac_cv_have_u_char" = "xyes" ; then
17033 -       cat >>confdefs.h <<\EOF
17034 +       cat >>confdefs.h <<\_ACEOF
17035  #define HAVE_U_CHAR 1
17036 -EOF
17037 +_ACEOF
17038  
17039  fi
17040  
17041 -   echo "$as_me:11592: checking for socklen_t" >&5
17042 +
17043 +   echo "$as_me:$LINENO: checking for socklen_t" >&5
17044  echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
17045  if test "${ac_cv_type_socklen_t+set}" = set; then
17046    echo $ECHO_N "(cached) $ECHO_C" >&6
17047  else
17048    cat >conftest.$ac_ext <<_ACEOF
17049 -#line 11598 "configure"
17050 -#include "confdefs.h"
17051 +#line $LINENO "configure"
17052 +/* confdefs.h.  */
17053 +_ACEOF
17054 +cat confdefs.h >>conftest.$ac_ext
17055 +cat >>conftest.$ac_ext <<_ACEOF
17056 +/* end confdefs.h.  */
17057  #include <sys/types.h>
17058  #include <sys/socket.h>
17059  
17060 @@ -11612,32 +14132,33 @@
17061  }
17062  _ACEOF
17063  rm -f conftest.$ac_objext
17064 -if { (eval echo "$as_me:11615: \"$ac_compile\"") >&5
17065 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17066    (eval $ac_compile) 2>&5
17067    ac_status=$?
17068 -  echo "$as_me:11618: \$? = $ac_status" >&5
17069 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070    (exit $ac_status); } &&
17071           { ac_try='test -s conftest.$ac_objext'
17072 -  { (eval echo "$as_me:11621: \"$ac_try\"") >&5
17073 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074    (eval $ac_try) 2>&5
17075    ac_status=$?
17076 -  echo "$as_me:11624: \$? = $ac_status" >&5
17077 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078    (exit $ac_status); }; }; then
17079    ac_cv_type_socklen_t=yes
17080  else
17081    echo "$as_me: failed program was:" >&5
17082 -cat conftest.$ac_ext >&5
17083 +sed 's/^/| /' conftest.$ac_ext >&5
17084 +
17085  ac_cv_type_socklen_t=no
17086  fi
17087  rm -f conftest.$ac_objext conftest.$ac_ext
17088  fi
17089 -echo "$as_me:11634: result: $ac_cv_type_socklen_t" >&5
17090 +echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
17091  echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
17092  if test $ac_cv_type_socklen_t = yes; then
17093    :
17094  else
17095  
17096 -      echo "$as_me:11640: checking for socklen_t equivalent" >&5
17097 +      echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
17098  echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
17099        if test "${curl_cv_socklen_t_equiv+set}" = set; then
17100    echo $ECHO_N "(cached) $ECHO_C" >&6
17101 @@ -11649,8 +14170,12 @@
17102          for arg2 in "struct sockaddr" void; do
17103             for t in int size_t unsigned long "unsigned long"; do
17104                cat >conftest.$ac_ext <<_ACEOF
17105 -#line 11652 "configure"
17106 -#include "confdefs.h"
17107 +#line $LINENO "configure"
17108 +/* confdefs.h.  */
17109 +_ACEOF
17110 +cat confdefs.h >>conftest.$ac_ext
17111 +cat >>conftest.$ac_ext <<_ACEOF
17112 +/* end confdefs.h.  */
17113  
17114                   #include <sys/types.h>
17115                   #include <sys/socket.h>
17116 @@ -11669,16 +14194,16 @@
17117  }
17118  _ACEOF
17119  rm -f conftest.$ac_objext
17120 -if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5
17121 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17122    (eval $ac_compile) 2>&5
17123    ac_status=$?
17124 -  echo "$as_me:11675: \$? = $ac_status" >&5
17125 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126    (exit $ac_status); } &&
17127           { ac_try='test -s conftest.$ac_objext'
17128 -  { (eval echo "$as_me:11678: \"$ac_try\"") >&5
17129 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130    (eval $ac_try) 2>&5
17131    ac_status=$?
17132 -  echo "$as_me:11681: \$? = $ac_status" >&5
17133 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134    (exit $ac_status); }; }; then
17135  
17136                   curl_cv_socklen_t_equiv="$t"
17137 @@ -11686,37 +14211,44 @@
17138  
17139  else
17140    echo "$as_me: failed program was:" >&5
17141 -cat conftest.$ac_ext >&5
17142 +sed 's/^/| /' conftest.$ac_ext >&5
17143 +
17144  fi
17145  rm -f conftest.$ac_objext conftest.$ac_ext
17146             done
17147          done
17148  
17149          if test "x$curl_cv_socklen_t_equiv" = x; then
17150 -           { { echo "$as_me:11696: error: Cannot find a type to use in place of socklen_t" >&5
17151 +           { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
17152  echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
17153     { (exit 1); exit 1; }; }
17154          fi
17155  
17156  fi
17157  
17158 -      echo "$as_me:11703: result: $curl_cv_socklen_t_equiv" >&5
17159 +      echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
17160  echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
17161  
17162 -cat >>confdefs.h <<EOF
17163 +cat >>confdefs.h <<_ACEOF
17164  #define socklen_t $curl_cv_socklen_t_equiv
17165 -EOF
17166 +_ACEOF
17167  
17168  fi
17169  
17170 -echo "$as_me:11712: checking for sig_atomic_t" >&5
17171 +
17172 +
17173 +echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
17174  echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
17175  if test "${ac_cv_type_sig_atomic_t+set}" = set; then
17176    echo $ECHO_N "(cached) $ECHO_C" >&6
17177  else
17178    cat >conftest.$ac_ext <<_ACEOF
17179 -#line 11718 "configure"
17180 -#include "confdefs.h"
17181 +#line $LINENO "configure"
17182 +/* confdefs.h.  */
17183 +_ACEOF
17184 +cat confdefs.h >>conftest.$ac_ext
17185 +cat >>conftest.$ac_ext <<_ACEOF
17186 +/* end confdefs.h.  */
17187  #include <signal.h>
17188  
17189  int
17190 @@ -11731,44 +14263,51 @@
17191  }
17192  _ACEOF
17193  rm -f conftest.$ac_objext
17194 -if { (eval echo "$as_me:11734: \"$ac_compile\"") >&5
17195 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196    (eval $ac_compile) 2>&5
17197    ac_status=$?
17198 -  echo "$as_me:11737: \$? = $ac_status" >&5
17199 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200    (exit $ac_status); } &&
17201           { ac_try='test -s conftest.$ac_objext'
17202 -  { (eval echo "$as_me:11740: \"$ac_try\"") >&5
17203 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204    (eval $ac_try) 2>&5
17205    ac_status=$?
17206 -  echo "$as_me:11743: \$? = $ac_status" >&5
17207 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208    (exit $ac_status); }; }; then
17209    ac_cv_type_sig_atomic_t=yes
17210  else
17211    echo "$as_me: failed program was:" >&5
17212 -cat conftest.$ac_ext >&5
17213 +sed 's/^/| /' conftest.$ac_ext >&5
17214 +
17215  ac_cv_type_sig_atomic_t=no
17216  fi
17217  rm -f conftest.$ac_objext conftest.$ac_ext
17218  fi
17219 -echo "$as_me:11753: result: $ac_cv_type_sig_atomic_t" >&5
17220 +echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
17221  echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
17222  if test $ac_cv_type_sig_atomic_t = yes; then
17223  
17224 -cat >>confdefs.h <<EOF
17225 +cat >>confdefs.h <<_ACEOF
17226  #define HAVE_SIG_ATOMIC_T 1
17227 -EOF
17228 +_ACEOF
17229 +
17230  
17231  fi
17232  
17233 -echo "$as_me:11763: checking for size_t" >&5
17234 +
17235 +echo "$as_me:$LINENO: checking for size_t" >&5
17236  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17237  if test "${ac_cv_have_size_t+set}" = set; then
17238    echo $ECHO_N "(cached) $ECHO_C" >&6
17239  else
17240  
17241         cat >conftest.$ac_ext <<_ACEOF
17242 -#line 11770 "configure"
17243 -#include "confdefs.h"
17244 +#line $LINENO "configure"
17245 +/* confdefs.h.  */
17246 +_ACEOF
17247 +cat confdefs.h >>conftest.$ac_ext
17248 +cat >>conftest.$ac_ext <<_ACEOF
17249 +/* end confdefs.h.  */
17250  
17251  #include <sys/types.h>
17252  
17253 @@ -11781,45 +14320,50 @@
17254  }
17255  _ACEOF
17256  rm -f conftest.$ac_objext
17257 -if { (eval echo "$as_me:11784: \"$ac_compile\"") >&5
17258 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17259    (eval $ac_compile) 2>&5
17260    ac_status=$?
17261 -  echo "$as_me:11787: \$? = $ac_status" >&5
17262 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263    (exit $ac_status); } &&
17264           { ac_try='test -s conftest.$ac_objext'
17265 -  { (eval echo "$as_me:11790: \"$ac_try\"") >&5
17266 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267    (eval $ac_try) 2>&5
17268    ac_status=$?
17269 -  echo "$as_me:11793: \$? = $ac_status" >&5
17270 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271    (exit $ac_status); }; }; then
17272     ac_cv_have_size_t="yes"
17273  else
17274    echo "$as_me: failed program was:" >&5
17275 -cat conftest.$ac_ext >&5
17276 +sed 's/^/| /' conftest.$ac_ext >&5
17277 +
17278   ac_cv_have_size_t="no"
17279  
17280  fi
17281  rm -f conftest.$ac_objext conftest.$ac_ext
17282  
17283  fi
17284 -echo "$as_me:11805: result: $ac_cv_have_size_t" >&5
17285 +echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
17286  echo "${ECHO_T}$ac_cv_have_size_t" >&6
17287  if test "x$ac_cv_have_size_t" = "xyes" ; then
17288 -       cat >>confdefs.h <<\EOF
17289 +       cat >>confdefs.h <<\_ACEOF
17290  #define HAVE_SIZE_T 1
17291 -EOF
17292 +_ACEOF
17293  
17294  fi
17295  
17296 -echo "$as_me:11814: checking for ssize_t" >&5
17297 +echo "$as_me:$LINENO: checking for ssize_t" >&5
17298  echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17299  if test "${ac_cv_have_ssize_t+set}" = set; then
17300    echo $ECHO_N "(cached) $ECHO_C" >&6
17301  else
17302  
17303         cat >conftest.$ac_ext <<_ACEOF
17304 -#line 11821 "configure"
17305 -#include "confdefs.h"
17306 +#line $LINENO "configure"
17307 +/* confdefs.h.  */
17308 +_ACEOF
17309 +cat confdefs.h >>conftest.$ac_ext
17310 +cat >>conftest.$ac_ext <<_ACEOF
17311 +/* end confdefs.h.  */
17312  
17313  #include <sys/types.h>
17314  
17315 @@ -11832,45 +14376,50 @@
17316  }
17317  _ACEOF
17318  rm -f conftest.$ac_objext
17319 -if { (eval echo "$as_me:11835: \"$ac_compile\"") >&5
17320 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17321    (eval $ac_compile) 2>&5
17322    ac_status=$?
17323 -  echo "$as_me:11838: \$? = $ac_status" >&5
17324 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325    (exit $ac_status); } &&
17326           { ac_try='test -s conftest.$ac_objext'
17327 -  { (eval echo "$as_me:11841: \"$ac_try\"") >&5
17328 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329    (eval $ac_try) 2>&5
17330    ac_status=$?
17331 -  echo "$as_me:11844: \$? = $ac_status" >&5
17332 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333    (exit $ac_status); }; }; then
17334     ac_cv_have_ssize_t="yes"
17335  else
17336    echo "$as_me: failed program was:" >&5
17337 -cat conftest.$ac_ext >&5
17338 +sed 's/^/| /' conftest.$ac_ext >&5
17339 +
17340   ac_cv_have_ssize_t="no"
17341  
17342  fi
17343  rm -f conftest.$ac_objext conftest.$ac_ext
17344  
17345  fi
17346 -echo "$as_me:11856: result: $ac_cv_have_ssize_t" >&5
17347 +echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
17348  echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
17349  if test "x$ac_cv_have_ssize_t" = "xyes" ; then
17350 -       cat >>confdefs.h <<\EOF
17351 +       cat >>confdefs.h <<\_ACEOF
17352  #define HAVE_SSIZE_T 1
17353 -EOF
17354 +_ACEOF
17355  
17356  fi
17357  
17358 -echo "$as_me:11865: checking for clock_t" >&5
17359 +echo "$as_me:$LINENO: checking for clock_t" >&5
17360  echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
17361  if test "${ac_cv_have_clock_t+set}" = set; then
17362    echo $ECHO_N "(cached) $ECHO_C" >&6
17363  else
17364  
17365         cat >conftest.$ac_ext <<_ACEOF
17366 -#line 11872 "configure"
17367 -#include "confdefs.h"
17368 +#line $LINENO "configure"
17369 +/* confdefs.h.  */
17370 +_ACEOF
17371 +cat confdefs.h >>conftest.$ac_ext
17372 +cat >>conftest.$ac_ext <<_ACEOF
17373 +/* end confdefs.h.  */
17374  
17375  #include <time.h>
17376  
17377 @@ -11883,45 +14432,50 @@
17378  }
17379  _ACEOF
17380  rm -f conftest.$ac_objext
17381 -if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5
17382 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17383    (eval $ac_compile) 2>&5
17384    ac_status=$?
17385 -  echo "$as_me:11889: \$? = $ac_status" >&5
17386 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387    (exit $ac_status); } &&
17388           { ac_try='test -s conftest.$ac_objext'
17389 -  { (eval echo "$as_me:11892: \"$ac_try\"") >&5
17390 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391    (eval $ac_try) 2>&5
17392    ac_status=$?
17393 -  echo "$as_me:11895: \$? = $ac_status" >&5
17394 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395    (exit $ac_status); }; }; then
17396     ac_cv_have_clock_t="yes"
17397  else
17398    echo "$as_me: failed program was:" >&5
17399 -cat conftest.$ac_ext >&5
17400 +sed 's/^/| /' conftest.$ac_ext >&5
17401 +
17402   ac_cv_have_clock_t="no"
17403  
17404  fi
17405  rm -f conftest.$ac_objext conftest.$ac_ext
17406  
17407  fi
17408 -echo "$as_me:11907: result: $ac_cv_have_clock_t" >&5
17409 +echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
17410  echo "${ECHO_T}$ac_cv_have_clock_t" >&6
17411  if test "x$ac_cv_have_clock_t" = "xyes" ; then
17412 -       cat >>confdefs.h <<\EOF
17413 +       cat >>confdefs.h <<\_ACEOF
17414  #define HAVE_CLOCK_T 1
17415 -EOF
17416 +_ACEOF
17417  
17418  fi
17419  
17420 -echo "$as_me:11916: checking for sa_family_t" >&5
17421 +echo "$as_me:$LINENO: checking for sa_family_t" >&5
17422  echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
17423  if test "${ac_cv_have_sa_family_t+set}" = set; then
17424    echo $ECHO_N "(cached) $ECHO_C" >&6
17425  else
17426  
17427         cat >conftest.$ac_ext <<_ACEOF
17428 -#line 11923 "configure"
17429 -#include "confdefs.h"
17430 +#line $LINENO "configure"
17431 +/* confdefs.h.  */
17432 +_ACEOF
17433 +cat confdefs.h >>conftest.$ac_ext
17434 +cat >>conftest.$ac_ext <<_ACEOF
17435 +/* end confdefs.h.  */
17436  
17437  #include <sys/types.h>
17438  #include <sys/socket.h>
17439 @@ -11935,24 +14489,29 @@
17440  }
17441  _ACEOF
17442  rm -f conftest.$ac_objext
17443 -if { (eval echo "$as_me:11938: \"$ac_compile\"") >&5
17444 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17445    (eval $ac_compile) 2>&5
17446    ac_status=$?
17447 -  echo "$as_me:11941: \$? = $ac_status" >&5
17448 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449    (exit $ac_status); } &&
17450           { ac_try='test -s conftest.$ac_objext'
17451 -  { (eval echo "$as_me:11944: \"$ac_try\"") >&5
17452 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17453    (eval $ac_try) 2>&5
17454    ac_status=$?
17455 -  echo "$as_me:11947: \$? = $ac_status" >&5
17456 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457    (exit $ac_status); }; }; then
17458     ac_cv_have_sa_family_t="yes"
17459  else
17460    echo "$as_me: failed program was:" >&5
17461 -cat conftest.$ac_ext >&5
17462 - cat >conftest.$ac_ext <<_ACEOF
17463 -#line 11954 "configure"
17464 -#include "confdefs.h"
17465 +sed 's/^/| /' conftest.$ac_ext >&5
17466 +
17467 + _au_changequote(,)cat >conftest.$ac_ext <<_ACEOF
17468 +#line $LINENO "configure"
17469 +/* confdefs.h.  */
17470 +_ACEOF
17471 +cat confdefs.h >>conftest.$ac_ext
17472 +cat >>conftest.$ac_ext <<_ACEOF
17473 +/* end confdefs.h.  */
17474  
17475  #include <sys/types.h>
17476  #include <sys/socket.h>
17477 @@ -11967,21 +14526,22 @@
17478  }
17479  _ACEOF
17480  rm -f conftest.$ac_objext
17481 -if { (eval echo "$as_me:11970: \"$ac_compile\"") >&5
17482 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483    (eval $ac_compile) 2>&5
17484    ac_status=$?
17485 -  echo "$as_me:11973: \$? = $ac_status" >&5
17486 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487    (exit $ac_status); } &&
17488           { ac_try='test -s conftest.$ac_objext'
17489 -  { (eval echo "$as_me:11976: \"$ac_try\"") >&5
17490 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17491    (eval $ac_try) 2>&5
17492    ac_status=$?
17493 -  echo "$as_me:11979: \$? = $ac_status" >&5
17494 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495    (exit $ac_status); }; }; then
17496     ac_cv_have_sa_family_t="yes"
17497  else
17498    echo "$as_me: failed program was:" >&5
17499 -cat conftest.$ac_ext >&5
17500 +sed 's/^/| /' conftest.$ac_ext >&5
17501 +
17502   ac_cv_have_sa_family_t="no"
17503  
17504  fi
17505 @@ -11991,24 +14551,28 @@
17506  rm -f conftest.$ac_objext conftest.$ac_ext
17507  
17508  fi
17509 -echo "$as_me:11994: result: $ac_cv_have_sa_family_t" >&5
17510 +echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
17511  echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
17512  if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
17513 -       cat >>confdefs.h <<\EOF
17514 +       cat >>confdefs.h <<\_ACEOF
17515  #define HAVE_SA_FAMILY_T 1
17516 -EOF
17517 +_ACEOF
17518  
17519  fi
17520  
17521 -echo "$as_me:12003: checking for pid_t" >&5
17522 +echo "$as_me:$LINENO: checking for pid_t" >&5
17523  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17524  if test "${ac_cv_have_pid_t+set}" = set; then
17525    echo $ECHO_N "(cached) $ECHO_C" >&6
17526  else
17527  
17528         cat >conftest.$ac_ext <<_ACEOF
17529 -#line 12010 "configure"
17530 -#include "confdefs.h"
17531 +#line $LINENO "configure"
17532 +/* confdefs.h.  */
17533 +_ACEOF
17534 +cat confdefs.h >>conftest.$ac_ext
17535 +cat >>conftest.$ac_ext <<_ACEOF
17536 +/* end confdefs.h.  */
17537  
17538  #include <sys/types.h>
17539  
17540 @@ -12021,45 +14585,50 @@
17541  }
17542  _ACEOF
17543  rm -f conftest.$ac_objext
17544 -if { (eval echo "$as_me:12024: \"$ac_compile\"") >&5
17545 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17546    (eval $ac_compile) 2>&5
17547    ac_status=$?
17548 -  echo "$as_me:12027: \$? = $ac_status" >&5
17549 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550    (exit $ac_status); } &&
17551           { ac_try='test -s conftest.$ac_objext'
17552 -  { (eval echo "$as_me:12030: \"$ac_try\"") >&5
17553 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554    (eval $ac_try) 2>&5
17555    ac_status=$?
17556 -  echo "$as_me:12033: \$? = $ac_status" >&5
17557 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558    (exit $ac_status); }; }; then
17559     ac_cv_have_pid_t="yes"
17560  else
17561    echo "$as_me: failed program was:" >&5
17562 -cat conftest.$ac_ext >&5
17563 +sed 's/^/| /' conftest.$ac_ext >&5
17564 +
17565   ac_cv_have_pid_t="no"
17566  
17567  fi
17568  rm -f conftest.$ac_objext conftest.$ac_ext
17569  
17570  fi
17571 -echo "$as_me:12045: result: $ac_cv_have_pid_t" >&5
17572 +echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
17573  echo "${ECHO_T}$ac_cv_have_pid_t" >&6
17574  if test "x$ac_cv_have_pid_t" = "xyes" ; then
17575 -       cat >>confdefs.h <<\EOF
17576 +       cat >>confdefs.h <<\_ACEOF
17577  #define HAVE_PID_T 1
17578 -EOF
17579 +_ACEOF
17580  
17581  fi
17582  
17583 -echo "$as_me:12054: checking for mode_t" >&5
17584 +echo "$as_me:$LINENO: checking for mode_t" >&5
17585  echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17586  if test "${ac_cv_have_mode_t+set}" = set; then
17587    echo $ECHO_N "(cached) $ECHO_C" >&6
17588  else
17589  
17590         cat >conftest.$ac_ext <<_ACEOF
17591 -#line 12061 "configure"
17592 -#include "confdefs.h"
17593 +#line $LINENO "configure"
17594 +/* confdefs.h.  */
17595 +_ACEOF
17596 +cat confdefs.h >>conftest.$ac_ext
17597 +cat >>conftest.$ac_ext <<_ACEOF
17598 +/* end confdefs.h.  */
17599  
17600  #include <sys/types.h>
17601  
17602 @@ -12072,45 +14641,51 @@
17603  }
17604  _ACEOF
17605  rm -f conftest.$ac_objext
17606 -if { (eval echo "$as_me:12075: \"$ac_compile\"") >&5
17607 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17608    (eval $ac_compile) 2>&5
17609    ac_status=$?
17610 -  echo "$as_me:12078: \$? = $ac_status" >&5
17611 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612    (exit $ac_status); } &&
17613           { ac_try='test -s conftest.$ac_objext'
17614 -  { (eval echo "$as_me:12081: \"$ac_try\"") >&5
17615 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616    (eval $ac_try) 2>&5
17617    ac_status=$?
17618 -  echo "$as_me:12084: \$? = $ac_status" >&5
17619 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620    (exit $ac_status); }; }; then
17621     ac_cv_have_mode_t="yes"
17622  else
17623    echo "$as_me: failed program was:" >&5
17624 -cat conftest.$ac_ext >&5
17625 +sed 's/^/| /' conftest.$ac_ext >&5
17626 +
17627   ac_cv_have_mode_t="no"
17628  
17629  fi
17630  rm -f conftest.$ac_objext conftest.$ac_ext
17631  
17632  fi
17633 -echo "$as_me:12096: result: $ac_cv_have_mode_t" >&5
17634 +echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
17635  echo "${ECHO_T}$ac_cv_have_mode_t" >&6
17636  if test "x$ac_cv_have_mode_t" = "xyes" ; then
17637 -       cat >>confdefs.h <<\EOF
17638 +       cat >>confdefs.h <<\_ACEOF
17639  #define HAVE_MODE_T 1
17640 -EOF
17641 +_ACEOF
17642  
17643  fi
17644  
17645 -echo "$as_me:12105: checking for struct sockaddr_storage" >&5
17646 +
17647 +echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
17648  echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
17649  if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
17650    echo $ECHO_N "(cached) $ECHO_C" >&6
17651  else
17652  
17653         cat >conftest.$ac_ext <<_ACEOF
17654 -#line 12112 "configure"
17655 -#include "confdefs.h"
17656 +#line $LINENO "configure"
17657 +/* confdefs.h.  */
17658 +_ACEOF
17659 +cat confdefs.h >>conftest.$ac_ext
17660 +cat >>conftest.$ac_ext <<_ACEOF
17661 +/* end confdefs.h.  */
17662  
17663  #include <sys/types.h>
17664  #include <sys/socket.h>
17665 @@ -12124,45 +14699,50 @@
17666  }
17667  _ACEOF
17668  rm -f conftest.$ac_objext
17669 -if { (eval echo "$as_me:12127: \"$ac_compile\"") >&5
17670 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671    (eval $ac_compile) 2>&5
17672    ac_status=$?
17673 -  echo "$as_me:12130: \$? = $ac_status" >&5
17674 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675    (exit $ac_status); } &&
17676           { ac_try='test -s conftest.$ac_objext'
17677 -  { (eval echo "$as_me:12133: \"$ac_try\"") >&5
17678 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679    (eval $ac_try) 2>&5
17680    ac_status=$?
17681 -  echo "$as_me:12136: \$? = $ac_status" >&5
17682 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683    (exit $ac_status); }; }; then
17684     ac_cv_have_struct_sockaddr_storage="yes"
17685  else
17686    echo "$as_me: failed program was:" >&5
17687 -cat conftest.$ac_ext >&5
17688 +sed 's/^/| /' conftest.$ac_ext >&5
17689 +
17690   ac_cv_have_struct_sockaddr_storage="no"
17691  
17692  fi
17693  rm -f conftest.$ac_objext conftest.$ac_ext
17694  
17695  fi
17696 -echo "$as_me:12148: result: $ac_cv_have_struct_sockaddr_storage" >&5
17697 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
17698  echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
17699  if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
17700 -       cat >>confdefs.h <<\EOF
17701 +       cat >>confdefs.h <<\_ACEOF
17702  #define HAVE_STRUCT_SOCKADDR_STORAGE 1
17703 -EOF
17704 +_ACEOF
17705  
17706  fi
17707  
17708 -echo "$as_me:12157: checking for struct sockaddr_in6" >&5
17709 +echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
17710  echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
17711  if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
17712    echo $ECHO_N "(cached) $ECHO_C" >&6
17713  else
17714  
17715         cat >conftest.$ac_ext <<_ACEOF
17716 -#line 12164 "configure"
17717 -#include "confdefs.h"
17718 +#line $LINENO "configure"
17719 +/* confdefs.h.  */
17720 +_ACEOF
17721 +cat confdefs.h >>conftest.$ac_ext
17722 +cat >>conftest.$ac_ext <<_ACEOF
17723 +/* end confdefs.h.  */
17724  
17725  #include <sys/types.h>
17726  #include <netinet/in.h>
17727 @@ -12176,45 +14756,50 @@
17728  }
17729  _ACEOF
17730  rm -f conftest.$ac_objext
17731 -if { (eval echo "$as_me:12179: \"$ac_compile\"") >&5
17732 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17733    (eval $ac_compile) 2>&5
17734    ac_status=$?
17735 -  echo "$as_me:12182: \$? = $ac_status" >&5
17736 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737    (exit $ac_status); } &&
17738           { ac_try='test -s conftest.$ac_objext'
17739 -  { (eval echo "$as_me:12185: \"$ac_try\"") >&5
17740 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741    (eval $ac_try) 2>&5
17742    ac_status=$?
17743 -  echo "$as_me:12188: \$? = $ac_status" >&5
17744 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745    (exit $ac_status); }; }; then
17746     ac_cv_have_struct_sockaddr_in6="yes"
17747  else
17748    echo "$as_me: failed program was:" >&5
17749 -cat conftest.$ac_ext >&5
17750 +sed 's/^/| /' conftest.$ac_ext >&5
17751 +
17752   ac_cv_have_struct_sockaddr_in6="no"
17753  
17754  fi
17755  rm -f conftest.$ac_objext conftest.$ac_ext
17756  
17757  fi
17758 -echo "$as_me:12200: result: $ac_cv_have_struct_sockaddr_in6" >&5
17759 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
17760  echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
17761  if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
17762 -       cat >>confdefs.h <<\EOF
17763 +       cat >>confdefs.h <<\_ACEOF
17764  #define HAVE_STRUCT_SOCKADDR_IN6 1
17765 -EOF
17766 +_ACEOF
17767  
17768  fi
17769  
17770 -echo "$as_me:12209: checking for struct in6_addr" >&5
17771 +echo "$as_me:$LINENO: checking for struct in6_addr" >&5
17772  echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
17773  if test "${ac_cv_have_struct_in6_addr+set}" = set; then
17774    echo $ECHO_N "(cached) $ECHO_C" >&6
17775  else
17776  
17777         cat >conftest.$ac_ext <<_ACEOF
17778 -#line 12216 "configure"
17779 -#include "confdefs.h"
17780 +#line $LINENO "configure"
17781 +/* confdefs.h.  */
17782 +_ACEOF
17783 +cat confdefs.h >>conftest.$ac_ext
17784 +cat >>conftest.$ac_ext <<_ACEOF
17785 +/* end confdefs.h.  */
17786  
17787  #include <sys/types.h>
17788  #include <netinet/in.h>
17789 @@ -12228,45 +14813,50 @@
17790  }
17791  _ACEOF
17792  rm -f conftest.$ac_objext
17793 -if { (eval echo "$as_me:12231: \"$ac_compile\"") >&5
17794 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795    (eval $ac_compile) 2>&5
17796    ac_status=$?
17797 -  echo "$as_me:12234: \$? = $ac_status" >&5
17798 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799    (exit $ac_status); } &&
17800           { ac_try='test -s conftest.$ac_objext'
17801 -  { (eval echo "$as_me:12237: \"$ac_try\"") >&5
17802 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17803    (eval $ac_try) 2>&5
17804    ac_status=$?
17805 -  echo "$as_me:12240: \$? = $ac_status" >&5
17806 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807    (exit $ac_status); }; }; then
17808     ac_cv_have_struct_in6_addr="yes"
17809  else
17810    echo "$as_me: failed program was:" >&5
17811 -cat conftest.$ac_ext >&5
17812 +sed 's/^/| /' conftest.$ac_ext >&5
17813 +
17814   ac_cv_have_struct_in6_addr="no"
17815  
17816  fi
17817  rm -f conftest.$ac_objext conftest.$ac_ext
17818  
17819  fi
17820 -echo "$as_me:12252: result: $ac_cv_have_struct_in6_addr" >&5
17821 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
17822  echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
17823  if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
17824 -       cat >>confdefs.h <<\EOF
17825 +       cat >>confdefs.h <<\_ACEOF
17826  #define HAVE_STRUCT_IN6_ADDR 1
17827 -EOF
17828 +_ACEOF
17829  
17830  fi
17831  
17832 -echo "$as_me:12261: checking for struct addrinfo" >&5
17833 +echo "$as_me:$LINENO: checking for struct addrinfo" >&5
17834  echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
17835  if test "${ac_cv_have_struct_addrinfo+set}" = set; then
17836    echo $ECHO_N "(cached) $ECHO_C" >&6
17837  else
17838  
17839         cat >conftest.$ac_ext <<_ACEOF
17840 -#line 12268 "configure"
17841 -#include "confdefs.h"
17842 +#line $LINENO "configure"
17843 +/* confdefs.h.  */
17844 +_ACEOF
17845 +cat confdefs.h >>conftest.$ac_ext
17846 +cat >>conftest.$ac_ext <<_ACEOF
17847 +/* end confdefs.h.  */
17848  
17849  #include <sys/types.h>
17850  #include <sys/socket.h>
17851 @@ -12281,45 +14871,50 @@
17852  }
17853  _ACEOF
17854  rm -f conftest.$ac_objext
17855 -if { (eval echo "$as_me:12284: \"$ac_compile\"") >&5
17856 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857    (eval $ac_compile) 2>&5
17858    ac_status=$?
17859 -  echo "$as_me:12287: \$? = $ac_status" >&5
17860 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861    (exit $ac_status); } &&
17862           { ac_try='test -s conftest.$ac_objext'
17863 -  { (eval echo "$as_me:12290: \"$ac_try\"") >&5
17864 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865    (eval $ac_try) 2>&5
17866    ac_status=$?
17867 -  echo "$as_me:12293: \$? = $ac_status" >&5
17868 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869    (exit $ac_status); }; }; then
17870     ac_cv_have_struct_addrinfo="yes"
17871  else
17872    echo "$as_me: failed program was:" >&5
17873 -cat conftest.$ac_ext >&5
17874 +sed 's/^/| /' conftest.$ac_ext >&5
17875 +
17876   ac_cv_have_struct_addrinfo="no"
17877  
17878  fi
17879  rm -f conftest.$ac_objext conftest.$ac_ext
17880  
17881  fi
17882 -echo "$as_me:12305: result: $ac_cv_have_struct_addrinfo" >&5
17883 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
17884  echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
17885  if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
17886 -       cat >>confdefs.h <<\EOF
17887 +       cat >>confdefs.h <<\_ACEOF
17888  #define HAVE_STRUCT_ADDRINFO 1
17889 -EOF
17890 +_ACEOF
17891  
17892  fi
17893  
17894 -echo "$as_me:12314: checking for struct timeval" >&5
17895 +echo "$as_me:$LINENO: checking for struct timeval" >&5
17896  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
17897  if test "${ac_cv_have_struct_timeval+set}" = set; then
17898    echo $ECHO_N "(cached) $ECHO_C" >&6
17899  else
17900  
17901         cat >conftest.$ac_ext <<_ACEOF
17902 -#line 12321 "configure"
17903 -#include "confdefs.h"
17904 +#line $LINENO "configure"
17905 +/* confdefs.h.  */
17906 +_ACEOF
17907 +cat confdefs.h >>conftest.$ac_ext
17908 +cat >>conftest.$ac_ext <<_ACEOF
17909 +/* end confdefs.h.  */
17910   #include <sys/time.h>
17911  int
17912  main ()
17913 @@ -12330,45 +14925,50 @@
17914  }
17915  _ACEOF
17916  rm -f conftest.$ac_objext
17917 -if { (eval echo "$as_me:12333: \"$ac_compile\"") >&5
17918 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919    (eval $ac_compile) 2>&5
17920    ac_status=$?
17921 -  echo "$as_me:12336: \$? = $ac_status" >&5
17922 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923    (exit $ac_status); } &&
17924           { ac_try='test -s conftest.$ac_objext'
17925 -  { (eval echo "$as_me:12339: \"$ac_try\"") >&5
17926 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927    (eval $ac_try) 2>&5
17928    ac_status=$?
17929 -  echo "$as_me:12342: \$? = $ac_status" >&5
17930 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931    (exit $ac_status); }; }; then
17932     ac_cv_have_struct_timeval="yes"
17933  else
17934    echo "$as_me: failed program was:" >&5
17935 -cat conftest.$ac_ext >&5
17936 +sed 's/^/| /' conftest.$ac_ext >&5
17937 +
17938   ac_cv_have_struct_timeval="no"
17939  
17940  fi
17941  rm -f conftest.$ac_objext conftest.$ac_ext
17942  
17943  fi
17944 -echo "$as_me:12354: result: $ac_cv_have_struct_timeval" >&5
17945 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
17946  echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
17947  if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
17948 -       cat >>confdefs.h <<\EOF
17949 +       cat >>confdefs.h <<\_ACEOF
17950  #define HAVE_STRUCT_TIMEVAL 1
17951 -EOF
17952 +_ACEOF
17953  
17954         have_struct_timeval=1
17955  fi
17956  
17957 -echo "$as_me:12364: checking for struct timespec" >&5
17958 +echo "$as_me:$LINENO: checking for struct timespec" >&5
17959  echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
17960  if test "${ac_cv_type_struct_timespec+set}" = set; then
17961    echo $ECHO_N "(cached) $ECHO_C" >&6
17962  else
17963    cat >conftest.$ac_ext <<_ACEOF
17964 -#line 12370 "configure"
17965 -#include "confdefs.h"
17966 +#line $LINENO "configure"
17967 +/* confdefs.h.  */
17968 +_ACEOF
17969 +cat confdefs.h >>conftest.$ac_ext
17970 +cat >>conftest.$ac_ext <<_ACEOF
17971 +/* end confdefs.h.  */
17972  $ac_includes_default
17973  int
17974  main ()
17975 @@ -12382,35 +14982,38 @@
17976  }
17977  _ACEOF
17978  rm -f conftest.$ac_objext
17979 -if { (eval echo "$as_me:12385: \"$ac_compile\"") >&5
17980 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981    (eval $ac_compile) 2>&5
17982    ac_status=$?
17983 -  echo "$as_me:12388: \$? = $ac_status" >&5
17984 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985    (exit $ac_status); } &&
17986           { ac_try='test -s conftest.$ac_objext'
17987 -  { (eval echo "$as_me:12391: \"$ac_try\"") >&5
17988 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989    (eval $ac_try) 2>&5
17990    ac_status=$?
17991 -  echo "$as_me:12394: \$? = $ac_status" >&5
17992 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993    (exit $ac_status); }; }; then
17994    ac_cv_type_struct_timespec=yes
17995  else
17996    echo "$as_me: failed program was:" >&5
17997 -cat conftest.$ac_ext >&5
17998 +sed 's/^/| /' conftest.$ac_ext >&5
17999 +
18000  ac_cv_type_struct_timespec=no
18001  fi
18002  rm -f conftest.$ac_objext conftest.$ac_ext
18003  fi
18004 -echo "$as_me:12404: result: $ac_cv_type_struct_timespec" >&5
18005 +echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
18006  echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
18007  if test $ac_cv_type_struct_timespec = yes; then
18008  
18009 -cat >>confdefs.h <<EOF
18010 +cat >>confdefs.h <<_ACEOF
18011  #define HAVE_STRUCT_TIMESPEC 1
18012 -EOF
18013 +_ACEOF
18014 +
18015  
18016  fi
18017  
18018 +
18019  # We need int64_t or else certian parts of the compile will fail.
18020  if test "x$ac_cv_have_int64_t" = "xno" -a \
18021         "x$ac_cv_sizeof_long_int" != "x8" -a \
18022 @@ -12420,81 +15023,113 @@
18023         echo ""
18024         exit 1;
18025  else
18026 -       if test "$cross_compiling" = yes; then
18027 -  { { echo "$as_me:12424: error: cannot run test program while cross compiling" >&5
18028 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
18029 +       if test "x$ac_cv_have_broken_snprintf" != "xyes" ; then
18030 +#              no need to test again if we already know its broken :)
18031 +               echo "$as_me:$LINENO: checking whether snprintf is broken" >&5
18032 +echo $ECHO_N "checking whether snprintf is broken... $ECHO_C" >&6
18033 +if test "${ac_cv_have_broken_snprintf+set}" = set; then
18034 +  echo $ECHO_N "(cached) $ECHO_C" >&6
18035 +else
18036 +
18037 +                       if test "$cross_compiling" = yes; then
18038 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18039 +See \`config.log' for more details." >&5
18040 +echo "$as_me: error: cannot run test program while cross compiling
18041 +See \`config.log' for more details." >&2;}
18042     { (exit 1); exit 1; }; }
18043  else
18044    cat >conftest.$ac_ext <<_ACEOF
18045 -#line 12429 "configure"
18046 -#include "confdefs.h"
18047 +#line $LINENO "configure"
18048 +/* confdefs.h.  */
18049 +_ACEOF
18050 +cat confdefs.h >>conftest.$ac_ext
18051 +cat >>conftest.$ac_ext <<_ACEOF
18052 +/* end confdefs.h.  */
18053  
18054 -#include <stdio.h>
18055 -#include <string.h>
18056 -#ifdef HAVE_SNPRINTF
18057 -main()
18058 -{
18059 -       char buf[50];
18060 -       char expected_out[50];
18061 -       int mazsize = 50 ;
18062 -#if (SIZEOF_LONG_INT == 8)
18063 -       long int num = 0x7fffffffffffffff;
18064 -#else
18065 -       long long num = 0x7fffffffffffffffll;
18066 -#endif
18067 -       strcpy(expected_out, "9223372036854775807");
18068 -       snprintf(buf, mazsize, "%lld", num);
18069 -       if(strcmp(buf, expected_out) != 0)
18070 -               exit(1);
18071 -       exit(0);
18072 -}
18073 -#else
18074 -main() { exit(0); }
18075 -#endif
18076 +               #include <stdio.h>
18077 +               #include <string.h>
18078 +               #ifdef HAVE_SNPRINTF
18079 +               main()
18080 +               {
18081 +                       char buf[50];
18082 +                       char expected_out[50];
18083 +                       int mazsize = 50 ;
18084 +               #if (SIZEOF_LONG_INT == 8)
18085 +                       long int num = 0x7fffffffffffffff;
18086 +               #else
18087 +                       long long num = 0x7fffffffffffffffll;
18088 +               #endif
18089 +                       strcpy(expected_out, "9223372036854775807");
18090 +                       snprintf(buf, mazsize, "%lld", num);
18091 +                       if(strcmp(buf, expected_out) != 0)
18092 +                               exit(1);
18093 +                       exit(0);
18094 +               }
18095 +               #else
18096 +               main() { exit(0); }
18097 +               #endif
18098  
18099  _ACEOF
18100  rm -f conftest$ac_exeext
18101 -if { (eval echo "$as_me:12457: \"$ac_link\"") >&5
18102 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103    (eval $ac_link) 2>&5
18104    ac_status=$?
18105 -  echo "$as_me:12460: \$? = $ac_status" >&5
18106 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18108 -  { (eval echo "$as_me:12462: \"$ac_try\"") >&5
18109 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110    (eval $ac_try) 2>&5
18111    ac_status=$?
18112 -  echo "$as_me:12465: \$? = $ac_status" >&5
18113 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114    (exit $ac_status); }; }; then
18115     true
18116  else
18117    echo "$as_me: program exited with status $ac_status" >&5
18118  echo "$as_me: failed program was:" >&5
18119 -cat conftest.$ac_ext >&5
18120 - cat >>confdefs.h <<\EOF
18121 -#define BROKEN_SNPRINTF 1
18122 -EOF
18123 +sed 's/^/| /' conftest.$ac_ext >&5
18124 +
18125 +( exit $ac_status )
18126 +
18127 +                                       ac_cv_have_broken_snprintf="yes"
18128 +
18129  
18130  fi
18131 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18132 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18133 +fi
18134 +
18135  fi
18136 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_snprintf" >&5
18137 +echo "${ECHO_T}$ac_cv_have_broken_snprintf" >&6
18138 +               if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
18139 +                       cat >>confdefs.h <<\_ACEOF
18140 +#define BROKEN_SNPRINTF 1
18141 +_ACEOF
18142 +
18143 +               fi
18144 +       fi
18145  fi
18146  
18147 +
18148  # look for field 'ut_host' in header 'utmp.h'
18149                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18150                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
18151 -       echo "$as_me:12484: checking for ut_host field in utmp.h" >&5
18152 +       echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
18153  echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
18154         if eval "test \"\${$ossh_varname+set}\" = set"; then
18155    echo $ECHO_N "(cached) $ECHO_C" >&6
18156  else
18157  
18158                 cat >conftest.$ac_ext <<_ACEOF
18159 -#line 12491 "configure"
18160 -#include "confdefs.h"
18161 +#line $LINENO "configure"
18162 +/* confdefs.h.  */
18163 +_ACEOF
18164 +cat confdefs.h >>conftest.$ac_ext
18165 +cat >>conftest.$ac_ext <<_ACEOF
18166 +/* end confdefs.h.  */
18167  #include <utmp.h>
18168  
18169  _ACEOF
18170  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18171 -  egrep "ut_host" >/dev/null 2>&1; then
18172 +  $EGREP "ut_host" >/dev/null 2>&1; then
18173                         eval "$ossh_varname=yes"
18174  else
18175                         eval "$ossh_varname=no"
18176 @@ -12505,36 +15140,41 @@
18177  
18178         ossh_result=`eval 'echo $'"$ossh_varname"`
18179         if test -n "`echo $ossh_varname`"; then
18180 -               echo "$as_me:12508: result: $ossh_result" >&5
18181 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18182  echo "${ECHO_T}$ossh_result" >&6
18183                 if test "x$ossh_result" = "xyes"; then
18184 -                       cat >>confdefs.h <<\EOF
18185 +                       cat >>confdefs.h <<\_ACEOF
18186  #define HAVE_HOST_IN_UTMP 1
18187 -EOF
18188 +_ACEOF
18189  
18190                 fi
18191         else
18192 -               echo "$as_me:12517: result: no" >&5
18193 +               echo "$as_me:$LINENO: result: no" >&5
18194  echo "${ECHO_T}no" >&6
18195         fi
18196  
18197 +
18198  # look for field 'ut_host' in header 'utmpx.h'
18199                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18200                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
18201 -       echo "$as_me:12524: checking for ut_host field in utmpx.h" >&5
18202 +       echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
18203  echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
18204         if eval "test \"\${$ossh_varname+set}\" = set"; then
18205    echo $ECHO_N "(cached) $ECHO_C" >&6
18206  else
18207  
18208                 cat >conftest.$ac_ext <<_ACEOF
18209 -#line 12531 "configure"
18210 -#include "confdefs.h"
18211 +#line $LINENO "configure"
18212 +/* confdefs.h.  */
18213 +_ACEOF
18214 +cat confdefs.h >>conftest.$ac_ext
18215 +cat >>conftest.$ac_ext <<_ACEOF
18216 +/* end confdefs.h.  */
18217  #include <utmpx.h>
18218  
18219  _ACEOF
18220  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18221 -  egrep "ut_host" >/dev/null 2>&1; then
18222 +  $EGREP "ut_host" >/dev/null 2>&1; then
18223                         eval "$ossh_varname=yes"
18224  else
18225                         eval "$ossh_varname=no"
18226 @@ -12545,36 +15185,41 @@
18227  
18228         ossh_result=`eval 'echo $'"$ossh_varname"`
18229         if test -n "`echo $ossh_varname`"; then
18230 -               echo "$as_me:12548: result: $ossh_result" >&5
18231 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18232  echo "${ECHO_T}$ossh_result" >&6
18233                 if test "x$ossh_result" = "xyes"; then
18234 -                       cat >>confdefs.h <<\EOF
18235 +                       cat >>confdefs.h <<\_ACEOF
18236  #define HAVE_HOST_IN_UTMPX 1
18237 -EOF
18238 +_ACEOF
18239  
18240                 fi
18241         else
18242 -               echo "$as_me:12557: result: no" >&5
18243 +               echo "$as_me:$LINENO: result: no" >&5
18244  echo "${ECHO_T}no" >&6
18245         fi
18246  
18247 +
18248  # look for field 'syslen' in header 'utmpx.h'
18249                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18250                 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
18251 -       echo "$as_me:12564: checking for syslen field in utmpx.h" >&5
18252 +       echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
18253  echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
18254         if eval "test \"\${$ossh_varname+set}\" = set"; then
18255    echo $ECHO_N "(cached) $ECHO_C" >&6
18256  else
18257  
18258                 cat >conftest.$ac_ext <<_ACEOF
18259 -#line 12571 "configure"
18260 -#include "confdefs.h"
18261 +#line $LINENO "configure"
18262 +/* confdefs.h.  */
18263 +_ACEOF
18264 +cat confdefs.h >>conftest.$ac_ext
18265 +cat >>conftest.$ac_ext <<_ACEOF
18266 +/* end confdefs.h.  */
18267  #include <utmpx.h>
18268  
18269  _ACEOF
18270  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18271 -  egrep "syslen" >/dev/null 2>&1; then
18272 +  $EGREP "syslen" >/dev/null 2>&1; then
18273                         eval "$ossh_varname=yes"
18274  else
18275                         eval "$ossh_varname=no"
18276 @@ -12585,36 +15230,41 @@
18277  
18278         ossh_result=`eval 'echo $'"$ossh_varname"`
18279         if test -n "`echo $ossh_varname`"; then
18280 -               echo "$as_me:12588: result: $ossh_result" >&5
18281 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18282  echo "${ECHO_T}$ossh_result" >&6
18283                 if test "x$ossh_result" = "xyes"; then
18284 -                       cat >>confdefs.h <<\EOF
18285 +                       cat >>confdefs.h <<\_ACEOF
18286  #define HAVE_SYSLEN_IN_UTMPX 1
18287 -EOF
18288 +_ACEOF
18289  
18290                 fi
18291         else
18292 -               echo "$as_me:12597: result: no" >&5
18293 +               echo "$as_me:$LINENO: result: no" >&5
18294  echo "${ECHO_T}no" >&6
18295         fi
18296  
18297 +
18298  # look for field 'ut_pid' in header 'utmp.h'
18299                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18300                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
18301 -       echo "$as_me:12604: checking for ut_pid field in utmp.h" >&5
18302 +       echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
18303  echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
18304         if eval "test \"\${$ossh_varname+set}\" = set"; then
18305    echo $ECHO_N "(cached) $ECHO_C" >&6
18306  else
18307  
18308                 cat >conftest.$ac_ext <<_ACEOF
18309 -#line 12611 "configure"
18310 -#include "confdefs.h"
18311 +#line $LINENO "configure"
18312 +/* confdefs.h.  */
18313 +_ACEOF
18314 +cat confdefs.h >>conftest.$ac_ext
18315 +cat >>conftest.$ac_ext <<_ACEOF
18316 +/* end confdefs.h.  */
18317  #include <utmp.h>
18318  
18319  _ACEOF
18320  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18321 -  egrep "ut_pid" >/dev/null 2>&1; then
18322 +  $EGREP "ut_pid" >/dev/null 2>&1; then
18323                         eval "$ossh_varname=yes"
18324  else
18325                         eval "$ossh_varname=no"
18326 @@ -12625,36 +15275,41 @@
18327  
18328         ossh_result=`eval 'echo $'"$ossh_varname"`
18329         if test -n "`echo $ossh_varname`"; then
18330 -               echo "$as_me:12628: result: $ossh_result" >&5
18331 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18332  echo "${ECHO_T}$ossh_result" >&6
18333                 if test "x$ossh_result" = "xyes"; then
18334 -                       cat >>confdefs.h <<\EOF
18335 +                       cat >>confdefs.h <<\_ACEOF
18336  #define HAVE_PID_IN_UTMP 1
18337 -EOF
18338 +_ACEOF
18339  
18340                 fi
18341         else
18342 -               echo "$as_me:12637: result: no" >&5
18343 +               echo "$as_me:$LINENO: result: no" >&5
18344  echo "${ECHO_T}no" >&6
18345         fi
18346  
18347 +
18348  # look for field 'ut_type' in header 'utmp.h'
18349                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18350                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
18351 -       echo "$as_me:12644: checking for ut_type field in utmp.h" >&5
18352 +       echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
18353  echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
18354         if eval "test \"\${$ossh_varname+set}\" = set"; then
18355    echo $ECHO_N "(cached) $ECHO_C" >&6
18356  else
18357  
18358                 cat >conftest.$ac_ext <<_ACEOF
18359 -#line 12651 "configure"
18360 -#include "confdefs.h"
18361 +#line $LINENO "configure"
18362 +/* confdefs.h.  */
18363 +_ACEOF
18364 +cat confdefs.h >>conftest.$ac_ext
18365 +cat >>conftest.$ac_ext <<_ACEOF
18366 +/* end confdefs.h.  */
18367  #include <utmp.h>
18368  
18369  _ACEOF
18370  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18371 -  egrep "ut_type" >/dev/null 2>&1; then
18372 +  $EGREP "ut_type" >/dev/null 2>&1; then
18373                         eval "$ossh_varname=yes"
18374  else
18375                         eval "$ossh_varname=no"
18376 @@ -12665,36 +15320,41 @@
18377  
18378         ossh_result=`eval 'echo $'"$ossh_varname"`
18379         if test -n "`echo $ossh_varname`"; then
18380 -               echo "$as_me:12668: result: $ossh_result" >&5
18381 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18382  echo "${ECHO_T}$ossh_result" >&6
18383                 if test "x$ossh_result" = "xyes"; then
18384 -                       cat >>confdefs.h <<\EOF
18385 +                       cat >>confdefs.h <<\_ACEOF
18386  #define HAVE_TYPE_IN_UTMP 1
18387 -EOF
18388 +_ACEOF
18389  
18390                 fi
18391         else
18392 -               echo "$as_me:12677: result: no" >&5
18393 +               echo "$as_me:$LINENO: result: no" >&5
18394  echo "${ECHO_T}no" >&6
18395         fi
18396  
18397 +
18398  # look for field 'ut_type' in header 'utmpx.h'
18399                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18400                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
18401 -       echo "$as_me:12684: checking for ut_type field in utmpx.h" >&5
18402 +       echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
18403  echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
18404         if eval "test \"\${$ossh_varname+set}\" = set"; then
18405    echo $ECHO_N "(cached) $ECHO_C" >&6
18406  else
18407  
18408                 cat >conftest.$ac_ext <<_ACEOF
18409 -#line 12691 "configure"
18410 -#include "confdefs.h"
18411 +#line $LINENO "configure"
18412 +/* confdefs.h.  */
18413 +_ACEOF
18414 +cat confdefs.h >>conftest.$ac_ext
18415 +cat >>conftest.$ac_ext <<_ACEOF
18416 +/* end confdefs.h.  */
18417  #include <utmpx.h>
18418  
18419  _ACEOF
18420  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18421 -  egrep "ut_type" >/dev/null 2>&1; then
18422 +  $EGREP "ut_type" >/dev/null 2>&1; then
18423                         eval "$ossh_varname=yes"
18424  else
18425                         eval "$ossh_varname=no"
18426 @@ -12705,36 +15365,41 @@
18427  
18428         ossh_result=`eval 'echo $'"$ossh_varname"`
18429         if test -n "`echo $ossh_varname`"; then
18430 -               echo "$as_me:12708: result: $ossh_result" >&5
18431 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18432  echo "${ECHO_T}$ossh_result" >&6
18433                 if test "x$ossh_result" = "xyes"; then
18434 -                       cat >>confdefs.h <<\EOF
18435 +                       cat >>confdefs.h <<\_ACEOF
18436  #define HAVE_TYPE_IN_UTMPX 1
18437 -EOF
18438 +_ACEOF
18439  
18440                 fi
18441         else
18442 -               echo "$as_me:12717: result: no" >&5
18443 +               echo "$as_me:$LINENO: result: no" >&5
18444  echo "${ECHO_T}no" >&6
18445         fi
18446  
18447 +
18448  # look for field 'ut_tv' in header 'utmp.h'
18449                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18450                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
18451 -       echo "$as_me:12724: checking for ut_tv field in utmp.h" >&5
18452 +       echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
18453  echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
18454         if eval "test \"\${$ossh_varname+set}\" = set"; then
18455    echo $ECHO_N "(cached) $ECHO_C" >&6
18456  else
18457  
18458                 cat >conftest.$ac_ext <<_ACEOF
18459 -#line 12731 "configure"
18460 -#include "confdefs.h"
18461 +#line $LINENO "configure"
18462 +/* confdefs.h.  */
18463 +_ACEOF
18464 +cat confdefs.h >>conftest.$ac_ext
18465 +cat >>conftest.$ac_ext <<_ACEOF
18466 +/* end confdefs.h.  */
18467  #include <utmp.h>
18468  
18469  _ACEOF
18470  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18471 -  egrep "ut_tv" >/dev/null 2>&1; then
18472 +  $EGREP "ut_tv" >/dev/null 2>&1; then
18473                         eval "$ossh_varname=yes"
18474  else
18475                         eval "$ossh_varname=no"
18476 @@ -12745,36 +15410,41 @@
18477  
18478         ossh_result=`eval 'echo $'"$ossh_varname"`
18479         if test -n "`echo $ossh_varname`"; then
18480 -               echo "$as_me:12748: result: $ossh_result" >&5
18481 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18482  echo "${ECHO_T}$ossh_result" >&6
18483                 if test "x$ossh_result" = "xyes"; then
18484 -                       cat >>confdefs.h <<\EOF
18485 +                       cat >>confdefs.h <<\_ACEOF
18486  #define HAVE_TV_IN_UTMP 1
18487 -EOF
18488 +_ACEOF
18489  
18490                 fi
18491         else
18492 -               echo "$as_me:12757: result: no" >&5
18493 +               echo "$as_me:$LINENO: result: no" >&5
18494  echo "${ECHO_T}no" >&6
18495         fi
18496  
18497 +
18498  # look for field 'ut_id' in header 'utmp.h'
18499                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18500                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
18501 -       echo "$as_me:12764: checking for ut_id field in utmp.h" >&5
18502 +       echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
18503  echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
18504         if eval "test \"\${$ossh_varname+set}\" = set"; then
18505    echo $ECHO_N "(cached) $ECHO_C" >&6
18506  else
18507  
18508                 cat >conftest.$ac_ext <<_ACEOF
18509 -#line 12771 "configure"
18510 -#include "confdefs.h"
18511 +#line $LINENO "configure"
18512 +/* confdefs.h.  */
18513 +_ACEOF
18514 +cat confdefs.h >>conftest.$ac_ext
18515 +cat >>conftest.$ac_ext <<_ACEOF
18516 +/* end confdefs.h.  */
18517  #include <utmp.h>
18518  
18519  _ACEOF
18520  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18521 -  egrep "ut_id" >/dev/null 2>&1; then
18522 +  $EGREP "ut_id" >/dev/null 2>&1; then
18523                         eval "$ossh_varname=yes"
18524  else
18525                         eval "$ossh_varname=no"
18526 @@ -12785,36 +15455,41 @@
18527  
18528         ossh_result=`eval 'echo $'"$ossh_varname"`
18529         if test -n "`echo $ossh_varname`"; then
18530 -               echo "$as_me:12788: result: $ossh_result" >&5
18531 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18532  echo "${ECHO_T}$ossh_result" >&6
18533                 if test "x$ossh_result" = "xyes"; then
18534 -                       cat >>confdefs.h <<\EOF
18535 +                       cat >>confdefs.h <<\_ACEOF
18536  #define HAVE_ID_IN_UTMP 1
18537 -EOF
18538 +_ACEOF
18539  
18540                 fi
18541         else
18542 -               echo "$as_me:12797: result: no" >&5
18543 +               echo "$as_me:$LINENO: result: no" >&5
18544  echo "${ECHO_T}no" >&6
18545         fi
18546  
18547 +
18548  # look for field 'ut_id' in header 'utmpx.h'
18549                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18550                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
18551 -       echo "$as_me:12804: checking for ut_id field in utmpx.h" >&5
18552 +       echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
18553  echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
18554         if eval "test \"\${$ossh_varname+set}\" = set"; then
18555    echo $ECHO_N "(cached) $ECHO_C" >&6
18556  else
18557  
18558                 cat >conftest.$ac_ext <<_ACEOF
18559 -#line 12811 "configure"
18560 -#include "confdefs.h"
18561 +#line $LINENO "configure"
18562 +/* confdefs.h.  */
18563 +_ACEOF
18564 +cat confdefs.h >>conftest.$ac_ext
18565 +cat >>conftest.$ac_ext <<_ACEOF
18566 +/* end confdefs.h.  */
18567  #include <utmpx.h>
18568  
18569  _ACEOF
18570  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18571 -  egrep "ut_id" >/dev/null 2>&1; then
18572 +  $EGREP "ut_id" >/dev/null 2>&1; then
18573                         eval "$ossh_varname=yes"
18574  else
18575                         eval "$ossh_varname=no"
18576 @@ -12825,36 +15500,41 @@
18577  
18578         ossh_result=`eval 'echo $'"$ossh_varname"`
18579         if test -n "`echo $ossh_varname`"; then
18580 -               echo "$as_me:12828: result: $ossh_result" >&5
18581 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18582  echo "${ECHO_T}$ossh_result" >&6
18583                 if test "x$ossh_result" = "xyes"; then
18584 -                       cat >>confdefs.h <<\EOF
18585 +                       cat >>confdefs.h <<\_ACEOF
18586  #define HAVE_ID_IN_UTMPX 1
18587 -EOF
18588 +_ACEOF
18589  
18590                 fi
18591         else
18592 -               echo "$as_me:12837: result: no" >&5
18593 +               echo "$as_me:$LINENO: result: no" >&5
18594  echo "${ECHO_T}no" >&6
18595         fi
18596  
18597 +
18598  # look for field 'ut_addr' in header 'utmp.h'
18599                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18600                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
18601 -       echo "$as_me:12844: checking for ut_addr field in utmp.h" >&5
18602 +       echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
18603  echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
18604         if eval "test \"\${$ossh_varname+set}\" = set"; then
18605    echo $ECHO_N "(cached) $ECHO_C" >&6
18606  else
18607  
18608                 cat >conftest.$ac_ext <<_ACEOF
18609 -#line 12851 "configure"
18610 -#include "confdefs.h"
18611 +#line $LINENO "configure"
18612 +/* confdefs.h.  */
18613 +_ACEOF
18614 +cat confdefs.h >>conftest.$ac_ext
18615 +cat >>conftest.$ac_ext <<_ACEOF
18616 +/* end confdefs.h.  */
18617  #include <utmp.h>
18618  
18619  _ACEOF
18620  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18621 -  egrep "ut_addr" >/dev/null 2>&1; then
18622 +  $EGREP "ut_addr" >/dev/null 2>&1; then
18623                         eval "$ossh_varname=yes"
18624  else
18625                         eval "$ossh_varname=no"
18626 @@ -12865,36 +15545,41 @@
18627  
18628         ossh_result=`eval 'echo $'"$ossh_varname"`
18629         if test -n "`echo $ossh_varname`"; then
18630 -               echo "$as_me:12868: result: $ossh_result" >&5
18631 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18632  echo "${ECHO_T}$ossh_result" >&6
18633                 if test "x$ossh_result" = "xyes"; then
18634 -                       cat >>confdefs.h <<\EOF
18635 +                       cat >>confdefs.h <<\_ACEOF
18636  #define HAVE_ADDR_IN_UTMP 1
18637 -EOF
18638 +_ACEOF
18639  
18640                 fi
18641         else
18642 -               echo "$as_me:12877: result: no" >&5
18643 +               echo "$as_me:$LINENO: result: no" >&5
18644  echo "${ECHO_T}no" >&6
18645         fi
18646  
18647 +
18648  # look for field 'ut_addr' in header 'utmpx.h'
18649                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18650                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
18651 -       echo "$as_me:12884: checking for ut_addr field in utmpx.h" >&5
18652 +       echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
18653  echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
18654         if eval "test \"\${$ossh_varname+set}\" = set"; then
18655    echo $ECHO_N "(cached) $ECHO_C" >&6
18656  else
18657  
18658                 cat >conftest.$ac_ext <<_ACEOF
18659 -#line 12891 "configure"
18660 -#include "confdefs.h"
18661 +#line $LINENO "configure"
18662 +/* confdefs.h.  */
18663 +_ACEOF
18664 +cat confdefs.h >>conftest.$ac_ext
18665 +cat >>conftest.$ac_ext <<_ACEOF
18666 +/* end confdefs.h.  */
18667  #include <utmpx.h>
18668  
18669  _ACEOF
18670  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18671 -  egrep "ut_addr" >/dev/null 2>&1; then
18672 +  $EGREP "ut_addr" >/dev/null 2>&1; then
18673                         eval "$ossh_varname=yes"
18674  else
18675                         eval "$ossh_varname=no"
18676 @@ -12905,36 +15590,41 @@
18677  
18678         ossh_result=`eval 'echo $'"$ossh_varname"`
18679         if test -n "`echo $ossh_varname`"; then
18680 -               echo "$as_me:12908: result: $ossh_result" >&5
18681 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18682  echo "${ECHO_T}$ossh_result" >&6
18683                 if test "x$ossh_result" = "xyes"; then
18684 -                       cat >>confdefs.h <<\EOF
18685 +                       cat >>confdefs.h <<\_ACEOF
18686  #define HAVE_ADDR_IN_UTMPX 1
18687 -EOF
18688 +_ACEOF
18689  
18690                 fi
18691         else
18692 -               echo "$as_me:12917: result: no" >&5
18693 +               echo "$as_me:$LINENO: result: no" >&5
18694  echo "${ECHO_T}no" >&6
18695         fi
18696  
18697 +
18698  # look for field 'ut_addr_v6' in header 'utmp.h'
18699                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18700                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
18701 -       echo "$as_me:12924: checking for ut_addr_v6 field in utmp.h" >&5
18702 +       echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
18703  echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
18704         if eval "test \"\${$ossh_varname+set}\" = set"; then
18705    echo $ECHO_N "(cached) $ECHO_C" >&6
18706  else
18707  
18708                 cat >conftest.$ac_ext <<_ACEOF
18709 -#line 12931 "configure"
18710 -#include "confdefs.h"
18711 +#line $LINENO "configure"
18712 +/* confdefs.h.  */
18713 +_ACEOF
18714 +cat confdefs.h >>conftest.$ac_ext
18715 +cat >>conftest.$ac_ext <<_ACEOF
18716 +/* end confdefs.h.  */
18717  #include <utmp.h>
18718  
18719  _ACEOF
18720  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18721 -  egrep "ut_addr_v6" >/dev/null 2>&1; then
18722 +  $EGREP "ut_addr_v6" >/dev/null 2>&1; then
18723                         eval "$ossh_varname=yes"
18724  else
18725                         eval "$ossh_varname=no"
18726 @@ -12945,36 +15635,41 @@
18727  
18728         ossh_result=`eval 'echo $'"$ossh_varname"`
18729         if test -n "`echo $ossh_varname`"; then
18730 -               echo "$as_me:12948: result: $ossh_result" >&5
18731 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18732  echo "${ECHO_T}$ossh_result" >&6
18733                 if test "x$ossh_result" = "xyes"; then
18734 -                       cat >>confdefs.h <<\EOF
18735 +                       cat >>confdefs.h <<\_ACEOF
18736  #define HAVE_ADDR_V6_IN_UTMP 1
18737 -EOF
18738 +_ACEOF
18739  
18740                 fi
18741         else
18742 -               echo "$as_me:12957: result: no" >&5
18743 +               echo "$as_me:$LINENO: result: no" >&5
18744  echo "${ECHO_T}no" >&6
18745         fi
18746  
18747 +
18748  # look for field 'ut_addr_v6' in header 'utmpx.h'
18749                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18750                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
18751 -       echo "$as_me:12964: checking for ut_addr_v6 field in utmpx.h" >&5
18752 +       echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
18753  echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
18754         if eval "test \"\${$ossh_varname+set}\" = set"; then
18755    echo $ECHO_N "(cached) $ECHO_C" >&6
18756  else
18757  
18758                 cat >conftest.$ac_ext <<_ACEOF
18759 -#line 12971 "configure"
18760 -#include "confdefs.h"
18761 +#line $LINENO "configure"
18762 +/* confdefs.h.  */
18763 +_ACEOF
18764 +cat confdefs.h >>conftest.$ac_ext
18765 +cat >>conftest.$ac_ext <<_ACEOF
18766 +/* end confdefs.h.  */
18767  #include <utmpx.h>
18768  
18769  _ACEOF
18770  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18771 -  egrep "ut_addr_v6" >/dev/null 2>&1; then
18772 +  $EGREP "ut_addr_v6" >/dev/null 2>&1; then
18773                         eval "$ossh_varname=yes"
18774  else
18775                         eval "$ossh_varname=no"
18776 @@ -12985,36 +15680,41 @@
18777  
18778         ossh_result=`eval 'echo $'"$ossh_varname"`
18779         if test -n "`echo $ossh_varname`"; then
18780 -               echo "$as_me:12988: result: $ossh_result" >&5
18781 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18782  echo "${ECHO_T}$ossh_result" >&6
18783                 if test "x$ossh_result" = "xyes"; then
18784 -                       cat >>confdefs.h <<\EOF
18785 +                       cat >>confdefs.h <<\_ACEOF
18786  #define HAVE_ADDR_V6_IN_UTMPX 1
18787 -EOF
18788 +_ACEOF
18789  
18790                 fi
18791         else
18792 -               echo "$as_me:12997: result: no" >&5
18793 +               echo "$as_me:$LINENO: result: no" >&5
18794  echo "${ECHO_T}no" >&6
18795         fi
18796  
18797 +
18798  # look for field 'ut_exit' in header 'utmp.h'
18799                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18800                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
18801 -       echo "$as_me:13004: checking for ut_exit field in utmp.h" >&5
18802 +       echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
18803  echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
18804         if eval "test \"\${$ossh_varname+set}\" = set"; then
18805    echo $ECHO_N "(cached) $ECHO_C" >&6
18806  else
18807  
18808                 cat >conftest.$ac_ext <<_ACEOF
18809 -#line 13011 "configure"
18810 -#include "confdefs.h"
18811 +#line $LINENO "configure"
18812 +/* confdefs.h.  */
18813 +_ACEOF
18814 +cat confdefs.h >>conftest.$ac_ext
18815 +cat >>conftest.$ac_ext <<_ACEOF
18816 +/* end confdefs.h.  */
18817  #include <utmp.h>
18818  
18819  _ACEOF
18820  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18821 -  egrep "ut_exit" >/dev/null 2>&1; then
18822 +  $EGREP "ut_exit" >/dev/null 2>&1; then
18823                         eval "$ossh_varname=yes"
18824  else
18825                         eval "$ossh_varname=no"
18826 @@ -13025,36 +15725,41 @@
18827  
18828         ossh_result=`eval 'echo $'"$ossh_varname"`
18829         if test -n "`echo $ossh_varname`"; then
18830 -               echo "$as_me:13028: result: $ossh_result" >&5
18831 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18832  echo "${ECHO_T}$ossh_result" >&6
18833                 if test "x$ossh_result" = "xyes"; then
18834 -                       cat >>confdefs.h <<\EOF
18835 +                       cat >>confdefs.h <<\_ACEOF
18836  #define HAVE_EXIT_IN_UTMP 1
18837 -EOF
18838 +_ACEOF
18839  
18840                 fi
18841         else
18842 -               echo "$as_me:13037: result: no" >&5
18843 +               echo "$as_me:$LINENO: result: no" >&5
18844  echo "${ECHO_T}no" >&6
18845         fi
18846  
18847 +
18848  # look for field 'ut_time' in header 'utmp.h'
18849                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18850                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
18851 -       echo "$as_me:13044: checking for ut_time field in utmp.h" >&5
18852 +       echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
18853  echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
18854         if eval "test \"\${$ossh_varname+set}\" = set"; then
18855    echo $ECHO_N "(cached) $ECHO_C" >&6
18856  else
18857  
18858                 cat >conftest.$ac_ext <<_ACEOF
18859 -#line 13051 "configure"
18860 -#include "confdefs.h"
18861 +#line $LINENO "configure"
18862 +/* confdefs.h.  */
18863 +_ACEOF
18864 +cat confdefs.h >>conftest.$ac_ext
18865 +cat >>conftest.$ac_ext <<_ACEOF
18866 +/* end confdefs.h.  */
18867  #include <utmp.h>
18868  
18869  _ACEOF
18870  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18871 -  egrep "ut_time" >/dev/null 2>&1; then
18872 +  $EGREP "ut_time" >/dev/null 2>&1; then
18873                         eval "$ossh_varname=yes"
18874  else
18875                         eval "$ossh_varname=no"
18876 @@ -13065,36 +15770,41 @@
18877  
18878         ossh_result=`eval 'echo $'"$ossh_varname"`
18879         if test -n "`echo $ossh_varname`"; then
18880 -               echo "$as_me:13068: result: $ossh_result" >&5
18881 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18882  echo "${ECHO_T}$ossh_result" >&6
18883                 if test "x$ossh_result" = "xyes"; then
18884 -                       cat >>confdefs.h <<\EOF
18885 +                       cat >>confdefs.h <<\_ACEOF
18886  #define HAVE_TIME_IN_UTMP 1
18887 -EOF
18888 +_ACEOF
18889  
18890                 fi
18891         else
18892 -               echo "$as_me:13077: result: no" >&5
18893 +               echo "$as_me:$LINENO: result: no" >&5
18894  echo "${ECHO_T}no" >&6
18895         fi
18896  
18897 +
18898  # look for field 'ut_time' in header 'utmpx.h'
18899                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18900                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
18901 -       echo "$as_me:13084: checking for ut_time field in utmpx.h" >&5
18902 +       echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
18903  echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
18904         if eval "test \"\${$ossh_varname+set}\" = set"; then
18905    echo $ECHO_N "(cached) $ECHO_C" >&6
18906  else
18907  
18908                 cat >conftest.$ac_ext <<_ACEOF
18909 -#line 13091 "configure"
18910 -#include "confdefs.h"
18911 +#line $LINENO "configure"
18912 +/* confdefs.h.  */
18913 +_ACEOF
18914 +cat confdefs.h >>conftest.$ac_ext
18915 +cat >>conftest.$ac_ext <<_ACEOF
18916 +/* end confdefs.h.  */
18917  #include <utmpx.h>
18918  
18919  _ACEOF
18920  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18921 -  egrep "ut_time" >/dev/null 2>&1; then
18922 +  $EGREP "ut_time" >/dev/null 2>&1; then
18923                         eval "$ossh_varname=yes"
18924  else
18925                         eval "$ossh_varname=no"
18926 @@ -13105,36 +15815,41 @@
18927  
18928         ossh_result=`eval 'echo $'"$ossh_varname"`
18929         if test -n "`echo $ossh_varname`"; then
18930 -               echo "$as_me:13108: result: $ossh_result" >&5
18931 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18932  echo "${ECHO_T}$ossh_result" >&6
18933                 if test "x$ossh_result" = "xyes"; then
18934 -                       cat >>confdefs.h <<\EOF
18935 +                       cat >>confdefs.h <<\_ACEOF
18936  #define HAVE_TIME_IN_UTMPX 1
18937 -EOF
18938 +_ACEOF
18939  
18940                 fi
18941         else
18942 -               echo "$as_me:13117: result: no" >&5
18943 +               echo "$as_me:$LINENO: result: no" >&5
18944  echo "${ECHO_T}no" >&6
18945         fi
18946  
18947 +
18948  # look for field 'ut_tv' in header 'utmpx.h'
18949                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18950                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
18951 -       echo "$as_me:13124: checking for ut_tv field in utmpx.h" >&5
18952 +       echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
18953  echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
18954         if eval "test \"\${$ossh_varname+set}\" = set"; then
18955    echo $ECHO_N "(cached) $ECHO_C" >&6
18956  else
18957  
18958                 cat >conftest.$ac_ext <<_ACEOF
18959 -#line 13131 "configure"
18960 -#include "confdefs.h"
18961 +#line $LINENO "configure"
18962 +/* confdefs.h.  */
18963 +_ACEOF
18964 +cat confdefs.h >>conftest.$ac_ext
18965 +cat >>conftest.$ac_ext <<_ACEOF
18966 +/* end confdefs.h.  */
18967  #include <utmpx.h>
18968  
18969  _ACEOF
18970  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18971 -  egrep "ut_tv" >/dev/null 2>&1; then
18972 +  $EGREP "ut_tv" >/dev/null 2>&1; then
18973                         eval "$ossh_varname=yes"
18974  else
18975                         eval "$ossh_varname=no"
18976 @@ -13145,27 +15860,32 @@
18977  
18978         ossh_result=`eval 'echo $'"$ossh_varname"`
18979         if test -n "`echo $ossh_varname`"; then
18980 -               echo "$as_me:13148: result: $ossh_result" >&5
18981 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18982  echo "${ECHO_T}$ossh_result" >&6
18983                 if test "x$ossh_result" = "xyes"; then
18984 -                       cat >>confdefs.h <<\EOF
18985 +                       cat >>confdefs.h <<\_ACEOF
18986  #define HAVE_TV_IN_UTMPX 1
18987 -EOF
18988 +_ACEOF
18989  
18990                 fi
18991         else
18992 -               echo "$as_me:13157: result: no" >&5
18993 +               echo "$as_me:$LINENO: result: no" >&5
18994  echo "${ECHO_T}no" >&6
18995         fi
18996  
18997 -echo "$as_me:13161: checking for struct stat.st_blksize" >&5
18998 +
18999 +echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
19000  echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
19001  if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
19002    echo $ECHO_N "(cached) $ECHO_C" >&6
19003  else
19004    cat >conftest.$ac_ext <<_ACEOF
19005 -#line 13167 "configure"
19006 -#include "confdefs.h"
19007 +#line $LINENO "configure"
19008 +/* confdefs.h.  */
19009 +_ACEOF
19010 +cat confdefs.h >>conftest.$ac_ext
19011 +cat >>conftest.$ac_ext <<_ACEOF
19012 +/* end confdefs.h.  */
19013  $ac_includes_default
19014  int
19015  main ()
19016 @@ -13178,44 +15898,88 @@
19017  }
19018  _ACEOF
19019  rm -f conftest.$ac_objext
19020 -if { (eval echo "$as_me:13181: \"$ac_compile\"") >&5
19021 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19022    (eval $ac_compile) 2>&5
19023    ac_status=$?
19024 -  echo "$as_me:13184: \$? = $ac_status" >&5
19025 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026    (exit $ac_status); } &&
19027           { ac_try='test -s conftest.$ac_objext'
19028 -  { (eval echo "$as_me:13187: \"$ac_try\"") >&5
19029 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030    (eval $ac_try) 2>&5
19031    ac_status=$?
19032 -  echo "$as_me:13190: \$? = $ac_status" >&5
19033 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034    (exit $ac_status); }; }; then
19035    ac_cv_member_struct_stat_st_blksize=yes
19036  else
19037    echo "$as_me: failed program was:" >&5
19038 -cat conftest.$ac_ext >&5
19039 +sed 's/^/| /' conftest.$ac_ext >&5
19040 +
19041 +cat >conftest.$ac_ext <<_ACEOF
19042 +#line $LINENO "configure"
19043 +/* confdefs.h.  */
19044 +_ACEOF
19045 +cat confdefs.h >>conftest.$ac_ext
19046 +cat >>conftest.$ac_ext <<_ACEOF
19047 +/* end confdefs.h.  */
19048 +$ac_includes_default
19049 +int
19050 +main ()
19051 +{
19052 +static struct stat ac_aggr;
19053 +if (sizeof ac_aggr.st_blksize)
19054 +return 0;
19055 +  ;
19056 +  return 0;
19057 +}
19058 +_ACEOF
19059 +rm -f conftest.$ac_objext
19060 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19061 +  (eval $ac_compile) 2>&5
19062 +  ac_status=$?
19063 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 +  (exit $ac_status); } &&
19065 +         { ac_try='test -s conftest.$ac_objext'
19066 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 +  (eval $ac_try) 2>&5
19068 +  ac_status=$?
19069 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 +  (exit $ac_status); }; }; then
19071 +  ac_cv_member_struct_stat_st_blksize=yes
19072 +else
19073 +  echo "$as_me: failed program was:" >&5
19074 +sed 's/^/| /' conftest.$ac_ext >&5
19075 +
19076  ac_cv_member_struct_stat_st_blksize=no
19077  fi
19078  rm -f conftest.$ac_objext conftest.$ac_ext
19079  fi
19080 -echo "$as_me:13200: result: $ac_cv_member_struct_stat_st_blksize" >&5
19081 +rm -f conftest.$ac_objext conftest.$ac_ext
19082 +fi
19083 +echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
19084  echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
19085  if test $ac_cv_member_struct_stat_st_blksize = yes; then
19086  
19087 -cat >>confdefs.h <<EOF
19088 +cat >>confdefs.h <<_ACEOF
19089  #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19090 -EOF
19091 +_ACEOF
19092 +
19093  
19094  fi
19095  
19096 -echo "$as_me:13210: checking for ss_family field in struct sockaddr_storage" >&5
19097 +
19098 +echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
19099  echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
19100  if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
19101    echo $ECHO_N "(cached) $ECHO_C" >&6
19102  else
19103  
19104         cat >conftest.$ac_ext <<_ACEOF
19105 -#line 13217 "configure"
19106 -#include "confdefs.h"
19107 +#line $LINENO "configure"
19108 +/* confdefs.h.  */
19109 +_ACEOF
19110 +cat confdefs.h >>conftest.$ac_ext
19111 +cat >>conftest.$ac_ext <<_ACEOF
19112 +/* end confdefs.h.  */
19113  
19114  #include <sys/types.h>
19115  #include <sys/socket.h>
19116 @@ -13229,44 +15993,49 @@
19117  }
19118  _ACEOF
19119  rm -f conftest.$ac_objext
19120 -if { (eval echo "$as_me:13232: \"$ac_compile\"") >&5
19121 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19122    (eval $ac_compile) 2>&5
19123    ac_status=$?
19124 -  echo "$as_me:13235: \$? = $ac_status" >&5
19125 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126    (exit $ac_status); } &&
19127           { ac_try='test -s conftest.$ac_objext'
19128 -  { (eval echo "$as_me:13238: \"$ac_try\"") >&5
19129 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130    (eval $ac_try) 2>&5
19131    ac_status=$?
19132 -  echo "$as_me:13241: \$? = $ac_status" >&5
19133 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134    (exit $ac_status); }; }; then
19135     ac_cv_have_ss_family_in_struct_ss="yes"
19136  else
19137    echo "$as_me: failed program was:" >&5
19138 -cat conftest.$ac_ext >&5
19139 +sed 's/^/| /' conftest.$ac_ext >&5
19140 +
19141   ac_cv_have_ss_family_in_struct_ss="no"
19142  fi
19143  rm -f conftest.$ac_objext conftest.$ac_ext
19144  
19145  fi
19146 -echo "$as_me:13252: result: $ac_cv_have_ss_family_in_struct_ss" >&5
19147 +echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
19148  echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
19149  if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
19150 -       cat >>confdefs.h <<\EOF
19151 +       cat >>confdefs.h <<\_ACEOF
19152  #define HAVE_SS_FAMILY_IN_SS 1
19153 -EOF
19154 +_ACEOF
19155  
19156  fi
19157  
19158 -echo "$as_me:13261: checking for __ss_family field in struct sockaddr_storage" >&5
19159 +echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
19160  echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
19161  if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
19162    echo $ECHO_N "(cached) $ECHO_C" >&6
19163  else
19164  
19165         cat >conftest.$ac_ext <<_ACEOF
19166 -#line 13268 "configure"
19167 -#include "confdefs.h"
19168 +#line $LINENO "configure"
19169 +/* confdefs.h.  */
19170 +_ACEOF
19171 +cat confdefs.h >>conftest.$ac_ext
19172 +cat >>conftest.$ac_ext <<_ACEOF
19173 +/* end confdefs.h.  */
19174  
19175  #include <sys/types.h>
19176  #include <sys/socket.h>
19177 @@ -13280,45 +16049,50 @@
19178  }
19179  _ACEOF
19180  rm -f conftest.$ac_objext
19181 -if { (eval echo "$as_me:13283: \"$ac_compile\"") >&5
19182 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183    (eval $ac_compile) 2>&5
19184    ac_status=$?
19185 -  echo "$as_me:13286: \$? = $ac_status" >&5
19186 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187    (exit $ac_status); } &&
19188           { ac_try='test -s conftest.$ac_objext'
19189 -  { (eval echo "$as_me:13289: \"$ac_try\"") >&5
19190 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191    (eval $ac_try) 2>&5
19192    ac_status=$?
19193 -  echo "$as_me:13292: \$? = $ac_status" >&5
19194 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195    (exit $ac_status); }; }; then
19196     ac_cv_have___ss_family_in_struct_ss="yes"
19197  else
19198    echo "$as_me: failed program was:" >&5
19199 -cat conftest.$ac_ext >&5
19200 +sed 's/^/| /' conftest.$ac_ext >&5
19201 +
19202   ac_cv_have___ss_family_in_struct_ss="no"
19203  
19204  fi
19205  rm -f conftest.$ac_objext conftest.$ac_ext
19206  
19207  fi
19208 -echo "$as_me:13304: result: $ac_cv_have___ss_family_in_struct_ss" >&5
19209 +echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
19210  echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
19211  if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
19212 -       cat >>confdefs.h <<\EOF
19213 +       cat >>confdefs.h <<\_ACEOF
19214  #define HAVE___SS_FAMILY_IN_SS 1
19215 -EOF
19216 +_ACEOF
19217  
19218  fi
19219  
19220 -echo "$as_me:13313: checking for pw_class field in struct passwd" >&5
19221 +echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
19222  echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
19223  if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
19224    echo $ECHO_N "(cached) $ECHO_C" >&6
19225  else
19226  
19227         cat >conftest.$ac_ext <<_ACEOF
19228 -#line 13320 "configure"
19229 -#include "confdefs.h"
19230 +#line $LINENO "configure"
19231 +/* confdefs.h.  */
19232 +_ACEOF
19233 +cat confdefs.h >>conftest.$ac_ext
19234 +cat >>conftest.$ac_ext <<_ACEOF
19235 +/* end confdefs.h.  */
19236  
19237  #include <pwd.h>
19238  
19239 @@ -13331,45 +16105,50 @@
19240  }
19241  _ACEOF
19242  rm -f conftest.$ac_objext
19243 -if { (eval echo "$as_me:13334: \"$ac_compile\"") >&5
19244 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19245    (eval $ac_compile) 2>&5
19246    ac_status=$?
19247 -  echo "$as_me:13337: \$? = $ac_status" >&5
19248 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249    (exit $ac_status); } &&
19250           { ac_try='test -s conftest.$ac_objext'
19251 -  { (eval echo "$as_me:13340: \"$ac_try\"") >&5
19252 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253    (eval $ac_try) 2>&5
19254    ac_status=$?
19255 -  echo "$as_me:13343: \$? = $ac_status" >&5
19256 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257    (exit $ac_status); }; }; then
19258     ac_cv_have_pw_class_in_struct_passwd="yes"
19259  else
19260    echo "$as_me: failed program was:" >&5
19261 -cat conftest.$ac_ext >&5
19262 +sed 's/^/| /' conftest.$ac_ext >&5
19263 +
19264   ac_cv_have_pw_class_in_struct_passwd="no"
19265  
19266  fi
19267  rm -f conftest.$ac_objext conftest.$ac_ext
19268  
19269  fi
19270 -echo "$as_me:13355: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
19271 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
19272  echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
19273  if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
19274 -       cat >>confdefs.h <<\EOF
19275 +       cat >>confdefs.h <<\_ACEOF
19276  #define HAVE_PW_CLASS_IN_PASSWD 1
19277 -EOF
19278 +_ACEOF
19279  
19280  fi
19281  
19282 -echo "$as_me:13364: checking for pw_expire field in struct passwd" >&5
19283 +echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
19284  echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
19285  if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
19286    echo $ECHO_N "(cached) $ECHO_C" >&6
19287  else
19288  
19289         cat >conftest.$ac_ext <<_ACEOF
19290 -#line 13371 "configure"
19291 -#include "confdefs.h"
19292 +#line $LINENO "configure"
19293 +/* confdefs.h.  */
19294 +_ACEOF
19295 +cat confdefs.h >>conftest.$ac_ext
19296 +cat >>conftest.$ac_ext <<_ACEOF
19297 +/* end confdefs.h.  */
19298  
19299  #include <pwd.h>
19300  
19301 @@ -13382,45 +16161,50 @@
19302  }
19303  _ACEOF
19304  rm -f conftest.$ac_objext
19305 -if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5
19306 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19307    (eval $ac_compile) 2>&5
19308    ac_status=$?
19309 -  echo "$as_me:13388: \$? = $ac_status" >&5
19310 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311    (exit $ac_status); } &&
19312           { ac_try='test -s conftest.$ac_objext'
19313 -  { (eval echo "$as_me:13391: \"$ac_try\"") >&5
19314 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315    (eval $ac_try) 2>&5
19316    ac_status=$?
19317 -  echo "$as_me:13394: \$? = $ac_status" >&5
19318 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319    (exit $ac_status); }; }; then
19320     ac_cv_have_pw_expire_in_struct_passwd="yes"
19321  else
19322    echo "$as_me: failed program was:" >&5
19323 -cat conftest.$ac_ext >&5
19324 +sed 's/^/| /' conftest.$ac_ext >&5
19325 +
19326   ac_cv_have_pw_expire_in_struct_passwd="no"
19327  
19328  fi
19329  rm -f conftest.$ac_objext conftest.$ac_ext
19330  
19331  fi
19332 -echo "$as_me:13406: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
19333 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
19334  echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
19335  if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
19336 -       cat >>confdefs.h <<\EOF
19337 +       cat >>confdefs.h <<\_ACEOF
19338  #define HAVE_PW_EXPIRE_IN_PASSWD 1
19339 -EOF
19340 +_ACEOF
19341  
19342  fi
19343  
19344 -echo "$as_me:13415: checking for pw_change field in struct passwd" >&5
19345 +echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
19346  echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
19347  if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
19348    echo $ECHO_N "(cached) $ECHO_C" >&6
19349  else
19350  
19351         cat >conftest.$ac_ext <<_ACEOF
19352 -#line 13422 "configure"
19353 -#include "confdefs.h"
19354 +#line $LINENO "configure"
19355 +/* confdefs.h.  */
19356 +_ACEOF
19357 +cat confdefs.h >>conftest.$ac_ext
19358 +cat >>conftest.$ac_ext <<_ACEOF
19359 +/* end confdefs.h.  */
19360  
19361  #include <pwd.h>
19362  
19363 @@ -13433,50 +16217,57 @@
19364  }
19365  _ACEOF
19366  rm -f conftest.$ac_objext
19367 -if { (eval echo "$as_me:13436: \"$ac_compile\"") >&5
19368 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19369    (eval $ac_compile) 2>&5
19370    ac_status=$?
19371 -  echo "$as_me:13439: \$? = $ac_status" >&5
19372 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373    (exit $ac_status); } &&
19374           { ac_try='test -s conftest.$ac_objext'
19375 -  { (eval echo "$as_me:13442: \"$ac_try\"") >&5
19376 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377    (eval $ac_try) 2>&5
19378    ac_status=$?
19379 -  echo "$as_me:13445: \$? = $ac_status" >&5
19380 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381    (exit $ac_status); }; }; then
19382     ac_cv_have_pw_change_in_struct_passwd="yes"
19383  else
19384    echo "$as_me: failed program was:" >&5
19385 -cat conftest.$ac_ext >&5
19386 +sed 's/^/| /' conftest.$ac_ext >&5
19387 +
19388   ac_cv_have_pw_change_in_struct_passwd="no"
19389  
19390  fi
19391  rm -f conftest.$ac_objext conftest.$ac_ext
19392  
19393  fi
19394 -echo "$as_me:13457: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
19395 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
19396  echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
19397  if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
19398 -       cat >>confdefs.h <<\EOF
19399 +       cat >>confdefs.h <<\_ACEOF
19400  #define HAVE_PW_CHANGE_IN_PASSWD 1
19401 -EOF
19402 +_ACEOF
19403  
19404  fi
19405  
19406 -echo "$as_me:13466: checking for msg_accrights field in struct msghdr" >&5
19407 +echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
19408  echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
19409  if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
19410    echo $ECHO_N "(cached) $ECHO_C" >&6
19411  else
19412  
19413         if test "$cross_compiling" = yes; then
19414 -  { { echo "$as_me:13473: error: cannot run test program while cross compiling" >&5
19415 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
19416 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19417 +See \`config.log' for more details." >&5
19418 +echo "$as_me: error: cannot run test program while cross compiling
19419 +See \`config.log' for more details." >&2;}
19420     { (exit 1); exit 1; }; }
19421  else
19422    cat >conftest.$ac_ext <<_ACEOF
19423 -#line 13478 "configure"
19424 -#include "confdefs.h"
19425 +#line $LINENO "configure"
19426 +/* confdefs.h.  */
19427 +_ACEOF
19428 +cat confdefs.h >>conftest.$ac_ext
19429 +cat >>conftest.$ac_ext <<_ACEOF
19430 +/* end confdefs.h.  */
19431  
19432  #include <sys/types.h>
19433  #include <sys/socket.h>
19434 @@ -13492,51 +16283,59 @@
19435  
19436  _ACEOF
19437  rm -f conftest$ac_exeext
19438 -if { (eval echo "$as_me:13495: \"$ac_link\"") >&5
19439 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19440    (eval $ac_link) 2>&5
19441    ac_status=$?
19442 -  echo "$as_me:13498: \$? = $ac_status" >&5
19443 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19445 -  { (eval echo "$as_me:13500: \"$ac_try\"") >&5
19446 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447    (eval $ac_try) 2>&5
19448    ac_status=$?
19449 -  echo "$as_me:13503: \$? = $ac_status" >&5
19450 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451    (exit $ac_status); }; }; then
19452     ac_cv_have_accrights_in_msghdr="yes"
19453  else
19454    echo "$as_me: program exited with status $ac_status" >&5
19455  echo "$as_me: failed program was:" >&5
19456 -cat conftest.$ac_ext >&5
19457 +sed 's/^/| /' conftest.$ac_ext >&5
19458 +
19459 +( exit $ac_status )
19460   ac_cv_have_accrights_in_msghdr="no"
19461  
19462  fi
19463 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19464 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19465  fi
19466  
19467  fi
19468 -echo "$as_me:13517: result: $ac_cv_have_accrights_in_msghdr" >&5
19469 +echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
19470  echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
19471  if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
19472 -       cat >>confdefs.h <<\EOF
19473 +       cat >>confdefs.h <<\_ACEOF
19474  #define HAVE_ACCRIGHTS_IN_MSGHDR 1
19475 -EOF
19476 +_ACEOF
19477  
19478  fi
19479  
19480 -echo "$as_me:13526: checking for msg_control field in struct msghdr" >&5
19481 +echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
19482  echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
19483  if test "${ac_cv_have_control_in_msghdr+set}" = set; then
19484    echo $ECHO_N "(cached) $ECHO_C" >&6
19485  else
19486  
19487         if test "$cross_compiling" = yes; then
19488 -  { { echo "$as_me:13533: error: cannot run test program while cross compiling" >&5
19489 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
19490 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19491 +See \`config.log' for more details." >&5
19492 +echo "$as_me: error: cannot run test program while cross compiling
19493 +See \`config.log' for more details." >&2;}
19494     { (exit 1); exit 1; }; }
19495  else
19496    cat >conftest.$ac_ext <<_ACEOF
19497 -#line 13538 "configure"
19498 -#include "confdefs.h"
19499 +#line $LINENO "configure"
19500 +/* confdefs.h.  */
19501 +_ACEOF
19502 +cat confdefs.h >>conftest.$ac_ext
19503 +cat >>conftest.$ac_ext <<_ACEOF
19504 +/* end confdefs.h.  */
19505  
19506  #include <sys/types.h>
19507  #include <sys/socket.h>
19508 @@ -13552,46 +16351,52 @@
19509  
19510  _ACEOF
19511  rm -f conftest$ac_exeext
19512 -if { (eval echo "$as_me:13555: \"$ac_link\"") >&5
19513 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19514    (eval $ac_link) 2>&5
19515    ac_status=$?
19516 -  echo "$as_me:13558: \$? = $ac_status" >&5
19517 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19519 -  { (eval echo "$as_me:13560: \"$ac_try\"") >&5
19520 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521    (eval $ac_try) 2>&5
19522    ac_status=$?
19523 -  echo "$as_me:13563: \$? = $ac_status" >&5
19524 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525    (exit $ac_status); }; }; then
19526     ac_cv_have_control_in_msghdr="yes"
19527  else
19528    echo "$as_me: program exited with status $ac_status" >&5
19529  echo "$as_me: failed program was:" >&5
19530 -cat conftest.$ac_ext >&5
19531 +sed 's/^/| /' conftest.$ac_ext >&5
19532 +
19533 +( exit $ac_status )
19534   ac_cv_have_control_in_msghdr="no"
19535  
19536  fi
19537 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19538 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19539  fi
19540  
19541  fi
19542 -echo "$as_me:13577: result: $ac_cv_have_control_in_msghdr" >&5
19543 +echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
19544  echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
19545  if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
19546 -       cat >>confdefs.h <<\EOF
19547 +       cat >>confdefs.h <<\_ACEOF
19548  #define HAVE_CONTROL_IN_MSGHDR 1
19549 -EOF
19550 +_ACEOF
19551  
19552  fi
19553  
19554 -echo "$as_me:13586: checking if libc defines __progname" >&5
19555 +echo "$as_me:$LINENO: checking if libc defines __progname" >&5
19556  echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
19557  if test "${ac_cv_libc_defines___progname+set}" = set; then
19558    echo $ECHO_N "(cached) $ECHO_C" >&6
19559  else
19560  
19561         cat >conftest.$ac_ext <<_ACEOF
19562 -#line 13593 "configure"
19563 -#include "confdefs.h"
19564 +#line $LINENO "configure"
19565 +/* confdefs.h.  */
19566 +_ACEOF
19567 +cat confdefs.h >>conftest.$ac_ext
19568 +cat >>conftest.$ac_ext <<_ACEOF
19569 +/* end confdefs.h.  */
19570  
19571  int
19572  main ()
19573 @@ -13602,45 +16407,50 @@
19574  }
19575  _ACEOF
19576  rm -f conftest.$ac_objext conftest$ac_exeext
19577 -if { (eval echo "$as_me:13605: \"$ac_link\"") >&5
19578 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19579    (eval $ac_link) 2>&5
19580    ac_status=$?
19581 -  echo "$as_me:13608: \$? = $ac_status" >&5
19582 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583    (exit $ac_status); } &&
19584           { ac_try='test -s conftest$ac_exeext'
19585 -  { (eval echo "$as_me:13611: \"$ac_try\"") >&5
19586 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587    (eval $ac_try) 2>&5
19588    ac_status=$?
19589 -  echo "$as_me:13614: \$? = $ac_status" >&5
19590 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591    (exit $ac_status); }; }; then
19592     ac_cv_libc_defines___progname="yes"
19593  else
19594    echo "$as_me: failed program was:" >&5
19595 -cat conftest.$ac_ext >&5
19596 +sed 's/^/| /' conftest.$ac_ext >&5
19597 +
19598   ac_cv_libc_defines___progname="no"
19599  
19600  fi
19601  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19602  
19603  fi
19604 -echo "$as_me:13626: result: $ac_cv_libc_defines___progname" >&5
19605 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
19606  echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
19607  if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
19608 -       cat >>confdefs.h <<\EOF
19609 +       cat >>confdefs.h <<\_ACEOF
19610  #define HAVE___PROGNAME 1
19611 -EOF
19612 +_ACEOF
19613  
19614  fi
19615  
19616 -echo "$as_me:13635: checking whether $CC implements __FUNCTION__" >&5
19617 +echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
19618  echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
19619  if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
19620    echo $ECHO_N "(cached) $ECHO_C" >&6
19621  else
19622  
19623         cat >conftest.$ac_ext <<_ACEOF
19624 -#line 13642 "configure"
19625 -#include "confdefs.h"
19626 +#line $LINENO "configure"
19627 +/* confdefs.h.  */
19628 +_ACEOF
19629 +cat confdefs.h >>conftest.$ac_ext
19630 +cat >>conftest.$ac_ext <<_ACEOF
19631 +/* end confdefs.h.  */
19632  
19633  #include <stdio.h>
19634  
19635 @@ -13653,45 +16463,50 @@
19636  }
19637  _ACEOF
19638  rm -f conftest.$ac_objext conftest$ac_exeext
19639 -if { (eval echo "$as_me:13656: \"$ac_link\"") >&5
19640 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19641    (eval $ac_link) 2>&5
19642    ac_status=$?
19643 -  echo "$as_me:13659: \$? = $ac_status" >&5
19644 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645    (exit $ac_status); } &&
19646           { ac_try='test -s conftest$ac_exeext'
19647 -  { (eval echo "$as_me:13662: \"$ac_try\"") >&5
19648 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649    (eval $ac_try) 2>&5
19650    ac_status=$?
19651 -  echo "$as_me:13665: \$? = $ac_status" >&5
19652 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653    (exit $ac_status); }; }; then
19654     ac_cv_cc_implements___FUNCTION__="yes"
19655  else
19656    echo "$as_me: failed program was:" >&5
19657 -cat conftest.$ac_ext >&5
19658 +sed 's/^/| /' conftest.$ac_ext >&5
19659 +
19660   ac_cv_cc_implements___FUNCTION__="no"
19661  
19662  fi
19663  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19664  
19665  fi
19666 -echo "$as_me:13677: result: $ac_cv_cc_implements___FUNCTION__" >&5
19667 +echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
19668  echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
19669  if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
19670 -       cat >>confdefs.h <<\EOF
19671 +       cat >>confdefs.h <<\_ACEOF
19672  #define HAVE___FUNCTION__ 1
19673 -EOF
19674 +_ACEOF
19675  
19676  fi
19677  
19678 -echo "$as_me:13686: checking whether $CC implements __func__" >&5
19679 +echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
19680  echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
19681  if test "${ac_cv_cc_implements___func__+set}" = set; then
19682    echo $ECHO_N "(cached) $ECHO_C" >&6
19683  else
19684  
19685         cat >conftest.$ac_ext <<_ACEOF
19686 -#line 13693 "configure"
19687 -#include "confdefs.h"
19688 +#line $LINENO "configure"
19689 +/* confdefs.h.  */
19690 +_ACEOF
19691 +cat confdefs.h >>conftest.$ac_ext
19692 +cat >>conftest.$ac_ext <<_ACEOF
19693 +/* end confdefs.h.  */
19694  
19695  #include <stdio.h>
19696  
19697 @@ -13704,45 +16519,50 @@
19698  }
19699  _ACEOF
19700  rm -f conftest.$ac_objext conftest$ac_exeext
19701 -if { (eval echo "$as_me:13707: \"$ac_link\"") >&5
19702 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19703    (eval $ac_link) 2>&5
19704    ac_status=$?
19705 -  echo "$as_me:13710: \$? = $ac_status" >&5
19706 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707    (exit $ac_status); } &&
19708           { ac_try='test -s conftest$ac_exeext'
19709 -  { (eval echo "$as_me:13713: \"$ac_try\"") >&5
19710 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711    (eval $ac_try) 2>&5
19712    ac_status=$?
19713 -  echo "$as_me:13716: \$? = $ac_status" >&5
19714 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715    (exit $ac_status); }; }; then
19716     ac_cv_cc_implements___func__="yes"
19717  else
19718    echo "$as_me: failed program was:" >&5
19719 -cat conftest.$ac_ext >&5
19720 +sed 's/^/| /' conftest.$ac_ext >&5
19721 +
19722   ac_cv_cc_implements___func__="no"
19723  
19724  fi
19725  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19726  
19727  fi
19728 -echo "$as_me:13728: result: $ac_cv_cc_implements___func__" >&5
19729 +echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
19730  echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
19731  if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
19732 -       cat >>confdefs.h <<\EOF
19733 +       cat >>confdefs.h <<\_ACEOF
19734  #define HAVE___func__ 1
19735 -EOF
19736 +_ACEOF
19737  
19738  fi
19739  
19740 -echo "$as_me:13737: checking whether getopt has optreset support" >&5
19741 +echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
19742  echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
19743  if test "${ac_cv_have_getopt_optreset+set}" = set; then
19744    echo $ECHO_N "(cached) $ECHO_C" >&6
19745  else
19746  
19747         cat >conftest.$ac_ext <<_ACEOF
19748 -#line 13744 "configure"
19749 -#include "confdefs.h"
19750 +#line $LINENO "configure"
19751 +/* confdefs.h.  */
19752 +_ACEOF
19753 +cat confdefs.h >>conftest.$ac_ext
19754 +cat >>conftest.$ac_ext <<_ACEOF
19755 +/* end confdefs.h.  */
19756  
19757  #include <getopt.h>
19758  
19759 @@ -13755,45 +16575,50 @@
19760  }
19761  _ACEOF
19762  rm -f conftest.$ac_objext conftest$ac_exeext
19763 -if { (eval echo "$as_me:13758: \"$ac_link\"") >&5
19764 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19765    (eval $ac_link) 2>&5
19766    ac_status=$?
19767 -  echo "$as_me:13761: \$? = $ac_status" >&5
19768 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769    (exit $ac_status); } &&
19770           { ac_try='test -s conftest$ac_exeext'
19771 -  { (eval echo "$as_me:13764: \"$ac_try\"") >&5
19772 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773    (eval $ac_try) 2>&5
19774    ac_status=$?
19775 -  echo "$as_me:13767: \$? = $ac_status" >&5
19776 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777    (exit $ac_status); }; }; then
19778     ac_cv_have_getopt_optreset="yes"
19779  else
19780    echo "$as_me: failed program was:" >&5
19781 -cat conftest.$ac_ext >&5
19782 +sed 's/^/| /' conftest.$ac_ext >&5
19783 +
19784   ac_cv_have_getopt_optreset="no"
19785  
19786  fi
19787  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19788  
19789  fi
19790 -echo "$as_me:13779: result: $ac_cv_have_getopt_optreset" >&5
19791 +echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
19792  echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
19793  if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
19794 -       cat >>confdefs.h <<\EOF
19795 +       cat >>confdefs.h <<\_ACEOF
19796  #define HAVE_GETOPT_OPTRESET 1
19797 -EOF
19798 +_ACEOF
19799  
19800  fi
19801  
19802 -echo "$as_me:13788: checking if libc defines sys_errlist" >&5
19803 +echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
19804  echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
19805  if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
19806    echo $ECHO_N "(cached) $ECHO_C" >&6
19807  else
19808  
19809         cat >conftest.$ac_ext <<_ACEOF
19810 -#line 13795 "configure"
19811 -#include "confdefs.h"
19812 +#line $LINENO "configure"
19813 +/* confdefs.h.  */
19814 +_ACEOF
19815 +cat confdefs.h >>conftest.$ac_ext
19816 +cat >>conftest.$ac_ext <<_ACEOF
19817 +/* end confdefs.h.  */
19818  
19819  int
19820  main ()
19821 @@ -13804,45 +16629,51 @@
19822  }
19823  _ACEOF
19824  rm -f conftest.$ac_objext conftest$ac_exeext
19825 -if { (eval echo "$as_me:13807: \"$ac_link\"") >&5
19826 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827    (eval $ac_link) 2>&5
19828    ac_status=$?
19829 -  echo "$as_me:13810: \$? = $ac_status" >&5
19830 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831    (exit $ac_status); } &&
19832           { ac_try='test -s conftest$ac_exeext'
19833 -  { (eval echo "$as_me:13813: \"$ac_try\"") >&5
19834 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835    (eval $ac_try) 2>&5
19836    ac_status=$?
19837 -  echo "$as_me:13816: \$? = $ac_status" >&5
19838 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839    (exit $ac_status); }; }; then
19840     ac_cv_libc_defines_sys_errlist="yes"
19841  else
19842    echo "$as_me: failed program was:" >&5
19843 -cat conftest.$ac_ext >&5
19844 +sed 's/^/| /' conftest.$ac_ext >&5
19845 +
19846   ac_cv_libc_defines_sys_errlist="no"
19847  
19848  fi
19849  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19850  
19851  fi
19852 -echo "$as_me:13828: result: $ac_cv_libc_defines_sys_errlist" >&5
19853 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
19854  echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
19855  if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
19856 -       cat >>confdefs.h <<\EOF
19857 +       cat >>confdefs.h <<\_ACEOF
19858  #define HAVE_SYS_ERRLIST 1
19859 -EOF
19860 +_ACEOF
19861  
19862  fi
19863  
19864 -echo "$as_me:13837: checking if libc defines sys_nerr" >&5
19865 +
19866 +echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
19867  echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
19868  if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
19869    echo $ECHO_N "(cached) $ECHO_C" >&6
19870  else
19871  
19872         cat >conftest.$ac_ext <<_ACEOF
19873 -#line 13844 "configure"
19874 -#include "confdefs.h"
19875 +#line $LINENO "configure"
19876 +/* confdefs.h.  */
19877 +_ACEOF
19878 +cat confdefs.h >>conftest.$ac_ext
19879 +cat >>conftest.$ac_ext <<_ACEOF
19880 +/* end confdefs.h.  */
19881  
19882  int
19883  main ()
19884 @@ -13853,33 +16684,34 @@
19885  }
19886  _ACEOF
19887  rm -f conftest.$ac_objext conftest$ac_exeext
19888 -if { (eval echo "$as_me:13856: \"$ac_link\"") >&5
19889 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19890    (eval $ac_link) 2>&5
19891    ac_status=$?
19892 -  echo "$as_me:13859: \$? = $ac_status" >&5
19893 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894    (exit $ac_status); } &&
19895           { ac_try='test -s conftest$ac_exeext'
19896 -  { (eval echo "$as_me:13862: \"$ac_try\"") >&5
19897 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898    (eval $ac_try) 2>&5
19899    ac_status=$?
19900 -  echo "$as_me:13865: \$? = $ac_status" >&5
19901 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902    (exit $ac_status); }; }; then
19903     ac_cv_libc_defines_sys_nerr="yes"
19904  else
19905    echo "$as_me: failed program was:" >&5
19906 -cat conftest.$ac_ext >&5
19907 +sed 's/^/| /' conftest.$ac_ext >&5
19908 +
19909   ac_cv_libc_defines_sys_nerr="no"
19910  
19911  fi
19912  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19913  
19914  fi
19915 -echo "$as_me:13877: result: $ac_cv_libc_defines_sys_nerr" >&5
19916 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
19917  echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
19918  if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
19919 -       cat >>confdefs.h <<\EOF
19920 +       cat >>confdefs.h <<\_ACEOF
19921  #define HAVE_SYS_NERR 1
19922 -EOF
19923 +_ACEOF
19924  
19925  fi
19926  
19927 @@ -13905,23 +16737,70 @@
19928  for ac_header in sectok.h
19929  do
19930  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19931 -echo "$as_me:13908: checking for $ac_header" >&5
19932 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
19933 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
19934  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19935  if eval "test \"\${$as_ac_Header+set}\" = set"; then
19936    echo $ECHO_N "(cached) $ECHO_C" >&6
19937 +fi
19938 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19939 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19940  else
19941 -  cat >conftest.$ac_ext <<_ACEOF
19942 -#line 13914 "configure"
19943 -#include "confdefs.h"
19944 +  # Is the header compilable?
19945 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
19946 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19947 +cat >conftest.$ac_ext <<_ACEOF
19948 +#line $LINENO "configure"
19949 +/* confdefs.h.  */
19950 +_ACEOF
19951 +cat confdefs.h >>conftest.$ac_ext
19952 +cat >>conftest.$ac_ext <<_ACEOF
19953 +/* end confdefs.h.  */
19954 +$ac_includes_default
19955  #include <$ac_header>
19956  _ACEOF
19957 -if { (eval echo "$as_me:13918: \"$ac_cpp conftest.$ac_ext\"") >&5
19958 +rm -f conftest.$ac_objext
19959 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 +  (eval $ac_compile) 2>&5
19961 +  ac_status=$?
19962 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 +  (exit $ac_status); } &&
19964 +         { ac_try='test -s conftest.$ac_objext'
19965 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 +  (eval $ac_try) 2>&5
19967 +  ac_status=$?
19968 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 +  (exit $ac_status); }; }; then
19970 +  ac_header_compiler=yes
19971 +else
19972 +  echo "$as_me: failed program was:" >&5
19973 +sed 's/^/| /' conftest.$ac_ext >&5
19974 +
19975 +ac_header_compiler=no
19976 +fi
19977 +rm -f conftest.$ac_objext conftest.$ac_ext
19978 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19979 +echo "${ECHO_T}$ac_header_compiler" >&6
19980 +
19981 +# Is the header present?
19982 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
19983 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19984 +cat >conftest.$ac_ext <<_ACEOF
19985 +#line $LINENO "configure"
19986 +/* confdefs.h.  */
19987 +_ACEOF
19988 +cat confdefs.h >>conftest.$ac_ext
19989 +cat >>conftest.$ac_ext <<_ACEOF
19990 +/* end confdefs.h.  */
19991 +#include <$ac_header>
19992 +_ACEOF
19993 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19994    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19995    ac_status=$?
19996 -  egrep -v '^ *\+' conftest.er1 >conftest.err
19997 +  grep -v '^ *+' conftest.er1 >conftest.err
19998    rm -f conftest.er1
19999    cat conftest.err >&5
20000 -  echo "$as_me:13924: \$? = $ac_status" >&5
20001 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002    (exit $ac_status); } >/dev/null; then
20003    if test -s conftest.err; then
20004      ac_cpp_err=$ac_c_preproc_warn_flag
20005 @@ -13932,31 +16811,77 @@
20006    ac_cpp_err=yes
20007  fi
20008  if test -z "$ac_cpp_err"; then
20009 -  eval "$as_ac_Header=yes"
20010 +  ac_header_preproc=yes
20011  else
20012    echo "$as_me: failed program was:" >&5
20013 -  cat conftest.$ac_ext >&5
20014 -  eval "$as_ac_Header=no"
20015 +sed 's/^/| /' conftest.$ac_ext >&5
20016 +
20017 +  ac_header_preproc=no
20018  fi
20019  rm -f conftest.err conftest.$ac_ext
20020 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20021 +echo "${ECHO_T}$ac_header_preproc" >&6
20022 +
20023 +# So?  What about this header?
20024 +case $ac_header_compiler:$ac_header_preproc in
20025 +  yes:no )
20026 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20027 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20028 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20029 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20030 +    (
20031 +      cat <<\_ASBOX
20032 +## ------------------------------------ ##
20033 +## Report this to bug-autoconf@gnu.org. ##
20034 +## ------------------------------------ ##
20035 +_ASBOX
20036 +    ) |
20037 +      sed "s/^/$as_me: WARNING:     /" >&2
20038 +    ;;
20039 +  no:yes )
20040 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20041 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20042 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20043 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20044 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20045 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20046 +    (
20047 +      cat <<\_ASBOX
20048 +## ------------------------------------ ##
20049 +## Report this to bug-autoconf@gnu.org. ##
20050 +## ------------------------------------ ##
20051 +_ASBOX
20052 +    ) |
20053 +      sed "s/^/$as_me: WARNING:     /" >&2
20054 +    ;;
20055 +esac
20056 +echo "$as_me:$LINENO: checking for $ac_header" >&5
20057 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20058 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20059 +  echo $ECHO_N "(cached) $ECHO_C" >&6
20060 +else
20061 +  eval "$as_ac_Header=$ac_header_preproc"
20062  fi
20063 -echo "$as_me:13943: result: `eval echo '${'$as_ac_Header'}'`" >&5
20064 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20065  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20066 +
20067 +fi
20068  if test `eval echo '${'$as_ac_Header'}'` = yes; then
20069 -  cat >>confdefs.h <<EOF
20070 +  cat >>confdefs.h <<_ACEOF
20071  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20072 -EOF
20073 +_ACEOF
20074  
20075  fi
20076 +
20077  done
20078  
20079                         if test "$ac_cv_header_sectok_h" != yes; then
20080 -                               { { echo "$as_me:13954: error: Can't find sectok.h" >&5
20081 +                               { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
20082  echo "$as_me: error: Can't find sectok.h" >&2;}
20083     { (exit 1); exit 1; }; }
20084                         fi
20085  
20086 -echo "$as_me:13959: checking for sectok_open in -lsectok" >&5
20087 +echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
20088  echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
20089  if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
20090    echo $ECHO_N "(cached) $ECHO_C" >&6
20091 @@ -13964,8 +16889,12 @@
20092    ac_check_lib_save_LIBS=$LIBS
20093  LIBS="-lsectok  $LIBS"
20094  cat >conftest.$ac_ext <<_ACEOF
20095 -#line 13967 "configure"
20096 -#include "confdefs.h"
20097 +#line $LINENO "configure"
20098 +/* confdefs.h.  */
20099 +_ACEOF
20100 +cat confdefs.h >>conftest.$ac_ext
20101 +cat >>conftest.$ac_ext <<_ACEOF
20102 +/* end confdefs.h.  */
20103  
20104  /* Override any gcc2 internal prototype to avoid an error.  */
20105  #ifdef __cplusplus
20106 @@ -13983,53 +16912,55 @@
20107  }
20108  _ACEOF
20109  rm -f conftest.$ac_objext conftest$ac_exeext
20110 -if { (eval echo "$as_me:13986: \"$ac_link\"") >&5
20111 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112    (eval $ac_link) 2>&5
20113    ac_status=$?
20114 -  echo "$as_me:13989: \$? = $ac_status" >&5
20115 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116    (exit $ac_status); } &&
20117           { ac_try='test -s conftest$ac_exeext'
20118 -  { (eval echo "$as_me:13992: \"$ac_try\"") >&5
20119 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120    (eval $ac_try) 2>&5
20121    ac_status=$?
20122 -  echo "$as_me:13995: \$? = $ac_status" >&5
20123 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124    (exit $ac_status); }; }; then
20125    ac_cv_lib_sectok_sectok_open=yes
20126  else
20127    echo "$as_me: failed program was:" >&5
20128 -cat conftest.$ac_ext >&5
20129 +sed 's/^/| /' conftest.$ac_ext >&5
20130 +
20131  ac_cv_lib_sectok_sectok_open=no
20132  fi
20133  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20134  LIBS=$ac_check_lib_save_LIBS
20135  fi
20136 -echo "$as_me:14006: result: $ac_cv_lib_sectok_sectok_open" >&5
20137 +echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
20138  echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
20139  if test $ac_cv_lib_sectok_sectok_open = yes; then
20140 -  cat >>confdefs.h <<EOF
20141 +  cat >>confdefs.h <<_ACEOF
20142  #define HAVE_LIBSECTOK 1
20143 -EOF
20144 +_ACEOF
20145  
20146    LIBS="-lsectok $LIBS"
20147  
20148  fi
20149  
20150                         if test "$ac_cv_lib_sectok_sectok_open" != yes; then
20151 -                               { { echo "$as_me:14018: error: Can't find libsectok" >&5
20152 +                               { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
20153  echo "$as_me: error: Can't find libsectok" >&2;}
20154     { (exit 1); exit 1; }; }
20155                         fi
20156 -                       cat >>confdefs.h <<\EOF
20157 +                       cat >>confdefs.h <<\_ACEOF
20158  #define SMARTCARD 1
20159 -EOF
20160 +_ACEOF
20161  
20162 -                       cat >>confdefs.h <<\EOF
20163 +                       cat >>confdefs.h <<\_ACEOF
20164  #define USE_SECTOK 1
20165 -EOF
20166 +_ACEOF
20167  
20168                         SCARD_MSG="yes, using sectok"
20169                 fi
20170  
20171 +
20172  fi;
20173  
20174  # Check whether user wants OpenSC support
20175 @@ -14045,7 +16976,7 @@
20176    OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
20177    # Extract the first word of "opensc-config", so it can be a program name with args.
20178  set dummy opensc-config; ac_word=$2
20179 -echo "$as_me:14048: checking for $ac_word" >&5
20180 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20181  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20182  if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
20183    echo $ECHO_N "(cached) $ECHO_C" >&6
20184 @@ -14055,16 +16986,18 @@
20185    ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
20186    ;;
20187    *)
20188 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
20189 -ac_dummy="$PATH"
20190 -for ac_dir in $ac_dummy; do
20191 -  IFS=$ac_save_IFS
20192 -  test -z "$ac_dir" && ac_dir=.
20193 -  if $as_executable_p "$ac_dir/$ac_word"; then
20194 -   ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word"
20195 -   echo "$as_me:14065: found $ac_dir/$ac_word" >&5
20196 -   break
20197 -fi
20198 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20199 +for as_dir in $PATH
20200 +do
20201 +  IFS=$as_save_IFS
20202 +  test -z "$as_dir" && as_dir=.
20203 +  for ac_exec_ext in '' $ac_executable_extensions; do
20204 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20205 +    ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20206 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20207 +    break 2
20208 +  fi
20209 +done
20210  done
20211  
20212    test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
20213 @@ -14074,10 +17007,10 @@
20214  OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
20215  
20216  if test -n "$OPENSC_CONFIG"; then
20217 -  echo "$as_me:14077: result: $OPENSC_CONFIG" >&5
20218 +  echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
20219  echo "${ECHO_T}$OPENSC_CONFIG" >&6
20220  else
20221 -  echo "$as_me:14080: result: no" >&5
20222 +  echo "$as_me:$LINENO: result: no" >&5
20223  echo "${ECHO_T}no" >&6
20224  fi
20225  
20226 @@ -14086,13 +17019,13 @@
20227      LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
20228      CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
20229      LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
20230 -    cat >>confdefs.h <<\EOF
20231 +    cat >>confdefs.h <<\_ACEOF
20232  #define SMARTCARD 1
20233 -EOF
20234 +_ACEOF
20235  
20236 -    cat >>confdefs.h <<\EOF
20237 +    cat >>confdefs.h <<\_ACEOF
20238  #define USE_OPENSC 1
20239 -EOF
20240 +_ACEOF
20241  
20242      SCARD_MSG="yes, using OpenSC"
20243    fi
20244 @@ -14107,11 +17040,11 @@
20245  
20246                 if test "x$withval" != "xno" ; then
20247                         DNS_MSG="yes"
20248 -                       cat >>confdefs.h <<\EOF
20249 +                       cat >>confdefs.h <<\_ACEOF
20250  #define DNS 1
20251 -EOF
20252 +_ACEOF
20253  
20254 -                       echo "$as_me:14114: checking for library containing getrrsetbyname" >&5
20255 +                       echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5
20256  echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6
20257  if test "${ac_cv_search_getrrsetbyname+set}" = set; then
20258    echo $ECHO_N "(cached) $ECHO_C" >&6
20259 @@ -14119,8 +17052,12 @@
20260    ac_func_search_save_LIBS=$LIBS
20261  ac_cv_search_getrrsetbyname=no
20262  cat >conftest.$ac_ext <<_ACEOF
20263 -#line 14122 "configure"
20264 -#include "confdefs.h"
20265 +#line $LINENO "configure"
20266 +/* confdefs.h.  */
20267 +_ACEOF
20268 +cat confdefs.h >>conftest.$ac_ext
20269 +cat >>conftest.$ac_ext <<_ACEOF
20270 +/* end confdefs.h.  */
20271  
20272  /* Override any gcc2 internal prototype to avoid an error.  */
20273  #ifdef __cplusplus
20274 @@ -14138,29 +17075,34 @@
20275  }
20276  _ACEOF
20277  rm -f conftest.$ac_objext conftest$ac_exeext
20278 -if { (eval echo "$as_me:14141: \"$ac_link\"") >&5
20279 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20280    (eval $ac_link) 2>&5
20281    ac_status=$?
20282 -  echo "$as_me:14144: \$? = $ac_status" >&5
20283 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284    (exit $ac_status); } &&
20285           { ac_try='test -s conftest$ac_exeext'
20286 -  { (eval echo "$as_me:14147: \"$ac_try\"") >&5
20287 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288    (eval $ac_try) 2>&5
20289    ac_status=$?
20290 -  echo "$as_me:14150: \$? = $ac_status" >&5
20291 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292    (exit $ac_status); }; }; then
20293    ac_cv_search_getrrsetbyname="none required"
20294  else
20295    echo "$as_me: failed program was:" >&5
20296 -cat conftest.$ac_ext >&5
20297 +sed 's/^/| /' conftest.$ac_ext >&5
20298 +
20299  fi
20300  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20301  if test "$ac_cv_search_getrrsetbyname" = no; then
20302    for ac_lib in resolv; do
20303      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20304      cat >conftest.$ac_ext <<_ACEOF
20305 -#line 14162 "configure"
20306 -#include "confdefs.h"
20307 +#line $LINENO "configure"
20308 +/* confdefs.h.  */
20309 +_ACEOF
20310 +cat confdefs.h >>conftest.$ac_ext
20311 +cat >>conftest.$ac_ext <<_ACEOF
20312 +/* end confdefs.h.  */
20313  
20314  /* Override any gcc2 internal prototype to avoid an error.  */
20315  #ifdef __cplusplus
20316 @@ -14178,40 +17120,41 @@
20317  }
20318  _ACEOF
20319  rm -f conftest.$ac_objext conftest$ac_exeext
20320 -if { (eval echo "$as_me:14181: \"$ac_link\"") >&5
20321 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20322    (eval $ac_link) 2>&5
20323    ac_status=$?
20324 -  echo "$as_me:14184: \$? = $ac_status" >&5
20325 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326    (exit $ac_status); } &&
20327           { ac_try='test -s conftest$ac_exeext'
20328 -  { (eval echo "$as_me:14187: \"$ac_try\"") >&5
20329 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330    (eval $ac_try) 2>&5
20331    ac_status=$?
20332 -  echo "$as_me:14190: \$? = $ac_status" >&5
20333 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334    (exit $ac_status); }; }; then
20335    ac_cv_search_getrrsetbyname="-l$ac_lib"
20336  break
20337  else
20338    echo "$as_me: failed program was:" >&5
20339 -cat conftest.$ac_ext >&5
20340 +sed 's/^/| /' conftest.$ac_ext >&5
20341 +
20342  fi
20343  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20344    done
20345  fi
20346  LIBS=$ac_func_search_save_LIBS
20347  fi
20348 -echo "$as_me:14203: result: $ac_cv_search_getrrsetbyname" >&5
20349 +echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
20350  echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
20351  if test "$ac_cv_search_getrrsetbyname" != no; then
20352    test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
20353 -  cat >>confdefs.h <<\EOF
20354 +  cat >>confdefs.h <<\_ACEOF
20355  #define HAVE_GETRRSETBYNAME 1
20356 -EOF
20357 +_ACEOF
20358  
20359  else
20360  
20361                                         # Needed by our getrrsetbyname()
20362 -                                       echo "$as_me:14214: checking for library containing res_query" >&5
20363 +                                       echo "$as_me:$LINENO: checking for library containing res_query" >&5
20364  echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6
20365  if test "${ac_cv_search_res_query+set}" = set; then
20366    echo $ECHO_N "(cached) $ECHO_C" >&6
20367 @@ -14219,8 +17162,12 @@
20368    ac_func_search_save_LIBS=$LIBS
20369  ac_cv_search_res_query=no
20370  cat >conftest.$ac_ext <<_ACEOF
20371 -#line 14222 "configure"
20372 -#include "confdefs.h"
20373 +#line $LINENO "configure"
20374 +/* confdefs.h.  */
20375 +_ACEOF
20376 +cat confdefs.h >>conftest.$ac_ext
20377 +cat >>conftest.$ac_ext <<_ACEOF
20378 +/* end confdefs.h.  */
20379  
20380  /* Override any gcc2 internal prototype to avoid an error.  */
20381  #ifdef __cplusplus
20382 @@ -14238,29 +17185,34 @@
20383  }
20384  _ACEOF
20385  rm -f conftest.$ac_objext conftest$ac_exeext
20386 -if { (eval echo "$as_me:14241: \"$ac_link\"") >&5
20387 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20388    (eval $ac_link) 2>&5
20389    ac_status=$?
20390 -  echo "$as_me:14244: \$? = $ac_status" >&5
20391 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392    (exit $ac_status); } &&
20393           { ac_try='test -s conftest$ac_exeext'
20394 -  { (eval echo "$as_me:14247: \"$ac_try\"") >&5
20395 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396    (eval $ac_try) 2>&5
20397    ac_status=$?
20398 -  echo "$as_me:14250: \$? = $ac_status" >&5
20399 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400    (exit $ac_status); }; }; then
20401    ac_cv_search_res_query="none required"
20402  else
20403    echo "$as_me: failed program was:" >&5
20404 -cat conftest.$ac_ext >&5
20405 +sed 's/^/| /' conftest.$ac_ext >&5
20406 +
20407  fi
20408  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20409  if test "$ac_cv_search_res_query" = no; then
20410    for ac_lib in resolv; do
20411      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20412      cat >conftest.$ac_ext <<_ACEOF
20413 -#line 14262 "configure"
20414 -#include "confdefs.h"
20415 +#line $LINENO "configure"
20416 +/* confdefs.h.  */
20417 +_ACEOF
20418 +cat confdefs.h >>conftest.$ac_ext
20419 +cat >>conftest.$ac_ext <<_ACEOF
20420 +/* end confdefs.h.  */
20421  
20422  /* Override any gcc2 internal prototype to avoid an error.  */
20423  #ifdef __cplusplus
20424 @@ -14278,36 +17230,37 @@
20425  }
20426  _ACEOF
20427  rm -f conftest.$ac_objext conftest$ac_exeext
20428 -if { (eval echo "$as_me:14281: \"$ac_link\"") >&5
20429 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20430    (eval $ac_link) 2>&5
20431    ac_status=$?
20432 -  echo "$as_me:14284: \$? = $ac_status" >&5
20433 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434    (exit $ac_status); } &&
20435           { ac_try='test -s conftest$ac_exeext'
20436 -  { (eval echo "$as_me:14287: \"$ac_try\"") >&5
20437 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438    (eval $ac_try) 2>&5
20439    ac_status=$?
20440 -  echo "$as_me:14290: \$? = $ac_status" >&5
20441 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442    (exit $ac_status); }; }; then
20443    ac_cv_search_res_query="-l$ac_lib"
20444  break
20445  else
20446    echo "$as_me: failed program was:" >&5
20447 -cat conftest.$ac_ext >&5
20448 +sed 's/^/| /' conftest.$ac_ext >&5
20449 +
20450  fi
20451  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20452    done
20453  fi
20454  LIBS=$ac_func_search_save_LIBS
20455  fi
20456 -echo "$as_me:14303: result: $ac_cv_search_res_query" >&5
20457 +echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
20458  echo "${ECHO_T}$ac_cv_search_res_query" >&6
20459  if test "$ac_cv_search_res_query" != no; then
20460    test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS"
20461  
20462  fi
20463  
20464 -                                       echo "$as_me:14310: checking for library containing dn_expand" >&5
20465 +                                       echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
20466  echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
20467  if test "${ac_cv_search_dn_expand+set}" = set; then
20468    echo $ECHO_N "(cached) $ECHO_C" >&6
20469 @@ -14315,8 +17268,12 @@
20470    ac_func_search_save_LIBS=$LIBS
20471  ac_cv_search_dn_expand=no
20472  cat >conftest.$ac_ext <<_ACEOF
20473 -#line 14318 "configure"
20474 -#include "confdefs.h"
20475 +#line $LINENO "configure"
20476 +/* confdefs.h.  */
20477 +_ACEOF
20478 +cat confdefs.h >>conftest.$ac_ext
20479 +cat >>conftest.$ac_ext <<_ACEOF
20480 +/* end confdefs.h.  */
20481  
20482  /* Override any gcc2 internal prototype to avoid an error.  */
20483  #ifdef __cplusplus
20484 @@ -14334,29 +17291,34 @@
20485  }
20486  _ACEOF
20487  rm -f conftest.$ac_objext conftest$ac_exeext
20488 -if { (eval echo "$as_me:14337: \"$ac_link\"") >&5
20489 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20490    (eval $ac_link) 2>&5
20491    ac_status=$?
20492 -  echo "$as_me:14340: \$? = $ac_status" >&5
20493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494    (exit $ac_status); } &&
20495           { ac_try='test -s conftest$ac_exeext'
20496 -  { (eval echo "$as_me:14343: \"$ac_try\"") >&5
20497 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498    (eval $ac_try) 2>&5
20499    ac_status=$?
20500 -  echo "$as_me:14346: \$? = $ac_status" >&5
20501 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502    (exit $ac_status); }; }; then
20503    ac_cv_search_dn_expand="none required"
20504  else
20505    echo "$as_me: failed program was:" >&5
20506 -cat conftest.$ac_ext >&5
20507 +sed 's/^/| /' conftest.$ac_ext >&5
20508 +
20509  fi
20510  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20511  if test "$ac_cv_search_dn_expand" = no; then
20512    for ac_lib in resolv; do
20513      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20514      cat >conftest.$ac_ext <<_ACEOF
20515 -#line 14358 "configure"
20516 -#include "confdefs.h"
20517 +#line $LINENO "configure"
20518 +/* confdefs.h.  */
20519 +_ACEOF
20520 +cat confdefs.h >>conftest.$ac_ext
20521 +cat >>conftest.$ac_ext <<_ACEOF
20522 +/* end confdefs.h.  */
20523  
20524  /* Override any gcc2 internal prototype to avoid an error.  */
20525  #ifdef __cplusplus
20526 @@ -14374,112 +17336,133 @@
20527  }
20528  _ACEOF
20529  rm -f conftest.$ac_objext conftest$ac_exeext
20530 -if { (eval echo "$as_me:14377: \"$ac_link\"") >&5
20531 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20532    (eval $ac_link) 2>&5
20533    ac_status=$?
20534 -  echo "$as_me:14380: \$? = $ac_status" >&5
20535 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536    (exit $ac_status); } &&
20537           { ac_try='test -s conftest$ac_exeext'
20538 -  { (eval echo "$as_me:14383: \"$ac_try\"") >&5
20539 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540    (eval $ac_try) 2>&5
20541    ac_status=$?
20542 -  echo "$as_me:14386: \$? = $ac_status" >&5
20543 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544    (exit $ac_status); }; }; then
20545    ac_cv_search_dn_expand="-l$ac_lib"
20546  break
20547  else
20548    echo "$as_me: failed program was:" >&5
20549 -cat conftest.$ac_ext >&5
20550 +sed 's/^/| /' conftest.$ac_ext >&5
20551 +
20552  fi
20553  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20554    done
20555  fi
20556  LIBS=$ac_func_search_save_LIBS
20557  fi
20558 -echo "$as_me:14399: result: $ac_cv_search_dn_expand" >&5
20559 +echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
20560  echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
20561  if test "$ac_cv_search_dn_expand" != no; then
20562    test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
20563  
20564  fi
20565  
20566 +
20567 +
20568  for ac_func in _getshort _getlong
20569  do
20570  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20571 -echo "$as_me:14409: checking for $ac_func" >&5
20572 +echo "$as_me:$LINENO: checking for $ac_func" >&5
20573  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20574  if eval "test \"\${$as_ac_var+set}\" = set"; then
20575    echo $ECHO_N "(cached) $ECHO_C" >&6
20576  else
20577    cat >conftest.$ac_ext <<_ACEOF
20578 -#line 14415 "configure"
20579 -#include "confdefs.h"
20580 +#line $LINENO "configure"
20581 +/* confdefs.h.  */
20582 +_ACEOF
20583 +cat confdefs.h >>conftest.$ac_ext
20584 +cat >>conftest.$ac_ext <<_ACEOF
20585 +/* end confdefs.h.  */
20586  /* System header to define __stub macros and hopefully few prototypes,
20587 -    which can conflict with char $ac_func (); below.  */
20588 -#include <assert.h>
20589 +    which can conflict with char $ac_func (); below.
20590 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20591 +    <limits.h> exists even on freestanding compilers.  */
20592 +#ifdef __STDC__
20593 +# include <limits.h>
20594 +#else
20595 +# include <assert.h>
20596 +#endif
20597  /* Override any gcc2 internal prototype to avoid an error.  */
20598  #ifdef __cplusplus
20599  extern "C"
20600 +{
20601  #endif
20602  /* We use char because int might match the return type of a gcc2
20603     builtin and then its argument prototype would still apply.  */
20604  char $ac_func ();
20605 -char (*f) ();
20606 -
20607 -int
20608 -main ()
20609 -{
20610  /* The GNU C library defines this for functions which it implements
20611      to always fail with ENOSYS.  Some functions are actually named
20612      something starting with __ and the normal name is an alias.  */
20613  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20614  choke me
20615  #else
20616 -f = $ac_func;
20617 +char (*f) () = $ac_func;
20618 +#endif
20619 +#ifdef __cplusplus
20620 +}
20621  #endif
20622  
20623 +int
20624 +main ()
20625 +{
20626 +return f != $ac_func;
20627    ;
20628    return 0;
20629  }
20630  _ACEOF
20631  rm -f conftest.$ac_objext conftest$ac_exeext
20632 -if { (eval echo "$as_me:14446: \"$ac_link\"") >&5
20633 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634    (eval $ac_link) 2>&5
20635    ac_status=$?
20636 -  echo "$as_me:14449: \$? = $ac_status" >&5
20637 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638    (exit $ac_status); } &&
20639           { ac_try='test -s conftest$ac_exeext'
20640 -  { (eval echo "$as_me:14452: \"$ac_try\"") >&5
20641 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642    (eval $ac_try) 2>&5
20643    ac_status=$?
20644 -  echo "$as_me:14455: \$? = $ac_status" >&5
20645 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646    (exit $ac_status); }; }; then
20647    eval "$as_ac_var=yes"
20648  else
20649    echo "$as_me: failed program was:" >&5
20650 -cat conftest.$ac_ext >&5
20651 +sed 's/^/| /' conftest.$ac_ext >&5
20652 +
20653  eval "$as_ac_var=no"
20654  fi
20655  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20656  fi
20657 -echo "$as_me:14465: result: `eval echo '${'$as_ac_var'}'`" >&5
20658 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20659  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20660  if test `eval echo '${'$as_ac_var'}'` = yes; then
20661 -  cat >>confdefs.h <<EOF
20662 +  cat >>confdefs.h <<_ACEOF
20663  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20664 -EOF
20665 +_ACEOF
20666  
20667  fi
20668  done
20669  
20670 -                                       echo "$as_me:14475: checking for HEADER.ad" >&5
20671 +                                       echo "$as_me:$LINENO: checking for HEADER.ad" >&5
20672  echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
20673  if test "${ac_cv_member_HEADER_ad+set}" = set; then
20674    echo $ECHO_N "(cached) $ECHO_C" >&6
20675  else
20676    cat >conftest.$ac_ext <<_ACEOF
20677 -#line 14481 "configure"
20678 -#include "confdefs.h"
20679 +#line $LINENO "configure"
20680 +/* confdefs.h.  */
20681 +_ACEOF
20682 +cat confdefs.h >>conftest.$ac_ext
20683 +cat >>conftest.$ac_ext <<_ACEOF
20684 +/* end confdefs.h.  */
20685  #include <arpa/nameser.h>
20686  
20687  int
20688 @@ -14493,38 +17476,79 @@
20689  }
20690  _ACEOF
20691  rm -f conftest.$ac_objext
20692 -if { (eval echo "$as_me:14496: \"$ac_compile\"") >&5
20693 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20694    (eval $ac_compile) 2>&5
20695    ac_status=$?
20696 -  echo "$as_me:14499: \$? = $ac_status" >&5
20697 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698    (exit $ac_status); } &&
20699           { ac_try='test -s conftest.$ac_objext'
20700 -  { (eval echo "$as_me:14502: \"$ac_try\"") >&5
20701 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702    (eval $ac_try) 2>&5
20703    ac_status=$?
20704 -  echo "$as_me:14505: \$? = $ac_status" >&5
20705 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706    (exit $ac_status); }; }; then
20707    ac_cv_member_HEADER_ad=yes
20708  else
20709    echo "$as_me: failed program was:" >&5
20710 -cat conftest.$ac_ext >&5
20711 +sed 's/^/| /' conftest.$ac_ext >&5
20712 +
20713 +cat >conftest.$ac_ext <<_ACEOF
20714 +#line $LINENO "configure"
20715 +/* confdefs.h.  */
20716 +_ACEOF
20717 +cat confdefs.h >>conftest.$ac_ext
20718 +cat >>conftest.$ac_ext <<_ACEOF
20719 +/* end confdefs.h.  */
20720 +#include <arpa/nameser.h>
20721 +
20722 +int
20723 +main ()
20724 +{
20725 +static HEADER ac_aggr;
20726 +if (sizeof ac_aggr.ad)
20727 +return 0;
20728 +  ;
20729 +  return 0;
20730 +}
20731 +_ACEOF
20732 +rm -f conftest.$ac_objext
20733 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20734 +  (eval $ac_compile) 2>&5
20735 +  ac_status=$?
20736 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 +  (exit $ac_status); } &&
20738 +         { ac_try='test -s conftest.$ac_objext'
20739 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20740 +  (eval $ac_try) 2>&5
20741 +  ac_status=$?
20742 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 +  (exit $ac_status); }; }; then
20744 +  ac_cv_member_HEADER_ad=yes
20745 +else
20746 +  echo "$as_me: failed program was:" >&5
20747 +sed 's/^/| /' conftest.$ac_ext >&5
20748 +
20749  ac_cv_member_HEADER_ad=no
20750  fi
20751  rm -f conftest.$ac_objext conftest.$ac_ext
20752  fi
20753 -echo "$as_me:14515: result: $ac_cv_member_HEADER_ad" >&5
20754 +rm -f conftest.$ac_objext conftest.$ac_ext
20755 +fi
20756 +echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
20757  echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
20758  if test $ac_cv_member_HEADER_ad = yes; then
20759 -  cat >>confdefs.h <<\EOF
20760 +  cat >>confdefs.h <<\_ACEOF
20761  #define HAVE_HEADER_AD 1
20762 -EOF
20763 +_ACEOF
20764  
20765  fi
20766  
20767 +
20768  fi
20769  
20770                 fi
20771  
20772 +
20773  fi;
20774  
20775  # Check whether user wants Kerberos 5 support
20776 @@ -14542,16 +17566,20 @@
20777                          fi
20778                         CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
20779                          LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
20780 -                        cat >>confdefs.h <<\EOF
20781 +                        cat >>confdefs.h <<\_ACEOF
20782  #define KRB5 1
20783 -EOF
20784 +_ACEOF
20785  
20786                         KRB5_MSG="yes"
20787 -                        echo "$as_me:14550: checking whether we are using Heimdal" >&5
20788 +                        echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
20789  echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
20790                          cat >conftest.$ac_ext <<_ACEOF
20791 -#line 14553 "configure"
20792 -#include "confdefs.h"
20793 +#line $LINENO "configure"
20794 +/* confdefs.h.  */
20795 +_ACEOF
20796 +cat confdefs.h >>conftest.$ac_ext
20797 +cat >>conftest.$ac_ext <<_ACEOF
20798 +/* end confdefs.h.  */
20799   #include <krb5.h>
20800  int
20801  main ()
20802 @@ -14562,32 +17590,34 @@
20803  }
20804  _ACEOF
20805  rm -f conftest.$ac_objext
20806 -if { (eval echo "$as_me:14565: \"$ac_compile\"") >&5
20807 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20808    (eval $ac_compile) 2>&5
20809    ac_status=$?
20810 -  echo "$as_me:14568: \$? = $ac_status" >&5
20811 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812    (exit $ac_status); } &&
20813           { ac_try='test -s conftest.$ac_objext'
20814 -  { (eval echo "$as_me:14571: \"$ac_try\"") >&5
20815 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816    (eval $ac_try) 2>&5
20817    ac_status=$?
20818 -  echo "$as_me:14574: \$? = $ac_status" >&5
20819 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820    (exit $ac_status); }; }; then
20821 -   echo "$as_me:14576: result: yes" >&5
20822 +   echo "$as_me:$LINENO: result: yes" >&5
20823  echo "${ECHO_T}yes" >&6
20824 -                                         cat >>confdefs.h <<\EOF
20825 +                                         cat >>confdefs.h <<\_ACEOF
20826  #define HEIMDAL 1
20827 -EOF
20828 +_ACEOF
20829  
20830                                           K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
20831  
20832  else
20833    echo "$as_me: failed program was:" >&5
20834 -cat conftest.$ac_ext >&5
20835 - echo "$as_me:14587: result: no" >&5
20836 +sed 's/^/| /' conftest.$ac_ext >&5
20837 +
20838 + echo "$as_me:$LINENO: result: no" >&5
20839  echo "${ECHO_T}no" >&6
20840                                           K5LIBS="-lkrb5 -lk5crypto -lcom_err"
20841  
20842 +
20843  fi
20844  rm -f conftest.$ac_objext conftest.$ac_ext
20845                          if test ! -z "$need_dash_r" ; then
20846 @@ -14596,7 +17626,7 @@
20847                          if test ! -z "$blibpath" ; then
20848                                  blibpath="$blibpath:${KRB5ROOT}/lib"
20849                          fi
20850 -                       echo "$as_me:14599: checking for library containing dn_expand" >&5
20851 +                       echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
20852  echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
20853  if test "${ac_cv_search_dn_expand+set}" = set; then
20854    echo $ECHO_N "(cached) $ECHO_C" >&6
20855 @@ -14604,8 +17634,12 @@
20856    ac_func_search_save_LIBS=$LIBS
20857  ac_cv_search_dn_expand=no
20858  cat >conftest.$ac_ext <<_ACEOF
20859 -#line 14607 "configure"
20860 -#include "confdefs.h"
20861 +#line $LINENO "configure"
20862 +/* confdefs.h.  */
20863 +_ACEOF
20864 +cat confdefs.h >>conftest.$ac_ext
20865 +cat >>conftest.$ac_ext <<_ACEOF
20866 +/* end confdefs.h.  */
20867  
20868  /* Override any gcc2 internal prototype to avoid an error.  */
20869  #ifdef __cplusplus
20870 @@ -14623,29 +17657,34 @@
20871  }
20872  _ACEOF
20873  rm -f conftest.$ac_objext conftest$ac_exeext
20874 -if { (eval echo "$as_me:14626: \"$ac_link\"") >&5
20875 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20876    (eval $ac_link) 2>&5
20877    ac_status=$?
20878 -  echo "$as_me:14629: \$? = $ac_status" >&5
20879 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880    (exit $ac_status); } &&
20881           { ac_try='test -s conftest$ac_exeext'
20882 -  { (eval echo "$as_me:14632: \"$ac_try\"") >&5
20883 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884    (eval $ac_try) 2>&5
20885    ac_status=$?
20886 -  echo "$as_me:14635: \$? = $ac_status" >&5
20887 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888    (exit $ac_status); }; }; then
20889    ac_cv_search_dn_expand="none required"
20890  else
20891    echo "$as_me: failed program was:" >&5
20892 -cat conftest.$ac_ext >&5
20893 +sed 's/^/| /' conftest.$ac_ext >&5
20894 +
20895  fi
20896  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20897  if test "$ac_cv_search_dn_expand" = no; then
20898    for ac_lib in resolv; do
20899      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20900      cat >conftest.$ac_ext <<_ACEOF
20901 -#line 14647 "configure"
20902 -#include "confdefs.h"
20903 +#line $LINENO "configure"
20904 +/* confdefs.h.  */
20905 +_ACEOF
20906 +cat confdefs.h >>conftest.$ac_ext
20907 +cat >>conftest.$ac_ext <<_ACEOF
20908 +/* end confdefs.h.  */
20909  
20910  /* Override any gcc2 internal prototype to avoid an error.  */
20911  #ifdef __cplusplus
20912 @@ -14663,36 +17702,38 @@
20913  }
20914  _ACEOF
20915  rm -f conftest.$ac_objext conftest$ac_exeext
20916 -if { (eval echo "$as_me:14666: \"$ac_link\"") >&5
20917 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20918    (eval $ac_link) 2>&5
20919    ac_status=$?
20920 -  echo "$as_me:14669: \$? = $ac_status" >&5
20921 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922    (exit $ac_status); } &&
20923           { ac_try='test -s conftest$ac_exeext'
20924 -  { (eval echo "$as_me:14672: \"$ac_try\"") >&5
20925 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20926    (eval $ac_try) 2>&5
20927    ac_status=$?
20928 -  echo "$as_me:14675: \$? = $ac_status" >&5
20929 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930    (exit $ac_status); }; }; then
20931    ac_cv_search_dn_expand="-l$ac_lib"
20932  break
20933  else
20934    echo "$as_me: failed program was:" >&5
20935 -cat conftest.$ac_ext >&5
20936 +sed 's/^/| /' conftest.$ac_ext >&5
20937 +
20938  fi
20939  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20940    done
20941  fi
20942  LIBS=$ac_func_search_save_LIBS
20943  fi
20944 -echo "$as_me:14688: result: $ac_cv_search_dn_expand" >&5
20945 +echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
20946  echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
20947  if test "$ac_cv_search_dn_expand" != no; then
20948    test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
20949  
20950  fi
20951  
20952 -                       echo "$as_me:14695: checking for gss_init_sec_context in -lgssapi" >&5
20953 +
20954 +                       echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
20955  echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6
20956  if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
20957    echo $ECHO_N "(cached) $ECHO_C" >&6
20958 @@ -14700,8 +17741,12 @@
20959    ac_check_lib_save_LIBS=$LIBS
20960  LIBS="-lgssapi $K5LIBS $LIBS"
20961  cat >conftest.$ac_ext <<_ACEOF
20962 -#line 14703 "configure"
20963 -#include "confdefs.h"
20964 +#line $LINENO "configure"
20965 +/* confdefs.h.  */
20966 +_ACEOF
20967 +cat confdefs.h >>conftest.$ac_ext
20968 +cat >>conftest.$ac_ext <<_ACEOF
20969 +/* end confdefs.h.  */
20970  
20971  /* Override any gcc2 internal prototype to avoid an error.  */
20972  #ifdef __cplusplus
20973 @@ -14719,36 +17764,37 @@
20974  }
20975  _ACEOF
20976  rm -f conftest.$ac_objext conftest$ac_exeext
20977 -if { (eval echo "$as_me:14722: \"$ac_link\"") >&5
20978 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20979    (eval $ac_link) 2>&5
20980    ac_status=$?
20981 -  echo "$as_me:14725: \$? = $ac_status" >&5
20982 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983    (exit $ac_status); } &&
20984           { ac_try='test -s conftest$ac_exeext'
20985 -  { (eval echo "$as_me:14728: \"$ac_try\"") >&5
20986 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987    (eval $ac_try) 2>&5
20988    ac_status=$?
20989 -  echo "$as_me:14731: \$? = $ac_status" >&5
20990 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991    (exit $ac_status); }; }; then
20992    ac_cv_lib_gssapi_gss_init_sec_context=yes
20993  else
20994    echo "$as_me: failed program was:" >&5
20995 -cat conftest.$ac_ext >&5
20996 +sed 's/^/| /' conftest.$ac_ext >&5
20997 +
20998  ac_cv_lib_gssapi_gss_init_sec_context=no
20999  fi
21000  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21001  LIBS=$ac_check_lib_save_LIBS
21002  fi
21003 -echo "$as_me:14742: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
21004 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
21005  echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6
21006  if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
21007 -   cat >>confdefs.h <<\EOF
21008 +   cat >>confdefs.h <<\_ACEOF
21009  #define GSSAPI 1
21010 -EOF
21011 +_ACEOF
21012  
21013                                   K5LIBS="-lgssapi $K5LIBS"
21014  else
21015 -   echo "$as_me:14751: checking for gss_init_sec_context in -lgssapi_krb5" >&5
21016 +   echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
21017  echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6
21018  if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
21019    echo $ECHO_N "(cached) $ECHO_C" >&6
21020 @@ -14756,8 +17802,12 @@
21021    ac_check_lib_save_LIBS=$LIBS
21022  LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
21023  cat >conftest.$ac_ext <<_ACEOF
21024 -#line 14759 "configure"
21025 -#include "confdefs.h"
21026 +#line $LINENO "configure"
21027 +/* confdefs.h.  */
21028 +_ACEOF
21029 +cat confdefs.h >>conftest.$ac_ext
21030 +cat >>conftest.$ac_ext <<_ACEOF
21031 +/* end confdefs.h.  */
21032  
21033  /* Override any gcc2 internal prototype to avoid an error.  */
21034  #ifdef __cplusplus
21035 @@ -14775,58 +17825,108 @@
21036  }
21037  _ACEOF
21038  rm -f conftest.$ac_objext conftest$ac_exeext
21039 -if { (eval echo "$as_me:14778: \"$ac_link\"") >&5
21040 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21041    (eval $ac_link) 2>&5
21042    ac_status=$?
21043 -  echo "$as_me:14781: \$? = $ac_status" >&5
21044 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045    (exit $ac_status); } &&
21046           { ac_try='test -s conftest$ac_exeext'
21047 -  { (eval echo "$as_me:14784: \"$ac_try\"") >&5
21048 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049    (eval $ac_try) 2>&5
21050    ac_status=$?
21051 -  echo "$as_me:14787: \$? = $ac_status" >&5
21052 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053    (exit $ac_status); }; }; then
21054    ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
21055  else
21056    echo "$as_me: failed program was:" >&5
21057 -cat conftest.$ac_ext >&5
21058 +sed 's/^/| /' conftest.$ac_ext >&5
21059 +
21060  ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
21061  fi
21062  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21063  LIBS=$ac_check_lib_save_LIBS
21064  fi
21065 -echo "$as_me:14798: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
21066 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
21067  echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6
21068  if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
21069 -   cat >>confdefs.h <<\EOF
21070 +   cat >>confdefs.h <<\_ACEOF
21071  #define GSSAPI 1
21072 -EOF
21073 +_ACEOF
21074  
21075                                           K5LIBS="-lgssapi_krb5 $K5LIBS"
21076  else
21077 -  { echo "$as_me:14807: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
21078 +  { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
21079  echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
21080  fi
21081  
21082 +
21083  fi
21084  
21085 -                       echo "$as_me:14813: checking for gssapi.h" >&5
21086 +
21087 +                       if test "${ac_cv_header_gssapi_h+set}" = set; then
21088 +  echo "$as_me:$LINENO: checking for gssapi.h" >&5
21089  echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
21090  if test "${ac_cv_header_gssapi_h+set}" = set; then
21091    echo $ECHO_N "(cached) $ECHO_C" >&6
21092 +fi
21093 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21094 +echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
21095  else
21096 -  cat >conftest.$ac_ext <<_ACEOF
21097 -#line 14819 "configure"
21098 -#include "confdefs.h"
21099 +  # Is the header compilable?
21100 +echo "$as_me:$LINENO: checking gssapi.h usability" >&5
21101 +echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6
21102 +cat >conftest.$ac_ext <<_ACEOF
21103 +#line $LINENO "configure"
21104 +/* confdefs.h.  */
21105 +_ACEOF
21106 +cat confdefs.h >>conftest.$ac_ext
21107 +cat >>conftest.$ac_ext <<_ACEOF
21108 +/* end confdefs.h.  */
21109 +$ac_includes_default
21110  #include <gssapi.h>
21111  _ACEOF
21112 -if { (eval echo "$as_me:14823: \"$ac_cpp conftest.$ac_ext\"") >&5
21113 +rm -f conftest.$ac_objext
21114 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21115 +  (eval $ac_compile) 2>&5
21116 +  ac_status=$?
21117 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 +  (exit $ac_status); } &&
21119 +         { ac_try='test -s conftest.$ac_objext'
21120 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121 +  (eval $ac_try) 2>&5
21122 +  ac_status=$?
21123 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 +  (exit $ac_status); }; }; then
21125 +  ac_header_compiler=yes
21126 +else
21127 +  echo "$as_me: failed program was:" >&5
21128 +sed 's/^/| /' conftest.$ac_ext >&5
21129 +
21130 +ac_header_compiler=no
21131 +fi
21132 +rm -f conftest.$ac_objext conftest.$ac_ext
21133 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21134 +echo "${ECHO_T}$ac_header_compiler" >&6
21135 +
21136 +# Is the header present?
21137 +echo "$as_me:$LINENO: checking gssapi.h presence" >&5
21138 +echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6
21139 +cat >conftest.$ac_ext <<_ACEOF
21140 +#line $LINENO "configure"
21141 +/* confdefs.h.  */
21142 +_ACEOF
21143 +cat confdefs.h >>conftest.$ac_ext
21144 +cat >>conftest.$ac_ext <<_ACEOF
21145 +/* end confdefs.h.  */
21146 +#include <gssapi.h>
21147 +_ACEOF
21148 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21149    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21150    ac_status=$?
21151 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21152 +  grep -v '^ *+' conftest.er1 >conftest.err
21153    rm -f conftest.er1
21154    cat conftest.err >&5
21155 -  echo "$as_me:14829: \$? = $ac_status" >&5
21156 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157    (exit $ac_status); } >/dev/null; then
21158    if test -s conftest.err; then
21159      ac_cpp_err=$ac_c_preproc_warn_flag
21160 @@ -14837,16 +17937,61 @@
21161    ac_cpp_err=yes
21162  fi
21163  if test -z "$ac_cpp_err"; then
21164 -  ac_cv_header_gssapi_h=yes
21165 +  ac_header_preproc=yes
21166  else
21167    echo "$as_me: failed program was:" >&5
21168 -  cat conftest.$ac_ext >&5
21169 -  ac_cv_header_gssapi_h=no
21170 +sed 's/^/| /' conftest.$ac_ext >&5
21171 +
21172 +  ac_header_preproc=no
21173  fi
21174  rm -f conftest.err conftest.$ac_ext
21175 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21176 +echo "${ECHO_T}$ac_header_preproc" >&6
21177 +
21178 +# So?  What about this header?
21179 +case $ac_header_compiler:$ac_header_preproc in
21180 +  yes:no )
21181 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
21182 +echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21183 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
21184 +echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
21185 +    (
21186 +      cat <<\_ASBOX
21187 +## ------------------------------------ ##
21188 +## Report this to bug-autoconf@gnu.org. ##
21189 +## ------------------------------------ ##
21190 +_ASBOX
21191 +    ) |
21192 +      sed "s/^/$as_me: WARNING:     /" >&2
21193 +    ;;
21194 +  no:yes )
21195 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5
21196 +echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;}
21197 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5
21198 +echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;}
21199 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
21200 +echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
21201 +    (
21202 +      cat <<\_ASBOX
21203 +## ------------------------------------ ##
21204 +## Report this to bug-autoconf@gnu.org. ##
21205 +## ------------------------------------ ##
21206 +_ASBOX
21207 +    ) |
21208 +      sed "s/^/$as_me: WARNING:     /" >&2
21209 +    ;;
21210 +esac
21211 +echo "$as_me:$LINENO: checking for gssapi.h" >&5
21212 +echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
21213 +if test "${ac_cv_header_gssapi_h+set}" = set; then
21214 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21215 +else
21216 +  ac_cv_header_gssapi_h=$ac_header_preproc
21217  fi
21218 -echo "$as_me:14848: result: $ac_cv_header_gssapi_h" >&5
21219 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21220  echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
21221 +
21222 +fi
21223  if test $ac_cv_header_gssapi_h = yes; then
21224    :
21225  else
21226 @@ -14856,23 +18001,70 @@
21227  for ac_header in gssapi.h
21228  do
21229  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21230 -echo "$as_me:14859: checking for $ac_header" >&5
21231 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21232 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
21233  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21234  if eval "test \"\${$as_ac_Header+set}\" = set"; then
21235    echo $ECHO_N "(cached) $ECHO_C" >&6
21236 +fi
21237 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21238 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21239  else
21240 -  cat >conftest.$ac_ext <<_ACEOF
21241 -#line 14865 "configure"
21242 -#include "confdefs.h"
21243 +  # Is the header compilable?
21244 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
21245 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21246 +cat >conftest.$ac_ext <<_ACEOF
21247 +#line $LINENO "configure"
21248 +/* confdefs.h.  */
21249 +_ACEOF
21250 +cat confdefs.h >>conftest.$ac_ext
21251 +cat >>conftest.$ac_ext <<_ACEOF
21252 +/* end confdefs.h.  */
21253 +$ac_includes_default
21254  #include <$ac_header>
21255  _ACEOF
21256 -if { (eval echo "$as_me:14869: \"$ac_cpp conftest.$ac_ext\"") >&5
21257 +rm -f conftest.$ac_objext
21258 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21259 +  (eval $ac_compile) 2>&5
21260 +  ac_status=$?
21261 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 +  (exit $ac_status); } &&
21263 +         { ac_try='test -s conftest.$ac_objext'
21264 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 +  (eval $ac_try) 2>&5
21266 +  ac_status=$?
21267 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 +  (exit $ac_status); }; }; then
21269 +  ac_header_compiler=yes
21270 +else
21271 +  echo "$as_me: failed program was:" >&5
21272 +sed 's/^/| /' conftest.$ac_ext >&5
21273 +
21274 +ac_header_compiler=no
21275 +fi
21276 +rm -f conftest.$ac_objext conftest.$ac_ext
21277 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21278 +echo "${ECHO_T}$ac_header_compiler" >&6
21279 +
21280 +# Is the header present?
21281 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
21282 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21283 +cat >conftest.$ac_ext <<_ACEOF
21284 +#line $LINENO "configure"
21285 +/* confdefs.h.  */
21286 +_ACEOF
21287 +cat confdefs.h >>conftest.$ac_ext
21288 +cat >>conftest.$ac_ext <<_ACEOF
21289 +/* end confdefs.h.  */
21290 +#include <$ac_header>
21291 +_ACEOF
21292 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21293    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21294    ac_status=$?
21295 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21296 +  grep -v '^ *+' conftest.er1 >conftest.err
21297    rm -f conftest.er1
21298    cat conftest.err >&5
21299 -  echo "$as_me:14875: \$? = $ac_status" >&5
21300 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301    (exit $ac_status); } >/dev/null; then
21302    if test -s conftest.err; then
21303      ac_cpp_err=$ac_c_preproc_warn_flag
21304 @@ -14883,49 +18075,146 @@
21305    ac_cpp_err=yes
21306  fi
21307  if test -z "$ac_cpp_err"; then
21308 -  eval "$as_ac_Header=yes"
21309 +  ac_header_preproc=yes
21310  else
21311    echo "$as_me: failed program was:" >&5
21312 -  cat conftest.$ac_ext >&5
21313 -  eval "$as_ac_Header=no"
21314 +sed 's/^/| /' conftest.$ac_ext >&5
21315 +
21316 +  ac_header_preproc=no
21317  fi
21318  rm -f conftest.err conftest.$ac_ext
21319 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21320 +echo "${ECHO_T}$ac_header_preproc" >&6
21321 +
21322 +# So?  What about this header?
21323 +case $ac_header_compiler:$ac_header_preproc in
21324 +  yes:no )
21325 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21326 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21327 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21328 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21329 +    (
21330 +      cat <<\_ASBOX
21331 +## ------------------------------------ ##
21332 +## Report this to bug-autoconf@gnu.org. ##
21333 +## ------------------------------------ ##
21334 +_ASBOX
21335 +    ) |
21336 +      sed "s/^/$as_me: WARNING:     /" >&2
21337 +    ;;
21338 +  no:yes )
21339 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21340 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21341 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21342 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21343 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21344 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21345 +    (
21346 +      cat <<\_ASBOX
21347 +## ------------------------------------ ##
21348 +## Report this to bug-autoconf@gnu.org. ##
21349 +## ------------------------------------ ##
21350 +_ASBOX
21351 +    ) |
21352 +      sed "s/^/$as_me: WARNING:     /" >&2
21353 +    ;;
21354 +esac
21355 +echo "$as_me:$LINENO: checking for $ac_header" >&5
21356 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21357 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21358 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21359 +else
21360 +  eval "$as_ac_Header=$ac_header_preproc"
21361  fi
21362 -echo "$as_me:14894: result: `eval echo '${'$as_ac_Header'}'`" >&5
21363 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21364  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21365 +
21366 +fi
21367  if test `eval echo '${'$as_ac_Header'}'` = yes; then
21368 -  cat >>confdefs.h <<EOF
21369 +  cat >>confdefs.h <<_ACEOF
21370  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21371 -EOF
21372 +_ACEOF
21373  
21374  else
21375 -  { echo "$as_me:14902: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
21376 +  { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
21377  echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
21378  
21379  fi
21380 +
21381  done
21382  
21383 +
21384 +
21385  fi
21386  
21387 +
21388 +
21389                         oldCPP="$CPPFLAGS"
21390                         CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
21391 -                       echo "$as_me:14912: checking for gssapi_krb5.h" >&5
21392 +                       if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21393 +  echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
21394  echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
21395  if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21396    echo $ECHO_N "(cached) $ECHO_C" >&6
21397 +fi
21398 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21399 +echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
21400  else
21401 -  cat >conftest.$ac_ext <<_ACEOF
21402 -#line 14918 "configure"
21403 -#include "confdefs.h"
21404 +  # Is the header compilable?
21405 +echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5
21406 +echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6
21407 +cat >conftest.$ac_ext <<_ACEOF
21408 +#line $LINENO "configure"
21409 +/* confdefs.h.  */
21410 +_ACEOF
21411 +cat confdefs.h >>conftest.$ac_ext
21412 +cat >>conftest.$ac_ext <<_ACEOF
21413 +/* end confdefs.h.  */
21414 +$ac_includes_default
21415  #include <gssapi_krb5.h>
21416  _ACEOF
21417 -if { (eval echo "$as_me:14922: \"$ac_cpp conftest.$ac_ext\"") >&5
21418 +rm -f conftest.$ac_objext
21419 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21420 +  (eval $ac_compile) 2>&5
21421 +  ac_status=$?
21422 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 +  (exit $ac_status); } &&
21424 +         { ac_try='test -s conftest.$ac_objext'
21425 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 +  (eval $ac_try) 2>&5
21427 +  ac_status=$?
21428 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 +  (exit $ac_status); }; }; then
21430 +  ac_header_compiler=yes
21431 +else
21432 +  echo "$as_me: failed program was:" >&5
21433 +sed 's/^/| /' conftest.$ac_ext >&5
21434 +
21435 +ac_header_compiler=no
21436 +fi
21437 +rm -f conftest.$ac_objext conftest.$ac_ext
21438 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21439 +echo "${ECHO_T}$ac_header_compiler" >&6
21440 +
21441 +# Is the header present?
21442 +echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5
21443 +echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6
21444 +cat >conftest.$ac_ext <<_ACEOF
21445 +#line $LINENO "configure"
21446 +/* confdefs.h.  */
21447 +_ACEOF
21448 +cat confdefs.h >>conftest.$ac_ext
21449 +cat >>conftest.$ac_ext <<_ACEOF
21450 +/* end confdefs.h.  */
21451 +#include <gssapi_krb5.h>
21452 +_ACEOF
21453 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21454    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21455    ac_status=$?
21456 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21457 +  grep -v '^ *+' conftest.er1 >conftest.err
21458    rm -f conftest.er1
21459    cat conftest.err >&5
21460 -  echo "$as_me:14928: \$? = $ac_status" >&5
21461 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462    (exit $ac_status); } >/dev/null; then
21463    if test -s conftest.err; then
21464      ac_cpp_err=$ac_c_preproc_warn_flag
21465 @@ -14936,25 +18225,73 @@
21466    ac_cpp_err=yes
21467  fi
21468  if test -z "$ac_cpp_err"; then
21469 -  ac_cv_header_gssapi_krb5_h=yes
21470 +  ac_header_preproc=yes
21471  else
21472    echo "$as_me: failed program was:" >&5
21473 -  cat conftest.$ac_ext >&5
21474 -  ac_cv_header_gssapi_krb5_h=no
21475 +sed 's/^/| /' conftest.$ac_ext >&5
21476 +
21477 +  ac_header_preproc=no
21478  fi
21479  rm -f conftest.err conftest.$ac_ext
21480 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21481 +echo "${ECHO_T}$ac_header_preproc" >&6
21482 +
21483 +# So?  What about this header?
21484 +case $ac_header_compiler:$ac_header_preproc in
21485 +  yes:no )
21486 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5
21487 +echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21488 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
21489 +echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
21490 +    (
21491 +      cat <<\_ASBOX
21492 +## ------------------------------------ ##
21493 +## Report this to bug-autoconf@gnu.org. ##
21494 +## ------------------------------------ ##
21495 +_ASBOX
21496 +    ) |
21497 +      sed "s/^/$as_me: WARNING:     /" >&2
21498 +    ;;
21499 +  no:yes )
21500 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5
21501 +echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;}
21502 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5
21503 +echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;}
21504 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
21505 +echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
21506 +    (
21507 +      cat <<\_ASBOX
21508 +## ------------------------------------ ##
21509 +## Report this to bug-autoconf@gnu.org. ##
21510 +## ------------------------------------ ##
21511 +_ASBOX
21512 +    ) |
21513 +      sed "s/^/$as_me: WARNING:     /" >&2
21514 +    ;;
21515 +esac
21516 +echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
21517 +echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
21518 +if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21519 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21520 +else
21521 +  ac_cv_header_gssapi_krb5_h=$ac_header_preproc
21522  fi
21523 -echo "$as_me:14947: result: $ac_cv_header_gssapi_krb5_h" >&5
21524 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21525  echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
21526 +
21527 +fi
21528  if test $ac_cv_header_gssapi_krb5_h = yes; then
21529    :
21530  else
21531     CPPFLAGS="$oldCPP"
21532  fi
21533  
21534 +
21535 +
21536                          KRB5=yes
21537                  fi
21538  
21539 +
21540  fi;
21541  LIBS="$LIBS $K5LIBS"
21542  
21543 @@ -14970,8 +18307,11 @@
21544                         PRIVSEP_PATH=$withval
21545                 fi
21546  
21547 +
21548  fi;
21549  
21550 +
21551 +
21552  # Check whether --with-xauth or --without-xauth was given.
21553  if test "${with_xauth+set}" = set; then
21554    withval="$with_xauth"
21555 @@ -14989,7 +18329,7 @@
21556                 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
21557                 # Extract the first word of "xauth", so it can be a program name with args.
21558  set dummy xauth; ac_word=$2
21559 -echo "$as_me:14992: checking for $ac_word" >&5
21560 +echo "$as_me:$LINENO: checking for $ac_word" >&5
21561  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21562  if test "${ac_cv_path_xauth_path+set}" = set; then
21563    echo $ECHO_N "(cached) $ECHO_C" >&6
21564 @@ -14999,16 +18339,18 @@
21565    ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
21566    ;;
21567    *)
21568 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
21569 -ac_dummy="$TestPath"
21570 -for ac_dir in $ac_dummy; do
21571 -  IFS=$ac_save_IFS
21572 -  test -z "$ac_dir" && ac_dir=.
21573 -  if $as_executable_p "$ac_dir/$ac_word"; then
21574 -   ac_cv_path_xauth_path="$ac_dir/$ac_word"
21575 -   echo "$as_me:15009: found $ac_dir/$ac_word" >&5
21576 -   break
21577 -fi
21578 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21579 +for as_dir in $TestPath
21580 +do
21581 +  IFS=$as_save_IFS
21582 +  test -z "$as_dir" && as_dir=.
21583 +  for ac_exec_ext in '' $ac_executable_extensions; do
21584 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21585 +    ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
21586 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21587 +    break 2
21588 +  fi
21589 +done
21590  done
21591  
21592    ;;
21593 @@ -15017,10 +18359,10 @@
21594  xauth_path=$ac_cv_path_xauth_path
21595  
21596  if test -n "$xauth_path"; then
21597 -  echo "$as_me:15020: result: $xauth_path" >&5
21598 +  echo "$as_me:$LINENO: result: $xauth_path" >&5
21599  echo "${ECHO_T}$xauth_path" >&6
21600  else
21601 -  echo "$as_me:15023: result: no" >&5
21602 +  echo "$as_me:$LINENO: result: no" >&5
21603  echo "${ECHO_T}no" >&6
21604  fi
21605  
21606 @@ -15028,6 +18370,7 @@
21607                         xauth_path="/usr/openwin/bin/xauth"
21608                 fi
21609  
21610 +
21611  fi;
21612  
21613  STRIP_OPT=-s
21614 @@ -15039,15 +18382,17 @@
21615                         STRIP_OPT=
21616                 fi
21617  
21618 +
21619  fi;
21620  
21621 +
21622  if test -z "$xauth_path" ; then
21623         XAUTH_PATH="undefined"
21624  
21625  else
21626 -       cat >>confdefs.h <<EOF
21627 +       cat >>confdefs.h <<_ACEOF
21628  #define XAUTH_PATH "$xauth_path"
21629 -EOF
21630 +_ACEOF
21631  
21632         XAUTH_PATH=$xauth_path
21633  
21634 @@ -15056,21 +18401,21 @@
21635  # Check for mail directory (last resort if we cannot get it from headers)
21636  if test ! -z "$MAIL" ; then
21637         maildir=`dirname $MAIL`
21638 -       cat >>confdefs.h <<EOF
21639 +       cat >>confdefs.h <<_ACEOF
21640  #define MAIL_DIRECTORY "$maildir"
21641 -EOF
21642 +_ACEOF
21643  
21644  fi
21645  
21646  if test -z "$no_dev_ptmx" ; then
21647         if test "x$disable_ptmx_check" != "xyes" ; then
21648 -               echo "$as_me:15067: checking for \"/dev/ptmx\"" >&5
21649 +               echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
21650  echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
21651  if test "${ac_cv_file___dev_ptmx_+set}" = set; then
21652    echo $ECHO_N "(cached) $ECHO_C" >&6
21653  else
21654    test "$cross_compiling" = yes &&
21655 -  { { echo "$as_me:15073: error: cannot check for file existence when cross compiling" >&5
21656 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21657  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21658     { (exit 1); exit 1; }; }
21659  if test -r ""/dev/ptmx""; then
21660 @@ -15079,27 +18424,29 @@
21661    ac_cv_file___dev_ptmx_=no
21662  fi
21663  fi
21664 -echo "$as_me:15082: result: $ac_cv_file___dev_ptmx_" >&5
21665 +echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
21666  echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
21667  if test $ac_cv_file___dev_ptmx_ = yes; then
21668  
21669 -                               cat >>confdefs.h <<EOF
21670 +                               cat >>confdefs.h <<_ACEOF
21671  #define HAVE_DEV_PTMX 1
21672 -EOF
21673 +_ACEOF
21674  
21675                                 have_dev_ptmx=1
21676  
21677 +
21678  fi
21679  
21680         fi
21681  fi
21682 -echo "$as_me:15096: checking for \"/dev/ptc\"" >&5
21683 +if test "$cross_compiling" != yes; then
21684 +echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
21685  echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
21686  if test "${ac_cv_file___dev_ptc_+set}" = set; then
21687    echo $ECHO_N "(cached) $ECHO_C" >&6
21688  else
21689    test "$cross_compiling" = yes &&
21690 -  { { echo "$as_me:15102: error: cannot check for file existence when cross compiling" >&5
21691 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21692  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21693     { (exit 1); exit 1; }; }
21694  if test -r ""/dev/ptc""; then
21695 @@ -15108,18 +18455,20 @@
21696    ac_cv_file___dev_ptc_=no
21697  fi
21698  fi
21699 -echo "$as_me:15111: result: $ac_cv_file___dev_ptc_" >&5
21700 +echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
21701  echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
21702  if test $ac_cv_file___dev_ptc_ = yes; then
21703  
21704 -               cat >>confdefs.h <<EOF
21705 +               cat >>confdefs.h <<_ACEOF
21706  #define HAVE_DEV_PTS_AND_PTC 1
21707 -EOF
21708 +_ACEOF
21709  
21710                 have_dev_ptc=1
21711  
21712 +
21713  fi
21714  
21715 +fi
21716  # Options from here on. Some of these are preset by platform above
21717  
21718  # Check whether --with-mantype or --without-mantype was given.
21719 @@ -15131,12 +18480,13 @@
21720                         MANTYPE=$withval
21721                         ;;
21722                 *)
21723 -                       { { echo "$as_me:15134: error: invalid man type: $withval" >&5
21724 +                       { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
21725  echo "$as_me: error: invalid man type: $withval" >&2;}
21726     { (exit 1); exit 1; }; }
21727                         ;;
21728                 esac
21729  
21730 +
21731  fi;
21732  if test -z "$MANTYPE"; then
21733         TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
21734 @@ -15144,7 +18494,7 @@
21735  do
21736    # Extract the first word of "$ac_prog", so it can be a program name with args.
21737  set dummy $ac_prog; ac_word=$2
21738 -echo "$as_me:15147: checking for $ac_word" >&5
21739 +echo "$as_me:$LINENO: checking for $ac_word" >&5
21740  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21741  if test "${ac_cv_path_NROFF+set}" = set; then
21742    echo $ECHO_N "(cached) $ECHO_C" >&6
21743 @@ -15154,16 +18504,18 @@
21744    ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
21745    ;;
21746    *)
21747 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
21748 -ac_dummy="$TestPath"
21749 -for ac_dir in $ac_dummy; do
21750 -  IFS=$ac_save_IFS
21751 -  test -z "$ac_dir" && ac_dir=.
21752 -  if $as_executable_p "$ac_dir/$ac_word"; then
21753 -   ac_cv_path_NROFF="$ac_dir/$ac_word"
21754 -   echo "$as_me:15164: found $ac_dir/$ac_word" >&5
21755 -   break
21756 -fi
21757 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21758 +for as_dir in $TestPath
21759 +do
21760 +  IFS=$as_save_IFS
21761 +  test -z "$as_dir" && as_dir=.
21762 +  for ac_exec_ext in '' $ac_executable_extensions; do
21763 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21764 +    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
21765 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21766 +    break 2
21767 +  fi
21768 +done
21769  done
21770  
21771    ;;
21772 @@ -15172,10 +18524,10 @@
21773  NROFF=$ac_cv_path_NROFF
21774  
21775  if test -n "$NROFF"; then
21776 -  echo "$as_me:15175: result: $NROFF" >&5
21777 +  echo "$as_me:$LINENO: result: $NROFF" >&5
21778  echo "${ECHO_T}$NROFF" >&6
21779  else
21780 -  echo "$as_me:15178: result: no" >&5
21781 +  echo "$as_me:$LINENO: result: no" >&5
21782  echo "${ECHO_T}no" >&6
21783  fi
21784  
21785 @@ -15198,6 +18550,7 @@
21786         mansubdir=$MANTYPE;
21787  fi
21788  
21789 +
21790  # Check whether to enable MD5 passwords
21791  MD5_MSG="no"
21792  
21793 @@ -15206,13 +18559,14 @@
21794    withval="$with_md5_passwords"
21795  
21796                 if test "x$withval" != "xno" ; then
21797 -                       cat >>confdefs.h <<\EOF
21798 +                       cat >>confdefs.h <<\_ACEOF
21799  #define HAVE_MD5_PASSWORDS 1
21800 -EOF
21801 +_ACEOF
21802  
21803                         MD5_MSG="yes"
21804                 fi
21805  
21806 +
21807  fi;
21808  
21809  # Whether to disable shadow password support
21810 @@ -15222,21 +18576,26 @@
21811    withval="$with_shadow"
21812  
21813                 if test "x$withval" = "xno" ; then
21814 -                       cat >>confdefs.h <<\EOF
21815 +                       cat >>confdefs.h <<\_ACEOF
21816  #define DISABLE_SHADOW 1
21817 -EOF
21818 +_ACEOF
21819  
21820                         disable_shadow=yes
21821                 fi
21822  
21823 +
21824  fi;
21825  
21826  if test -z "$disable_shadow" ; then
21827 -       echo "$as_me:15235: checking if the systems has expire shadow information" >&5
21828 +       echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
21829  echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
21830         cat >conftest.$ac_ext <<_ACEOF
21831 -#line 15238 "configure"
21832 -#include "confdefs.h"
21833 +#line $LINENO "configure"
21834 +/* confdefs.h.  */
21835 +_ACEOF
21836 +cat confdefs.h >>conftest.$ac_ext
21837 +cat >>conftest.$ac_ext <<_ACEOF
21838 +/* end confdefs.h.  */
21839  
21840  #include <sys/types.h>
21841  #include <shadow.h>
21842 @@ -15251,34 +18610,36 @@
21843  }
21844  _ACEOF
21845  rm -f conftest.$ac_objext
21846 -if { (eval echo "$as_me:15254: \"$ac_compile\"") >&5
21847 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21848    (eval $ac_compile) 2>&5
21849    ac_status=$?
21850 -  echo "$as_me:15257: \$? = $ac_status" >&5
21851 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852    (exit $ac_status); } &&
21853           { ac_try='test -s conftest.$ac_objext'
21854 -  { (eval echo "$as_me:15260: \"$ac_try\"") >&5
21855 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856    (eval $ac_try) 2>&5
21857    ac_status=$?
21858 -  echo "$as_me:15263: \$? = $ac_status" >&5
21859 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860    (exit $ac_status); }; }; then
21861     sp_expire_available=yes
21862  else
21863    echo "$as_me: failed program was:" >&5
21864 -cat conftest.$ac_ext >&5
21865 +sed 's/^/| /' conftest.$ac_ext >&5
21866 +
21867 +
21868  
21869  fi
21870  rm -f conftest.$ac_objext conftest.$ac_ext
21871  
21872         if test "x$sp_expire_available" = "xyes" ; then
21873 -               echo "$as_me:15274: result: yes" >&5
21874 +               echo "$as_me:$LINENO: result: yes" >&5
21875  echo "${ECHO_T}yes" >&6
21876 -               cat >>confdefs.h <<\EOF
21877 +               cat >>confdefs.h <<\_ACEOF
21878  #define HAS_SHADOW_EXPIRE 1
21879 -EOF
21880 +_ACEOF
21881  
21882         else
21883 -               echo "$as_me:15281: result: no" >&5
21884 +               echo "$as_me:$LINENO: result: no" >&5
21885  echo "${ECHO_T}no" >&6
21886         fi
21887  fi
21888 @@ -15286,9 +18647,9 @@
21889  # Use ip address instead of hostname in $DISPLAY
21890  if test ! -z "$IPADDR_IN_DISPLAY" ; then
21891         DISPLAY_HACK_MSG="yes"
21892 -       cat >>confdefs.h <<\EOF
21893 +       cat >>confdefs.h <<\_ACEOF
21894  #define IPADDR_IN_DISPLAY 1
21895 -EOF
21896 +_ACEOF
21897  
21898  else
21899         DISPLAY_HACK_MSG="no"
21900 @@ -15298,24 +18659,26 @@
21901    withval="$with_ipaddr_display"
21902  
21903                         if test "x$withval" != "xno" ; then
21904 -                               cat >>confdefs.h <<\EOF
21905 +                               cat >>confdefs.h <<\_ACEOF
21906  #define IPADDR_IN_DISPLAY 1
21907 -EOF
21908 +_ACEOF
21909  
21910                                 DISPLAY_HACK_MSG="yes"
21911                         fi
21912  
21913 +
21914  fi;
21915  fi
21916  
21917  # check for /etc/default/login and use it if present.
21918 -echo "$as_me:15312: checking for \"/etc/default/login\"" >&5
21919 +if test "x$cross_compiling" != "xyes"; then
21920 +echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
21921  echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
21922  if test "${ac_cv_file___etc_default_login_+set}" = set; then
21923    echo $ECHO_N "(cached) $ECHO_C" >&6
21924  else
21925    test "$cross_compiling" = yes &&
21926 -  { { echo "$as_me:15318: error: cannot check for file existence when cross compiling" >&5
21927 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21928  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21929     { (exit 1); exit 1; }; }
21930  if test -r ""/etc/default/login""; then
21931 @@ -15324,16 +18687,18 @@
21932    ac_cv_file___etc_default_login_=no
21933  fi
21934  fi
21935 -echo "$as_me:15327: result: $ac_cv_file___etc_default_login_" >&5
21936 +echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5
21937  echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6
21938  if test $ac_cv_file___etc_default_login_ = yes; then
21939     external_path_file=/etc/default/login
21940  fi
21941  
21942 +fi
21943 +
21944  if test "x$external_path_file" = "x/etc/default/login"; then
21945 -       cat >>confdefs.h <<\EOF
21946 +       cat >>confdefs.h <<\_ACEOF
21947  #define HAVE_ETC_DEFAULT_LOGIN 1
21948 -EOF
21949 +_ACEOF
21950  
21951  fi
21952  
21953 @@ -15350,7 +18715,7 @@
21954    withval="$with_default_path"
21955  
21956                 if test "x$external_path_file" = "x/etc/login.conf" ; then
21957 -                       { echo "$as_me:15353: WARNING:
21958 +                       { echo "$as_me:$LINENO: WARNING:
21959  --with-default-path=PATH has no effect on this system.
21960  Edit /etc/login.conf instead." >&5
21961  echo "$as_me: WARNING:
21962 @@ -15358,7 +18723,7 @@
21963  Edit /etc/login.conf instead." >&2;}
21964                 elif test "x$withval" != "xno" ; then
21965                         if test ! -z "$external_path_file" ; then
21966 -                               { echo "$as_me:15361: WARNING:
21967 +                               { echo "$as_me:$LINENO: WARNING:
21968  --with-default-path=PATH will only be used if PATH is not defined in
21969  $external_path_file ." >&5
21970  echo "$as_me: WARNING:
21971 @@ -15371,11 +18736,11 @@
21972  
21973  else
21974     if test "x$external_path_file" = "x/etc/login.conf" ; then
21975 -               { echo "$as_me:15374: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
21976 +               { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
21977  echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
21978         else
21979                 if test ! -z "$external_path_file" ; then
21980 -                       { echo "$as_me:15378: WARNING:
21981 +                       { echo "$as_me:$LINENO: WARNING:
21982  If PATH is defined in $external_path_file, ensure the path to scp is included,
21983  otherwise scp will not work." >&5
21984  echo "$as_me: WARNING:
21985 @@ -15387,8 +18752,12 @@
21986  
21987  else
21988    cat >conftest.$ac_ext <<_ACEOF
21989 -#line 15390 "configure"
21990 -#include "confdefs.h"
21991 +#line $LINENO "configure"
21992 +/* confdefs.h.  */
21993 +_ACEOF
21994 +cat confdefs.h >>conftest.$ac_ext
21995 +cat >>conftest.$ac_ext <<_ACEOF
21996 +/* end confdefs.h.  */
21997  
21998  /* find out what STDPATH is */
21999  #include <stdio.h>
22000 @@ -15424,24 +18793,26 @@
22001  
22002  _ACEOF
22003  rm -f conftest$ac_exeext
22004 -if { (eval echo "$as_me:15427: \"$ac_link\"") >&5
22005 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006    (eval $ac_link) 2>&5
22007    ac_status=$?
22008 -  echo "$as_me:15430: \$? = $ac_status" >&5
22009 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22011 -  { (eval echo "$as_me:15432: \"$ac_try\"") >&5
22012 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013    (eval $ac_try) 2>&5
22014    ac_status=$?
22015 -  echo "$as_me:15435: \$? = $ac_status" >&5
22016 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017    (exit $ac_status); }; }; then
22018     user_path=`cat conftest.stdpath`
22019  else
22020    echo "$as_me: program exited with status $ac_status" >&5
22021  echo "$as_me: failed program was:" >&5
22022 -cat conftest.$ac_ext >&5
22023 +sed 's/^/| /' conftest.$ac_ext >&5
22024 +
22025 +( exit $ac_status )
22026   user_path="/usr/bin:/bin:/usr/sbin:/sbin"
22027  fi
22028 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22029 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22030  fi
22031  # make sure $bindir is in USER_PATH so scp will work
22032                 t_bindir=`eval echo ${bindir}`
22033 @@ -15456,7 +18827,7 @@
22034                         echo $user_path | grep "^$t_bindir"  > /dev/null 2>&1
22035                         if test $? -ne 0  ; then
22036                                 user_path=$user_path:$t_bindir
22037 -                               echo "$as_me:15459: result: Adding $t_bindir to USER_PATH so scp will work" >&5
22038 +                               echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
22039  echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
22040                         fi
22041                 fi
22042 @@ -15464,9 +18835,10 @@
22043  
22044  fi;
22045  if test "x$external_path_file" != "x/etc/login.conf" ; then
22046 -       cat >>confdefs.h <<EOF
22047 +       cat >>confdefs.h <<_ACEOF
22048  #define USER_PATH "$user_path"
22049 -EOF
22050 +_ACEOF
22051 +
22052  
22053  fi
22054  
22055 @@ -15477,16 +18849,18 @@
22056    withval="$with_superuser_path"
22057  
22058                 if test "x$withval" != "xno" ; then
22059 -                       cat >>confdefs.h <<EOF
22060 +                       cat >>confdefs.h <<_ACEOF
22061  #define SUPERUSER_PATH "$withval"
22062 -EOF
22063 +_ACEOF
22064  
22065                         superuser_path=$withval
22066                 fi
22067  
22068 +
22069  fi;
22070  
22071 -echo "$as_me:15489: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
22072 +
22073 +echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
22074  echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
22075  IPV4_IN6_HACK_MSG="no"
22076  
22077 @@ -15495,33 +18869,34 @@
22078    withval="$with_4in6"
22079  
22080                 if test "x$withval" != "xno" ; then
22081 -                       echo "$as_me:15498: result: yes" >&5
22082 +                       echo "$as_me:$LINENO: result: yes" >&5
22083  echo "${ECHO_T}yes" >&6
22084 -                       cat >>confdefs.h <<\EOF
22085 +                       cat >>confdefs.h <<\_ACEOF
22086  #define IPV4_IN_IPV6 1
22087 -EOF
22088 +_ACEOF
22089  
22090                         IPV4_IN6_HACK_MSG="yes"
22091                 else
22092 -                       echo "$as_me:15506: result: no" >&5
22093 +                       echo "$as_me:$LINENO: result: no" >&5
22094  echo "${ECHO_T}no" >&6
22095                 fi
22096  
22097  else
22098  
22099                 if test "x$inet6_default_4in6" = "xyes"; then
22100 -                       echo "$as_me:15513: result: yes (default)" >&5
22101 +                       echo "$as_me:$LINENO: result: yes (default)" >&5
22102  echo "${ECHO_T}yes (default)" >&6
22103 -                       cat >>confdefs.h <<\EOF
22104 +                       cat >>confdefs.h <<\_ACEOF
22105  #define IPV4_IN_IPV6 1
22106 -EOF
22107 +_ACEOF
22108  
22109                         IPV4_IN6_HACK_MSG="yes"
22110                 else
22111 -                       echo "$as_me:15521: result: no (default)" >&5
22112 +                       echo "$as_me:$LINENO: result: no (default)" >&5
22113  echo "${ECHO_T}no (default)" >&6
22114                 fi
22115  
22116 +
22117  fi;
22118  
22119  # Whether to enable BSD auth support
22120 @@ -15532,13 +18907,14 @@
22121    withval="$with_bsd_auth"
22122  
22123                 if test "x$withval" != "xno" ; then
22124 -                       cat >>confdefs.h <<\EOF
22125 +                       cat >>confdefs.h <<\_ACEOF
22126  #define BSD_AUTH 1
22127 -EOF
22128 +_ACEOF
22129  
22130                         BSD_AUTH_MSG=yes
22131                 fi
22132  
22133 +
22134  fi;
22135  
22136  # Where to place sshd.pid
22137 @@ -15551,6 +18927,7 @@
22138         esac
22139  fi
22140  
22141 +
22142  # Check whether --with-pid-dir or --without-pid-dir was given.
22143  if test "${with_pid_dir+set}" = set; then
22144    withval="$with_pid_dir"
22145 @@ -15558,112 +18935,123 @@
22146                 if test "x$withval" != "xno" ; then
22147                         piddir=$withval
22148                         if test ! -d $piddir ; then
22149 -                       { echo "$as_me:15561: WARNING: ** no $piddir directory on this system **" >&5
22150 +                       { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
22151  echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
22152                         fi
22153                 fi
22154  
22155 +
22156  fi;
22157  
22158 -cat >>confdefs.h <<EOF
22159 +cat >>confdefs.h <<_ACEOF
22160  #define _PATH_SSH_PIDDIR "$piddir"
22161 -EOF
22162 +_ACEOF
22163 +
22164 +
22165  
22166  # Check whether --enable-lastlog or --disable-lastlog was given.
22167  if test "${enable_lastlog+set}" = set; then
22168    enableval="$enable_lastlog"
22169  
22170                 if test "x$enableval" = "xno" ; then
22171 -                       cat >>confdefs.h <<\EOF
22172 +                       cat >>confdefs.h <<\_ACEOF
22173  #define DISABLE_LASTLOG 1
22174 -EOF
22175 +_ACEOF
22176  
22177                 fi
22178  
22179 +
22180  fi;
22181  # Check whether --enable-utmp or --disable-utmp was given.
22182  if test "${enable_utmp+set}" = set; then
22183    enableval="$enable_utmp"
22184  
22185                 if test "x$enableval" = "xno" ; then
22186 -                       cat >>confdefs.h <<\EOF
22187 +                       cat >>confdefs.h <<\_ACEOF
22188  #define DISABLE_UTMP 1
22189 -EOF
22190 +_ACEOF
22191  
22192                 fi
22193  
22194 +
22195  fi;
22196  # Check whether --enable-utmpx or --disable-utmpx was given.
22197  if test "${enable_utmpx+set}" = set; then
22198    enableval="$enable_utmpx"
22199  
22200                 if test "x$enableval" = "xno" ; then
22201 -                       cat >>confdefs.h <<\EOF
22202 +                       cat >>confdefs.h <<\_ACEOF
22203  #define DISABLE_UTMPX 1
22204 -EOF
22205 +_ACEOF
22206  
22207                 fi
22208  
22209 +
22210  fi;
22211  # Check whether --enable-wtmp or --disable-wtmp was given.
22212  if test "${enable_wtmp+set}" = set; then
22213    enableval="$enable_wtmp"
22214  
22215                 if test "x$enableval" = "xno" ; then
22216 -                       cat >>confdefs.h <<\EOF
22217 +                       cat >>confdefs.h <<\_ACEOF
22218  #define DISABLE_WTMP 1
22219 -EOF
22220 +_ACEOF
22221  
22222                 fi
22223  
22224 +
22225  fi;
22226  # Check whether --enable-wtmpx or --disable-wtmpx was given.
22227  if test "${enable_wtmpx+set}" = set; then
22228    enableval="$enable_wtmpx"
22229  
22230                 if test "x$enableval" = "xno" ; then
22231 -                       cat >>confdefs.h <<\EOF
22232 +                       cat >>confdefs.h <<\_ACEOF
22233  #define DISABLE_WTMPX 1
22234 -EOF
22235 +_ACEOF
22236  
22237                 fi
22238  
22239 +
22240  fi;
22241  # Check whether --enable-libutil or --disable-libutil was given.
22242  if test "${enable_libutil+set}" = set; then
22243    enableval="$enable_libutil"
22244  
22245                 if test "x$enableval" = "xno" ; then
22246 -                       cat >>confdefs.h <<\EOF
22247 +                       cat >>confdefs.h <<\_ACEOF
22248  #define DISABLE_LOGIN 1
22249 -EOF
22250 +_ACEOF
22251  
22252                 fi
22253  
22254 +
22255  fi;
22256  # Check whether --enable-pututline or --disable-pututline was given.
22257  if test "${enable_pututline+set}" = set; then
22258    enableval="$enable_pututline"
22259  
22260                 if test "x$enableval" = "xno" ; then
22261 -                       cat >>confdefs.h <<\EOF
22262 +                       cat >>confdefs.h <<\_ACEOF
22263  #define DISABLE_PUTUTLINE 1
22264 -EOF
22265 +_ACEOF
22266  
22267                 fi
22268  
22269 +
22270  fi;
22271  # Check whether --enable-pututxline or --disable-pututxline was given.
22272  if test "${enable_pututxline+set}" = set; then
22273    enableval="$enable_pututxline"
22274  
22275                 if test "x$enableval" = "xno" ; then
22276 -                       cat >>confdefs.h <<\EOF
22277 +                       cat >>confdefs.h <<\_ACEOF
22278  #define DISABLE_PUTUTXLINE 1
22279 -EOF
22280 +_ACEOF
22281  
22282                 fi
22283  
22284 +
22285  fi;
22286  
22287  # Check whether --with-lastlog or --without-lastlog was given.
22288 @@ -15671,21 +19059,27 @@
22289    withval="$with_lastlog"
22290  
22291                 if test "x$withval" = "xno" ; then
22292 -                       cat >>confdefs.h <<\EOF
22293 +                       cat >>confdefs.h <<\_ACEOF
22294  #define DISABLE_LASTLOG 1
22295 -EOF
22296 +_ACEOF
22297  
22298                 else
22299                         conf_lastlog_location=$withval
22300                 fi
22301  
22302 +
22303  fi;
22304  
22305 -echo "$as_me:15684: checking if your system defines LASTLOG_FILE" >&5
22306 +
22307 +echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
22308  echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
22309  cat >conftest.$ac_ext <<_ACEOF
22310 -#line 15687 "configure"
22311 -#include "confdefs.h"
22312 +#line $LINENO "configure"
22313 +/* confdefs.h.  */
22314 +_ACEOF
22315 +cat confdefs.h >>conftest.$ac_ext
22316 +cat >>conftest.$ac_ext <<_ACEOF
22317 +/* end confdefs.h.  */
22318  
22319  #include <sys/types.h>
22320  #include <utmp.h>
22321 @@ -15708,30 +19102,35 @@
22322  }
22323  _ACEOF
22324  rm -f conftest.$ac_objext
22325 -if { (eval echo "$as_me:15711: \"$ac_compile\"") >&5
22326 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22327    (eval $ac_compile) 2>&5
22328    ac_status=$?
22329 -  echo "$as_me:15714: \$? = $ac_status" >&5
22330 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331    (exit $ac_status); } &&
22332           { ac_try='test -s conftest.$ac_objext'
22333 -  { (eval echo "$as_me:15717: \"$ac_try\"") >&5
22334 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335    (eval $ac_try) 2>&5
22336    ac_status=$?
22337 -  echo "$as_me:15720: \$? = $ac_status" >&5
22338 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339    (exit $ac_status); }; }; then
22340 -   echo "$as_me:15722: result: yes" >&5
22341 +   echo "$as_me:$LINENO: result: yes" >&5
22342  echo "${ECHO_T}yes" >&6
22343  else
22344    echo "$as_me: failed program was:" >&5
22345 -cat conftest.$ac_ext >&5
22346 +sed 's/^/| /' conftest.$ac_ext >&5
22347  
22348 -               echo "$as_me:15728: result: no" >&5
22349 +
22350 +               echo "$as_me:$LINENO: result: no" >&5
22351  echo "${ECHO_T}no" >&6
22352 -               echo "$as_me:15730: checking if your system defines _PATH_LASTLOG" >&5
22353 +               echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
22354  echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
22355 -               cat >conftest.$ac_ext <<_ACEOF
22356 -#line 15733 "configure"
22357 -#include "confdefs.h"
22358 +               _au_changequote(,)cat >conftest.$ac_ext <<_ACEOF
22359 +#line $LINENO "configure"
22360 +/* confdefs.h.  */
22361 +_ACEOF
22362 +cat confdefs.h >>conftest.$ac_ext
22363 +cat >>conftest.$ac_ext <<_ACEOF
22364 +/* end confdefs.h.  */
22365  
22366  #include <sys/types.h>
22367  #include <utmp.h>
22368 @@ -15751,30 +19150,32 @@
22369  }
22370  _ACEOF
22371  rm -f conftest.$ac_objext
22372 -if { (eval echo "$as_me:15754: \"$ac_compile\"") >&5
22373 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22374    (eval $ac_compile) 2>&5
22375    ac_status=$?
22376 -  echo "$as_me:15757: \$? = $ac_status" >&5
22377 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378    (exit $ac_status); } &&
22379           { ac_try='test -s conftest.$ac_objext'
22380 -  { (eval echo "$as_me:15760: \"$ac_try\"") >&5
22381 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382    (eval $ac_try) 2>&5
22383    ac_status=$?
22384 -  echo "$as_me:15763: \$? = $ac_status" >&5
22385 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386    (exit $ac_status); }; }; then
22387 -   echo "$as_me:15765: result: yes" >&5
22388 +   echo "$as_me:$LINENO: result: yes" >&5
22389  echo "${ECHO_T}yes" >&6
22390  else
22391    echo "$as_me: failed program was:" >&5
22392 -cat conftest.$ac_ext >&5
22393 +sed 's/^/| /' conftest.$ac_ext >&5
22394  
22395 -                       echo "$as_me:15771: result: no" >&5
22396 +
22397 +                       echo "$as_me:$LINENO: result: no" >&5
22398  echo "${ECHO_T}no" >&6
22399                         system_lastlog_path=no
22400  
22401  fi
22402  rm -f conftest.$ac_objext conftest.$ac_ext
22403  
22404 +
22405  fi
22406  rm -f conftest.$ac_objext conftest.$ac_ext
22407  
22408 @@ -15786,24 +19187,28 @@
22409                                 fi
22410                 done
22411                 if test -z "$conf_lastlog_location"; then
22412 -                       { echo "$as_me:15789: WARNING: ** Cannot find lastlog **" >&5
22413 +                       { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
22414  echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
22415                                         fi
22416         fi
22417  fi
22418  
22419  if test -n "$conf_lastlog_location"; then
22420 -       cat >>confdefs.h <<EOF
22421 +       cat >>confdefs.h <<_ACEOF
22422  #define CONF_LASTLOG_FILE "$conf_lastlog_location"
22423 -EOF
22424 +_ACEOF
22425  
22426  fi
22427  
22428 -echo "$as_me:15802: checking if your system defines UTMP_FILE" >&5
22429 +echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
22430  echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
22431  cat >conftest.$ac_ext <<_ACEOF
22432 -#line 15805 "configure"
22433 -#include "confdefs.h"
22434 +#line $LINENO "configure"
22435 +/* confdefs.h.  */
22436 +_ACEOF
22437 +cat confdefs.h >>conftest.$ac_ext
22438 +cat >>conftest.$ac_ext <<_ACEOF
22439 +/* end confdefs.h.  */
22440  
22441  #include <sys/types.h>
22442  #include <utmp.h>
22443 @@ -15820,23 +19225,24 @@
22444  }
22445  _ACEOF
22446  rm -f conftest.$ac_objext
22447 -if { (eval echo "$as_me:15823: \"$ac_compile\"") >&5
22448 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22449    (eval $ac_compile) 2>&5
22450    ac_status=$?
22451 -  echo "$as_me:15826: \$? = $ac_status" >&5
22452 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453    (exit $ac_status); } &&
22454           { ac_try='test -s conftest.$ac_objext'
22455 -  { (eval echo "$as_me:15829: \"$ac_try\"") >&5
22456 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457    (eval $ac_try) 2>&5
22458    ac_status=$?
22459 -  echo "$as_me:15832: \$? = $ac_status" >&5
22460 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461    (exit $ac_status); }; }; then
22462 -   echo "$as_me:15834: result: yes" >&5
22463 +   echo "$as_me:$LINENO: result: yes" >&5
22464  echo "${ECHO_T}yes" >&6
22465  else
22466    echo "$as_me: failed program was:" >&5
22467 -cat conftest.$ac_ext >&5
22468 - echo "$as_me:15839: result: no" >&5
22469 +sed 's/^/| /' conftest.$ac_ext >&5
22470 +
22471 + echo "$as_me:$LINENO: result: no" >&5
22472  echo "${ECHO_T}no" >&6
22473           system_utmp_path=no
22474  
22475 @@ -15850,25 +19256,29 @@
22476                         fi
22477                 done
22478                 if test -z "$conf_utmp_location"; then
22479 -                       cat >>confdefs.h <<\EOF
22480 +                       cat >>confdefs.h <<\_ACEOF
22481  #define DISABLE_UTMP 1
22482 -EOF
22483 +_ACEOF
22484  
22485                 fi
22486         fi
22487  fi
22488  if test -n "$conf_utmp_location"; then
22489 -       cat >>confdefs.h <<EOF
22490 +       cat >>confdefs.h <<_ACEOF
22491  #define CONF_UTMP_FILE "$conf_utmp_location"
22492 -EOF
22493 +_ACEOF
22494  
22495  fi
22496  
22497 -echo "$as_me:15867: checking if your system defines WTMP_FILE" >&5
22498 +echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
22499  echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
22500  cat >conftest.$ac_ext <<_ACEOF
22501 -#line 15870 "configure"
22502 -#include "confdefs.h"
22503 +#line $LINENO "configure"
22504 +/* confdefs.h.  */
22505 +_ACEOF
22506 +cat confdefs.h >>conftest.$ac_ext
22507 +cat >>conftest.$ac_ext <<_ACEOF
22508 +/* end confdefs.h.  */
22509  
22510  #include <sys/types.h>
22511  #include <utmp.h>
22512 @@ -15885,23 +19295,24 @@
22513  }
22514  _ACEOF
22515  rm -f conftest.$ac_objext
22516 -if { (eval echo "$as_me:15888: \"$ac_compile\"") >&5
22517 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518    (eval $ac_compile) 2>&5
22519    ac_status=$?
22520 -  echo "$as_me:15891: \$? = $ac_status" >&5
22521 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522    (exit $ac_status); } &&
22523           { ac_try='test -s conftest.$ac_objext'
22524 -  { (eval echo "$as_me:15894: \"$ac_try\"") >&5
22525 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526    (eval $ac_try) 2>&5
22527    ac_status=$?
22528 -  echo "$as_me:15897: \$? = $ac_status" >&5
22529 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530    (exit $ac_status); }; }; then
22531 -   echo "$as_me:15899: result: yes" >&5
22532 +   echo "$as_me:$LINENO: result: yes" >&5
22533  echo "${ECHO_T}yes" >&6
22534  else
22535    echo "$as_me: failed program was:" >&5
22536 -cat conftest.$ac_ext >&5
22537 - echo "$as_me:15904: result: no" >&5
22538 +sed 's/^/| /' conftest.$ac_ext >&5
22539 +
22540 + echo "$as_me:$LINENO: result: no" >&5
22541  echo "${ECHO_T}no" >&6
22542           system_wtmp_path=no
22543  
22544 @@ -15915,25 +19326,30 @@
22545                         fi
22546                 done
22547                 if test -z "$conf_wtmp_location"; then
22548 -                       cat >>confdefs.h <<\EOF
22549 +                       cat >>confdefs.h <<\_ACEOF
22550  #define DISABLE_WTMP 1
22551 -EOF
22552 +_ACEOF
22553  
22554                 fi
22555         fi
22556  fi
22557  if test -n "$conf_wtmp_location"; then
22558 -       cat >>confdefs.h <<EOF
22559 +       cat >>confdefs.h <<_ACEOF
22560  #define CONF_WTMP_FILE "$conf_wtmp_location"
22561 -EOF
22562 +_ACEOF
22563  
22564  fi
22565  
22566 -echo "$as_me:15932: checking if your system defines UTMPX_FILE" >&5
22567 +
22568 +echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
22569  echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
22570  cat >conftest.$ac_ext <<_ACEOF
22571 -#line 15935 "configure"
22572 -#include "confdefs.h"
22573 +#line $LINENO "configure"
22574 +/* confdefs.h.  */
22575 +_ACEOF
22576 +cat confdefs.h >>conftest.$ac_ext
22577 +cat >>conftest.$ac_ext <<_ACEOF
22578 +/* end confdefs.h.  */
22579  
22580  #include <sys/types.h>
22581  #include <utmp.h>
22582 @@ -15953,23 +19369,24 @@
22583  }
22584  _ACEOF
22585  rm -f conftest.$ac_objext
22586 -if { (eval echo "$as_me:15956: \"$ac_compile\"") >&5
22587 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22588    (eval $ac_compile) 2>&5
22589    ac_status=$?
22590 -  echo "$as_me:15959: \$? = $ac_status" >&5
22591 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592    (exit $ac_status); } &&
22593           { ac_try='test -s conftest.$ac_objext'
22594 -  { (eval echo "$as_me:15962: \"$ac_try\"") >&5
22595 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596    (eval $ac_try) 2>&5
22597    ac_status=$?
22598 -  echo "$as_me:15965: \$? = $ac_status" >&5
22599 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600    (exit $ac_status); }; }; then
22601 -   echo "$as_me:15967: result: yes" >&5
22602 +   echo "$as_me:$LINENO: result: yes" >&5
22603  echo "${ECHO_T}yes" >&6
22604  else
22605    echo "$as_me: failed program was:" >&5
22606 -cat conftest.$ac_ext >&5
22607 - echo "$as_me:15972: result: no" >&5
22608 +sed 's/^/| /' conftest.$ac_ext >&5
22609 +
22610 + echo "$as_me:$LINENO: result: no" >&5
22611  echo "${ECHO_T}no" >&6
22612           system_utmpx_path=no
22613  
22614 @@ -15977,23 +19394,27 @@
22615  rm -f conftest.$ac_objext conftest.$ac_ext
22616  if test -z "$conf_utmpx_location"; then
22617         if test x"$system_utmpx_path" = x"no" ; then
22618 -               cat >>confdefs.h <<\EOF
22619 +               cat >>confdefs.h <<\_ACEOF
22620  #define DISABLE_UTMPX 1
22621 -EOF
22622 +_ACEOF
22623  
22624         fi
22625  else
22626 -       cat >>confdefs.h <<EOF
22627 +       cat >>confdefs.h <<_ACEOF
22628  #define CONF_UTMPX_FILE "$conf_utmpx_location"
22629 -EOF
22630 +_ACEOF
22631  
22632  fi
22633  
22634 -echo "$as_me:15992: checking if your system defines WTMPX_FILE" >&5
22635 +echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
22636  echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
22637  cat >conftest.$ac_ext <<_ACEOF
22638 -#line 15995 "configure"
22639 -#include "confdefs.h"
22640 +#line $LINENO "configure"
22641 +/* confdefs.h.  */
22642 +_ACEOF
22643 +cat confdefs.h >>conftest.$ac_ext
22644 +cat >>conftest.$ac_ext <<_ACEOF
22645 +/* end confdefs.h.  */
22646  
22647  #include <sys/types.h>
22648  #include <utmp.h>
22649 @@ -16013,23 +19434,24 @@
22650  }
22651  _ACEOF
22652  rm -f conftest.$ac_objext
22653 -if { (eval echo "$as_me:16016: \"$ac_compile\"") >&5
22654 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22655    (eval $ac_compile) 2>&5
22656    ac_status=$?
22657 -  echo "$as_me:16019: \$? = $ac_status" >&5
22658 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659    (exit $ac_status); } &&
22660           { ac_try='test -s conftest.$ac_objext'
22661 -  { (eval echo "$as_me:16022: \"$ac_try\"") >&5
22662 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663    (eval $ac_try) 2>&5
22664    ac_status=$?
22665 -  echo "$as_me:16025: \$? = $ac_status" >&5
22666 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667    (exit $ac_status); }; }; then
22668 -   echo "$as_me:16027: result: yes" >&5
22669 +   echo "$as_me:$LINENO: result: yes" >&5
22670  echo "${ECHO_T}yes" >&6
22671  else
22672    echo "$as_me: failed program was:" >&5
22673 -cat conftest.$ac_ext >&5
22674 - echo "$as_me:16032: result: no" >&5
22675 +sed 's/^/| /' conftest.$ac_ext >&5
22676 +
22677 + echo "$as_me:$LINENO: result: no" >&5
22678  echo "${ECHO_T}no" >&6
22679           system_wtmpx_path=no
22680  
22681 @@ -16037,21 +19459,22 @@
22682  rm -f conftest.$ac_objext conftest.$ac_ext
22683  if test -z "$conf_wtmpx_location"; then
22684         if test x"$system_wtmpx_path" = x"no" ; then
22685 -               cat >>confdefs.h <<\EOF
22686 +               cat >>confdefs.h <<\_ACEOF
22687  #define DISABLE_WTMPX 1
22688 -EOF
22689 +_ACEOF
22690  
22691         fi
22692  else
22693 -       cat >>confdefs.h <<EOF
22694 +       cat >>confdefs.h <<_ACEOF
22695  #define CONF_WTMPX_FILE "$conf_wtmpx_location"
22696 -EOF
22697 +_ACEOF
22698  
22699  fi
22700  
22701 +
22702  if test ! -z "$blibpath" ; then
22703         LDFLAGS="$LDFLAGS $blibflags$blibpath"
22704 -       { echo "$as_me:16054: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
22705 +       { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
22706  echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
22707  fi
22708  
22709 @@ -16062,7 +19485,8 @@
22710         LIBS=`echo $LIBS | sed 's/-ldl //'`
22711  fi
22712  
22713 -ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
22714 +
22715 +                                        ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
22716  
22717  cat >confcache <<\_ACEOF
22718  # This file is a shell script that caches the results of configure
22719 @@ -16074,7 +19498,7 @@
22720  # config.status only pays attention to the cache file if you give it
22721  # the --recheck option to rerun configure.
22722  #
22723 -# `ac_cv_env_foo' variables (set or unset) will be overriden when
22724 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
22725  # loading this file, other *unset* `ac_cv_foo' will be assigned the
22726  # following values.
22727  
22728 @@ -16109,7 +19533,7 @@
22729       t end
22730       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22731       : end' >>confcache
22732 -if cmp -s $cache_file confcache; then :; else
22733 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
22734    if test -w $cache_file; then
22735      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22736      cat confcache >$cache_file
22737 @@ -16140,35 +19564,227 @@
22738  
22739  DEFS=-DHAVE_CONFIG_H
22740  
22741 +ac_libobjs=
22742 +ac_ltlibobjs=
22743 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22744 +  # 1. Remove the extension, and $U if already installed.
22745 +  ac_i=`echo "$ac_i" |
22746 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22747 +  # 2. Add them.
22748 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22749 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22750 +done
22751 +LIBOBJS=$ac_libobjs
22752 +
22753 +LTLIBOBJS=$ac_ltlibobjs
22754 +
22755 +
22756 +
22757  : ${CONFIG_STATUS=./config.status}
22758  ac_clean_files_save=$ac_clean_files
22759  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22760 -{ echo "$as_me:16146: creating $CONFIG_STATUS" >&5
22761 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22762  echo "$as_me: creating $CONFIG_STATUS" >&6;}
22763  cat >$CONFIG_STATUS <<_ACEOF
22764  #! $SHELL
22765 -# Generated automatically by configure.
22766 +# Generated by $as_me.
22767  # Run this file to recreate the current configuration.
22768  # Compiler output produced by configure, useful for debugging
22769  # configure, is in config.log if it exists.
22770  
22771  debug=false
22772 +ac_cs_recheck=false
22773 +ac_cs_silent=false
22774  SHELL=\${CONFIG_SHELL-$SHELL}
22775 -ac_cs_invocation="\$0 \$@"
22776 -
22777  _ACEOF
22778  
22779  cat >>$CONFIG_STATUS <<\_ACEOF
22780 +## --------------------- ##
22781 +## M4sh Initialization.  ##
22782 +## --------------------- ##
22783 +
22784  # Be Bourne compatible
22785  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22786    emulate sh
22787    NULLCMD=:
22788 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22789 +  # is contrary to our usage.  Disable this feature.
22790 +  alias -g '${1+"$@"}'='"$@"'
22791  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22792    set -o posix
22793  fi
22794  
22795 +# Support unset when possible.
22796 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22797 +  as_unset=unset
22798 +else
22799 +  as_unset=false
22800 +fi
22801 +
22802 +
22803 +# Work around bugs in pre-3.0 UWIN ksh.
22804 +$as_unset ENV MAIL MAILPATH
22805 +PS1='$ '
22806 +PS2='> '
22807 +PS4='+ '
22808 +
22809 +# NLS nuisances.
22810 +for as_var in \
22811 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22812 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22813 +  LC_TELEPHONE LC_TIME
22814 +do
22815 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22816 +    eval $as_var=C; export $as_var
22817 +  else
22818 +    $as_unset $as_var
22819 +  fi
22820 +done
22821 +
22822 +# Required to use basename.
22823 +if expr a : '\(a\)' >/dev/null 2>&1; then
22824 +  as_expr=expr
22825 +else
22826 +  as_expr=false
22827 +fi
22828 +
22829 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22830 +  as_basename=basename
22831 +else
22832 +  as_basename=false
22833 +fi
22834 +
22835 +
22836  # Name of the executable.
22837 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
22838 +as_me=`$as_basename "$0" ||
22839 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22840 +        X"$0" : 'X\(//\)$' \| \
22841 +        X"$0" : 'X\(/\)$' \| \
22842 +        .     : '\(.\)' 2>/dev/null ||
22843 +echo X/"$0" |
22844 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22845 +         /^X\/\(\/\/\)$/{ s//\1/; q; }
22846 +         /^X\/\(\/\).*/{ s//\1/; q; }
22847 +         s/.*/./; q'`
22848 +
22849 +
22850 +# PATH needs CR, and LINENO needs CR and PATH.
22851 +# Avoid depending upon Character Ranges.
22852 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22853 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22854 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22855 +as_cr_digits='0123456789'
22856 +as_cr_alnum=$as_cr_Letters$as_cr_digits
22857 +
22858 +# The user is always right.
22859 +if test "${PATH_SEPARATOR+set}" != set; then
22860 +  echo "#! /bin/sh" >conf$$.sh
22861 +  echo  "exit 0"   >>conf$$.sh
22862 +  chmod +x conf$$.sh
22863 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22864 +    PATH_SEPARATOR=';'
22865 +  else
22866 +    PATH_SEPARATOR=:
22867 +  fi
22868 +  rm -f conf$$.sh
22869 +fi
22870 +
22871 +
22872 +  as_lineno_1=$LINENO
22873 +  as_lineno_2=$LINENO
22874 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22875 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
22876 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
22877 +  # Find who we are.  Look in the path if we contain no path at all
22878 +  # relative or not.
22879 +  case $0 in
22880 +    *[\\/]* ) as_myself=$0 ;;
22881 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22882 +for as_dir in $PATH
22883 +do
22884 +  IFS=$as_save_IFS
22885 +  test -z "$as_dir" && as_dir=.
22886 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22887 +done
22888 +
22889 +       ;;
22890 +  esac
22891 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
22892 +  # in which case we are not to be found in the path.
22893 +  if test "x$as_myself" = x; then
22894 +    as_myself=$0
22895 +  fi
22896 +  if test ! -f "$as_myself"; then
22897 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22898 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22899 +   { (exit 1); exit 1; }; }
22900 +  fi
22901 +  case $CONFIG_SHELL in
22902 +  '')
22903 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22904 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22905 +do
22906 +  IFS=$as_save_IFS
22907 +  test -z "$as_dir" && as_dir=.
22908 +  for as_base in sh bash ksh sh5; do
22909 +        case $as_dir in
22910 +        /*)
22911 +          if ("$as_dir/$as_base" -c '
22912 +  as_lineno_1=$LINENO
22913 +  as_lineno_2=$LINENO
22914 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22915 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
22916 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
22917 +            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22918 +            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22919 +            CONFIG_SHELL=$as_dir/$as_base
22920 +            export CONFIG_SHELL
22921 +            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22922 +          fi;;
22923 +        esac
22924 +       done
22925 +done
22926 +;;
22927 +  esac
22928 +
22929 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22930 +  # uniformly replaced by the line number.  The first 'sed' inserts a
22931 +  # line-number line before each line; the second 'sed' does the real
22932 +  # work.  The second script uses 'N' to pair each line-number line
22933 +  # with the numbered line, and appends trailing '-' during
22934 +  # substitution so that $LINENO is not a special case at line end.
22935 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22936 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
22937 +  sed '=' <$as_myself |
22938 +    sed '
22939 +      N
22940 +      s,$,-,
22941 +      : loop
22942 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22943 +      t loop
22944 +      s,-$,,
22945 +      s,^['$as_cr_digits']*\n,,
22946 +    ' >$as_me.lineno &&
22947 +  chmod +x $as_me.lineno ||
22948 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22949 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22950 +   { (exit 1); exit 1; }; }
22951 +
22952 +  # Don't try to exec as it changes $[0], causing all sort of problems
22953 +  # (the dirname of $[0] is not the place where we might find the
22954 +  # original and so on.  Autoconf is especially sensible to this).
22955 +  . ./$as_me.lineno
22956 +  # Exit status is that of the last command.
22957 +  exit
22958 +}
22959 +
22960 +
22961 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22962 +  *c*,-n*) ECHO_N= ECHO_C='
22963 +' ECHO_T='     ' ;;
22964 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22965 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
22966 +esac
22967  
22968  if expr a : '\(a\)' >/dev/null 2>&1; then
22969    as_expr=expr
22970 @@ -16194,24 +19810,20 @@
22971  fi
22972  rm -f conf$$ conf$$.exe conf$$.file
22973  
22974 -as_executable_p="test -f"
22975 -
22976 -# Support unset when possible.
22977 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22978 -  as_unset=unset
22979 +if mkdir -p . 2>/dev/null; then
22980 +  as_mkdir_p=:
22981  else
22982 -  as_unset=false
22983 +  as_mkdir_p=false
22984  fi
22985  
22986 -# NLS nuisances.
22987 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
22988 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
22989 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
22990 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
22991 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
22992 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
22993 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
22994 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
22995 +as_executable_p="test -f"
22996 +
22997 +# Sed expression to map a string onto a valid CPP name.
22998 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22999 +
23000 +# Sed expression to map a string onto a valid variable name.
23001 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23002 +
23003  
23004  # IFS
23005  # We need space, tab and new line, in precisely that order.
23006 @@ -16220,10 +19832,34 @@
23007  IFS="  $as_nl"
23008  
23009  # CDPATH.
23010 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
23011 +$as_unset CDPATH
23012  
23013  exec 6>&1
23014  
23015 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
23016 +# report actual input values of CONFIG_FILES etc. instead of their
23017 +# values after options handling.  Logging --version etc. is OK.
23018 +exec 5>>config.log
23019 +{
23020 +  echo
23021 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23022 +## Running $as_me. ##
23023 +_ASBOX
23024 +} >&5
23025 +cat >&5 <<_CSEOF
23026 +
23027 +This file was extended by $as_me, which was
23028 +generated by GNU Autoconf 2.57.  Invocation command line was
23029 +
23030 +  CONFIG_FILES    = $CONFIG_FILES
23031 +  CONFIG_HEADERS  = $CONFIG_HEADERS
23032 +  CONFIG_LINKS    = $CONFIG_LINKS
23033 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
23034 +  $ $0 $@
23035 +
23036 +_CSEOF
23037 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23038 +echo >&5
23039  _ACEOF
23040  
23041  # Files that config.status was made for.
23042 @@ -16243,7 +19879,7 @@
23043    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23044  fi
23045  
23046 -cat >>$CONFIG_STATUS <<\EOF
23047 +cat >>$CONFIG_STATUS <<\_ACEOF
23048  
23049  ac_cs_usage="\
23050  \`$as_me' instantiates files from templates according to the
23051 @@ -16253,6 +19889,7 @@
23052  
23053    -h, --help       print this help, then exit
23054    -V, --version    print version number, then exit
23055 +  -q, --quiet      do not print progress messages
23056    -d, --debug      don't remove temporary files
23057        --recheck    update $as_me by reconfiguring in the same conditions
23058    --file=FILE[:TEMPLATE]
23059 @@ -16267,12 +19904,12 @@
23060  $config_headers
23061  
23062  Report bugs to <bug-autoconf@gnu.org>."
23063 -EOF
23064 +_ACEOF
23065  
23066 -cat >>$CONFIG_STATUS <<EOF
23067 +cat >>$CONFIG_STATUS <<_ACEOF
23068  ac_cs_version="\\
23069  config.status
23070 -configured by $0, generated by GNU Autoconf 2.52,
23071 +configured by $0, generated by GNU Autoconf 2.57,
23072    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23073  
23074  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23075 @@ -16281,9 +19918,9 @@
23076  gives unlimited permission to copy, distribute and modify it."
23077  srcdir=$srcdir
23078  INSTALL="$INSTALL"
23079 -EOF
23080 +_ACEOF
23081  
23082 -cat >>$CONFIG_STATUS <<\EOF
23083 +cat >>$CONFIG_STATUS <<\_ACEOF
23084  # If no file are specified by the user, then we need to provide default
23085  # value.  By we need to know if files were specified by the user.
23086  ac_need_defaults=:
23087 @@ -16293,30 +19930,30 @@
23088    --*=*)
23089      ac_option=`expr "x$1" : 'x\([^=]*\)='`
23090      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23091 -    shift
23092 -    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
23093 -    shift
23094 +    ac_shift=:
23095 +    ;;
23096 +  -*)
23097 +    ac_option=$1
23098 +    ac_optarg=$2
23099 +    ac_shift=shift
23100      ;;
23101 -  -*);;
23102    *) # This is not an option, so the user has probably given explicit
23103       # arguments.
23104 +     ac_option=$1
23105       ac_need_defaults=false;;
23106    esac
23107  
23108 -  case $1 in
23109 +  case $ac_option in
23110    # Handling of the options.
23111 -EOF
23112 -cat >>$CONFIG_STATUS <<EOF
23113 +_ACEOF
23114 +cat >>$CONFIG_STATUS <<\_ACEOF
23115    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23116 -    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
23117 -    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
23118 -EOF
23119 -cat >>$CONFIG_STATUS <<\EOF
23120 +    ac_cs_recheck=: ;;
23121    --version | --vers* | -V )
23122      echo "$ac_cs_version"; exit 0 ;;
23123    --he | --h)
23124      # Conflict between --help and --header
23125 -    { { echo "$as_me:16319: error: ambiguous option: $1
23126 +    { { echo "$as_me:$LINENO: error: ambiguous option: $1
23127  Try \`$0 --help' for more information." >&5
23128  echo "$as_me: error: ambiguous option: $1
23129  Try \`$0 --help' for more information." >&2;}
23130 @@ -16326,16 +19963,19 @@
23131    --debug | --d* | -d )
23132      debug=: ;;
23133    --file | --fil | --fi | --f )
23134 -    shift
23135 -    CONFIG_FILES="$CONFIG_FILES $1"
23136 +    $ac_shift
23137 +    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23138      ac_need_defaults=false;;
23139    --header | --heade | --head | --hea )
23140 -    shift
23141 -    CONFIG_HEADERS="$CONFIG_HEADERS $1"
23142 +    $ac_shift
23143 +    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23144      ac_need_defaults=false;;
23145 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23146 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23147 +    ac_cs_silent=: ;;
23148  
23149    # This is an error.
23150 -  -*) { { echo "$as_me:16338: error: unrecognized option: $1
23151 +  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23152  Try \`$0 --help' for more information." >&5
23153  echo "$as_me: error: unrecognized option: $1
23154  Try \`$0 --help' for more information." >&2;}
23155 @@ -16347,25 +19987,27 @@
23156    shift
23157  done
23158  
23159 -exec 5>>config.log
23160 -cat >&5 << _ACEOF
23161 +ac_configure_extra_args=
23162  
23163 -## ----------------------- ##
23164 -## Running config.status.  ##
23165 -## ----------------------- ##
23166 +if $ac_cs_silent; then
23167 +  exec 6>/dev/null
23168 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
23169 +fi
23170  
23171 -This file was extended by $as_me 2.52, executed with
23172 -  CONFIG_FILES    = $CONFIG_FILES
23173 -  CONFIG_HEADERS  = $CONFIG_HEADERS
23174 -  CONFIG_LINKS    = $CONFIG_LINKS
23175 -  CONFIG_COMMANDS = $CONFIG_COMMANDS
23176 -  > $ac_cs_invocation
23177 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
23178 +_ACEOF
23179 +cat >>$CONFIG_STATUS <<_ACEOF
23180 +if \$ac_cs_recheck; then
23181 +  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23182 +  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23183 +fi
23184  
23185  _ACEOF
23186 -EOF
23187  
23188 -cat >>$CONFIG_STATUS <<\EOF
23189 +
23190 +
23191 +
23192 +
23193 +cat >>$CONFIG_STATUS <<\_ACEOF
23194  for ac_config_target in $ac_config_targets
23195  do
23196    case "$ac_config_target" in
23197 @@ -16375,7 +20017,7 @@
23198    "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
23199    "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
23200    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23201 -  *) { { echo "$as_me:16378: error: invalid argument: $ac_config_target" >&5
23202 +  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23203  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23204     { (exit 1); exit 1; }; };;
23205    esac
23206 @@ -16390,6 +20032,9 @@
23207    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23208  fi
23209  
23210 +# Have a temporary directory for convenience.  Make it in the build tree
23211 +# simply because there is no reason to put it here, and in addition,
23212 +# creating and moving files from /tmp can sometimes cause problems.
23213  # Create a temporary directory, and hook for its removal unless debugging.
23214  $debug ||
23215  {
23216 @@ -16398,23 +20043,23 @@
23217  }
23218  
23219  # Create a (secure) tmp directory for tmp files.
23220 -: ${TMPDIR=/tmp}
23221 +
23222  {
23223 -  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
23224 +  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23225    test -n "$tmp" && test -d "$tmp"
23226  }  ||
23227  {
23228 -  tmp=$TMPDIR/cs$$-$RANDOM
23229 +  tmp=./confstat$$-$RANDOM
23230    (umask 077 && mkdir $tmp)
23231  } ||
23232  {
23233 -   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
23234 +   echo "$me: cannot create a temporary directory in ." >&2
23235     { (exit 1); exit 1; }
23236  }
23237  
23238 -EOF
23239 +_ACEOF
23240  
23241 -cat >>$CONFIG_STATUS <<EOF
23242 +cat >>$CONFIG_STATUS <<_ACEOF
23243  
23244  #
23245  # CONFIG_FILES section.
23246 @@ -16427,6 +20072,12 @@
23247    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23248     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23249  s,@SHELL@,$SHELL,;t t
23250 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23251 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23252 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23253 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23254 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23255 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23256  s,@exec_prefix@,$exec_prefix,;t t
23257  s,@prefix@,$prefix,;t t
23258  s,@program_transform_name@,$program_transform_name,;t t
23259 @@ -16442,19 +20093,13 @@
23260  s,@oldincludedir@,$oldincludedir,;t t
23261  s,@infodir@,$infodir,;t t
23262  s,@mandir@,$mandir,;t t
23263 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23264 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23265 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23266 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23267 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23268  s,@build_alias@,$build_alias,;t t
23269  s,@host_alias@,$host_alias,;t t
23270  s,@target_alias@,$target_alias,;t t
23271 +s,@DEFS@,$DEFS,;t t
23272  s,@ECHO_C@,$ECHO_C,;t t
23273  s,@ECHO_N@,$ECHO_N,;t t
23274  s,@ECHO_T@,$ECHO_T,;t t
23275 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23276 -s,@DEFS@,$DEFS,;t t
23277  s,@LIBS@,$LIBS,;t t
23278  s,@CC@,$CC,;t t
23279  s,@CFLAGS@,$CFLAGS,;t t
23280 @@ -16486,6 +20131,7 @@
23281  s,@SH@,$SH,;t t
23282  s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
23283  s,@LD@,$LD,;t t
23284 +s,@EGREP@,$EGREP,;t t
23285  s,@LIBWRAP@,$LIBWRAP,;t t
23286  s,@LIBPAM@,$LIBPAM,;t t
23287  s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
23288 @@ -16517,11 +20163,13 @@
23289  s,@mansubdir@,$mansubdir,;t t
23290  s,@user_path@,$user_path,;t t
23291  s,@piddir@,$piddir,;t t
23292 +s,@LIBOBJS@,$LIBOBJS,;t t
23293 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23294  CEOF
23295  
23296 -EOF
23297 +_ACEOF
23298  
23299 -  cat >>$CONFIG_STATUS <<\EOF
23300 +  cat >>$CONFIG_STATUS <<\_ACEOF
23301    # Split the substitutions into bite-sized pieces for seds with
23302    # small command number limits, like on Digital OSF/1 and HP-UX.
23303    ac_max_sed_lines=48
23304 @@ -16560,8 +20208,8 @@
23305    fi
23306  fi # test -n "$CONFIG_FILES"
23307  
23308 -EOF
23309 -cat >>$CONFIG_STATUS <<\EOF
23310 +_ACEOF
23311 +cat >>$CONFIG_STATUS <<\_ACEOF
23312  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23313    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23314    case $ac_file in
23315 @@ -16575,7 +20223,8 @@
23316    esac
23317  
23318    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23319 -  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23320 +  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23321 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23322           X"$ac_file" : 'X\(//\)[^/]' \| \
23323           X"$ac_file" : 'X\(//\)$' \| \
23324           X"$ac_file" : 'X\(/\)' \| \
23325 @@ -16586,60 +20235,84 @@
23326           /^X\(\/\/\)$/{ s//\1/; q; }
23327           /^X\(\/\).*/{ s//\1/; q; }
23328           s/.*/./; q'`
23329 -  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23330 -    { case "$ac_dir" in
23331 -  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23332 -  *)                      as_incr_dir=.;;
23333 -esac
23334 -as_dummy="$ac_dir"
23335 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23336 -  case $as_mkdir_dir in
23337 -    # Skip DOS drivespec
23338 -    ?:) as_incr_dir=$as_mkdir_dir ;;
23339 -    *)
23340 -      as_incr_dir=$as_incr_dir/$as_mkdir_dir
23341 -      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
23342 -    ;;
23343 -  esac
23344 -done; }
23345 -
23346 -    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
23347 -    # A "../" for each directory in $ac_dir_suffix.
23348 -    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
23349 +  { if $as_mkdir_p; then
23350 +    mkdir -p "$ac_dir"
23351    else
23352 -    ac_dir_suffix= ac_dots=
23353 -  fi
23354 +    as_dir="$ac_dir"
23355 +    as_dirs=
23356 +    while test ! -d "$as_dir"; do
23357 +      as_dirs="$as_dir $as_dirs"
23358 +      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23359 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23360 +         X"$as_dir" : 'X\(//\)[^/]' \| \
23361 +         X"$as_dir" : 'X\(//\)$' \| \
23362 +         X"$as_dir" : 'X\(/\)' \| \
23363 +         .     : '\(.\)' 2>/dev/null ||
23364 +echo X"$as_dir" |
23365 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23366 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23367 +         /^X\(\/\/\)$/{ s//\1/; q; }
23368 +         /^X\(\/\).*/{ s//\1/; q; }
23369 +         s/.*/./; q'`
23370 +    done
23371 +    test ! -n "$as_dirs" || mkdir $as_dirs
23372 +  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23373 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23374 +   { (exit 1); exit 1; }; }; }
23375  
23376 -  case $srcdir in
23377 -  .)  ac_srcdir=.
23378 -      if test -z "$ac_dots"; then
23379 -         ac_top_srcdir=.
23380 -      else
23381 -         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
23382 -      fi ;;
23383 -  [\\/]* | ?:[\\/]* )
23384 -      ac_srcdir=$srcdir$ac_dir_suffix;
23385 -      ac_top_srcdir=$srcdir ;;
23386 +  ac_builddir=.
23387 +
23388 +if test "$ac_dir" != .; then
23389 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23390 +  # A "../" for each directory in $ac_dir_suffix.
23391 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23392 +else
23393 +  ac_dir_suffix= ac_top_builddir=
23394 +fi
23395 +
23396 +case $srcdir in
23397 +  .)  # No --srcdir option.  We are building in place.
23398 +    ac_srcdir=.
23399 +    if test -z "$ac_top_builddir"; then
23400 +       ac_top_srcdir=.
23401 +    else
23402 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23403 +    fi ;;
23404 +  [\\/]* | ?:[\\/]* )  # Absolute path.
23405 +    ac_srcdir=$srcdir$ac_dir_suffix;
23406 +    ac_top_srcdir=$srcdir ;;
23407    *) # Relative path.
23408 -    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
23409 -    ac_top_srcdir=$ac_dots$srcdir ;;
23410 -  esac
23411 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23412 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23413 +esac
23414 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23415 +# absolute.
23416 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23417 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23418 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23419 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23420 +
23421  
23422    case $INSTALL in
23423    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23424 -  *) ac_INSTALL=$ac_dots$INSTALL ;;
23425 +  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23426    esac
23427  
23428    if test x"$ac_file" != x-; then
23429 -    { echo "$as_me:16634: creating $ac_file" >&5
23430 +    { echo "$as_me:$LINENO: creating $ac_file" >&5
23431  echo "$as_me: creating $ac_file" >&6;}
23432      rm -f "$ac_file"
23433    fi
23434    # Let's still pretend it is `configure' which instantiates (i.e., don't
23435    # use $as_me), people would be surprised to read:
23436 -  #    /* config.h.  Generated automatically by config.status.  */
23437 -  configure_input="Generated automatically from `echo $ac_file_in |
23438 -                                                 sed 's,.*/,,'` by configure."
23439 +  #    /* config.h.  Generated by config.status.  */
23440 +  if test x"$ac_file" = x-; then
23441 +    configure_input=
23442 +  else
23443 +    configure_input="$ac_file.  "
23444 +  fi
23445 +  configure_input=$configure_input"Generated from `echo $ac_file_in |
23446 +                                     sed 's,.*/,,'` by configure."
23447  
23448    # First look for the input files in the build tree, otherwise in the
23449    # src tree.
23450 @@ -16649,7 +20322,7 @@
23451        -) echo $tmp/stdin ;;
23452        [\\/$]*)
23453           # Absolute (can't be DOS-style, as IFS=:)
23454 -         test -f "$f" || { { echo "$as_me:16652: error: cannot find input file: $f" >&5
23455 +         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23456  echo "$as_me: error: cannot find input file: $f" >&2;}
23457     { (exit 1); exit 1; }; }
23458           echo $f;;
23459 @@ -16662,23 +20335,29 @@
23460             echo $srcdir/$f
23461           else
23462             # /dev/null tree
23463 -           { { echo "$as_me:16665: error: cannot find input file: $f" >&5
23464 +           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23465  echo "$as_me: error: cannot find input file: $f" >&2;}
23466     { (exit 1); exit 1; }; }
23467           fi;;
23468        esac
23469      done` || { (exit 1); exit 1; }
23470 -EOF
23471 -cat >>$CONFIG_STATUS <<EOF
23472 +_ACEOF
23473 +cat >>$CONFIG_STATUS <<_ACEOF
23474    sed "$ac_vpsub
23475  $extrasub
23476 -EOF
23477 -cat >>$CONFIG_STATUS <<\EOF
23478 +_ACEOF
23479 +cat >>$CONFIG_STATUS <<\_ACEOF
23480  :t
23481  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23482  s,@configure_input@,$configure_input,;t t
23483  s,@srcdir@,$ac_srcdir,;t t
23484 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
23485  s,@top_srcdir@,$ac_top_srcdir,;t t
23486 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23487 +s,@builddir@,$ac_builddir,;t t
23488 +s,@abs_builddir@,$ac_abs_builddir,;t t
23489 +s,@top_builddir@,$ac_top_builddir,;t t
23490 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23491  s,@INSTALL@,$ac_INSTALL,;t t
23492  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23493    rm -f $tmp/stdin
23494 @@ -16690,8 +20369,8 @@
23495    fi
23496  
23497  done
23498 -EOF
23499 -cat >>$CONFIG_STATUS <<\EOF
23500 +_ACEOF
23501 +cat >>$CONFIG_STATUS <<\_ACEOF
23502  
23503  #
23504  # CONFIG_HEADER section.
23505 @@ -16723,7 +20402,7 @@
23506    * )   ac_file_in=$ac_file.in ;;
23507    esac
23508  
23509 -  test x"$ac_file" != x- && { echo "$as_me:16726: creating $ac_file" >&5
23510 +  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23511  echo "$as_me: creating $ac_file" >&6;}
23512  
23513    # First look for the input files in the build tree, otherwise in the
23514 @@ -16734,7 +20413,7 @@
23515        -) echo $tmp/stdin ;;
23516        [\\/$]*)
23517           # Absolute (can't be DOS-style, as IFS=:)
23518 -         test -f "$f" || { { echo "$as_me:16737: error: cannot find input file: $f" >&5
23519 +         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23520  echo "$as_me: error: cannot find input file: $f" >&2;}
23521     { (exit 1); exit 1; }; }
23522           echo $f;;
23523 @@ -16747,7 +20426,7 @@
23524             echo $srcdir/$f
23525           else
23526             # /dev/null tree
23527 -           { { echo "$as_me:16750: error: cannot find input file: $f" >&5
23528 +           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23529  echo "$as_me: error: cannot find input file: $f" >&2;}
23530     { (exit 1); exit 1; }; }
23531           fi;;
23532 @@ -16756,7 +20435,7 @@
23533    # Remove the trailing spaces.
23534    sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
23535  
23536 -EOF
23537 +_ACEOF
23538  
23539  # Transform confdefs.h into two sed scripts, `conftest.defines' and
23540  # `conftest.undefs', that substitutes the proper values into
23541 @@ -16772,7 +20451,7 @@
23542  # `end' is used to avoid that the second main sed command (meant for
23543  # 0-ary CPP macros) applies to n-ary macro definitions.
23544  # See the Autoconf documentation for `clear'.
23545 -cat >confdef2sed.sed <<\EOF
23546 +cat >confdef2sed.sed <<\_ACEOF
23547  s/[\\&,]/\\&/g
23548  s,[\\$`],\\&,g
23549  t clear
23550 @@ -16781,7 +20460,7 @@
23551  t end
23552  s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23553  : end
23554 -EOF
23555 +_ACEOF
23556  # If some macros were called several times there might be several times
23557  # the same #defines, which is useless.  Nevertheless, we may not want to
23558  # sort them, since we want the *last* AC-DEFINE to be honored.
23559 @@ -16792,14 +20471,14 @@
23560  # This sed command replaces #undef with comments.  This is necessary, for
23561  # example, in the case of _POSIX_SOURCE, which is predefined and required
23562  # on some systems where configure will not decide to define it.
23563 -cat >>conftest.undefs <<\EOF
23564 +cat >>conftest.undefs <<\_ACEOF
23565  s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23566 -EOF
23567 +_ACEOF
23568  
23569  # Break up conftest.defines because some shells have a limit on the size
23570  # of here documents, and old seds have small limits too (100 cmds).
23571  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23572 -echo '  if egrep "^[   ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23573 +echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23574  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23575  echo '  :' >>$CONFIG_STATUS
23576  rm -f conftest.tail
23577 @@ -16823,7 +20502,7 @@
23578    mv conftest.tail conftest.defines
23579  done
23580  rm -f conftest.defines
23581 -echo '  fi # egrep' >>$CONFIG_STATUS
23582 +echo '  fi # grep' >>$CONFIG_STATUS
23583  echo >>$CONFIG_STATUS
23584  
23585  # Break up conftest.undefs because some shells have a limit on the size
23586 @@ -16851,23 +20530,24 @@
23587  done
23588  rm -f conftest.undefs
23589  
23590 -cat >>$CONFIG_STATUS <<\EOF
23591 +cat >>$CONFIG_STATUS <<\_ACEOF
23592    # Let's still pretend it is `configure' which instantiates (i.e., don't
23593    # use $as_me), people would be surprised to read:
23594 -  #    /* config.h.  Generated automatically by config.status.  */
23595 +  #    /* config.h.  Generated by config.status.  */
23596    if test x"$ac_file" = x-; then
23597 -    echo "/* Generated automatically by configure.  */" >$tmp/config.h
23598 +    echo "/* Generated by configure.  */" >$tmp/config.h
23599    else
23600 -    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
23601 +    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
23602    fi
23603    cat $tmp/in >>$tmp/config.h
23604    rm -f $tmp/in
23605    if test x"$ac_file" != x-; then
23606 -    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
23607 -      { echo "$as_me:16867: $ac_file is unchanged" >&5
23608 +    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23609 +      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23610  echo "$as_me: $ac_file is unchanged" >&6;}
23611      else
23612 -      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23613 +      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23614 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23615           X"$ac_file" : 'X\(//\)[^/]' \| \
23616           X"$ac_file" : 'X\(//\)$' \| \
23617           X"$ac_file" : 'X\(/\)' \| \
23618 @@ -16878,24 +20558,31 @@
23619           /^X\(\/\/\)$/{ s//\1/; q; }
23620           /^X\(\/\).*/{ s//\1/; q; }
23621           s/.*/./; q'`
23622 -      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23623 -        { case "$ac_dir" in
23624 -  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23625 -  *)                      as_incr_dir=.;;
23626 -esac
23627 -as_dummy="$ac_dir"
23628 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23629 -  case $as_mkdir_dir in
23630 -    # Skip DOS drivespec
23631 -    ?:) as_incr_dir=$as_mkdir_dir ;;
23632 -    *)
23633 -      as_incr_dir=$as_incr_dir/$as_mkdir_dir
23634 -      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
23635 -    ;;
23636 -  esac
23637 -done; }
23638 +      { if $as_mkdir_p; then
23639 +    mkdir -p "$ac_dir"
23640 +  else
23641 +    as_dir="$ac_dir"
23642 +    as_dirs=
23643 +    while test ! -d "$as_dir"; do
23644 +      as_dirs="$as_dir $as_dirs"
23645 +      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23646 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23647 +         X"$as_dir" : 'X\(//\)[^/]' \| \
23648 +         X"$as_dir" : 'X\(//\)$' \| \
23649 +         X"$as_dir" : 'X\(/\)' \| \
23650 +         .     : '\(.\)' 2>/dev/null ||
23651 +echo X"$as_dir" |
23652 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23653 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23654 +         /^X\(\/\/\)$/{ s//\1/; q; }
23655 +         /^X\(\/\).*/{ s//\1/; q; }
23656 +         s/.*/./; q'`
23657 +    done
23658 +    test ! -n "$as_dirs" || mkdir $as_dirs
23659 +  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23660 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23661 +   { (exit 1); exit 1; }; }; }
23662  
23663 -      fi
23664        rm -f $ac_file
23665        mv $tmp/config.h $ac_file
23666      fi
23667 @@ -16904,15 +20591,16 @@
23668      rm -f $tmp/config.h
23669    fi
23670  done
23671 -EOF
23672 +_ACEOF
23673  
23674 -cat >>$CONFIG_STATUS <<\EOF
23675 +cat >>$CONFIG_STATUS <<\_ACEOF
23676  
23677  { (exit 0); exit 0; }
23678 -EOF
23679 +_ACEOF
23680  chmod +x $CONFIG_STATUS
23681  ac_clean_files=$ac_clean_files_save
23682  
23683 +
23684  # configure is writing to config.log, and then calls config.status.
23685  # config.status does its own redirection, appending to config.log.
23686  # Unfortunately, on DOS this fails, as config.log is still kept open
23687 @@ -16923,14 +20611,18 @@
23688  # need to make the FD available again.
23689  if test "$no_create" != yes; then
23690    ac_cs_success=:
23691 +  ac_config_status_args=
23692 +  test "$silent" = yes &&
23693 +    ac_config_status_args="$ac_config_status_args --quiet"
23694    exec 5>/dev/null
23695 -  $SHELL $CONFIG_STATUS || ac_cs_success=false
23696 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23697    exec 5>>config.log
23698    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23699    # would make configure fail if this is the last instruction.
23700    $ac_cs_success || { (exit 1); exit 1; }
23701  fi
23702  
23703 +
23704  # Print summary of options
23705  
23706  # Someone please show me a better way :)