]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/openssh/openssh-3.7.1p2/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.1p2 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- openssh-3.7.1p2/configure.ac~configure
7 +++ openssh-3.7.1p2/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         AC_DEFINE(SETEUID_BREAKS_SETUID)
51         AC_DEFINE(BROKEN_SETREUID)
52         AC_DEFINE(BROKEN_SETREGID)
53 @@ -459,16 +453,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 @@ -500,8 +492,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 @@ -516,10 +507,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 @@ -626,19 +615,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 @@ -658,17 +646,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 @@ -706,22 +691,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 @@ -746,17 +727,17 @@
179  # IRIX has a const char return value for gai_strerror()
180  AC_CHECK_FUNCS(gai_strerror,[
181         AC_DEFINE(HAVE_GAI_STRERROR)
182 -       AC_TRY_COMPILE([
183 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
184  #include <sys/types.h>
185  #include <sys/socket.h>
186  #include <netdb.h>
187  
188 -const char *gai_strerror(int);],[
189 +const char *gai_strerror(int);]], [[
190  char *str;
191  
192 -str = gai_strerror(0);],[
193 +str = gai_strerror(0);]])],[
194                 AC_DEFINE(HAVE_CONST_GAI_STRERROR_PROTO, 1,
195 -               [Define if gai_strerror() returns const char *])])])
196 +               [Define if gai_strerror() returns const char *])],[])])
197  
198  AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
199  
200 @@ -792,52 +773,47 @@
201  
202  # Check for broken snprintf
203  if test "x$ac_cv_func_snprintf" = "xyes" ; then
204 -       AC_MSG_CHECKING([whether snprintf correctly terminates long strings])
205 -       AC_TRY_RUN(
206 -               [
207 +AC_CACHE_CHECK([whether snprintf correctly terminates long strings],
208 +       ac_cv_have_broken_snprintf, [
209 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
210  #include <stdio.h>
211  int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
212 -               ],
213 -               [AC_MSG_RESULT(yes)], 
214 -               [
215 -                       AC_MSG_RESULT(no)
216 -                       AC_DEFINE(BROKEN_SNPRINTF)
217 -                       AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
218 -               ]
219 -       )
220 +               ]])],[ ac_cv_have_broken_snprintf="no" ],[ ac_cv_have_broken_snprintf="yes" 
221 +       ],[])
222 +])
223 +if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
224 +       AC_DEFINE(BROKEN_SNPRINTF)
225 +       AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
226 +fi
227  fi
228  
229  dnl see whether mkstemp() requires XXXXXX
230  if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
231  AC_MSG_CHECKING([for (overly) strict mkstemp])
232 -AC_TRY_RUN(
233 -       [
234 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
235  #include <stdlib.h>
236  main() { char template[]="conftest.mkstemp-test";
237  if (mkstemp(template) == -1)
238         exit(1);
239  unlink(template); exit(0);
240  }
241 -       ],
242 -       [
243 +       ]])],[
244                 AC_MSG_RESULT(no)
245 -       ],
246 -       [ 
247 +       ],[ 
248                 AC_MSG_RESULT(yes)
249                 AC_DEFINE(HAVE_STRICT_MKSTEMP)
250 -       ],
251 -       [
252 +       ],[
253                 AC_MSG_RESULT(yes)
254                 AC_DEFINE(HAVE_STRICT_MKSTEMP)
255 -       ] 
256 -)
257 +        
258 +])
259  fi
260  
261  dnl make sure that openpty does not reacquire controlling terminal
262  if test ! -z "$check_for_openpty_ctty_bug"; then
263 -       AC_MSG_CHECKING(if openpty correctly handles controlling tty)
264 -       AC_TRY_RUN(
265 -               [
266 +AC_CACHE_CHECK([if openpty acquires controlling terminal],
267 +       ac_cv_have_openpty_ctty_bug, [
268 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
269  #include <stdio.h>
270  #include <sys/fcntl.h>
271  #include <sys/types.h>
272 @@ -869,15 +845,12 @@
273                         exit(0);        /* Did not acquire ctty: OK */
274         }
275  }
276 -               ],
277 -               [
278 -                       AC_MSG_RESULT(yes)
279 -               ],
280 -               [
281 -                       AC_MSG_RESULT(no)
282 -                       AC_DEFINE(SSHD_ACQUIRES_CTTY)
283 -               ]
284 -       )
285 +               ]])],[ ac_cv_have_openpty_ctty_bug="no" ],[ ac_cv_have_openpty_ctty_bug="yes" 
286 +       ],[])
287 +])
288 +if test "x$ac_cv_have_openpty_ctty_bug" = "xyes" ; then
289 +       AC_DEFINE(SSHD_ACQUIRES_CTTY)
290 +fi
291  fi
292  
293  AC_FUNC_GETPGRP
294 @@ -915,19 +888,15 @@
295  if test "x$PAM_MSG" = "xyes" ; then
296         # Check PAM strerror arguments (old PAM)
297         AC_MSG_CHECKING([whether pam_strerror takes only one argument])
298 -       AC_TRY_COMPILE(
299 -               [
300 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
301  #include <stdlib.h>
302  #include <security/pam_appl.h>
303 -               ], 
304 -               [(void)pam_strerror((pam_handle_t *)NULL, -1);], 
305 -               [AC_MSG_RESULT(no)],
306 -               [
307 +               ]], [[(void)pam_strerror((pam_handle_t *)NULL, -1);]])],[AC_MSG_RESULT(no)],[
308                         AC_DEFINE(HAVE_OLD_PAM)
309                         AC_MSG_RESULT(yes)
310                         PAM_MSG="yes (old library)"
311 -               ]
312 -       )
313 +               
314 +       ])
315  fi
316  
317  # Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
318 @@ -984,8 +953,7 @@
319  
320  # Determine OpenSSL header version
321  AC_MSG_CHECKING([OpenSSL header version])
322 -AC_TRY_RUN(
323 -       [
324 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
325  #include <stdio.h>
326  #include <string.h>
327  #include <openssl/opensslv.h>
328 @@ -1003,21 +971,21 @@
329  
330         exit(0);
331  }
332 -       ],
333 -       [
334 +       ]])],[
335                 ssl_header_ver=`cat conftest.sslincver`
336                 AC_MSG_RESULT($ssl_header_ver)
337 -       ],
338 -       [
339 +       ],[
340                 AC_MSG_RESULT(not found)
341                 AC_MSG_ERROR(OpenSSL version header not found.)
342 -       ]
343 -)
344 +       ],[
345 +               AC_MSG_RESULT(unknown)
346 +               AC_MSG_WARN(Skipping OpenSSL header version check due to crosscompilation.)
347 +       
348 +])
349  
350  # Determine OpenSSL library version
351  AC_MSG_CHECKING([OpenSSL library version])
352 -AC_TRY_RUN(
353 -       [
354 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
355  #include <stdio.h>
356  #include <string.h>
357  #include <openssl/opensslv.h>
358 @@ -1036,35 +1004,36 @@
359  
360         exit(0);
361  }
362 -       ],
363 -       [
364 +       ]])],[
365                 ssl_library_ver=`cat conftest.ssllibver`
366                 AC_MSG_RESULT($ssl_library_ver)
367 -       ],
368 -       [
369 +       ],[
370                 AC_MSG_RESULT(not found)
371                 AC_MSG_ERROR(OpenSSL library not found.)
372 -       ]
373 -)
374 +       ],[
375 +               AC_MSG_RESULT(unknown)
376 +               AC_MSG_WARN(Skipping OpenSSL library version check due to crosscompilation.)
377 +       
378 +])
379  
380  # Sanity check OpenSSL headers
381  AC_MSG_CHECKING([whether OpenSSL's headers match the library])
382 -AC_TRY_RUN(
383 -       [
384 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
385  #include <string.h>
386  #include <openssl/opensslv.h>
387  int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
388 -       ],
389 -       [
390 +       ]])],[
391                 AC_MSG_RESULT(yes)
392 -       ],
393 -       [
394 +       ],[
395                 AC_MSG_RESULT(no)
396                 AC_MSG_ERROR([Your OpenSSL headers do not match your library.
397  Check config.log for details.
398  Also see contrib/findssl.sh for help identifying header/library mismatches.])
399 -       ]
400 -)
401 +       ],[
402 +               AC_MSG_RESULT(unknown)
403 +               AC_MSG_WARN(Skipping OpenSSL version comparison due to crosscompilation.)
404 +       
405 +])
406  
407  # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 
408  # version in OpenSSL. Skip this for PAM
409 @@ -1072,30 +1041,8 @@
410         AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
411  fi
412  
413 -
414  ### Configure cryptographic random number support
415  
416 -# Check wheter OpenSSL seeds itself
417 -AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
418 -AC_TRY_RUN(
419 -       [
420 -#include <string.h>
421 -#include <openssl/rand.h>
422 -int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
423 -       ],
424 -       [
425 -               OPENSSL_SEEDS_ITSELF=yes
426 -               AC_MSG_RESULT(yes)
427 -       ],
428 -       [
429 -               AC_MSG_RESULT(no)
430 -               # Default to use of the rand helper if OpenSSL doesn't
431 -               # seed itself
432 -               USE_RAND_HELPER=yes
433 -       ]
434 -)
435 -
436 -
437  # Do we want to force the use of the rand helper?
438  AC_ARG_WITH(rand-helper,
439         [  --with-rand-helper      Use subprocess to gather strong randomness ],
440 @@ -1112,6 +1059,24 @@
441                         USE_RAND_HELPER=yes
442                 fi
443         ],
444 +       # Check whether OpenSSL seeds itself
445 +       [
446 +               AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
447 +               AC_RUN_IFELSE([AC_LANG_SOURCE([[
448 +               #include <string.h>
449 +               #include <openssl/rand.h>
450 +               int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
451 +                       ]])],[
452 +                               OPENSSL_SEEDS_ITSELF=yes
453 +                               AC_MSG_RESULT(yes)
454 +                       ],[
455 +                               AC_MSG_RESULT(no)
456 +                               # Default to use of the rand helper if OpenSSL doesn't
457 +                               # seed itself
458 +                               USE_RAND_HELPER=yes
459 +                       
460 +               ],[])
461 +       ]
462  )      
463  
464  # Which randomness source do we use?
465 @@ -1293,12 +1258,8 @@
466  
467  # More checks for data types
468  AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
469 -       AC_TRY_COMPILE(
470 -               [ #include <sys/types.h> ], 
471 -               [ u_int a; a = 1;], 
472 -               [ ac_cv_have_u_int="yes" ],
473 -               [ ac_cv_have_u_int="no" ]
474 -       )
475 +       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" 
476 +       ])
477  ])
478  if test "x$ac_cv_have_u_int" = "xyes" ; then
479         AC_DEFINE(HAVE_U_INT)
480 @@ -1306,12 +1267,8 @@
481  fi
482  
483  AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [
484 -       AC_TRY_COMPILE(
485 -               [ #include <sys/types.h> ], 
486 -               [ int8_t a; int16_t b; int32_t c; a = b = c = 1;], 
487 -               [ ac_cv_have_intxx_t="yes" ],
488 -               [ ac_cv_have_intxx_t="no" ]
489 -       )
490 +       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" 
491 +       ])
492  ])
493  if test "x$ac_cv_have_intxx_t" = "xyes" ; then
494         AC_DEFINE(HAVE_INTXX_T)
495 @@ -1322,20 +1279,15 @@
496             test "x$ac_cv_header_stdint_h" = "xyes")
497  then
498      AC_MSG_CHECKING([for intXX_t types in stdint.h])
499 -       AC_TRY_COMPILE(
500 -               [ #include <stdint.h> ], 
501 -               [ int8_t a; int16_t b; int32_t c; a = b = c = 1;], 
502 -               [
503 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], [[ int8_t a; int16_t b; int32_t c; a = b = c = 1;]])],[
504                         AC_DEFINE(HAVE_INTXX_T)
505                         AC_MSG_RESULT(yes)
506 -               ],
507 -               [ AC_MSG_RESULT(no) ]
508 -       )
509 +               ],[ AC_MSG_RESULT(no) 
510 +       ])
511  fi
512  
513  AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [
514 -       AC_TRY_COMPILE(
515 -               [
516 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
517  #include <sys/types.h>
518  #ifdef HAVE_STDINT_H
519  # include <stdint.h>
520 @@ -1344,23 +1296,16 @@
521  #ifdef HAVE_SYS_BITYPES_H
522  # include <sys/bitypes.h>
523  #endif
524 -               ], 
525 -               [ int64_t a; a = 1;], 
526 -               [ ac_cv_have_int64_t="yes" ],
527 -               [ ac_cv_have_int64_t="no" ]
528 -       )
529 +               ]], [[ int64_t a; a = 1;]])],[ ac_cv_have_int64_t="yes" ],[ ac_cv_have_int64_t="no" 
530 +       ])
531  ])
532  if test "x$ac_cv_have_int64_t" = "xyes" ; then
533         AC_DEFINE(HAVE_INT64_T)
534  fi
535  
536  AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [
537 -       AC_TRY_COMPILE(
538 -               [ #include <sys/types.h> ], 
539 -               [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;], 
540 -               [ ac_cv_have_u_intxx_t="yes" ],
541 -               [ ac_cv_have_u_intxx_t="no" ]
542 -       )
543 +       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" 
544 +       ])
545  ])
546  if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
547         AC_DEFINE(HAVE_U_INTXX_T)
548 @@ -1369,24 +1314,16 @@
549  
550  if test -z "$have_u_intxx_t" ; then
551      AC_MSG_CHECKING([for u_intXX_t types in sys/socket.h])
552 -       AC_TRY_COMPILE(
553 -               [ #include <sys/socket.h> ], 
554 -               [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;], 
555 -               [
556 +       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;]])],[
557                         AC_DEFINE(HAVE_U_INTXX_T)
558                         AC_MSG_RESULT(yes)
559 -               ],
560 -               [ AC_MSG_RESULT(no) ]
561 -       )
562 +               ],[ AC_MSG_RESULT(no) 
563 +       ])
564  fi
565  
566  AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [
567 -       AC_TRY_COMPILE(
568 -               [ #include <sys/types.h> ], 
569 -               [ u_int64_t a; a = 1;], 
570 -               [ ac_cv_have_u_int64_t="yes" ],
571 -               [ ac_cv_have_u_int64_t="no" ]
572 -       )
573 +       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" 
574 +       ])
575  ])
576  if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
577         AC_DEFINE(HAVE_U_INT64_T)
578 @@ -1395,27 +1332,19 @@
579  
580  if test -z "$have_u_int64_t" ; then
581      AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h])
582 -       AC_TRY_COMPILE(
583 -               [ #include <sys/bitypes.h> ], 
584 -               [ u_int64_t a; a = 1],
585 -               [
586 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/bitypes.h> ]], [[ u_int64_t a; a = 1]])],[
587                         AC_DEFINE(HAVE_U_INT64_T)
588                         AC_MSG_RESULT(yes)
589 -               ],
590 -               [ AC_MSG_RESULT(no) ]
591 -       )
592 +               ],[ AC_MSG_RESULT(no) 
593 +       ])
594  fi
595  
596  if test -z "$have_u_intxx_t" ; then
597         AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
598 -               AC_TRY_COMPILE(
599 -                       [
600 +               AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
601  #include <sys/types.h>
602 -                       ], 
603 -                       [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1; ], 
604 -                       [ ac_cv_have_uintxx_t="yes" ],
605 -                       [ ac_cv_have_uintxx_t="no" ]
606 -               )
607 +                       ]], [[ 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" 
608 +               ])
609         ])
610         if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
611                 AC_DEFINE(HAVE_UINTXX_T)
612 @@ -1424,49 +1353,37 @@
613  
614  if test -z "$have_uintxx_t" ; then
615      AC_MSG_CHECKING([for uintXX_t types in stdint.h])
616 -       AC_TRY_COMPILE(
617 -               [ #include <stdint.h> ], 
618 -               [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;], 
619 -               [
620 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdint.h> ]], [[ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;]])],[
621                         AC_DEFINE(HAVE_UINTXX_T)
622                         AC_MSG_RESULT(yes)
623 -               ],
624 -               [ AC_MSG_RESULT(no) ]
625 -       )
626 +               ],[ AC_MSG_RESULT(no) 
627 +       ])
628  fi
629  
630  if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
631             test "x$ac_cv_header_sys_bitypes_h" = "xyes")
632  then
633         AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
634 -       AC_TRY_COMPILE(
635 -               [
636 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
637  #include <sys/bitypes.h>
638 -               ], 
639 -               [
640 +               ]], [[
641                         int8_t a; int16_t b; int32_t c;
642                         u_int8_t e; u_int16_t f; u_int32_t g;
643                         a = b = c = e = f = g = 1;
644 -               ], 
645 -               [
646 +               ]])],[
647                         AC_DEFINE(HAVE_U_INTXX_T)
648                         AC_DEFINE(HAVE_INTXX_T)
649                         AC_MSG_RESULT(yes)
650 -               ],
651 -               [AC_MSG_RESULT(no)]
652 -       ) 
653 +               ],[AC_MSG_RESULT(no)
654 +       ]) 
655  fi
656  
657  
658  AC_CACHE_CHECK([for u_char], ac_cv_have_u_char, [
659 -       AC_TRY_COMPILE(
660 -               [
661 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
662  #include <sys/types.h>
663 -               ],
664 -               [ u_char foo; foo = 125; ],
665 -               [ ac_cv_have_u_char="yes" ],
666 -               [ ac_cv_have_u_char="no" ]
667 -       )
668 +               ]], [[ u_char foo; foo = 125; ]])],[ ac_cv_have_u_char="yes" ],[ ac_cv_have_u_char="no" 
669 +       ])
670  ])
671  if test "x$ac_cv_have_u_char" = "xyes" ; then
672         AC_DEFINE(HAVE_U_CHAR)
673 @@ -1477,56 +1394,40 @@
674  AC_CHECK_TYPES(sig_atomic_t,,,[#include <signal.h>])
675  
676  AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [
677 -       AC_TRY_COMPILE(
678 -               [
679 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
680  #include <sys/types.h>
681 -               ],
682 -               [ size_t foo; foo = 1235; ],
683 -               [ ac_cv_have_size_t="yes" ],
684 -               [ ac_cv_have_size_t="no" ]
685 -       )
686 +               ]], [[ size_t foo; foo = 1235; ]])],[ ac_cv_have_size_t="yes" ],[ ac_cv_have_size_t="no" 
687 +       ])
688  ])
689  if test "x$ac_cv_have_size_t" = "xyes" ; then
690         AC_DEFINE(HAVE_SIZE_T)
691  fi
692  
693  AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [
694 -       AC_TRY_COMPILE(
695 -               [
696 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
697  #include <sys/types.h>
698 -               ],
699 -               [ ssize_t foo; foo = 1235; ],
700 -               [ ac_cv_have_ssize_t="yes" ],
701 -               [ ac_cv_have_ssize_t="no" ]
702 -       )
703 +               ]], [[ ssize_t foo; foo = 1235; ]])],[ ac_cv_have_ssize_t="yes" ],[ ac_cv_have_ssize_t="no" 
704 +       ])
705  ])
706  if test "x$ac_cv_have_ssize_t" = "xyes" ; then
707         AC_DEFINE(HAVE_SSIZE_T)
708  fi
709  
710  AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [
711 -       AC_TRY_COMPILE(
712 -               [
713 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
714  #include <time.h>
715 -               ],
716 -               [ clock_t foo; foo = 1235; ],
717 -               [ ac_cv_have_clock_t="yes" ],
718 -               [ ac_cv_have_clock_t="no" ]
719 -       )
720 +               ]], [[ clock_t foo; foo = 1235; ]])],[ ac_cv_have_clock_t="yes" ],[ ac_cv_have_clock_t="no" 
721 +       ])
722  ])
723  if test "x$ac_cv_have_clock_t" = "xyes" ; then
724         AC_DEFINE(HAVE_CLOCK_T)
725  fi
726  
727  AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [
728 -       AC_TRY_COMPILE(
729 -               [
730 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
731  #include <sys/types.h>
732  #include <sys/socket.h>
733 -               ],
734 -               [ sa_family_t foo; foo = 1235; ],
735 -               [ ac_cv_have_sa_family_t="yes" ],
736 -               [ AC_TRY_COMPILE(
737 +               ]], [[ sa_family_t foo; foo = 1235; ]])],[ ac_cv_have_sa_family_t="yes" ],[ AC_TRY_COMPILE(
738                   [
739  #include <sys/types.h>
740  #include <sys/socket.h>
741 @@ -1536,36 +1437,28 @@
742                 [ ac_cv_have_sa_family_t="yes" ],
743  
744                 [ ac_cv_have_sa_family_t="no" ]
745 -       )]
746         )
747 +       ])
748  ])
749  if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
750         AC_DEFINE(HAVE_SA_FAMILY_T)
751  fi
752  
753  AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
754 -       AC_TRY_COMPILE(
755 -               [
756 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
757  #include <sys/types.h>
758 -               ],
759 -               [ pid_t foo; foo = 1235; ],
760 -               [ ac_cv_have_pid_t="yes" ],
761 -               [ ac_cv_have_pid_t="no" ]
762 -       )
763 +               ]], [[ pid_t foo; foo = 1235; ]])],[ ac_cv_have_pid_t="yes" ],[ ac_cv_have_pid_t="no" 
764 +       ])
765  ])
766  if test "x$ac_cv_have_pid_t" = "xyes" ; then
767         AC_DEFINE(HAVE_PID_T)
768  fi
769  
770  AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [
771 -       AC_TRY_COMPILE(
772 -               [
773 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
774  #include <sys/types.h>
775 -               ],
776 -               [ mode_t foo; foo = 1235; ],
777 -               [ ac_cv_have_mode_t="yes" ],
778 -               [ ac_cv_have_mode_t="no" ]
779 -       )
780 +               ]], [[ mode_t foo; foo = 1235; ]])],[ ac_cv_have_mode_t="yes" ],[ ac_cv_have_mode_t="no" 
781 +       ])
782  ])
783  if test "x$ac_cv_have_mode_t" = "xyes" ; then
784         AC_DEFINE(HAVE_MODE_T)
785 @@ -1573,73 +1466,53 @@
786  
787  
788  AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [
789 -       AC_TRY_COMPILE(
790 -               [
791 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
792  #include <sys/types.h>
793  #include <sys/socket.h>
794 -               ],
795 -               [ struct sockaddr_storage s; ],
796 -               [ ac_cv_have_struct_sockaddr_storage="yes" ],
797 -               [ ac_cv_have_struct_sockaddr_storage="no" ]
798 -       )
799 +               ]], [[ struct sockaddr_storage s; ]])],[ ac_cv_have_struct_sockaddr_storage="yes" ],[ ac_cv_have_struct_sockaddr_storage="no" 
800 +       ])
801  ])
802  if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
803         AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE)
804  fi
805  
806  AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
807 -       AC_TRY_COMPILE(
808 -               [
809 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
810  #include <sys/types.h>
811  #include <netinet/in.h>
812 -               ],
813 -               [ struct sockaddr_in6 s; s.sin6_family = 0; ],
814 -               [ ac_cv_have_struct_sockaddr_in6="yes" ],
815 -               [ ac_cv_have_struct_sockaddr_in6="no" ]
816 -       )
817 +               ]], [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])],[ ac_cv_have_struct_sockaddr_in6="yes" ],[ ac_cv_have_struct_sockaddr_in6="no" 
818 +       ])
819  ])
820  if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
821         AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6)
822  fi
823  
824  AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
825 -       AC_TRY_COMPILE(
826 -               [
827 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
828  #include <sys/types.h>
829  #include <netinet/in.h>
830 -               ],
831 -               [ struct in6_addr s; s.s6_addr[0] = 0; ],
832 -               [ ac_cv_have_struct_in6_addr="yes" ],
833 -               [ ac_cv_have_struct_in6_addr="no" ]
834 -       )
835 +               ]], [[ struct in6_addr s; s.s6_addr[0] = 0; ]])],[ ac_cv_have_struct_in6_addr="yes" ],[ ac_cv_have_struct_in6_addr="no" 
836 +       ])
837  ])
838  if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
839         AC_DEFINE(HAVE_STRUCT_IN6_ADDR)
840  fi
841  
842  AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
843 -       AC_TRY_COMPILE(
844 -               [
845 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
846  #include <sys/types.h>
847  #include <sys/socket.h>
848  #include <netdb.h>
849 -               ],
850 -               [ struct addrinfo s; s.ai_flags = AI_PASSIVE; ],
851 -               [ ac_cv_have_struct_addrinfo="yes" ],
852 -               [ ac_cv_have_struct_addrinfo="no" ]
853 -       )
854 +               ]], [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])],[ ac_cv_have_struct_addrinfo="yes" ],[ ac_cv_have_struct_addrinfo="no" 
855 +       ])
856  ])
857  if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
858         AC_DEFINE(HAVE_STRUCT_ADDRINFO)
859  fi
860  
861  AC_CACHE_CHECK([for struct timeval], ac_cv_have_struct_timeval, [
862 -       AC_TRY_COMPILE(
863 -               [ #include <sys/time.h> ], 
864 -               [ struct timeval tv; tv.tv_sec = 1;], 
865 -               [ ac_cv_have_struct_timeval="yes" ],
866 -               [ ac_cv_have_struct_timeval="no" ]
867 -       )
868 +       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" 
869 +       ])
870  ])
871  if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
872         AC_DEFINE(HAVE_STRUCT_TIMEVAL)
873 @@ -1658,32 +1531,42 @@
874         exit 1;
875  else
876  dnl test snprintf (broken on SCO w/gcc)
877 -       AC_TRY_RUN(
878 -               [
879 -#include <stdio.h>
880 -#include <string.h>
881 -#ifdef HAVE_SNPRINTF
882 -main()
883 -{
884 -       char buf[50];
885 -       char expected_out[50];
886 -       int mazsize = 50 ;
887 -#if (SIZEOF_LONG_INT == 8)
888 -       long int num = 0x7fffffffffffffff;
889 -#else
890 -       long long num = 0x7fffffffffffffffll;
891 -#endif
892 -       strcpy(expected_out, "9223372036854775807");
893 -       snprintf(buf, mazsize, "%lld", num);
894 -       if(strcmp(buf, expected_out) != 0)
895 -               exit(1);
896 -       exit(0);
897 -}
898 -#else
899 -main() { exit(0); }
900 -#endif
901 -               ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ]
902 -       )
903 +       if test "x$ac_cv_have_broken_snprintf" != "xyes" ; then
904 +#              no need to test again if we already know its broken :)
905 +               AC_CACHE_CHECK([whether snprintf is broken],
906 +               ac_cv_have_broken_snprintf, [
907 +                       AC_RUN_IFELSE([AC_LANG_SOURCE([[
908 +               #include <stdio.h>
909 +               #include <string.h>
910 +               #ifdef HAVE_SNPRINTF
911 +               main()
912 +               {
913 +                       char buf[50];
914 +                       char expected_out[50];
915 +                       int mazsize = 50 ;
916 +               #if (SIZEOF_LONG_INT == 8)
917 +                       long int num = 0x7fffffffffffffff;
918 +               #else
919 +                       long long num = 0x7fffffffffffffffll;
920 +               #endif
921 +                       strcpy(expected_out, "9223372036854775807");
922 +                       snprintf(buf, mazsize, "%lld", num);
923 +                       if(strcmp(buf, expected_out) != 0)
924 +                               exit(1);
925 +                       exit(0);
926 +               }
927 +               #else
928 +               main() { exit(0); }
929 +               #endif
930 +                               ]])],[ true ],[ 
931 +                                       ac_cv_have_broken_snprintf="yes"
932 +                                       
933 +                       ],[])
934 +               ])
935 +               if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
936 +                       AC_DEFINE(BROKEN_SNPRINTF)
937 +               fi
938 +       fi
939  fi
940  
941  dnl Checks for structure members
942 @@ -1709,15 +1592,10 @@
943  
944  AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage],
945                 ac_cv_have_ss_family_in_struct_ss, [
946 -       AC_TRY_COMPILE(
947 -               [
948 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
949  #include <sys/types.h>
950  #include <sys/socket.h>
951 -               ],
952 -               [ struct sockaddr_storage s; s.ss_family = 1; ],
953 -               [ ac_cv_have_ss_family_in_struct_ss="yes" ],
954 -               [ ac_cv_have_ss_family_in_struct_ss="no" ],
955 -       )
956 +               ]], [[ 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" ])
957  ])
958  if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
959         AC_DEFINE(HAVE_SS_FAMILY_IN_SS)
960 @@ -1725,15 +1603,11 @@
961  
962  AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
963                 ac_cv_have___ss_family_in_struct_ss, [
964 -       AC_TRY_COMPILE(
965 -               [
966 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
967  #include <sys/types.h>
968  #include <sys/socket.h>
969 -               ],
970 -               [ struct sockaddr_storage s; s.__ss_family = 1; ],
971 -               [ ac_cv_have___ss_family_in_struct_ss="yes" ],
972 -               [ ac_cv_have___ss_family_in_struct_ss="no" ]
973 -       )
974 +               ]], [[ 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" 
975 +       ])
976  ])
977  if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
978         AC_DEFINE(HAVE___SS_FAMILY_IN_SS)
979 @@ -1741,14 +1615,10 @@
980  
981  AC_CACHE_CHECK([for pw_class field in struct passwd],
982                 ac_cv_have_pw_class_in_struct_passwd, [
983 -       AC_TRY_COMPILE(
984 -               [
985 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
986  #include <pwd.h>
987 -               ],
988 -               [ struct passwd p; p.pw_class = 0; ],
989 -               [ ac_cv_have_pw_class_in_struct_passwd="yes" ],
990 -               [ ac_cv_have_pw_class_in_struct_passwd="no" ]
991 -       )
992 +               ]], [[ 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" 
993 +       ])
994  ])
995  if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
996         AC_DEFINE(HAVE_PW_CLASS_IN_PASSWD)
997 @@ -1756,14 +1626,10 @@
998  
999  AC_CACHE_CHECK([for pw_expire field in struct passwd],
1000                 ac_cv_have_pw_expire_in_struct_passwd, [
1001 -       AC_TRY_COMPILE(
1002 -               [
1003 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1004  #include <pwd.h>
1005 -               ],
1006 -               [ struct passwd p; p.pw_expire = 0; ],
1007 -               [ ac_cv_have_pw_expire_in_struct_passwd="yes" ],
1008 -               [ ac_cv_have_pw_expire_in_struct_passwd="no" ]
1009 -       )
1010 +               ]], [[ 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" 
1011 +       ])
1012  ])
1013  if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
1014         AC_DEFINE(HAVE_PW_EXPIRE_IN_PASSWD)
1015 @@ -1771,14 +1637,10 @@
1016  
1017  AC_CACHE_CHECK([for pw_change field in struct passwd],
1018                 ac_cv_have_pw_change_in_struct_passwd, [
1019 -       AC_TRY_COMPILE(
1020 -               [
1021 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1022  #include <pwd.h>
1023 -               ],
1024 -               [ struct passwd p; p.pw_change = 0; ],
1025 -               [ ac_cv_have_pw_change_in_struct_passwd="yes" ],
1026 -               [ ac_cv_have_pw_change_in_struct_passwd="no" ]
1027 -       )
1028 +               ]], [[ 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" 
1029 +       ])
1030  ])
1031  if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
1032         AC_DEFINE(HAVE_PW_CHANGE_IN_PASSWD)
1033 @@ -1787,8 +1649,7 @@
1034  dnl make sure we're using the real structure members and not defines
1035  AC_CACHE_CHECK([for msg_accrights field in struct msghdr],
1036                 ac_cv_have_accrights_in_msghdr, [
1037 -       AC_TRY_RUN(
1038 -               [
1039 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
1040  #include <sys/types.h>
1041  #include <sys/socket.h>
1042  #include <sys/uio.h>
1043 @@ -1800,10 +1661,8 @@
1044  m.msg_accrights = 0;
1045  exit(0);
1046  }
1047 -               ],
1048 -               [ ac_cv_have_accrights_in_msghdr="yes" ],
1049 -               [ ac_cv_have_accrights_in_msghdr="no" ]
1050 -       )
1051 +               ]])],[ ac_cv_have_accrights_in_msghdr="yes" ],[ ac_cv_have_accrights_in_msghdr="no" 
1052 +       ],[])
1053  ])
1054  if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
1055         AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR)
1056 @@ -1811,8 +1670,7 @@
1057  
1058  AC_CACHE_CHECK([for msg_control field in struct msghdr],
1059                 ac_cv_have_control_in_msghdr, [
1060 -       AC_TRY_RUN(
1061 -               [
1062 +       AC_RUN_IFELSE([AC_LANG_SOURCE([[
1063  #include <sys/types.h>
1064  #include <sys/socket.h>
1065  #include <sys/uio.h>
1066 @@ -1824,47 +1682,36 @@
1067  m.msg_control = 0;
1068  exit(0);
1069  }
1070 -               ],
1071 -               [ ac_cv_have_control_in_msghdr="yes" ],
1072 -               [ ac_cv_have_control_in_msghdr="no" ]
1073 -       )
1074 +               ]])],[ ac_cv_have_control_in_msghdr="yes" ],[ ac_cv_have_control_in_msghdr="no" 
1075 +       ],[])
1076  ])
1077  if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
1078         AC_DEFINE(HAVE_CONTROL_IN_MSGHDR)
1079  fi
1080  
1081  AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
1082 -       AC_TRY_LINK([], 
1083 -               [ extern char *__progname; printf("%s", __progname); ], 
1084 -               [ ac_cv_libc_defines___progname="yes" ],
1085 -               [ ac_cv_libc_defines___progname="no" ]
1086 -       )
1087 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ extern char *__progname; printf("%s", __progname); ]])],[ ac_cv_libc_defines___progname="yes" ],[ ac_cv_libc_defines___progname="no" 
1088 +       ])
1089  ])
1090  if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
1091         AC_DEFINE(HAVE___PROGNAME)
1092  fi
1093  
1094  AC_CACHE_CHECK([whether $CC implements __FUNCTION__], ac_cv_cc_implements___FUNCTION__, [
1095 -       AC_TRY_LINK([
1096 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1097  #include <stdio.h>
1098 -], 
1099 -               [ printf("%s", __FUNCTION__); ], 
1100 -               [ ac_cv_cc_implements___FUNCTION__="yes" ],
1101 -               [ ac_cv_cc_implements___FUNCTION__="no" ]
1102 -       )
1103 +]], [[ printf("%s", __FUNCTION__); ]])],[ ac_cv_cc_implements___FUNCTION__="yes" ],[ ac_cv_cc_implements___FUNCTION__="no" 
1104 +       ])
1105  ])
1106  if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
1107         AC_DEFINE(HAVE___FUNCTION__)
1108  fi
1109  
1110  AC_CACHE_CHECK([whether $CC implements __func__], ac_cv_cc_implements___func__, [
1111 -       AC_TRY_LINK([
1112 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1113  #include <stdio.h>
1114 -], 
1115 -               [ printf("%s", __func__); ], 
1116 -               [ ac_cv_cc_implements___func__="yes" ],
1117 -               [ ac_cv_cc_implements___func__="no" ]
1118 -       )
1119 +]], [[ printf("%s", __func__); ]])],[ ac_cv_cc_implements___func__="yes" ],[ ac_cv_cc_implements___func__="no" 
1120 +       ])
1121  ])
1122  if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
1123         AC_DEFINE(HAVE___func__)
1124 @@ -1872,25 +1719,18 @@
1125  
1126  AC_CACHE_CHECK([whether getopt has optreset support],
1127                 ac_cv_have_getopt_optreset, [
1128 -       AC_TRY_LINK(
1129 -               [
1130 +       AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1131  #include <getopt.h>
1132 -               ],
1133 -               [ extern int optreset; optreset = 0; ],
1134 -               [ ac_cv_have_getopt_optreset="yes" ],
1135 -               [ ac_cv_have_getopt_optreset="no" ]
1136 -       )
1137 +               ]], [[ extern int optreset; optreset = 0; ]])],[ ac_cv_have_getopt_optreset="yes" ],[ ac_cv_have_getopt_optreset="no" 
1138 +       ])
1139  ])
1140  if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
1141         AC_DEFINE(HAVE_GETOPT_OPTRESET)
1142  fi
1143  
1144  AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
1145 -       AC_TRY_LINK([], 
1146 -               [ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);], 
1147 -               [ ac_cv_libc_defines_sys_errlist="yes" ],
1148 -               [ ac_cv_libc_defines_sys_errlist="no" ]
1149 -       )
1150 +       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" 
1151 +       ])
1152  ])
1153  if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
1154         AC_DEFINE(HAVE_SYS_ERRLIST)
1155 @@ -1898,11 +1738,8 @@
1156  
1157  
1158  AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
1159 -       AC_TRY_LINK([], 
1160 -               [ extern int sys_nerr; printf("%i", sys_nerr);], 
1161 -               [ ac_cv_libc_defines_sys_nerr="yes" ],
1162 -               [ ac_cv_libc_defines_sys_nerr="no" ]
1163 -       )
1164 +       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" 
1165 +       ])
1166  ])
1167  if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
1168         AC_DEFINE(HAVE_SYS_NERR)
1169 @@ -1997,16 +1834,13 @@
1170                          AC_DEFINE(KRB5)
1171                         KRB5_MSG="yes"
1172                          AC_MSG_CHECKING(whether we are using Heimdal)
1173 -                        AC_TRY_COMPILE([ #include <krb5.h> ],
1174 -                                       [ char *tmp = heimdal_version; ],
1175 -                                       [ AC_MSG_RESULT(yes)
1176 +                        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <krb5.h> ]], [[ char *tmp = heimdal_version; ]])],[ AC_MSG_RESULT(yes)
1177                                           AC_DEFINE(HEIMDAL)
1178                                           K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
1179 -                                       ],
1180 -                                       [ AC_MSG_RESULT(no)
1181 +                                       ],[ AC_MSG_RESULT(no)
1182                                           K5LIBS="-lkrb5 -lk5crypto -lcom_err"
1183 -                                       ]
1184 -                        )
1185 +                                       
1186 +                        ])
1187                          if test ! -z "$need_dash_r" ; then
1188                                  LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
1189                          fi
1190 @@ -2115,13 +1949,14 @@
1191                 )
1192         fi
1193  fi
1194 +if test "$cross_compiling" != yes; then
1195  AC_CHECK_FILE("/dev/ptc", 
1196         [
1197                 AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
1198                 have_dev_ptc=1
1199         ]
1200  )
1201 -
1202 +fi
1203  # Options from here on. Some of these are preset by platform above
1204  AC_ARG_WITH(mantype,
1205         [  --with-mantype=man|cat|doc  Set man page type],
1206 @@ -2180,14 +2015,12 @@
1207  
1208  if test -z "$disable_shadow" ; then
1209         AC_MSG_CHECKING([if the systems has expire shadow information])
1210 -       AC_TRY_COMPILE(
1211 -       [
1212 +       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1213  #include <sys/types.h>
1214  #include <shadow.h>
1215         struct spwd sp;
1216 -       ],[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ],
1217 -       [ sp_expire_available=yes ], []
1218 -       )
1219 +       ]], [[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ]])],[ sp_expire_available=yes ],[
1220 +       ])
1221  
1222         if test "x$sp_expire_available" = "xyes" ; then
1223                 AC_MSG_RESULT(yes)
1224 @@ -2218,7 +2051,9 @@
1225  AC_ARG_ENABLE(etc-default-login,
1226         [  --disable-etc-default-login       Disable using PATH from /etc/default/login [no]],,
1227  [
1228 +if test "x$cross_compiling" != "xyes"; then
1229  AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ])
1230 +fi
1231  
1232  if test "x$external_path_file" = "x/etc/default/login"; then
1233         AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN)
1234 @@ -2258,8 +2093,7 @@
1235  If PATH is defined in $external_path_file, ensure the path to scp is included,
1236  otherwise scp will not work.])
1237                 fi
1238 -               AC_TRY_RUN(
1239 -                       [
1240 +               AC_RUN_IFELSE([AC_LANG_SOURCE([[
1241  /* find out what STDPATH is */
1242  #include <stdio.h>
1243  #ifdef HAVE_PATHS_H
1244 @@ -2291,10 +2125,8 @@
1245  
1246         exit(0);
1247  }
1248 -               ], [ user_path=`cat conftest.stdpath` ],
1249 -               [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],
1250 -               [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ]
1251 -       )
1252 +               ]])],[ user_path=`cat conftest.stdpath` ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" 
1253 +       ])
1254  # make sure $bindir is in USER_PATH so scp will work
1255                 t_bindir=`eval echo ${bindir}`
1256                 case $t_bindir in
1257 @@ -2474,7 +2306,7 @@
1258  dnl lastlog detection
1259  dnl  NOTE: the code itself will detect if lastlog is a directory
1260  AC_MSG_CHECKING([if your system defines LASTLOG_FILE])
1261 -AC_TRY_COMPILE([
1262 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1263  #include <sys/types.h>
1264  #include <utmp.h>
1265  #ifdef HAVE_LASTLOG_H
1266 @@ -2486,10 +2318,7 @@
1267  #ifdef HAVE_LOGIN_H
1268  # include <login.h>
1269  #endif
1270 -       ],
1271 -       [ char *lastlog = LASTLOG_FILE; ],
1272 -       [ AC_MSG_RESULT(yes) ],
1273 -       [
1274 +       ]], [[ char *lastlog = LASTLOG_FILE; ]])],[ AC_MSG_RESULT(yes) ],[
1275                 AC_MSG_RESULT(no)
1276                 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG])
1277                 AC_TRY_COMPILE([
1278 @@ -2508,8 +2337,8 @@
1279                         AC_MSG_RESULT(no)
1280                         system_lastlog_path=no
1281                 ])
1282 -       ]
1283 -)
1284 +       
1285 +])
1286  
1287  if test -z "$conf_lastlog_location"; then
1288         if test x"$system_lastlog_path" = x"no" ; then
1289 @@ -2531,18 +2360,15 @@
1290  
1291  dnl utmp detection
1292  AC_MSG_CHECKING([if your system defines UTMP_FILE])
1293 -AC_TRY_COMPILE([
1294 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1295  #include <sys/types.h>
1296  #include <utmp.h>
1297  #ifdef HAVE_PATHS_H
1298  #  include <paths.h>
1299  #endif
1300 -       ],
1301 -       [ char *utmp = UTMP_FILE; ],
1302 -       [ AC_MSG_RESULT(yes) ],
1303 -       [ AC_MSG_RESULT(no)
1304 -         system_utmp_path=no ]
1305 -)
1306 +       ]], [[ char *utmp = UTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1307 +         system_utmp_path=no 
1308 +])
1309  if test -z "$conf_utmp_location"; then
1310         if test x"$system_utmp_path" = x"no" ; then
1311                 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
1312 @@ -2561,18 +2387,15 @@
1313  
1314  dnl wtmp detection
1315  AC_MSG_CHECKING([if your system defines WTMP_FILE])
1316 -AC_TRY_COMPILE([
1317 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1318  #include <sys/types.h>
1319  #include <utmp.h>
1320  #ifdef HAVE_PATHS_H
1321  #  include <paths.h>
1322  #endif
1323 -       ],
1324 -       [ char *wtmp = WTMP_FILE; ],
1325 -       [ AC_MSG_RESULT(yes) ],
1326 -       [ AC_MSG_RESULT(no)
1327 -         system_wtmp_path=no ]
1328 -)
1329 +       ]], [[ char *wtmp = WTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1330 +         system_wtmp_path=no 
1331 +])
1332  if test -z "$conf_wtmp_location"; then
1333         if test x"$system_wtmp_path" = x"no" ; then
1334                 for f in /usr/adm/wtmp /var/log/wtmp; do
1335 @@ -2594,7 +2417,7 @@
1336  dnl  utmpx, but not define UTMPX_FILE (ditto wtmpx.) No doubt it's out
1337  dnl  there, though.
1338  AC_MSG_CHECKING([if your system defines UTMPX_FILE])
1339 -AC_TRY_COMPILE([
1340 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1341  #include <sys/types.h>
1342  #include <utmp.h>
1343  #ifdef HAVE_UTMPX_H
1344 @@ -2603,12 +2426,9 @@
1345  #ifdef HAVE_PATHS_H
1346  #  include <paths.h>
1347  #endif
1348 -       ],
1349 -       [ char *utmpx = UTMPX_FILE; ],
1350 -       [ AC_MSG_RESULT(yes) ],
1351 -       [ AC_MSG_RESULT(no)
1352 -         system_utmpx_path=no ]
1353 -)
1354 +       ]], [[ char *utmpx = UTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1355 +         system_utmpx_path=no 
1356 +])
1357  if test -z "$conf_utmpx_location"; then
1358         if test x"$system_utmpx_path" = x"no" ; then
1359                 AC_DEFINE(DISABLE_UTMPX)
1360 @@ -2619,7 +2439,7 @@
1361  
1362  dnl wtmpx detection
1363  AC_MSG_CHECKING([if your system defines WTMPX_FILE])
1364 -AC_TRY_COMPILE([
1365 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1366  #include <sys/types.h>
1367  #include <utmp.h>
1368  #ifdef HAVE_UTMPX_H
1369 @@ -2628,12 +2448,9 @@
1370  #ifdef HAVE_PATHS_H
1371  #  include <paths.h>
1372  #endif
1373 -       ],
1374 -       [ char *wtmpx = WTMPX_FILE; ],
1375 -       [ AC_MSG_RESULT(yes) ],
1376 -       [ AC_MSG_RESULT(no)
1377 -         system_wtmpx_path=no ]
1378 -)
1379 +       ]], [[ char *wtmpx = WTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1380 +         system_wtmpx_path=no 
1381 +])
1382  if test -z "$conf_wtmpx_location"; then
1383         if test x"$system_wtmpx_path" = x"no" ; then
1384                 AC_DEFINE(DISABLE_WTMPX)
1385 --- openssh-3.7.1p2/configure~configure
1386 +++ openssh-3.7.1p2/configure
1387 @@ -1,12 +1,81 @@
1388  #! /bin/sh
1389  # Guess values for system-dependent variables and create Makefiles.
1390 -# Generated by Autoconf 2.52.
1391 +# Generated by GNU Autoconf 2.57.
1392  #
1393 -# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1394 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1395  # Free Software Foundation, Inc.
1396  # This configure script is free software; the Free Software Foundation
1397  # gives unlimited permission to copy, distribute and modify it.
1398 +## --------------------- ##
1399 +## M4sh Initialization.  ##
1400 +## --------------------- ##
1401 +
1402 +# Be Bourne compatible
1403 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1404 +  emulate sh
1405 +  NULLCMD=:
1406 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1407 +  # is contrary to our usage.  Disable this feature.
1408 +  alias -g '${1+"$@"}'='"$@"'
1409 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1410 +  set -o posix
1411 +fi
1412 +
1413 +# Support unset when possible.
1414 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1415 +  as_unset=unset
1416 +else
1417 +  as_unset=false
1418 +fi
1419  
1420 +
1421 +# Work around bugs in pre-3.0 UWIN ksh.
1422 +$as_unset ENV MAIL MAILPATH
1423 +PS1='$ '
1424 +PS2='> '
1425 +PS4='+ '
1426 +
1427 +# NLS nuisances.
1428 +for as_var in \
1429 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1430 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1431 +  LC_TELEPHONE LC_TIME
1432 +do
1433 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1434 +    eval $as_var=C; export $as_var
1435 +  else
1436 +    $as_unset $as_var
1437 +  fi
1438 +done
1439 +
1440 +# Required to use basename.
1441 +if expr a : '\(a\)' >/dev/null 2>&1; then
1442 +  as_expr=expr
1443 +else
1444 +  as_expr=false
1445 +fi
1446 +
1447 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1448 +  as_basename=basename
1449 +else
1450 +  as_basename=false
1451 +fi
1452 +
1453 +
1454 +# Name of the executable.
1455 +as_me=`$as_basename "$0" ||
1456 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1457 +        X"$0" : 'X\(//\)$' \| \
1458 +        X"$0" : 'X\(/\)$' \| \
1459 +        .     : '\(.\)' 2>/dev/null ||
1460 +echo X/"$0" |
1461 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1462 +         /^X\/\(\/\/\)$/{ s//\1/; q; }
1463 +         /^X\/\(\/\).*/{ s//\1/; q; }
1464 +         s/.*/./; q'`
1465 +
1466 +
1467 +# PATH needs CR, and LINENO needs CR and PATH.
1468  # Avoid depending upon Character Ranges.
1469  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1470  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1471 @@ -14,22 +83,113 @@
1472  as_cr_digits='0123456789'
1473  as_cr_alnum=$as_cr_Letters$as_cr_digits
1474  
1475 -# Sed expression to map a string onto a valid variable name.
1476 -as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1477 +# The user is always right.
1478 +if test "${PATH_SEPARATOR+set}" != set; then
1479 +  echo "#! /bin/sh" >conf$$.sh
1480 +  echo  "exit 0"   >>conf$$.sh
1481 +  chmod +x conf$$.sh
1482 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1483 +    PATH_SEPARATOR=';'
1484 +  else
1485 +    PATH_SEPARATOR=:
1486 +  fi
1487 +  rm -f conf$$.sh
1488 +fi
1489  
1490 -# Sed expression to map a string onto a valid CPP name.
1491 -as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1492  
1493 -# Be Bourne compatible
1494 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1495 -  emulate sh
1496 -  NULLCMD=:
1497 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1498 -  set -o posix
1499 -fi
1500 +  as_lineno_1=$LINENO
1501 +  as_lineno_2=$LINENO
1502 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1503 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
1504 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1505 +  # Find who we are.  Look in the path if we contain no path at all
1506 +  # relative or not.
1507 +  case $0 in
1508 +    *[\\/]* ) as_myself=$0 ;;
1509 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 +for as_dir in $PATH
1511 +do
1512 +  IFS=$as_save_IFS
1513 +  test -z "$as_dir" && as_dir=.
1514 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1515 +done
1516  
1517 -# Name of the executable.
1518 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
1519 +       ;;
1520 +  esac
1521 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
1522 +  # in which case we are not to be found in the path.
1523 +  if test "x$as_myself" = x; then
1524 +    as_myself=$0
1525 +  fi
1526 +  if test ! -f "$as_myself"; then
1527 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1528 +   { (exit 1); exit 1; }; }
1529 +  fi
1530 +  case $CONFIG_SHELL in
1531 +  '')
1532 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1534 +do
1535 +  IFS=$as_save_IFS
1536 +  test -z "$as_dir" && as_dir=.
1537 +  for as_base in sh bash ksh sh5; do
1538 +        case $as_dir in
1539 +        /*)
1540 +          if ("$as_dir/$as_base" -c '
1541 +  as_lineno_1=$LINENO
1542 +  as_lineno_2=$LINENO
1543 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1544 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
1545 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1546 +            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1547 +            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1548 +            CONFIG_SHELL=$as_dir/$as_base
1549 +            export CONFIG_SHELL
1550 +            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1551 +          fi;;
1552 +        esac
1553 +       done
1554 +done
1555 +;;
1556 +  esac
1557 +
1558 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1559 +  # uniformly replaced by the line number.  The first 'sed' inserts a
1560 +  # line-number line before each line; the second 'sed' does the real
1561 +  # work.  The second script uses 'N' to pair each line-number line
1562 +  # with the numbered line, and appends trailing '-' during
1563 +  # substitution so that $LINENO is not a special case at line end.
1564 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1565 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1566 +  sed '=' <$as_myself |
1567 +    sed '
1568 +      N
1569 +      s,$,-,
1570 +      : loop
1571 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1572 +      t loop
1573 +      s,-$,,
1574 +      s,^['$as_cr_digits']*\n,,
1575 +    ' >$as_me.lineno &&
1576 +  chmod +x $as_me.lineno ||
1577 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1578 +   { (exit 1); exit 1; }; }
1579 +
1580 +  # Don't try to exec as it changes $[0], causing all sort of problems
1581 +  # (the dirname of $[0] is not the place where we might find the
1582 +  # original and so on.  Autoconf is especially sensible to this).
1583 +  . ./$as_me.lineno
1584 +  # Exit status is that of the last command.
1585 +  exit
1586 +}
1587 +
1588 +
1589 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1590 +  *c*,-n*) ECHO_N= ECHO_C='
1591 +' ECHO_T='     ' ;;
1592 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1593 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1594 +esac
1595  
1596  if expr a : '\(a\)' >/dev/null 2>&1; then
1597    as_expr=expr
1598 @@ -55,24 +215,20 @@
1599  fi
1600  rm -f conf$$ conf$$.exe conf$$.file
1601  
1602 -as_executable_p="test -f"
1603 -
1604 -# Support unset when possible.
1605 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1606 -  as_unset=unset
1607 +if mkdir -p . 2>/dev/null; then
1608 +  as_mkdir_p=:
1609  else
1610 -  as_unset=false
1611 +  as_mkdir_p=false
1612  fi
1613  
1614 -# NLS nuisances.
1615 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1616 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1617 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1618 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1619 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1620 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1621 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1622 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1623 +as_executable_p="test -f"
1624 +
1625 +# Sed expression to map a string onto a valid CPP name.
1626 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1627 +
1628 +# Sed expression to map a string onto a valid variable name.
1629 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1630 +
1631  
1632  # IFS
1633  # We need space, tab and new line, in precisely that order.
1634 @@ -81,7 +237,8 @@
1635  IFS="  $as_nl"
1636  
1637  # CDPATH.
1638 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1639 +$as_unset CDPATH
1640 +
1641  
1642  # Name of the host.
1643  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1644 @@ -94,9 +251,11 @@
1645  # Initializations.
1646  #
1647  ac_default_prefix=/usr/local
1648 +ac_config_libobj_dir=.
1649  cross_compiling=no
1650  subdirs=
1651 -MFLAGS= MAKEFLAGS=
1652 +MFLAGS=
1653 +MAKEFLAGS=
1654  SHELL=${CONFIG_SHELL-/bin/sh}
1655  
1656  # Maximum number of lines to put in a shell here document.
1657 @@ -104,6 +263,13 @@
1658  # only ac_max_sed_lines should be used.
1659  : ${ac_max_here_lines=38}
1660  
1661 +# Identity of this package.
1662 +PACKAGE_NAME=
1663 +PACKAGE_TARNAME=
1664 +PACKAGE_VERSION=
1665 +PACKAGE_STRING=
1666 +PACKAGE_BUGREPORT=
1667 +
1668  ac_unique_file="ssh.c"
1669  # Factoring default headers for most tests.
1670  ac_includes_default="\
1671 @@ -142,6 +308,9 @@
1672  # include <unistd.h>
1673  #endif"
1674  
1675 +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'
1676 +ac_subst_files=''
1677 +
1678  # Initialize some variables set by options.
1679  ac_init_help=
1680  ac_init_version=false
1681 @@ -180,13 +349,6 @@
1682  infodir='${prefix}/info'
1683  mandir='${prefix}/man'
1684  
1685 -# Identity of this package.
1686 -PACKAGE_NAME=
1687 -PACKAGE_TARNAME=
1688 -PACKAGE_VERSION=
1689 -PACKAGE_STRING=
1690 -PACKAGE_BUGREPORT=
1691 -
1692  ac_prev=
1693  for ac_option
1694  do
1695 @@ -319,7 +481,7 @@
1696      with_fp=no ;;
1697  
1698    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1699 -  | --no-cr | --no-c)
1700 +  | --no-cr | --no-c | -n)
1701      no_create=yes ;;
1702  
1703    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1704 @@ -498,7 +660,7 @@
1705    eval ac_val=$`echo $ac_var`
1706    case $ac_val in
1707      [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1708 -    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
1709 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1710     { (exit 1); exit 1; }; };;
1711    esac
1712  done
1713 @@ -510,18 +672,19 @@
1714    eval ac_val=$`echo $ac_var`
1715    case $ac_val in
1716      [\\/$]* | ?:[\\/]* ) ;;
1717 -    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
1718 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1719     { (exit 1); exit 1; }; };;
1720    esac
1721  done
1722  
1723  # There might be people who depend on the old broken behavior: `$host'
1724  # used to hold the argument of --host etc.
1725 +# FIXME: To remove some day.
1726  build=$build_alias
1727  host=$host_alias
1728  target=$target_alias
1729  
1730 -# FIXME: should be removed in autoconf 3.0.
1731 +# FIXME: To remove some day.
1732  if test "x$host_alias" != x; then
1733    if test "x$build_alias" = x; then
1734      cross_compiling=maybe
1735 @@ -537,13 +700,23 @@
1736  
1737  test "$silent" = yes && exec 6>/dev/null
1738  
1739 +
1740  # Find the source files, if location was not specified.
1741  if test -z "$srcdir"; then
1742    ac_srcdir_defaulted=yes
1743    # Try the directory containing this script, then its parent.
1744 -  ac_prog=$0
1745 -  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
1746 -  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1747 +  ac_confdir=`(dirname "$0") 2>/dev/null ||
1748 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1749 +         X"$0" : 'X\(//\)[^/]' \| \
1750 +         X"$0" : 'X\(//\)$' \| \
1751 +         X"$0" : 'X\(/\)' \| \
1752 +         .     : '\(.\)' 2>/dev/null ||
1753 +echo X"$0" |
1754 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1755 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1756 +         /^X\(\/\/\)$/{ s//\1/; q; }
1757 +         /^X\(\/\).*/{ s//\1/; q; }
1758 +         s/.*/./; q'`
1759    srcdir=$ac_confdir
1760    if test ! -r $srcdir/$ac_unique_file; then
1761      srcdir=..
1762 @@ -553,13 +726,16 @@
1763  fi
1764  if test ! -r $srcdir/$ac_unique_file; then
1765    if test "$ac_srcdir_defaulted" = yes; then
1766 -    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
1767 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1768     { (exit 1); exit 1; }; }
1769    else
1770 -    { echo "$as_me: error: cannot find sources in $srcdir" >&2
1771 +    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1772     { (exit 1); exit 1; }; }
1773    fi
1774  fi
1775 +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1776 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1777 +   { (exit 1); exit 1; }; }
1778  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1779  ac_env_build_alias_set=${build_alias+set}
1780  ac_env_build_alias_value=$build_alias
1781 @@ -600,7 +776,7 @@
1782  if test "$ac_init_help" = "long"; then
1783    # Omit some internal or obsolete options to make the list less imposing.
1784    # This message is too long to be a string in the A/UX 3.1 sh.
1785 -  cat <<EOF
1786 +  cat <<_ACEOF
1787  \`configure' configures this package to adapt to many kinds of systems.
1788  
1789  Usage: $0 [OPTION]... [VAR=VALUE]...
1790 @@ -621,9 +797,9 @@
1791    -n, --no-create         do not create output files
1792        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1793  
1794 -EOF
1795 +_ACEOF
1796  
1797 -  cat <<EOF
1798 +  cat <<_ACEOF
1799  Installation directories:
1800    --prefix=PREFIX         install architecture-independent files in PREFIX
1801                            [$ac_default_prefix]
1802 @@ -650,19 +826,19 @@
1803    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1804    --infodir=DIR          info documentation [PREFIX/info]
1805    --mandir=DIR           man documentation [PREFIX/man]
1806 -EOF
1807 +_ACEOF
1808  
1809 -  cat <<\EOF
1810 +  cat <<\_ACEOF
1811  
1812  System types:
1813    --build=BUILD     configure for building on BUILD [guessed]
1814 -  --host=HOST       build programs to run on HOST [BUILD]
1815 -EOF
1816 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1817 +_ACEOF
1818  fi
1819  
1820  if test -n "$ac_init_help"; then
1821  
1822 -  cat <<\EOF
1823 +  cat <<\_ACEOF
1824  
1825  Optional Features:
1826    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1827 @@ -729,40 +905,60 @@
1828  Use these variables to override the choices made by `configure' or to help
1829  it to find libraries and programs with nonstandard names/locations.
1830  
1831 -EOF
1832 +_ACEOF
1833  fi
1834  
1835  if test "$ac_init_help" = "recursive"; then
1836    # If there are subdirs, report their specific --help.
1837    ac_popdir=`pwd`
1838 -  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
1839 -    cd $ac_subdir
1840 -    # A "../" for each directory in /$ac_subdir.
1841 -    ac_dots=`echo $ac_subdir |
1842 -             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
1843 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1844 +    test -d $ac_dir || continue
1845 +    ac_builddir=.
1846  
1847 -    case $srcdir in
1848 -    .) # No --srcdir option.  We are building in place.
1849 -      ac_sub_srcdir=$srcdir ;;
1850 -    [\\/]* | ?:[\\/]* ) # Absolute path.
1851 -      ac_sub_srcdir=$srcdir/$ac_subdir ;;
1852 -    *) # Relative path.
1853 -      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
1854 -    esac
1855 +if test "$ac_dir" != .; then
1856 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1857 +  # A "../" for each directory in $ac_dir_suffix.
1858 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1859 +else
1860 +  ac_dir_suffix= ac_top_builddir=
1861 +fi
1862 +
1863 +case $srcdir in
1864 +  .)  # No --srcdir option.  We are building in place.
1865 +    ac_srcdir=.
1866 +    if test -z "$ac_top_builddir"; then
1867 +       ac_top_srcdir=.
1868 +    else
1869 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1870 +    fi ;;
1871 +  [\\/]* | ?:[\\/]* )  # Absolute path.
1872 +    ac_srcdir=$srcdir$ac_dir_suffix;
1873 +    ac_top_srcdir=$srcdir ;;
1874 +  *) # Relative path.
1875 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1876 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1877 +esac
1878 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1879 +# absolute.
1880 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1881 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1882 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1883 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1884  
1885 +    cd $ac_dir
1886      # Check for guested configure; otherwise get Cygnus style configure.
1887 -    if test -f $ac_sub_srcdir/configure.gnu; then
1888 +    if test -f $ac_srcdir/configure.gnu; then
1889        echo
1890 -      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
1891 -    elif test -f $ac_sub_srcdir/configure; then
1892 +      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1893 +    elif test -f $ac_srcdir/configure; then
1894        echo
1895 -      $SHELL $ac_sub_srcdir/configure  --help=recursive
1896 -    elif test -f $ac_sub_srcdir/configure.ac ||
1897 -           test -f $ac_sub_srcdir/configure.in; then
1898 +      $SHELL $ac_srcdir/configure  --help=recursive
1899 +    elif test -f $ac_srcdir/configure.ac ||
1900 +           test -f $ac_srcdir/configure.in; then
1901        echo
1902        $ac_configure --help
1903      else
1904 -      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
1905 +      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1906      fi
1907      cd $ac_popdir
1908    done
1909 @@ -770,31 +966,31 @@
1910  
1911  test -n "$ac_init_help" && exit 0
1912  if $ac_init_version; then
1913 -  cat <<\EOF
1914 +  cat <<\_ACEOF
1915  
1916 -Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1917 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1918  Free Software Foundation, Inc.
1919  This configure script is free software; the Free Software Foundation
1920  gives unlimited permission to copy, distribute and modify it.
1921 -EOF
1922 +_ACEOF
1923    exit 0
1924  fi
1925  exec 5>config.log
1926 -cat >&5 <<EOF
1927 +cat >&5 <<_ACEOF
1928  This file contains any messages produced by compilers while
1929  running configure, to aid debugging if configure makes a mistake.
1930  
1931  It was created by $as_me, which was
1932 -generated by GNU Autoconf 2.52.  Invocation command line was
1933 +generated by GNU Autoconf 2.57.  Invocation command line was
1934  
1935    $ $0 $@
1936  
1937 -EOF
1938 +_ACEOF
1939  {
1940  cat <<_ASUNAME
1941 -## ---------- ##
1942 -## Platform.  ##
1943 -## ---------- ##
1944 +## --------- ##
1945 +## Platform. ##
1946 +## --------- ##
1947  
1948  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949  uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 @@ -813,51 +1009,96 @@
1951  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1952  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1953  
1954 -PATH = $PATH
1955 -
1956  _ASUNAME
1957 +
1958 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 +for as_dir in $PATH
1960 +do
1961 +  IFS=$as_save_IFS
1962 +  test -z "$as_dir" && as_dir=.
1963 +  echo "PATH: $as_dir"
1964 +done
1965 +
1966  } >&5
1967  
1968 -cat >&5 <<EOF
1969 -## ------------ ##
1970 -## Core tests.  ##
1971 -## ------------ ##
1972 +cat >&5 <<_ACEOF
1973 +
1974 +
1975 +## ----------- ##
1976 +## Core tests. ##
1977 +## ----------- ##
1978 +
1979 +_ACEOF
1980  
1981 -EOF
1982  
1983  # Keep a trace of the command line.
1984  # Strip out --no-create and --no-recursion so they do not pile up.
1985 +# Strip out --silent because we don't want to record it for future runs.
1986  # Also quote any args containing shell meta-characters.
1987 +# Make two passes to allow for proper duplicate-argument suppression.
1988  ac_configure_args=
1989 +ac_configure_args0=
1990 +ac_configure_args1=
1991  ac_sep=
1992 -for ac_arg
1993 +ac_must_keep_next=false
1994 +for ac_pass in 1 2
1995  do
1996 -  case $ac_arg in
1997 -  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1998 -  | --no-cr | --no-c) ;;
1999 -  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2000 -  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
2001 -  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2002 -    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2003 -    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2004 -    ac_sep=" " ;;
2005 -  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
2006 -     ac_sep=" " ;;
2007 -  esac
2008 -  # Get rid of the leading space.
2009 +  for ac_arg
2010 +  do
2011 +    case $ac_arg in
2012 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2013 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2014 +    | -silent | --silent | --silen | --sile | --sil)
2015 +      continue ;;
2016 +    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2017 +      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2018 +    esac
2019 +    case $ac_pass in
2020 +    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2021 +    2)
2022 +      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2023 +      if test $ac_must_keep_next = true; then
2024 +        ac_must_keep_next=false # Got value, back to normal.
2025 +      else
2026 +        case $ac_arg in
2027 +          *=* | --config-cache | -C | -disable-* | --disable-* \
2028 +          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2029 +          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2030 +          | -with-* | --with-* | -without-* | --without-* | --x)
2031 +            case "$ac_configure_args0 " in
2032 +              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2033 +            esac
2034 +            ;;
2035 +          -* ) ac_must_keep_next=true ;;
2036 +        esac
2037 +      fi
2038 +      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2039 +      # Get rid of the leading space.
2040 +      ac_sep=" "
2041 +      ;;
2042 +    esac
2043 +  done
2044  done
2045 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2046 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2047  
2048  # When interrupted or exit'd, cleanup temporary files, and complete
2049  # config.log.  We remove comments because anyway the quotes in there
2050  # would cause problems or look ugly.
2051 +# WARNING: Be sure not to use single quotes in there, as some shells,
2052 +# such as our DU 5.0 friend, will then `close' the trap.
2053  trap 'exit_status=$?
2054    # Save into config.log some information that might help in debugging.
2055 -  echo >&5
2056 -  echo "## ----------------- ##" >&5
2057 -  echo "## Cache variables.  ##" >&5
2058 -  echo "## ----------------- ##" >&5
2059 -  echo >&5
2060 -  # The following way of writing the cache mishandles newlines in values,
2061 +  {
2062 +    echo
2063 +
2064 +    cat <<\_ASBOX
2065 +## ---------------- ##
2066 +## Cache variables. ##
2067 +## ---------------- ##
2068 +_ASBOX
2069 +    echo
2070 +    # The following way of writing the cache mishandles newlines in values,
2071  {
2072    (set) 2>&1 |
2073      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
2074 @@ -871,21 +1112,53 @@
2075          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2076        ;;
2077      esac;
2078 -} >&5
2079 -  sed "/^$/d" confdefs.h >conftest.log
2080 -  if test -s conftest.log; then
2081 -    echo >&5
2082 -    echo "## ------------ ##" >&5
2083 -    echo "## confdefs.h.  ##" >&5
2084 -    echo "## ------------ ##" >&5
2085 -    echo >&5
2086 -    cat conftest.log >&5
2087 -  fi
2088 -  (echo; echo) >&5
2089 -  test "$ac_signal" != 0 &&
2090 -    echo "$as_me: caught signal $ac_signal" >&5
2091 -  echo "$as_me: exit $exit_status" >&5
2092 -  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
2093 +}
2094 +    echo
2095 +
2096 +    cat <<\_ASBOX
2097 +## ----------------- ##
2098 +## Output variables. ##
2099 +## ----------------- ##
2100 +_ASBOX
2101 +    echo
2102 +    for ac_var in $ac_subst_vars
2103 +    do
2104 +      eval ac_val=$`echo $ac_var`
2105 +      echo "$ac_var='"'"'$ac_val'"'"'"
2106 +    done | sort
2107 +    echo
2108 +
2109 +    if test -n "$ac_subst_files"; then
2110 +      cat <<\_ASBOX
2111 +## ------------- ##
2112 +## Output files. ##
2113 +## ------------- ##
2114 +_ASBOX
2115 +      echo
2116 +      for ac_var in $ac_subst_files
2117 +      do
2118 +       eval ac_val=$`echo $ac_var`
2119 +        echo "$ac_var='"'"'$ac_val'"'"'"
2120 +      done | sort
2121 +      echo
2122 +    fi
2123 +
2124 +    if test -s confdefs.h; then
2125 +      cat <<\_ASBOX
2126 +## ----------- ##
2127 +## confdefs.h. ##
2128 +## ----------- ##
2129 +_ASBOX
2130 +      echo
2131 +      sed "/^$/d" confdefs.h | sort
2132 +      echo
2133 +    fi
2134 +    test "$ac_signal" != 0 &&
2135 +      echo "$as_me: caught signal $ac_signal"
2136 +    echo "$as_me: exit $exit_status"
2137 +  } >&5
2138 +  rm -f core core.* *.core &&
2139 +  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2140      exit $exit_status
2141       ' 0
2142  for ac_signal in 1 2 13 15; do
2143 @@ -898,6 +1171,33 @@
2144  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
2145  echo >confdefs.h
2146  
2147 +# Predefined preprocessor variables.
2148 +
2149 +cat >>confdefs.h <<_ACEOF
2150 +#define PACKAGE_NAME "$PACKAGE_NAME"
2151 +_ACEOF
2152 +
2153 +
2154 +cat >>confdefs.h <<_ACEOF
2155 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2156 +_ACEOF
2157 +
2158 +
2159 +cat >>confdefs.h <<_ACEOF
2160 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
2161 +_ACEOF
2162 +
2163 +
2164 +cat >>confdefs.h <<_ACEOF
2165 +#define PACKAGE_STRING "$PACKAGE_STRING"
2166 +_ACEOF
2167 +
2168 +
2169 +cat >>confdefs.h <<_ACEOF
2170 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2171 +_ACEOF
2172 +
2173 +
2174  # Let the site file select an alternate cache file if it wants to.
2175  # Prefer explicitly selected file to automatically selected ones.
2176  if test -z "$CONFIG_SITE"; then
2177 @@ -909,9 +1209,9 @@
2178  fi
2179  for ac_site_file in $CONFIG_SITE; do
2180    if test -r "$ac_site_file"; then
2181 -    { echo "$as_me:912: loading site script $ac_site_file" >&5
2182 +    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2183  echo "$as_me: loading site script $ac_site_file" >&6;}
2184 -    cat "$ac_site_file" >&5
2185 +    sed 's/^/| /' "$ac_site_file" >&5
2186      . "$ac_site_file"
2187    fi
2188  done
2189 @@ -920,7 +1220,7 @@
2190    # Some versions of bash will fail to source /dev/null (special
2191    # files actually), so we avoid doing that.
2192    if test -f "$cache_file"; then
2193 -    { echo "$as_me:923: loading cache $cache_file" >&5
2194 +    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2195  echo "$as_me: loading cache $cache_file" >&6;}
2196      case $cache_file in
2197        [\\/]* | ?:[\\/]* ) . $cache_file;;
2198 @@ -928,7 +1228,7 @@
2199      esac
2200    fi
2201  else
2202 -  { echo "$as_me:931: creating cache $cache_file" >&5
2203 +  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2204  echo "$as_me: creating cache $cache_file" >&6;}
2205    >$cache_file
2206  fi
2207 @@ -944,42 +1244,42 @@
2208    eval ac_new_val="\$ac_env_${ac_var}_value"
2209    case $ac_old_set,$ac_new_set in
2210      set,)
2211 -      { echo "$as_me:947: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2212 +      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214        ac_cache_corrupted=: ;;
2215      ,set)
2216 -      { echo "$as_me:951: error: \`$ac_var' was not set in the previous run" >&5
2217 +      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2218  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2219        ac_cache_corrupted=: ;;
2220      ,);;
2221      *)
2222        if test "x$ac_old_val" != "x$ac_new_val"; then
2223 -        { echo "$as_me:957: error: \`$ac_var' has changed since the previous run:" >&5
2224 +        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2225  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2226 -        { echo "$as_me:959:   former value:  $ac_old_val" >&5
2227 +        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2228  echo "$as_me:   former value:  $ac_old_val" >&2;}
2229 -        { echo "$as_me:961:   current value: $ac_new_val" >&5
2230 +        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2231  echo "$as_me:   current value: $ac_new_val" >&2;}
2232          ac_cache_corrupted=:
2233        fi;;
2234    esac
2235 -  # Pass precious variables to config.status.  It doesn't matter if
2236 -  # we pass some twice (in addition to the command line arguments).
2237 +  # Pass precious variables to config.status.
2238    if test "$ac_new_set" = set; then
2239      case $ac_new_val in
2240      *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2241 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
2242 -      ac_configure_args="$ac_configure_args '$ac_arg'"
2243 -      ;;
2244 -    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
2245 -       ;;
2246 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 +    *) ac_arg=$ac_var=$ac_new_val ;;
2248 +    esac
2249 +    case " $ac_configure_args " in
2250 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2251 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2252      esac
2253    fi
2254  done
2255  if $ac_cache_corrupted; then
2256 -  { echo "$as_me:980: error: changes in the environment can compromise the build" >&5
2257 +  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2258  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259 -  { { echo "$as_me:982: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2260 +  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2261  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2262     { (exit 1); exit 1; }; }
2263  fi
2264 @@ -990,28 +1290,27 @@
2265  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2266  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2267  
2268 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2269 -  *c*,-n*) ECHO_N= ECHO_C='
2270 -' ECHO_T='     ' ;;
2271 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2272 -  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
2273 -esac
2274 -echo "#! $SHELL" >conftest.sh
2275 -echo  "exit 0"   >>conftest.sh
2276 -chmod +x conftest.sh
2277 -if { (echo "$as_me:1002: PATH=\".;.\"; conftest.sh") >&5
2278 -  (PATH=".;."; conftest.sh) 2>&5
2279 -  ac_status=$?
2280 -  echo "$as_me:1005: \$? = $ac_status" >&5
2281 -  (exit $ac_status); }; then
2282 -  ac_path_separator=';'
2283 -else
2284 -  ac_path_separator=:
2285 -fi
2286 -PATH_SEPARATOR="$ac_path_separator"
2287 -rm -f conftest.sh
2288  
2289 -ac_config_headers="$ac_config_headers config.h"
2290 +
2291 +
2292 +
2293 +
2294 +
2295 +
2296 +
2297 +
2298 +
2299 +
2300 +
2301 +
2302 +
2303 +
2304 +
2305 +
2306 +
2307 +
2308 +
2309 +          ac_config_headers="$ac_config_headers config.h"
2310  
2311  ac_ext=c
2312  ac_cpp='$CPP $CPPFLAGS'
2313 @@ -1021,7 +1320,7 @@
2314  if test -n "$ac_tool_prefix"; then
2315    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2316  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2317 -echo "$as_me:1024: checking for $ac_word" >&5
2318 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2319  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320  if test "${ac_cv_prog_CC+set}" = set; then
2321    echo $ECHO_N "(cached) $ECHO_C" >&6
2322 @@ -1029,25 +1328,28 @@
2323    if test -n "$CC"; then
2324    ac_cv_prog_CC="$CC" # Let the user override the test.
2325  else
2326 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2327 -ac_dummy="$PATH"
2328 -for ac_dir in $ac_dummy; do
2329 -  IFS=$ac_save_IFS
2330 -  test -z "$ac_dir" && ac_dir=.
2331 -  $as_executable_p "$ac_dir/$ac_word" || continue
2332 -ac_cv_prog_CC="${ac_tool_prefix}gcc"
2333 -echo "$as_me:1039: found $ac_dir/$ac_word" >&5
2334 -break
2335 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 +for as_dir in $PATH
2337 +do
2338 +  IFS=$as_save_IFS
2339 +  test -z "$as_dir" && as_dir=.
2340 +  for ac_exec_ext in '' $ac_executable_extensions; do
2341 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2342 +    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2343 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 +    break 2
2345 +  fi
2346 +done
2347  done
2348  
2349  fi
2350  fi
2351  CC=$ac_cv_prog_CC
2352  if test -n "$CC"; then
2353 -  echo "$as_me:1047: result: $CC" >&5
2354 +  echo "$as_me:$LINENO: result: $CC" >&5
2355  echo "${ECHO_T}$CC" >&6
2356  else
2357 -  echo "$as_me:1050: result: no" >&5
2358 +  echo "$as_me:$LINENO: result: no" >&5
2359  echo "${ECHO_T}no" >&6
2360  fi
2361  
2362 @@ -1056,7 +1358,7 @@
2363    ac_ct_CC=$CC
2364    # Extract the first word of "gcc", so it can be a program name with args.
2365  set dummy gcc; ac_word=$2
2366 -echo "$as_me:1059: checking for $ac_word" >&5
2367 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2368  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2369  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2370    echo $ECHO_N "(cached) $ECHO_C" >&6
2371 @@ -1064,25 +1366,28 @@
2372    if test -n "$ac_ct_CC"; then
2373    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2374  else
2375 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2376 -ac_dummy="$PATH"
2377 -for ac_dir in $ac_dummy; do
2378 -  IFS=$ac_save_IFS
2379 -  test -z "$ac_dir" && ac_dir=.
2380 -  $as_executable_p "$ac_dir/$ac_word" || continue
2381 -ac_cv_prog_ac_ct_CC="gcc"
2382 -echo "$as_me:1074: found $ac_dir/$ac_word" >&5
2383 -break
2384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 +for as_dir in $PATH
2386 +do
2387 +  IFS=$as_save_IFS
2388 +  test -z "$as_dir" && as_dir=.
2389 +  for ac_exec_ext in '' $ac_executable_extensions; do
2390 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 +    ac_cv_prog_ac_ct_CC="gcc"
2392 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 +    break 2
2394 +  fi
2395 +done
2396  done
2397  
2398  fi
2399  fi
2400  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2401  if test -n "$ac_ct_CC"; then
2402 -  echo "$as_me:1082: result: $ac_ct_CC" >&5
2403 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2404  echo "${ECHO_T}$ac_ct_CC" >&6
2405  else
2406 -  echo "$as_me:1085: result: no" >&5
2407 +  echo "$as_me:$LINENO: result: no" >&5
2408  echo "${ECHO_T}no" >&6
2409  fi
2410  
2411 @@ -1095,7 +1400,7 @@
2412    if test -n "$ac_tool_prefix"; then
2413    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2414  set dummy ${ac_tool_prefix}cc; ac_word=$2
2415 -echo "$as_me:1098: checking for $ac_word" >&5
2416 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2417  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2418  if test "${ac_cv_prog_CC+set}" = set; then
2419    echo $ECHO_N "(cached) $ECHO_C" >&6
2420 @@ -1103,25 +1408,28 @@
2421    if test -n "$CC"; then
2422    ac_cv_prog_CC="$CC" # Let the user override the test.
2423  else
2424 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2425 -ac_dummy="$PATH"
2426 -for ac_dir in $ac_dummy; do
2427 -  IFS=$ac_save_IFS
2428 -  test -z "$ac_dir" && ac_dir=.
2429 -  $as_executable_p "$ac_dir/$ac_word" || continue
2430 -ac_cv_prog_CC="${ac_tool_prefix}cc"
2431 -echo "$as_me:1113: found $ac_dir/$ac_word" >&5
2432 -break
2433 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 +for as_dir in $PATH
2435 +do
2436 +  IFS=$as_save_IFS
2437 +  test -z "$as_dir" && as_dir=.
2438 +  for ac_exec_ext in '' $ac_executable_extensions; do
2439 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440 +    ac_cv_prog_CC="${ac_tool_prefix}cc"
2441 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 +    break 2
2443 +  fi
2444 +done
2445  done
2446  
2447  fi
2448  fi
2449  CC=$ac_cv_prog_CC
2450  if test -n "$CC"; then
2451 -  echo "$as_me:1121: result: $CC" >&5
2452 +  echo "$as_me:$LINENO: result: $CC" >&5
2453  echo "${ECHO_T}$CC" >&6
2454  else
2455 -  echo "$as_me:1124: result: no" >&5
2456 +  echo "$as_me:$LINENO: result: no" >&5
2457  echo "${ECHO_T}no" >&6
2458  fi
2459  
2460 @@ -1130,7 +1438,7 @@
2461    ac_ct_CC=$CC
2462    # Extract the first word of "cc", so it can be a program name with args.
2463  set dummy cc; ac_word=$2
2464 -echo "$as_me:1133: checking for $ac_word" >&5
2465 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2466  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2467  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468    echo $ECHO_N "(cached) $ECHO_C" >&6
2469 @@ -1138,25 +1446,28 @@
2470    if test -n "$ac_ct_CC"; then
2471    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2472  else
2473 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2474 -ac_dummy="$PATH"
2475 -for ac_dir in $ac_dummy; do
2476 -  IFS=$ac_save_IFS
2477 -  test -z "$ac_dir" && ac_dir=.
2478 -  $as_executable_p "$ac_dir/$ac_word" || continue
2479 -ac_cv_prog_ac_ct_CC="cc"
2480 -echo "$as_me:1148: found $ac_dir/$ac_word" >&5
2481 -break
2482 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 +for as_dir in $PATH
2484 +do
2485 +  IFS=$as_save_IFS
2486 +  test -z "$as_dir" && as_dir=.
2487 +  for ac_exec_ext in '' $ac_executable_extensions; do
2488 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2489 +    ac_cv_prog_ac_ct_CC="cc"
2490 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 +    break 2
2492 +  fi
2493 +done
2494  done
2495  
2496  fi
2497  fi
2498  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2499  if test -n "$ac_ct_CC"; then
2500 -  echo "$as_me:1156: result: $ac_ct_CC" >&5
2501 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2502  echo "${ECHO_T}$ac_ct_CC" >&6
2503  else
2504 -  echo "$as_me:1159: result: no" >&5
2505 +  echo "$as_me:$LINENO: result: no" >&5
2506  echo "${ECHO_T}no" >&6
2507  fi
2508  
2509 @@ -1169,7 +1480,7 @@
2510  if test -z "$CC"; then
2511    # Extract the first word of "cc", so it can be a program name with args.
2512  set dummy cc; ac_word=$2
2513 -echo "$as_me:1172: checking for $ac_word" >&5
2514 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2515  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2516  if test "${ac_cv_prog_CC+set}" = set; then
2517    echo $ECHO_N "(cached) $ECHO_C" >&6
2518 @@ -1178,19 +1489,22 @@
2519    ac_cv_prog_CC="$CC" # Let the user override the test.
2520  else
2521    ac_prog_rejected=no
2522 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2523 -ac_dummy="$PATH"
2524 -for ac_dir in $ac_dummy; do
2525 -  IFS=$ac_save_IFS
2526 -  test -z "$ac_dir" && ac_dir=.
2527 -  $as_executable_p "$ac_dir/$ac_word" || continue
2528 -if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2529 -  ac_prog_rejected=yes
2530 -  continue
2531 -fi
2532 -ac_cv_prog_CC="cc"
2533 -echo "$as_me:1192: found $ac_dir/$ac_word" >&5
2534 -break
2535 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 +for as_dir in $PATH
2537 +do
2538 +  IFS=$as_save_IFS
2539 +  test -z "$as_dir" && as_dir=.
2540 +  for ac_exec_ext in '' $ac_executable_extensions; do
2541 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2542 +    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2543 +       ac_prog_rejected=yes
2544 +       continue
2545 +     fi
2546 +    ac_cv_prog_CC="cc"
2547 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 +    break 2
2549 +  fi
2550 +done
2551  done
2552  
2553  if test $ac_prog_rejected = yes; then
2554 @@ -1202,19 +1516,17 @@
2555      # However, it has the same basename, so the bogon will be chosen
2556      # first if we set CC to just the basename; use the full file name.
2557      shift
2558 -    set dummy "$ac_dir/$ac_word" ${1+"$@"}
2559 -    shift
2560 -    ac_cv_prog_CC="$@"
2561 +    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2562    fi
2563  fi
2564  fi
2565  fi
2566  CC=$ac_cv_prog_CC
2567  if test -n "$CC"; then
2568 -  echo "$as_me:1214: result: $CC" >&5
2569 +  echo "$as_me:$LINENO: result: $CC" >&5
2570  echo "${ECHO_T}$CC" >&6
2571  else
2572 -  echo "$as_me:1217: result: no" >&5
2573 +  echo "$as_me:$LINENO: result: no" >&5
2574  echo "${ECHO_T}no" >&6
2575  fi
2576  
2577 @@ -1225,7 +1537,7 @@
2578    do
2579      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2580  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2581 -echo "$as_me:1228: checking for $ac_word" >&5
2582 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2583  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2584  if test "${ac_cv_prog_CC+set}" = set; then
2585    echo $ECHO_N "(cached) $ECHO_C" >&6
2586 @@ -1233,25 +1545,28 @@
2587    if test -n "$CC"; then
2588    ac_cv_prog_CC="$CC" # Let the user override the test.
2589  else
2590 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2591 -ac_dummy="$PATH"
2592 -for ac_dir in $ac_dummy; do
2593 -  IFS=$ac_save_IFS
2594 -  test -z "$ac_dir" && ac_dir=.
2595 -  $as_executable_p "$ac_dir/$ac_word" || continue
2596 -ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2597 -echo "$as_me:1243: found $ac_dir/$ac_word" >&5
2598 -break
2599 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 +for as_dir in $PATH
2601 +do
2602 +  IFS=$as_save_IFS
2603 +  test -z "$as_dir" && as_dir=.
2604 +  for ac_exec_ext in '' $ac_executable_extensions; do
2605 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2606 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2607 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 +    break 2
2609 +  fi
2610 +done
2611  done
2612  
2613  fi
2614  fi
2615  CC=$ac_cv_prog_CC
2616  if test -n "$CC"; then
2617 -  echo "$as_me:1251: result: $CC" >&5
2618 +  echo "$as_me:$LINENO: result: $CC" >&5
2619  echo "${ECHO_T}$CC" >&6
2620  else
2621 -  echo "$as_me:1254: result: no" >&5
2622 +  echo "$as_me:$LINENO: result: no" >&5
2623  echo "${ECHO_T}no" >&6
2624  fi
2625  
2626 @@ -1264,7 +1579,7 @@
2627  do
2628    # Extract the first word of "$ac_prog", so it can be a program name with args.
2629  set dummy $ac_prog; ac_word=$2
2630 -echo "$as_me:1267: checking for $ac_word" >&5
2631 +echo "$as_me:$LINENO: checking for $ac_word" >&5
2632  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634    echo $ECHO_N "(cached) $ECHO_C" >&6
2635 @@ -1272,25 +1587,28 @@
2636    if test -n "$ac_ct_CC"; then
2637    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638  else
2639 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
2640 -ac_dummy="$PATH"
2641 -for ac_dir in $ac_dummy; do
2642 -  IFS=$ac_save_IFS
2643 -  test -z "$ac_dir" && ac_dir=.
2644 -  $as_executable_p "$ac_dir/$ac_word" || continue
2645 -ac_cv_prog_ac_ct_CC="$ac_prog"
2646 -echo "$as_me:1282: found $ac_dir/$ac_word" >&5
2647 -break
2648 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 +for as_dir in $PATH
2650 +do
2651 +  IFS=$as_save_IFS
2652 +  test -z "$as_dir" && as_dir=.
2653 +  for ac_exec_ext in '' $ac_executable_extensions; do
2654 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2655 +    ac_cv_prog_ac_ct_CC="$ac_prog"
2656 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 +    break 2
2658 +  fi
2659 +done
2660  done
2661  
2662  fi
2663  fi
2664  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2665  if test -n "$ac_ct_CC"; then
2666 -  echo "$as_me:1290: result: $ac_ct_CC" >&5
2667 +  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2668  echo "${ECHO_T}$ac_ct_CC" >&6
2669  else
2670 -  echo "$as_me:1293: result: no" >&5
2671 +  echo "$as_me:$LINENO: result: no" >&5
2672  echo "${ECHO_T}no" >&6
2673  fi
2674  
2675 @@ -1302,33 +1620,40 @@
2676  
2677  fi
2678  
2679 -test -z "$CC" && { { echo "$as_me:1305: error: no acceptable cc found in \$PATH" >&5
2680 -echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2681 +
2682 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2683 +See \`config.log' for more details." >&5
2684 +echo "$as_me: error: no acceptable C compiler found in \$PATH
2685 +See \`config.log' for more details." >&2;}
2686     { (exit 1); exit 1; }; }
2687  
2688  # Provide some information about the compiler.
2689 -echo "$as_me:1310:" \
2690 +echo "$as_me:$LINENO:" \
2691       "checking for C compiler version" >&5
2692  ac_compiler=`set X $ac_compile; echo $2`
2693 -{ (eval echo "$as_me:1313: \"$ac_compiler --version </dev/null >&5\"") >&5
2694 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2695    (eval $ac_compiler --version </dev/null >&5) 2>&5
2696    ac_status=$?
2697 -  echo "$as_me:1316: \$? = $ac_status" >&5
2698 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699    (exit $ac_status); }
2700 -{ (eval echo "$as_me:1318: \"$ac_compiler -v </dev/null >&5\"") >&5
2701 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2702    (eval $ac_compiler -v </dev/null >&5) 2>&5
2703    ac_status=$?
2704 -  echo "$as_me:1321: \$? = $ac_status" >&5
2705 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706    (exit $ac_status); }
2707 -{ (eval echo "$as_me:1323: \"$ac_compiler -V </dev/null >&5\"") >&5
2708 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2709    (eval $ac_compiler -V </dev/null >&5) 2>&5
2710    ac_status=$?
2711 -  echo "$as_me:1326: \$? = $ac_status" >&5
2712 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713    (exit $ac_status); }
2714  
2715  cat >conftest.$ac_ext <<_ACEOF
2716 -#line 1330 "configure"
2717 -#include "confdefs.h"
2718 +#line $LINENO "configure"
2719 +/* confdefs.h.  */
2720 +_ACEOF
2721 +cat confdefs.h >>conftest.$ac_ext
2722 +cat >>conftest.$ac_ext <<_ACEOF
2723 +/* end confdefs.h.  */
2724  
2725  int
2726  main ()
2727 @@ -1339,100 +1664,120 @@
2728  }
2729  _ACEOF
2730  ac_clean_files_save=$ac_clean_files
2731 -ac_clean_files="$ac_clean_files a.out a.exe"
2732 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
2733  # Try to create an executable without -o first, disregard a.out.
2734  # It will help us diagnose broken compilers, and finding out an intuition
2735  # of exeext.
2736 -echo "$as_me:1346: checking for C compiler default output" >&5
2737 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
2738  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2739  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2740 -if { (eval echo "$as_me:1349: \"$ac_link_default\"") >&5
2741 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2742    (eval $ac_link_default) 2>&5
2743    ac_status=$?
2744 -  echo "$as_me:1352: \$? = $ac_status" >&5
2745 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746    (exit $ac_status); }; then
2747    # Find the output, starting from the most likely.  This scheme is
2748  # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2749  # resort.
2750 -for ac_file in `ls a.exe conftest.exe 2>/dev/null;
2751 -                ls a.out conftest 2>/dev/null;
2752 -                ls a.* conftest.* 2>/dev/null`; do
2753 +
2754 +# Be careful to initialize this variable, since it used to be cached.
2755 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2756 +ac_cv_exeext=
2757 +# b.out is created by i960 compilers.
2758 +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2759 +do
2760 +  test -f "$ac_file" || continue
2761    case $ac_file in
2762 -    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2763 -    a.out ) # We found the default executable, but exeext='' is most
2764 -            # certainly right.
2765 -            break;;
2766 -    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2767 -          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2768 -          export ac_cv_exeext
2769 -          break;;
2770 -    * ) break;;
2771 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2772 +        ;;
2773 +    conftest.$ac_ext )
2774 +        # This is the source file.
2775 +        ;;
2776 +    [ab].out )
2777 +        # We found the default executable, but exeext='' is most
2778 +        # certainly right.
2779 +        break;;
2780 +    *.* )
2781 +        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2782 +        # FIXME: I believe we export ac_cv_exeext for Libtool,
2783 +        # but it would be cool to find out if it's true.  Does anybody
2784 +        # maintain Libtool? --akim.
2785 +        export ac_cv_exeext
2786 +        break;;
2787 +    * )
2788 +        break;;
2789    esac
2790  done
2791  else
2792    echo "$as_me: failed program was:" >&5
2793 -cat conftest.$ac_ext >&5
2794 -{ { echo "$as_me:1375: error: C compiler cannot create executables" >&5
2795 -echo "$as_me: error: C compiler cannot create executables" >&2;}
2796 +sed 's/^/| /' conftest.$ac_ext >&5
2797 +
2798 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2799 +See \`config.log' for more details." >&5
2800 +echo "$as_me: error: C compiler cannot create executables
2801 +See \`config.log' for more details." >&2;}
2802     { (exit 77); exit 77; }; }
2803  fi
2804  
2805  ac_exeext=$ac_cv_exeext
2806 -echo "$as_me:1381: result: $ac_file" >&5
2807 +echo "$as_me:$LINENO: result: $ac_file" >&5
2808  echo "${ECHO_T}$ac_file" >&6
2809  
2810  # Check the compiler produces executables we can run.  If not, either
2811  # the compiler is broken, or we cross compile.
2812 -echo "$as_me:1386: checking whether the C compiler works" >&5
2813 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2814  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2815  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2816  # If not cross compiling, check that we can run a simple program.
2817  if test "$cross_compiling" != yes; then
2818    if { ac_try='./$ac_file'
2819 -  { (eval echo "$as_me:1392: \"$ac_try\"") >&5
2820 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821    (eval $ac_try) 2>&5
2822    ac_status=$?
2823 -  echo "$as_me:1395: \$? = $ac_status" >&5
2824 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825    (exit $ac_status); }; }; then
2826      cross_compiling=no
2827    else
2828      if test "$cross_compiling" = maybe; then
2829         cross_compiling=yes
2830      else
2831 -       { { echo "$as_me:1402: error: cannot run C compiled programs.
2832 -If you meant to cross compile, use \`--host'." >&5
2833 +       { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2834 +If you meant to cross compile, use \`--host'.
2835 +See \`config.log' for more details." >&5
2836  echo "$as_me: error: cannot run C compiled programs.
2837 -If you meant to cross compile, use \`--host'." >&2;}
2838 +If you meant to cross compile, use \`--host'.
2839 +See \`config.log' for more details." >&2;}
2840     { (exit 1); exit 1; }; }
2841      fi
2842    fi
2843  fi
2844 -echo "$as_me:1410: result: yes" >&5
2845 +echo "$as_me:$LINENO: result: yes" >&5
2846  echo "${ECHO_T}yes" >&6
2847  
2848 -rm -f a.out a.exe conftest$ac_cv_exeext
2849 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
2850  ac_clean_files=$ac_clean_files_save
2851  # Check the compiler produces executables we can run.  If not, either
2852  # the compiler is broken, or we cross compile.
2853 -echo "$as_me:1417: checking whether we are cross compiling" >&5
2854 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2855  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2856 -echo "$as_me:1419: result: $cross_compiling" >&5
2857 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
2858  echo "${ECHO_T}$cross_compiling" >&6
2859  
2860 -echo "$as_me:1422: checking for executable suffix" >&5
2861 -echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2862 -if { (eval echo "$as_me:1424: \"$ac_link\"") >&5
2863 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2865 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2866    (eval $ac_link) 2>&5
2867    ac_status=$?
2868 -  echo "$as_me:1427: \$? = $ac_status" >&5
2869 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870    (exit $ac_status); }; then
2871    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2872  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2873  # work properly (i.e., refer to `conftest.exe'), while it won't with
2874  # `rm'.
2875 -for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2876 +for ac_file in conftest.exe conftest conftest.*; do
2877 +  test -f "$ac_file" || continue
2878    case $ac_file in
2879 -    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2880 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2881      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882            export ac_cv_exeext
2883            break;;
2884 @@ -1440,26 +1785,32 @@
2885    esac
2886  done
2887  else
2888 -  { { echo "$as_me:1443: error: cannot compute EXEEXT: cannot compile and link" >&5
2889 -echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2890 +  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2891 +See \`config.log' for more details." >&5
2892 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2893 +See \`config.log' for more details." >&2;}
2894     { (exit 1); exit 1; }; }
2895  fi
2896  
2897  rm -f conftest$ac_cv_exeext
2898 -echo "$as_me:1449: result: $ac_cv_exeext" >&5
2899 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2900  echo "${ECHO_T}$ac_cv_exeext" >&6
2901  
2902  rm -f conftest.$ac_ext
2903  EXEEXT=$ac_cv_exeext
2904  ac_exeext=$EXEEXT
2905 -echo "$as_me:1455: checking for object suffix" >&5
2906 -echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2907 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
2908 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2909  if test "${ac_cv_objext+set}" = set; then
2910    echo $ECHO_N "(cached) $ECHO_C" >&6
2911  else
2912    cat >conftest.$ac_ext <<_ACEOF
2913 -#line 1461 "configure"
2914 -#include "confdefs.h"
2915 +#line $LINENO "configure"
2916 +/* confdefs.h.  */
2917 +_ACEOF
2918 +cat confdefs.h >>conftest.$ac_ext
2919 +cat >>conftest.$ac_ext <<_ACEOF
2920 +/* end confdefs.h.  */
2921  
2922  int
2923  main ()
2924 @@ -1470,40 +1821,47 @@
2925  }
2926  _ACEOF
2927  rm -f conftest.o conftest.obj
2928 -if { (eval echo "$as_me:1473: \"$ac_compile\"") >&5
2929 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930    (eval $ac_compile) 2>&5
2931    ac_status=$?
2932 -  echo "$as_me:1476: \$? = $ac_status" >&5
2933 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934    (exit $ac_status); }; then
2935    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2936    case $ac_file in
2937 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2938 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2939      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2940         break;;
2941    esac
2942  done
2943  else
2944    echo "$as_me: failed program was:" >&5
2945 -cat conftest.$ac_ext >&5
2946 -{ { echo "$as_me:1488: error: cannot compute OBJEXT: cannot compile" >&5
2947 -echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2948 +sed 's/^/| /' conftest.$ac_ext >&5
2949 +
2950 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2951 +See \`config.log' for more details." >&5
2952 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
2953 +See \`config.log' for more details." >&2;}
2954     { (exit 1); exit 1; }; }
2955  fi
2956  
2957  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2958  fi
2959 -echo "$as_me:1495: result: $ac_cv_objext" >&5
2960 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2961  echo "${ECHO_T}$ac_cv_objext" >&6
2962  OBJEXT=$ac_cv_objext
2963  ac_objext=$OBJEXT
2964 -echo "$as_me:1499: checking whether we are using the GNU C compiler" >&5
2965 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2966  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2967  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2968    echo $ECHO_N "(cached) $ECHO_C" >&6
2969  else
2970    cat >conftest.$ac_ext <<_ACEOF
2971 -#line 1505 "configure"
2972 -#include "confdefs.h"
2973 +#line $LINENO "configure"
2974 +/* confdefs.h.  */
2975 +_ACEOF
2976 +cat confdefs.h >>conftest.$ac_ext
2977 +cat >>conftest.$ac_ext <<_ACEOF
2978 +/* end confdefs.h.  */
2979  
2980  int
2981  main ()
2982 @@ -1517,41 +1875,46 @@
2983  }
2984  _ACEOF
2985  rm -f conftest.$ac_objext
2986 -if { (eval echo "$as_me:1520: \"$ac_compile\"") >&5
2987 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2988    (eval $ac_compile) 2>&5
2989    ac_status=$?
2990 -  echo "$as_me:1523: \$? = $ac_status" >&5
2991 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992    (exit $ac_status); } &&
2993           { ac_try='test -s conftest.$ac_objext'
2994 -  { (eval echo "$as_me:1526: \"$ac_try\"") >&5
2995 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996    (eval $ac_try) 2>&5
2997    ac_status=$?
2998 -  echo "$as_me:1529: \$? = $ac_status" >&5
2999 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000    (exit $ac_status); }; }; then
3001    ac_compiler_gnu=yes
3002  else
3003    echo "$as_me: failed program was:" >&5
3004 -cat conftest.$ac_ext >&5
3005 +sed 's/^/| /' conftest.$ac_ext >&5
3006 +
3007  ac_compiler_gnu=no
3008  fi
3009  rm -f conftest.$ac_objext conftest.$ac_ext
3010  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3011  
3012  fi
3013 -echo "$as_me:1541: result: $ac_cv_c_compiler_gnu" >&5
3014 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3015  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3016  GCC=`test $ac_compiler_gnu = yes && echo yes`
3017  ac_test_CFLAGS=${CFLAGS+set}
3018  ac_save_CFLAGS=$CFLAGS
3019  CFLAGS="-g"
3020 -echo "$as_me:1547: checking whether $CC accepts -g" >&5
3021 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3022  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3023  if test "${ac_cv_prog_cc_g+set}" = set; then
3024    echo $ECHO_N "(cached) $ECHO_C" >&6
3025  else
3026    cat >conftest.$ac_ext <<_ACEOF
3027 -#line 1553 "configure"
3028 -#include "confdefs.h"
3029 +#line $LINENO "configure"
3030 +/* confdefs.h.  */
3031 +_ACEOF
3032 +cat confdefs.h >>conftest.$ac_ext
3033 +cat >>conftest.$ac_ext <<_ACEOF
3034 +/* end confdefs.h.  */
3035  
3036  int
3037  main ()
3038 @@ -1562,26 +1925,27 @@
3039  }
3040  _ACEOF
3041  rm -f conftest.$ac_objext
3042 -if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5
3043 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044    (eval $ac_compile) 2>&5
3045    ac_status=$?
3046 -  echo "$as_me:1568: \$? = $ac_status" >&5
3047 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048    (exit $ac_status); } &&
3049           { ac_try='test -s conftest.$ac_objext'
3050 -  { (eval echo "$as_me:1571: \"$ac_try\"") >&5
3051 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052    (eval $ac_try) 2>&5
3053    ac_status=$?
3054 -  echo "$as_me:1574: \$? = $ac_status" >&5
3055 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056    (exit $ac_status); }; }; then
3057    ac_cv_prog_cc_g=yes
3058  else
3059    echo "$as_me: failed program was:" >&5
3060 -cat conftest.$ac_ext >&5
3061 +sed 's/^/| /' conftest.$ac_ext >&5
3062 +
3063  ac_cv_prog_cc_g=no
3064  fi
3065  rm -f conftest.$ac_objext conftest.$ac_ext
3066  fi
3067 -echo "$as_me:1584: result: $ac_cv_prog_cc_g" >&5
3068 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3069  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3070  if test "$ac_test_CFLAGS" = set; then
3071    CFLAGS=$ac_save_CFLAGS
3072 @@ -1598,6 +1962,102 @@
3073      CFLAGS=
3074    fi
3075  fi
3076 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3077 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3078 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
3079 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3080 +else
3081 +  ac_cv_prog_cc_stdc=no
3082 +ac_save_CC=$CC
3083 +cat >conftest.$ac_ext <<_ACEOF
3084 +#line $LINENO "configure"
3085 +/* confdefs.h.  */
3086 +_ACEOF
3087 +cat confdefs.h >>conftest.$ac_ext
3088 +cat >>conftest.$ac_ext <<_ACEOF
3089 +/* end confdefs.h.  */
3090 +#include <stdarg.h>
3091 +#include <stdio.h>
3092 +#include <sys/types.h>
3093 +#include <sys/stat.h>
3094 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3095 +struct buf { int x; };
3096 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 +static char *e (p, i)
3098 +     char **p;
3099 +     int i;
3100 +{
3101 +  return p[i];
3102 +}
3103 +static char *f (char * (*g) (char **, int), char **p, ...)
3104 +{
3105 +  char *s;
3106 +  va_list v;
3107 +  va_start (v,p);
3108 +  s = g (p, va_arg (v,int));
3109 +  va_end (v);
3110 +  return s;
3111 +}
3112 +int test (int i, double x);
3113 +struct s1 {int (*f) (int a);};
3114 +struct s2 {int (*f) (double a);};
3115 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3116 +int argc;
3117 +char **argv;
3118 +int
3119 +main ()
3120 +{
3121 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3122 +  ;
3123 +  return 0;
3124 +}
3125 +_ACEOF
3126 +# Don't try gcc -ansi; that turns off useful extensions and
3127 +# breaks some systems' header files.
3128 +# AIX                  -qlanglvl=ansi
3129 +# Ultrix and OSF/1     -std1
3130 +# HP-UX 10.20 and later        -Ae
3131 +# HP-UX older versions -Aa -D_HPUX_SOURCE
3132 +# SVR4                 -Xc -D__EXTENSIONS__
3133 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3134 +do
3135 +  CC="$ac_save_CC $ac_arg"
3136 +  rm -f conftest.$ac_objext
3137 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 +  (eval $ac_compile) 2>&5
3139 +  ac_status=$?
3140 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 +  (exit $ac_status); } &&
3142 +         { ac_try='test -s conftest.$ac_objext'
3143 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 +  (eval $ac_try) 2>&5
3145 +  ac_status=$?
3146 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 +  (exit $ac_status); }; }; then
3148 +  ac_cv_prog_cc_stdc=$ac_arg
3149 +break
3150 +else
3151 +  echo "$as_me: failed program was:" >&5
3152 +sed 's/^/| /' conftest.$ac_ext >&5
3153 +
3154 +fi
3155 +rm -f conftest.$ac_objext
3156 +done
3157 +rm -f conftest.$ac_ext conftest.$ac_objext
3158 +CC=$ac_save_CC
3159 +
3160 +fi
3161 +
3162 +case "x$ac_cv_prog_cc_stdc" in
3163 +  x|xno)
3164 +    echo "$as_me:$LINENO: result: none needed" >&5
3165 +echo "${ECHO_T}none needed" >&6 ;;
3166 +  *)
3167 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3168 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3169 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
3170 +esac
3171 +
3172  # Some people use a C++ compiler to compile C.  Since we use `exit',
3173  # in C++ we need to declare it.  In case someone uses the same compiler
3174  # for both compiling C and C++ we need to have the C++ compiler decide
3175 @@ -1608,16 +2068,16 @@
3176  #endif
3177  _ACEOF
3178  rm -f conftest.$ac_objext
3179 -if { (eval echo "$as_me:1611: \"$ac_compile\"") >&5
3180 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181    (eval $ac_compile) 2>&5
3182    ac_status=$?
3183 -  echo "$as_me:1614: \$? = $ac_status" >&5
3184 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185    (exit $ac_status); } &&
3186           { ac_try='test -s conftest.$ac_objext'
3187 -  { (eval echo "$as_me:1617: \"$ac_try\"") >&5
3188 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189    (eval $ac_try) 2>&5
3190    ac_status=$?
3191 -  echo "$as_me:1620: \$? = $ac_status" >&5
3192 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193    (exit $ac_status); }; }; then
3194    for ac_declaration in \
3195     ''\
3196 @@ -1629,8 +2089,12 @@
3197     'void exit (int);'
3198  do
3199    cat >conftest.$ac_ext <<_ACEOF
3200 -#line 1632 "configure"
3201 -#include "confdefs.h"
3202 +#line $LINENO "configure"
3203 +/* confdefs.h.  */
3204 +_ACEOF
3205 +cat confdefs.h >>conftest.$ac_ext
3206 +cat >>conftest.$ac_ext <<_ACEOF
3207 +/* end confdefs.h.  */
3208  #include <stdlib.h>
3209  $ac_declaration
3210  int
3211 @@ -1642,27 +2106,32 @@
3212  }
3213  _ACEOF
3214  rm -f conftest.$ac_objext
3215 -if { (eval echo "$as_me:1645: \"$ac_compile\"") >&5
3216 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217    (eval $ac_compile) 2>&5
3218    ac_status=$?
3219 -  echo "$as_me:1648: \$? = $ac_status" >&5
3220 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221    (exit $ac_status); } &&
3222           { ac_try='test -s conftest.$ac_objext'
3223 -  { (eval echo "$as_me:1651: \"$ac_try\"") >&5
3224 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225    (eval $ac_try) 2>&5
3226    ac_status=$?
3227 -  echo "$as_me:1654: \$? = $ac_status" >&5
3228 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229    (exit $ac_status); }; }; then
3230    :
3231  else
3232    echo "$as_me: failed program was:" >&5
3233 -cat conftest.$ac_ext >&5
3234 +sed 's/^/| /' conftest.$ac_ext >&5
3235 +
3236  continue
3237  fi
3238  rm -f conftest.$ac_objext conftest.$ac_ext
3239    cat >conftest.$ac_ext <<_ACEOF
3240 -#line 1664 "configure"
3241 -#include "confdefs.h"
3242 +#line $LINENO "configure"
3243 +/* confdefs.h.  */
3244 +_ACEOF
3245 +cat confdefs.h >>conftest.$ac_ext
3246 +cat >>conftest.$ac_ext <<_ACEOF
3247 +/* end confdefs.h.  */
3248  $ac_declaration
3249  int
3250  main ()
3251 @@ -1673,21 +2142,22 @@
3252  }
3253  _ACEOF
3254  rm -f conftest.$ac_objext
3255 -if { (eval echo "$as_me:1676: \"$ac_compile\"") >&5
3256 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3257    (eval $ac_compile) 2>&5
3258    ac_status=$?
3259 -  echo "$as_me:1679: \$? = $ac_status" >&5
3260 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261    (exit $ac_status); } &&
3262           { ac_try='test -s conftest.$ac_objext'
3263 -  { (eval echo "$as_me:1682: \"$ac_try\"") >&5
3264 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265    (eval $ac_try) 2>&5
3266    ac_status=$?
3267 -  echo "$as_me:1685: \$? = $ac_status" >&5
3268 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269    (exit $ac_status); }; }; then
3270    break
3271  else
3272    echo "$as_me: failed program was:" >&5
3273 -cat conftest.$ac_ext >&5
3274 +sed 's/^/| /' conftest.$ac_ext >&5
3275 +
3276  fi
3277  rm -f conftest.$ac_objext conftest.$ac_ext
3278  done
3279 @@ -1700,7 +2170,8 @@
3280  
3281  else
3282    echo "$as_me: failed program was:" >&5
3283 -cat conftest.$ac_ext >&5
3284 +sed 's/^/| /' conftest.$ac_ext >&5
3285 +
3286  fi
3287  rm -f conftest.$ac_objext conftest.$ac_ext
3288  ac_ext=c
3289 @@ -1726,7 +2197,7 @@
3290    fi
3291  done
3292  if test -z "$ac_aux_dir"; then
3293 -  { { echo "$as_me:1729: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3294 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3295  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3296     { (exit 1); exit 1; }; }
3297  fi
3298 @@ -1736,11 +2207,11 @@
3299  
3300  # Make sure we can run config.sub.
3301  $ac_config_sub sun4 >/dev/null 2>&1 ||
3302 -  { { echo "$as_me:1739: error: cannot run $ac_config_sub" >&5
3303 +  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3304  echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3305     { (exit 1); exit 1; }; }
3306  
3307 -echo "$as_me:1743: checking build system type" >&5
3308 +echo "$as_me:$LINENO: checking build system type" >&5
3309  echo $ECHO_N "checking build system type... $ECHO_C" >&6
3310  if test "${ac_cv_build+set}" = set; then
3311    echo $ECHO_N "(cached) $ECHO_C" >&6
3312 @@ -1749,23 +2220,24 @@
3313  test -z "$ac_cv_build_alias" &&
3314    ac_cv_build_alias=`$ac_config_guess`
3315  test -z "$ac_cv_build_alias" &&
3316 -  { { echo "$as_me:1752: error: cannot guess build type; you must specify one" >&5
3317 +  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3318  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3319     { (exit 1); exit 1; }; }
3320  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3321 -  { { echo "$as_me:1756: error: $ac_config_sub $ac_cv_build_alias failed." >&5
3322 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
3323 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3324 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3325     { (exit 1); exit 1; }; }
3326  
3327  fi
3328 -echo "$as_me:1761: result: $ac_cv_build" >&5
3329 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3330  echo "${ECHO_T}$ac_cv_build" >&6
3331  build=$ac_cv_build
3332  build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3333  build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3334  build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3335  
3336 -echo "$as_me:1768: checking host system type" >&5
3337 +
3338 +echo "$as_me:$LINENO: checking host system type" >&5
3339  echo $ECHO_N "checking host system type... $ECHO_C" >&6
3340  if test "${ac_cv_host+set}" = set; then
3341    echo $ECHO_N "(cached) $ECHO_C" >&6
3342 @@ -1774,28 +2246,33 @@
3343  test -z "$ac_cv_host_alias" &&
3344    ac_cv_host_alias=$ac_cv_build_alias
3345  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3346 -  { { echo "$as_me:1777: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3347 +  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3348  echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3349     { (exit 1); exit 1; }; }
3350  
3351  fi
3352 -echo "$as_me:1782: result: $ac_cv_host" >&5
3353 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3354  echo "${ECHO_T}$ac_cv_host" >&6
3355  host=$ac_cv_host
3356  host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3357  host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3358  host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3359  
3360 -echo "$as_me:1789: checking whether byte ordering is bigendian" >&5
3361 +
3362 +
3363 +echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3364  echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3365  if test "${ac_cv_c_bigendian+set}" = set; then
3366    echo $ECHO_N "(cached) $ECHO_C" >&6
3367  else
3368 -  ac_cv_c_bigendian=unknown
3369 -# See if sys/param.h defines the BYTE_ORDER macro.
3370 +  # See if sys/param.h defines the BYTE_ORDER macro.
3371  cat >conftest.$ac_ext <<_ACEOF
3372 -#line 1797 "configure"
3373 -#include "confdefs.h"
3374 +#line $LINENO "configure"
3375 +/* confdefs.h.  */
3376 +_ACEOF
3377 +cat confdefs.h >>conftest.$ac_ext
3378 +cat >>conftest.$ac_ext <<_ACEOF
3379 +/* end confdefs.h.  */
3380  #include <sys/types.h>
3381  #include <sys/param.h>
3382  
3383 @@ -1811,21 +2288,25 @@
3384  }
3385  _ACEOF
3386  rm -f conftest.$ac_objext
3387 -if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5
3388 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3389    (eval $ac_compile) 2>&5
3390    ac_status=$?
3391 -  echo "$as_me:1817: \$? = $ac_status" >&5
3392 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393    (exit $ac_status); } &&
3394           { ac_try='test -s conftest.$ac_objext'
3395 -  { (eval echo "$as_me:1820: \"$ac_try\"") >&5
3396 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397    (eval $ac_try) 2>&5
3398    ac_status=$?
3399 -  echo "$as_me:1823: \$? = $ac_status" >&5
3400 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401    (exit $ac_status); }; }; then
3402    # It does; now see whether it defined to BIG_ENDIAN or not.
3403  cat >conftest.$ac_ext <<_ACEOF
3404 -#line 1827 "configure"
3405 -#include "confdefs.h"
3406 +#line $LINENO "configure"
3407 +/* confdefs.h.  */
3408 +_ACEOF
3409 +cat confdefs.h >>conftest.$ac_ext
3410 +cat >>conftest.$ac_ext <<_ACEOF
3411 +/* end confdefs.h.  */
3412  #include <sys/types.h>
3413  #include <sys/param.h>
3414  
3415 @@ -1841,38 +2322,91 @@
3416  }
3417  _ACEOF
3418  rm -f conftest.$ac_objext
3419 -if { (eval echo "$as_me:1844: \"$ac_compile\"") >&5
3420 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3421    (eval $ac_compile) 2>&5
3422    ac_status=$?
3423 -  echo "$as_me:1847: \$? = $ac_status" >&5
3424 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425    (exit $ac_status); } &&
3426           { ac_try='test -s conftest.$ac_objext'
3427 -  { (eval echo "$as_me:1850: \"$ac_try\"") >&5
3428 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429    (eval $ac_try) 2>&5
3430    ac_status=$?
3431 -  echo "$as_me:1853: \$? = $ac_status" >&5
3432 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433    (exit $ac_status); }; }; then
3434    ac_cv_c_bigendian=yes
3435  else
3436    echo "$as_me: failed program was:" >&5
3437 -cat conftest.$ac_ext >&5
3438 +sed 's/^/| /' conftest.$ac_ext >&5
3439 +
3440  ac_cv_c_bigendian=no
3441  fi
3442  rm -f conftest.$ac_objext conftest.$ac_ext
3443  else
3444    echo "$as_me: failed program was:" >&5
3445 -cat conftest.$ac_ext >&5
3446 +sed 's/^/| /' conftest.$ac_ext >&5
3447 +
3448 +# It does not; compile a test program.
3449 +if test "$cross_compiling" = yes; then
3450 +  # try to guess the endianness by grepping values into an object file
3451 +  ac_cv_c_bigendian=unknown
3452 +  cat >conftest.$ac_ext <<_ACEOF
3453 +#line $LINENO "configure"
3454 +/* confdefs.h.  */
3455 +_ACEOF
3456 +cat confdefs.h >>conftest.$ac_ext
3457 +cat >>conftest.$ac_ext <<_ACEOF
3458 +/* end confdefs.h.  */
3459 +short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3460 +short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3461 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3462 +short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3463 +short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3464 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3465 +int
3466 +main ()
3467 +{
3468 + _ascii (); _ebcdic ();
3469 +  ;
3470 +  return 0;
3471 +}
3472 +_ACEOF
3473 +rm -f conftest.$ac_objext
3474 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 +  (eval $ac_compile) 2>&5
3476 +  ac_status=$?
3477 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 +  (exit $ac_status); } &&
3479 +         { ac_try='test -s conftest.$ac_objext'
3480 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 +  (eval $ac_try) 2>&5
3482 +  ac_status=$?
3483 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 +  (exit $ac_status); }; }; then
3485 +  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3486 +  ac_cv_c_bigendian=yes
3487 +fi
3488 +if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3489 +  if test "$ac_cv_c_bigendian" = unknown; then
3490 +    ac_cv_c_bigendian=no
3491 +  else
3492 +    # finding both strings is unlikely to happen, but who knows?
3493 +    ac_cv_c_bigendian=unknown
3494 +  fi
3495 +fi
3496 +else
3497 +  echo "$as_me: failed program was:" >&5
3498 +sed 's/^/| /' conftest.$ac_ext >&5
3499 +
3500  fi
3501  rm -f conftest.$ac_objext conftest.$ac_ext
3502 -if test $ac_cv_c_bigendian = unknown; then
3503 -if test "$cross_compiling" = yes; then
3504 -  { { echo "$as_me:1869: error: cannot run test program while cross compiling" >&5
3505 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3506 -   { (exit 1); exit 1; }; }
3507  else
3508    cat >conftest.$ac_ext <<_ACEOF
3509 -#line 1874 "configure"
3510 -#include "confdefs.h"
3511 +#line $LINENO "configure"
3512 +/* confdefs.h.  */
3513 +_ACEOF
3514 +cat confdefs.h >>conftest.$ac_ext
3515 +cat >>conftest.$ac_ext <<_ACEOF
3516 +/* end confdefs.h.  */
3517  int
3518  main ()
3519  {
3520 @@ -1887,43 +2421,56 @@
3521  }
3522  _ACEOF
3523  rm -f conftest$ac_exeext
3524 -if { (eval echo "$as_me:1890: \"$ac_link\"") >&5
3525 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526    (eval $ac_link) 2>&5
3527    ac_status=$?
3528 -  echo "$as_me:1893: \$? = $ac_status" >&5
3529 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3531 -  { (eval echo "$as_me:1895: \"$ac_try\"") >&5
3532 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533    (eval $ac_try) 2>&5
3534    ac_status=$?
3535 -  echo "$as_me:1898: \$? = $ac_status" >&5
3536 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537    (exit $ac_status); }; }; then
3538    ac_cv_c_bigendian=no
3539  else
3540    echo "$as_me: program exited with status $ac_status" >&5
3541  echo "$as_me: failed program was:" >&5
3542 -cat conftest.$ac_ext >&5
3543 +sed 's/^/| /' conftest.$ac_ext >&5
3544 +
3545 +( exit $ac_status )
3546  ac_cv_c_bigendian=yes
3547  fi
3548 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3549 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3550  fi
3551  fi
3552 +rm -f conftest.$ac_objext conftest.$ac_ext
3553  fi
3554 -echo "$as_me:1911: result: $ac_cv_c_bigendian" >&5
3555 +echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3556  echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3557 -if test $ac_cv_c_bigendian = yes; then
3558 +case $ac_cv_c_bigendian in
3559 +  yes)
3560  
3561 -cat >>confdefs.h <<\EOF
3562 +cat >>confdefs.h <<\_ACEOF
3563  #define WORDS_BIGENDIAN 1
3564 -EOF
3565 +_ACEOF
3566 + ;;
3567 +  no)
3568 +     ;;
3569 +  *)
3570 +    { { echo "$as_me:$LINENO: error: unknown endianness
3571 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3572 +echo "$as_me: error: unknown endianness
3573 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3574 +   { (exit 1); exit 1; }; } ;;
3575 +esac
3576  
3577 -fi
3578  
3579  # Checks for programs.
3580 -for ac_prog in mawk gawk nawk awk
3581 +for ac_prog in gawk mawk nawk awk
3582  do
3583    # Extract the first word of "$ac_prog", so it can be a program name with args.
3584  set dummy $ac_prog; ac_word=$2
3585 -echo "$as_me:1926: checking for $ac_word" >&5
3586 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3587  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588  if test "${ac_cv_prog_AWK+set}" = set; then
3589    echo $ECHO_N "(cached) $ECHO_C" >&6
3590 @@ -1931,25 +2478,28 @@
3591    if test -n "$AWK"; then
3592    ac_cv_prog_AWK="$AWK" # Let the user override the test.
3593  else
3594 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3595 -ac_dummy="$PATH"
3596 -for ac_dir in $ac_dummy; do
3597 -  IFS=$ac_save_IFS
3598 -  test -z "$ac_dir" && ac_dir=.
3599 -  $as_executable_p "$ac_dir/$ac_word" || continue
3600 -ac_cv_prog_AWK="$ac_prog"
3601 -echo "$as_me:1941: found $ac_dir/$ac_word" >&5
3602 -break
3603 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 +for as_dir in $PATH
3605 +do
3606 +  IFS=$as_save_IFS
3607 +  test -z "$as_dir" && as_dir=.
3608 +  for ac_exec_ext in '' $ac_executable_extensions; do
3609 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3610 +    ac_cv_prog_AWK="$ac_prog"
3611 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 +    break 2
3613 +  fi
3614 +done
3615  done
3616  
3617  fi
3618  fi
3619  AWK=$ac_cv_prog_AWK
3620  if test -n "$AWK"; then
3621 -  echo "$as_me:1949: result: $AWK" >&5
3622 +  echo "$as_me:$LINENO: result: $AWK" >&5
3623  echo "${ECHO_T}$AWK" >&6
3624  else
3625 -  echo "$as_me:1952: result: no" >&5
3626 +  echo "$as_me:$LINENO: result: no" >&5
3627  echo "${ECHO_T}no" >&6
3628  fi
3629  
3630 @@ -1961,7 +2511,7 @@
3631  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 -echo "$as_me:1964: checking how to run the C preprocessor" >&5
3635 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3636  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3637  # On Suns, sometimes $CPP names a directory.
3638  if test -n "$CPP" && test -d "$CPP"; then
3639 @@ -1979,21 +2529,31 @@
3640  do
3641    # Use a header file that comes with gcc, so configuring glibc
3642    # with a fresh cross-compiler works.
3643 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3644 +  # <limits.h> exists even on freestanding compilers.
3645    # On the NeXT, cc -E runs the code through the compiler's parser,
3646    # not just through cpp. "Syntax error" is here to catch this case.
3647    cat >conftest.$ac_ext <<_ACEOF
3648 -#line 1985 "configure"
3649 -#include "confdefs.h"
3650 -#include <assert.h>
3651 +#line $LINENO "configure"
3652 +/* confdefs.h.  */
3653 +_ACEOF
3654 +cat confdefs.h >>conftest.$ac_ext
3655 +cat >>conftest.$ac_ext <<_ACEOF
3656 +/* end confdefs.h.  */
3657 +#ifdef __STDC__
3658 +# include <limits.h>
3659 +#else
3660 +# include <assert.h>
3661 +#endif
3662                       Syntax error
3663  _ACEOF
3664 -if { (eval echo "$as_me:1990: \"$ac_cpp conftest.$ac_ext\"") >&5
3665 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3666    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3667    ac_status=$?
3668 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3669 +  grep -v '^ *+' conftest.er1 >conftest.err
3670    rm -f conftest.er1
3671    cat conftest.err >&5
3672 -  echo "$as_me:1996: \$? = $ac_status" >&5
3673 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674    (exit $ac_status); } >/dev/null; then
3675    if test -s conftest.err; then
3676      ac_cpp_err=$ac_c_preproc_warn_flag
3677 @@ -2007,7 +2567,8 @@
3678    :
3679  else
3680    echo "$as_me: failed program was:" >&5
3681 -  cat conftest.$ac_ext >&5
3682 +sed 's/^/| /' conftest.$ac_ext >&5
3683 +
3684    # Broken: fails on valid input.
3685  continue
3686  fi
3687 @@ -2016,17 +2577,21 @@
3688    # OK, works on sane cases.  Now check whether non-existent headers
3689    # can be detected and how.
3690    cat >conftest.$ac_ext <<_ACEOF
3691 -#line 2019 "configure"
3692 -#include "confdefs.h"
3693 +#line $LINENO "configure"
3694 +/* confdefs.h.  */
3695 +_ACEOF
3696 +cat confdefs.h >>conftest.$ac_ext
3697 +cat >>conftest.$ac_ext <<_ACEOF
3698 +/* end confdefs.h.  */
3699  #include <ac_nonexistent.h>
3700  _ACEOF
3701 -if { (eval echo "$as_me:2023: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3703    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3704    ac_status=$?
3705 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3706 +  grep -v '^ *+' conftest.er1 >conftest.err
3707    rm -f conftest.er1
3708    cat conftest.err >&5
3709 -  echo "$as_me:2029: \$? = $ac_status" >&5
3710 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711    (exit $ac_status); } >/dev/null; then
3712    if test -s conftest.err; then
3713      ac_cpp_err=$ac_c_preproc_warn_flag
3714 @@ -2041,7 +2606,8 @@
3715  continue
3716  else
3717    echo "$as_me: failed program was:" >&5
3718 -  cat conftest.$ac_ext >&5
3719 +sed 's/^/| /' conftest.$ac_ext >&5
3720 +
3721    # Passes both tests.
3722  ac_preproc_ok=:
3723  break
3724 @@ -2063,28 +2629,38 @@
3725  else
3726    ac_cv_prog_CPP=$CPP
3727  fi
3728 -echo "$as_me:2066: result: $CPP" >&5
3729 +echo "$as_me:$LINENO: result: $CPP" >&5
3730  echo "${ECHO_T}$CPP" >&6
3731  ac_preproc_ok=false
3732  for ac_c_preproc_warn_flag in '' yes
3733  do
3734    # Use a header file that comes with gcc, so configuring glibc
3735    # with a fresh cross-compiler works.
3736 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3737 +  # <limits.h> exists even on freestanding compilers.
3738    # On the NeXT, cc -E runs the code through the compiler's parser,
3739    # not just through cpp. "Syntax error" is here to catch this case.
3740    cat >conftest.$ac_ext <<_ACEOF
3741 -#line 2076 "configure"
3742 -#include "confdefs.h"
3743 -#include <assert.h>
3744 +#line $LINENO "configure"
3745 +/* confdefs.h.  */
3746 +_ACEOF
3747 +cat confdefs.h >>conftest.$ac_ext
3748 +cat >>conftest.$ac_ext <<_ACEOF
3749 +/* end confdefs.h.  */
3750 +#ifdef __STDC__
3751 +# include <limits.h>
3752 +#else
3753 +# include <assert.h>
3754 +#endif
3755                       Syntax error
3756  _ACEOF
3757 -if { (eval echo "$as_me:2081: \"$ac_cpp conftest.$ac_ext\"") >&5
3758 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3759    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3760    ac_status=$?
3761 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3762 +  grep -v '^ *+' conftest.er1 >conftest.err
3763    rm -f conftest.er1
3764    cat conftest.err >&5
3765 -  echo "$as_me:2087: \$? = $ac_status" >&5
3766 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767    (exit $ac_status); } >/dev/null; then
3768    if test -s conftest.err; then
3769      ac_cpp_err=$ac_c_preproc_warn_flag
3770 @@ -2098,7 +2674,8 @@
3771    :
3772  else
3773    echo "$as_me: failed program was:" >&5
3774 -  cat conftest.$ac_ext >&5
3775 +sed 's/^/| /' conftest.$ac_ext >&5
3776 +
3777    # Broken: fails on valid input.
3778  continue
3779  fi
3780 @@ -2107,17 +2684,21 @@
3781    # OK, works on sane cases.  Now check whether non-existent headers
3782    # can be detected and how.
3783    cat >conftest.$ac_ext <<_ACEOF
3784 -#line 2110 "configure"
3785 -#include "confdefs.h"
3786 +#line $LINENO "configure"
3787 +/* confdefs.h.  */
3788 +_ACEOF
3789 +cat confdefs.h >>conftest.$ac_ext
3790 +cat >>conftest.$ac_ext <<_ACEOF
3791 +/* end confdefs.h.  */
3792  #include <ac_nonexistent.h>
3793  _ACEOF
3794 -if { (eval echo "$as_me:2114: \"$ac_cpp conftest.$ac_ext\"") >&5
3795 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3796    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3797    ac_status=$?
3798 -  egrep -v '^ *\+' conftest.er1 >conftest.err
3799 +  grep -v '^ *+' conftest.er1 >conftest.err
3800    rm -f conftest.er1
3801    cat conftest.err >&5
3802 -  echo "$as_me:2120: \$? = $ac_status" >&5
3803 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804    (exit $ac_status); } >/dev/null; then
3805    if test -s conftest.err; then
3806      ac_cpp_err=$ac_c_preproc_warn_flag
3807 @@ -2132,7 +2713,8 @@
3808  continue
3809  else
3810    echo "$as_me: failed program was:" >&5
3811 -  cat conftest.$ac_ext >&5
3812 +sed 's/^/| /' conftest.$ac_ext >&5
3813 +
3814    # Passes both tests.
3815  ac_preproc_ok=:
3816  break
3817 @@ -2145,8 +2727,10 @@
3818  if $ac_preproc_ok; then
3819    :
3820  else
3821 -  { { echo "$as_me:2148: error: C preprocessor \"$CPP\" fails sanity check" >&5
3822 -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3823 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3824 +See \`config.log' for more details." >&5
3825 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3826 +See \`config.log' for more details." >&2;}
3827     { (exit 1); exit 1; }; }
3828  fi
3829  
3830 @@ -2159,7 +2743,7 @@
3831  if test -n "$ac_tool_prefix"; then
3832    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3833  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3834 -echo "$as_me:2162: checking for $ac_word" >&5
3835 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3836  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3837  if test "${ac_cv_prog_RANLIB+set}" = set; then
3838    echo $ECHO_N "(cached) $ECHO_C" >&6
3839 @@ -2167,25 +2751,28 @@
3840    if test -n "$RANLIB"; then
3841    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3842  else
3843 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3844 -ac_dummy="$PATH"
3845 -for ac_dir in $ac_dummy; do
3846 -  IFS=$ac_save_IFS
3847 -  test -z "$ac_dir" && ac_dir=.
3848 -  $as_executable_p "$ac_dir/$ac_word" || continue
3849 -ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3850 -echo "$as_me:2177: found $ac_dir/$ac_word" >&5
3851 -break
3852 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 +for as_dir in $PATH
3854 +do
3855 +  IFS=$as_save_IFS
3856 +  test -z "$as_dir" && as_dir=.
3857 +  for ac_exec_ext in '' $ac_executable_extensions; do
3858 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3860 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 +    break 2
3862 +  fi
3863 +done
3864  done
3865  
3866  fi
3867  fi
3868  RANLIB=$ac_cv_prog_RANLIB
3869  if test -n "$RANLIB"; then
3870 -  echo "$as_me:2185: result: $RANLIB" >&5
3871 +  echo "$as_me:$LINENO: result: $RANLIB" >&5
3872  echo "${ECHO_T}$RANLIB" >&6
3873  else
3874 -  echo "$as_me:2188: result: no" >&5
3875 +  echo "$as_me:$LINENO: result: no" >&5
3876  echo "${ECHO_T}no" >&6
3877  fi
3878  
3879 @@ -2194,7 +2781,7 @@
3880    ac_ct_RANLIB=$RANLIB
3881    # Extract the first word of "ranlib", so it can be a program name with args.
3882  set dummy ranlib; ac_word=$2
3883 -echo "$as_me:2197: checking for $ac_word" >&5
3884 +echo "$as_me:$LINENO: checking for $ac_word" >&5
3885  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3887    echo $ECHO_N "(cached) $ECHO_C" >&6
3888 @@ -2202,15 +2789,18 @@
3889    if test -n "$ac_ct_RANLIB"; then
3890    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3891  else
3892 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
3893 -ac_dummy="$PATH"
3894 -for ac_dir in $ac_dummy; do
3895 -  IFS=$ac_save_IFS
3896 -  test -z "$ac_dir" && ac_dir=.
3897 -  $as_executable_p "$ac_dir/$ac_word" || continue
3898 -ac_cv_prog_ac_ct_RANLIB="ranlib"
3899 -echo "$as_me:2212: found $ac_dir/$ac_word" >&5
3900 -break
3901 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 +for as_dir in $PATH
3903 +do
3904 +  IFS=$as_save_IFS
3905 +  test -z "$as_dir" && as_dir=.
3906 +  for ac_exec_ext in '' $ac_executable_extensions; do
3907 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3908 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
3909 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 +    break 2
3911 +  fi
3912 +done
3913  done
3914  
3915    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3916 @@ -2218,10 +2808,10 @@
3917  fi
3918  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3919  if test -n "$ac_ct_RANLIB"; then
3920 -  echo "$as_me:2221: result: $ac_ct_RANLIB" >&5
3921 +  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3922  echo "${ECHO_T}$ac_ct_RANLIB" >&6
3923  else
3924 -  echo "$as_me:2224: result: no" >&5
3925 +  echo "$as_me:$LINENO: result: no" >&5
3926  echo "${ECHO_T}no" >&6
3927  fi
3928  
3929 @@ -2242,43 +2832,48 @@
3930  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3931  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3932  # ./install, which can be erroneously created by make from ./install.sh.
3933 -echo "$as_me:2245: checking for a BSD compatible install" >&5
3934 -echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3935 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3936 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3937  if test -z "$INSTALL"; then
3938  if test "${ac_cv_path_install+set}" = set; then
3939    echo $ECHO_N "(cached) $ECHO_C" >&6
3940  else
3941 -    ac_save_IFS=$IFS; IFS=$ac_path_separator
3942 -  for ac_dir in $PATH; do
3943 -    IFS=$ac_save_IFS
3944 -    # Account for people who put trailing slashes in PATH elements.
3945 -    case $ac_dir/ in
3946 -    / | ./ | .// | /cC/* \
3947 -    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
3948 -    | /usr/ucb/* ) ;;
3949 -    *)
3950 -      # OSF1 and SCO ODT 3.0 have their own names for install.
3951 -      # Don't use installbsd from OSF since it installs stuff as root
3952 -      # by default.
3953 -      for ac_prog in ginstall scoinst install; do
3954 -        if $as_executable_p "$ac_dir/$ac_prog"; then
3955 -         if test $ac_prog = install &&
3956 -            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3957 -           # AIX install.  It has an incompatible calling convention.
3958 -           :
3959 -         elif test $ac_prog = install &&
3960 -           grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
3961 -           # program-specific install script used by HP pwplus--don't use.
3962 -           :
3963 -         else
3964 -           ac_cv_path_install="$ac_dir/$ac_prog -c"
3965 -           break 2
3966 -         fi
3967 -       fi
3968 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 +for as_dir in $PATH
3970 +do
3971 +  IFS=$as_save_IFS
3972 +  test -z "$as_dir" && as_dir=.
3973 +  # Account for people who put trailing slashes in PATH elements.
3974 +case $as_dir/ in
3975 +  ./ | .// | /cC/* | \
3976 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3977 +  /usr/ucb/* ) ;;
3978 +  *)
3979 +    # OSF1 and SCO ODT 3.0 have their own names for install.
3980 +    # Don't use installbsd from OSF since it installs stuff as root
3981 +    # by default.
3982 +    for ac_prog in ginstall scoinst install; do
3983 +      for ac_exec_ext in '' $ac_executable_extensions; do
3984 +        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3985 +          if test $ac_prog = install &&
3986 +            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3987 +            # AIX install.  It has an incompatible calling convention.
3988 +            :
3989 +          elif test $ac_prog = install &&
3990 +            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3991 +            # program-specific install script used by HP pwplus--don't use.
3992 +            :
3993 +          else
3994 +            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3995 +            break 3
3996 +          fi
3997 +        fi
3998        done
3999 -      ;;
4000 -    esac
4001 -  done
4002 +    done
4003 +    ;;
4004 +esac
4005 +done
4006 +
4007  
4008  fi
4009    if test "${ac_cv_path_install+set}" = set; then
4010 @@ -2291,7 +2886,7 @@
4011      INSTALL=$ac_install_sh
4012    fi
4013  fi
4014 -echo "$as_me:2294: result: $INSTALL" >&5
4015 +echo "$as_me:$LINENO: result: $INSTALL" >&5
4016  echo "${ECHO_T}$INSTALL" >&6
4017  
4018  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4019 @@ -2304,7 +2899,7 @@
4020  
4021  # Extract the first word of "ar", so it can be a program name with args.
4022  set dummy ar; ac_word=$2
4023 -echo "$as_me:2307: checking for $ac_word" >&5
4024 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4025  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4026  if test "${ac_cv_path_AR+set}" = set; then
4027    echo $ECHO_N "(cached) $ECHO_C" >&6
4028 @@ -2314,16 +2909,18 @@
4029    ac_cv_path_AR="$AR" # Let the user override the test with a path.
4030    ;;
4031    *)
4032 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4033 -ac_dummy="$PATH"
4034 -for ac_dir in $ac_dummy; do
4035 -  IFS=$ac_save_IFS
4036 -  test -z "$ac_dir" && ac_dir=.
4037 -  if $as_executable_p "$ac_dir/$ac_word"; then
4038 -   ac_cv_path_AR="$ac_dir/$ac_word"
4039 -   echo "$as_me:2324: found $ac_dir/$ac_word" >&5
4040 -   break
4041 -fi
4042 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 +for as_dir in $PATH
4044 +do
4045 +  IFS=$as_save_IFS
4046 +  test -z "$as_dir" && as_dir=.
4047 +  for ac_exec_ext in '' $ac_executable_extensions; do
4048 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 +    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4050 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 +    break 2
4052 +  fi
4053 +done
4054  done
4055  
4056    ;;
4057 @@ -2332,10 +2929,10 @@
4058  AR=$ac_cv_path_AR
4059  
4060  if test -n "$AR"; then
4061 -  echo "$as_me:2335: result: $AR" >&5
4062 +  echo "$as_me:$LINENO: result: $AR" >&5
4063  echo "${ECHO_T}$AR" >&6
4064  else
4065 -  echo "$as_me:2338: result: no" >&5
4066 +  echo "$as_me:$LINENO: result: no" >&5
4067  echo "${ECHO_T}no" >&6
4068  fi
4069  
4070 @@ -2343,7 +2940,7 @@
4071  do
4072    # Extract the first word of "$ac_prog", so it can be a program name with args.
4073  set dummy $ac_prog; ac_word=$2
4074 -echo "$as_me:2346: checking for $ac_word" >&5
4075 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4076  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4077  if test "${ac_cv_path_PERL+set}" = set; then
4078    echo $ECHO_N "(cached) $ECHO_C" >&6
4079 @@ -2353,16 +2950,18 @@
4080    ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4081    ;;
4082    *)
4083 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4084 -ac_dummy="$PATH"
4085 -for ac_dir in $ac_dummy; do
4086 -  IFS=$ac_save_IFS
4087 -  test -z "$ac_dir" && ac_dir=.
4088 -  if $as_executable_p "$ac_dir/$ac_word"; then
4089 -   ac_cv_path_PERL="$ac_dir/$ac_word"
4090 -   echo "$as_me:2363: found $ac_dir/$ac_word" >&5
4091 -   break
4092 -fi
4093 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 +for as_dir in $PATH
4095 +do
4096 +  IFS=$as_save_IFS
4097 +  test -z "$as_dir" && as_dir=.
4098 +  for ac_exec_ext in '' $ac_executable_extensions; do
4099 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 +    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4101 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4102 +    break 2
4103 +  fi
4104 +done
4105  done
4106  
4107    ;;
4108 @@ -2371,10 +2970,10 @@
4109  PERL=$ac_cv_path_PERL
4110  
4111  if test -n "$PERL"; then
4112 -  echo "$as_me:2374: result: $PERL" >&5
4113 +  echo "$as_me:$LINENO: result: $PERL" >&5
4114  echo "${ECHO_T}$PERL" >&6
4115  else
4116 -  echo "$as_me:2377: result: no" >&5
4117 +  echo "$as_me:$LINENO: result: no" >&5
4118  echo "${ECHO_T}no" >&6
4119  fi
4120  
4121 @@ -2383,7 +2982,7 @@
4122  
4123  # Extract the first word of "sed", so it can be a program name with args.
4124  set dummy sed; ac_word=$2
4125 -echo "$as_me:2386: checking for $ac_word" >&5
4126 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4127  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4128  if test "${ac_cv_path_SED+set}" = set; then
4129    echo $ECHO_N "(cached) $ECHO_C" >&6
4130 @@ -2393,16 +2992,18 @@
4131    ac_cv_path_SED="$SED" # Let the user override the test with a path.
4132    ;;
4133    *)
4134 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4135 -ac_dummy="$PATH"
4136 -for ac_dir in $ac_dummy; do
4137 -  IFS=$ac_save_IFS
4138 -  test -z "$ac_dir" && ac_dir=.
4139 -  if $as_executable_p "$ac_dir/$ac_word"; then
4140 -   ac_cv_path_SED="$ac_dir/$ac_word"
4141 -   echo "$as_me:2403: found $ac_dir/$ac_word" >&5
4142 -   break
4143 -fi
4144 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 +for as_dir in $PATH
4146 +do
4147 +  IFS=$as_save_IFS
4148 +  test -z "$as_dir" && as_dir=.
4149 +  for ac_exec_ext in '' $ac_executable_extensions; do
4150 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4151 +    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4152 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 +    break 2
4154 +  fi
4155 +done
4156  done
4157  
4158    ;;
4159 @@ -2411,16 +3012,17 @@
4160  SED=$ac_cv_path_SED
4161  
4162  if test -n "$SED"; then
4163 -  echo "$as_me:2414: result: $SED" >&5
4164 +  echo "$as_me:$LINENO: result: $SED" >&5
4165  echo "${ECHO_T}$SED" >&6
4166  else
4167 -  echo "$as_me:2417: result: no" >&5
4168 +  echo "$as_me:$LINENO: result: no" >&5
4169  echo "${ECHO_T}no" >&6
4170  fi
4171  
4172 +
4173  # Extract the first word of "ent", so it can be a program name with args.
4174  set dummy ent; ac_word=$2
4175 -echo "$as_me:2423: checking for $ac_word" >&5
4176 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4177  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4178  if test "${ac_cv_path_ENT+set}" = set; then
4179    echo $ECHO_N "(cached) $ECHO_C" >&6
4180 @@ -2430,16 +3032,18 @@
4181    ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
4182    ;;
4183    *)
4184 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4185 -ac_dummy="$PATH"
4186 -for ac_dir in $ac_dummy; do
4187 -  IFS=$ac_save_IFS
4188 -  test -z "$ac_dir" && ac_dir=.
4189 -  if $as_executable_p "$ac_dir/$ac_word"; then
4190 -   ac_cv_path_ENT="$ac_dir/$ac_word"
4191 -   echo "$as_me:2440: found $ac_dir/$ac_word" >&5
4192 -   break
4193 -fi
4194 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 +for as_dir in $PATH
4196 +do
4197 +  IFS=$as_save_IFS
4198 +  test -z "$as_dir" && as_dir=.
4199 +  for ac_exec_ext in '' $ac_executable_extensions; do
4200 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 +    ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
4202 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 +    break 2
4204 +  fi
4205 +done
4206  done
4207  
4208    ;;
4209 @@ -2448,16 +3052,17 @@
4210  ENT=$ac_cv_path_ENT
4211  
4212  if test -n "$ENT"; then
4213 -  echo "$as_me:2451: result: $ENT" >&5
4214 +  echo "$as_me:$LINENO: result: $ENT" >&5
4215  echo "${ECHO_T}$ENT" >&6
4216  else
4217 -  echo "$as_me:2454: result: no" >&5
4218 +  echo "$as_me:$LINENO: result: no" >&5
4219  echo "${ECHO_T}no" >&6
4220  fi
4221  
4222 +
4223  # Extract the first word of "bash", so it can be a program name with args.
4224  set dummy bash; ac_word=$2
4225 -echo "$as_me:2460: checking for $ac_word" >&5
4226 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4227  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4228  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4229    echo $ECHO_N "(cached) $ECHO_C" >&6
4230 @@ -2467,16 +3072,18 @@
4231    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4232    ;;
4233    *)
4234 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4235 -ac_dummy="$PATH"
4236 -for ac_dir in $ac_dummy; do
4237 -  IFS=$ac_save_IFS
4238 -  test -z "$ac_dir" && ac_dir=.
4239 -  if $as_executable_p "$ac_dir/$ac_word"; then
4240 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4241 -   echo "$as_me:2477: found $ac_dir/$ac_word" >&5
4242 -   break
4243 -fi
4244 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 +for as_dir in $PATH
4246 +do
4247 +  IFS=$as_save_IFS
4248 +  test -z "$as_dir" && as_dir=.
4249 +  for ac_exec_ext in '' $ac_executable_extensions; do
4250 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4251 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4252 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 +    break 2
4254 +  fi
4255 +done
4256  done
4257  
4258    ;;
4259 @@ -2485,16 +3092,16 @@
4260  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4261  
4262  if test -n "$TEST_MINUS_S_SH"; then
4263 -  echo "$as_me:2488: result: $TEST_MINUS_S_SH" >&5
4264 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4265  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4266  else
4267 -  echo "$as_me:2491: result: no" >&5
4268 +  echo "$as_me:$LINENO: result: no" >&5
4269  echo "${ECHO_T}no" >&6
4270  fi
4271  
4272  # Extract the first word of "ksh", so it can be a program name with args.
4273  set dummy ksh; ac_word=$2
4274 -echo "$as_me:2497: checking for $ac_word" >&5
4275 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4276  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4277  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4278    echo $ECHO_N "(cached) $ECHO_C" >&6
4279 @@ -2504,16 +3111,18 @@
4280    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4281    ;;
4282    *)
4283 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4284 -ac_dummy="$PATH"
4285 -for ac_dir in $ac_dummy; do
4286 -  IFS=$ac_save_IFS
4287 -  test -z "$ac_dir" && ac_dir=.
4288 -  if $as_executable_p "$ac_dir/$ac_word"; then
4289 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4290 -   echo "$as_me:2514: found $ac_dir/$ac_word" >&5
4291 -   break
4292 -fi
4293 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 +for as_dir in $PATH
4295 +do
4296 +  IFS=$as_save_IFS
4297 +  test -z "$as_dir" && as_dir=.
4298 +  for ac_exec_ext in '' $ac_executable_extensions; do
4299 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4301 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 +    break 2
4303 +  fi
4304 +done
4305  done
4306  
4307    ;;
4308 @@ -2522,16 +3131,16 @@
4309  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4310  
4311  if test -n "$TEST_MINUS_S_SH"; then
4312 -  echo "$as_me:2525: result: $TEST_MINUS_S_SH" >&5
4313 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4314  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4315  else
4316 -  echo "$as_me:2528: result: no" >&5
4317 +  echo "$as_me:$LINENO: result: no" >&5
4318  echo "${ECHO_T}no" >&6
4319  fi
4320  
4321  # Extract the first word of "sh", so it can be a program name with args.
4322  set dummy sh; ac_word=$2
4323 -echo "$as_me:2534: checking for $ac_word" >&5
4324 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4325  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4326  if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4327    echo $ECHO_N "(cached) $ECHO_C" >&6
4328 @@ -2541,16 +3150,18 @@
4329    ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
4330    ;;
4331    *)
4332 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4333 -ac_dummy="$PATH"
4334 -for ac_dir in $ac_dummy; do
4335 -  IFS=$ac_save_IFS
4336 -  test -z "$ac_dir" && ac_dir=.
4337 -  if $as_executable_p "$ac_dir/$ac_word"; then
4338 -   ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word"
4339 -   echo "$as_me:2551: found $ac_dir/$ac_word" >&5
4340 -   break
4341 -fi
4342 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 +for as_dir in $PATH
4344 +do
4345 +  IFS=$as_save_IFS
4346 +  test -z "$as_dir" && as_dir=.
4347 +  for ac_exec_ext in '' $ac_executable_extensions; do
4348 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 +    ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4350 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 +    break 2
4352 +  fi
4353 +done
4354  done
4355  
4356    ;;
4357 @@ -2559,16 +3170,16 @@
4358  TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4359  
4360  if test -n "$TEST_MINUS_S_SH"; then
4361 -  echo "$as_me:2562: result: $TEST_MINUS_S_SH" >&5
4362 +  echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4363  echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
4364  else
4365 -  echo "$as_me:2565: result: no" >&5
4366 +  echo "$as_me:$LINENO: result: no" >&5
4367  echo "${ECHO_T}no" >&6
4368  fi
4369  
4370  # Extract the first word of "sh", so it can be a program name with args.
4371  set dummy sh; ac_word=$2
4372 -echo "$as_me:2571: checking for $ac_word" >&5
4373 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4374  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4375  if test "${ac_cv_path_SH+set}" = set; then
4376    echo $ECHO_N "(cached) $ECHO_C" >&6
4377 @@ -2578,16 +3189,18 @@
4378    ac_cv_path_SH="$SH" # Let the user override the test with a path.
4379    ;;
4380    *)
4381 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4382 -ac_dummy="$PATH"
4383 -for ac_dir in $ac_dummy; do
4384 -  IFS=$ac_save_IFS
4385 -  test -z "$ac_dir" && ac_dir=.
4386 -  if $as_executable_p "$ac_dir/$ac_word"; then
4387 -   ac_cv_path_SH="$ac_dir/$ac_word"
4388 -   echo "$as_me:2588: found $ac_dir/$ac_word" >&5
4389 -   break
4390 -fi
4391 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 +for as_dir in $PATH
4393 +do
4394 +  IFS=$as_save_IFS
4395 +  test -z "$as_dir" && as_dir=.
4396 +  for ac_exec_ext in '' $ac_executable_extensions; do
4397 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4398 +    ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
4399 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 +    break 2
4401 +  fi
4402 +done
4403  done
4404  
4405    ;;
4406 @@ -2596,13 +3209,14 @@
4407  SH=$ac_cv_path_SH
4408  
4409  if test -n "$SH"; then
4410 -  echo "$as_me:2599: result: $SH" >&5
4411 +  echo "$as_me:$LINENO: result: $SH" >&5
4412  echo "${ECHO_T}$SH" >&6
4413  else
4414 -  echo "$as_me:2602: result: no" >&5
4415 +  echo "$as_me:$LINENO: result: no" >&5
4416  echo "${ECHO_T}no" >&6
4417  fi
4418  
4419 +
4420  # System features
4421  # Check whether --enable-largefile or --disable-largefile was given.
4422  if test "${enable_largefile+set}" = set; then
4423 @@ -2611,7 +3225,7 @@
4424  fi;
4425  if test "$enable_largefile" != no; then
4426  
4427 -  echo "$as_me:2614: checking for special C compiler options needed for large files" >&5
4428 +  echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4429  echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
4430  if test "${ac_cv_sys_largefile_CC+set}" = set; then
4431    echo $ECHO_N "(cached) $ECHO_C" >&6
4432 @@ -2623,8 +3237,12 @@
4433          # IRIX 6.2 and later do not support large files by default,
4434          # so use the C compiler's -n32 option if that helps.
4435           cat >conftest.$ac_ext <<_ACEOF
4436 -#line 2626 "configure"
4437 -#include "confdefs.h"
4438 +#line $LINENO "configure"
4439 +/* confdefs.h.  */
4440 +_ACEOF
4441 +cat confdefs.h >>conftest.$ac_ext
4442 +cat >>conftest.$ac_ext <<_ACEOF
4443 +/* end confdefs.h.  */
4444  #include <sys/types.h>
4445   /* Check that off_t can represent 2**63 - 1 correctly.
4446      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4447 @@ -2643,40 +3261,42 @@
4448  }
4449  _ACEOF
4450          rm -f conftest.$ac_objext
4451 -if { (eval echo "$as_me:2646: \"$ac_compile\"") >&5
4452 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453    (eval $ac_compile) 2>&5
4454    ac_status=$?
4455 -  echo "$as_me:2649: \$? = $ac_status" >&5
4456 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457    (exit $ac_status); } &&
4458           { ac_try='test -s conftest.$ac_objext'
4459 -  { (eval echo "$as_me:2652: \"$ac_try\"") >&5
4460 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461    (eval $ac_try) 2>&5
4462    ac_status=$?
4463 -  echo "$as_me:2655: \$? = $ac_status" >&5
4464 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465    (exit $ac_status); }; }; then
4466    break
4467  else
4468    echo "$as_me: failed program was:" >&5
4469 -cat conftest.$ac_ext >&5
4470 +sed 's/^/| /' conftest.$ac_ext >&5
4471 +
4472  fi
4473  rm -f conftest.$ac_objext
4474          CC="$CC -n32"
4475          rm -f conftest.$ac_objext
4476 -if { (eval echo "$as_me:2665: \"$ac_compile\"") >&5
4477 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4478    (eval $ac_compile) 2>&5
4479    ac_status=$?
4480 -  echo "$as_me:2668: \$? = $ac_status" >&5
4481 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482    (exit $ac_status); } &&
4483           { ac_try='test -s conftest.$ac_objext'
4484 -  { (eval echo "$as_me:2671: \"$ac_try\"") >&5
4485 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486    (eval $ac_try) 2>&5
4487    ac_status=$?
4488 -  echo "$as_me:2674: \$? = $ac_status" >&5
4489 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490    (exit $ac_status); }; }; then
4491    ac_cv_sys_largefile_CC=' -n32'; break
4492  else
4493    echo "$as_me: failed program was:" >&5
4494 -cat conftest.$ac_ext >&5
4495 +sed 's/^/| /' conftest.$ac_ext >&5
4496 +
4497  fi
4498  rm -f conftest.$ac_objext
4499           break
4500 @@ -2685,13 +3305,13 @@
4501         rm -f conftest.$ac_ext
4502      fi
4503  fi
4504 -echo "$as_me:2688: result: $ac_cv_sys_largefile_CC" >&5
4505 +echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4506  echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
4507    if test "$ac_cv_sys_largefile_CC" != no; then
4508      CC=$CC$ac_cv_sys_largefile_CC
4509    fi
4510  
4511 -  echo "$as_me:2694: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4512 +  echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4513  echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
4514  if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4515    echo $ECHO_N "(cached) $ECHO_C" >&6
4516 @@ -2699,8 +3319,12 @@
4517    while :; do
4518    ac_cv_sys_file_offset_bits=no
4519    cat >conftest.$ac_ext <<_ACEOF
4520 -#line 2702 "configure"
4521 -#include "confdefs.h"
4522 +#line $LINENO "configure"
4523 +/* confdefs.h.  */
4524 +_ACEOF
4525 +cat confdefs.h >>conftest.$ac_ext
4526 +cat >>conftest.$ac_ext <<_ACEOF
4527 +/* end confdefs.h.  */
4528  #include <sys/types.h>
4529   /* Check that off_t can represent 2**63 - 1 correctly.
4530      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4531 @@ -2719,26 +3343,31 @@
4532  }
4533  _ACEOF
4534  rm -f conftest.$ac_objext
4535 -if { (eval echo "$as_me:2722: \"$ac_compile\"") >&5
4536 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4537    (eval $ac_compile) 2>&5
4538    ac_status=$?
4539 -  echo "$as_me:2725: \$? = $ac_status" >&5
4540 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541    (exit $ac_status); } &&
4542           { ac_try='test -s conftest.$ac_objext'
4543 -  { (eval echo "$as_me:2728: \"$ac_try\"") >&5
4544 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545    (eval $ac_try) 2>&5
4546    ac_status=$?
4547 -  echo "$as_me:2731: \$? = $ac_status" >&5
4548 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549    (exit $ac_status); }; }; then
4550    break
4551  else
4552    echo "$as_me: failed program was:" >&5
4553 -cat conftest.$ac_ext >&5
4554 +sed 's/^/| /' conftest.$ac_ext >&5
4555 +
4556  fi
4557  rm -f conftest.$ac_objext conftest.$ac_ext
4558    cat >conftest.$ac_ext <<_ACEOF
4559 -#line 2740 "configure"
4560 -#include "confdefs.h"
4561 +#line $LINENO "configure"
4562 +/* confdefs.h.  */
4563 +_ACEOF
4564 +cat confdefs.h >>conftest.$ac_ext
4565 +cat >>conftest.$ac_ext <<_ACEOF
4566 +/* end confdefs.h.  */
4567  #define _FILE_OFFSET_BITS 64
4568  #include <sys/types.h>
4569   /* Check that off_t can represent 2**63 - 1 correctly.
4570 @@ -2758,37 +3387,38 @@
4571  }
4572  _ACEOF
4573  rm -f conftest.$ac_objext
4574 -if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5
4575 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4576    (eval $ac_compile) 2>&5
4577    ac_status=$?
4578 -  echo "$as_me:2764: \$? = $ac_status" >&5
4579 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580    (exit $ac_status); } &&
4581           { ac_try='test -s conftest.$ac_objext'
4582 -  { (eval echo "$as_me:2767: \"$ac_try\"") >&5
4583 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584    (eval $ac_try) 2>&5
4585    ac_status=$?
4586 -  echo "$as_me:2770: \$? = $ac_status" >&5
4587 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588    (exit $ac_status); }; }; then
4589    ac_cv_sys_file_offset_bits=64; break
4590  else
4591    echo "$as_me: failed program was:" >&5
4592 -cat conftest.$ac_ext >&5
4593 +sed 's/^/| /' conftest.$ac_ext >&5
4594 +
4595  fi
4596  rm -f conftest.$ac_objext conftest.$ac_ext
4597    break
4598  done
4599  fi
4600 -echo "$as_me:2781: result: $ac_cv_sys_file_offset_bits" >&5
4601 +echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
4602  echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
4603  if test "$ac_cv_sys_file_offset_bits" != no; then
4604  
4605 -cat >>confdefs.h <<EOF
4606 +cat >>confdefs.h <<_ACEOF
4607  #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4608 -EOF
4609 +_ACEOF
4610  
4611  fi
4612  rm -f conftest*
4613 -  echo "$as_me:2791: checking for _LARGE_FILES value needed for large files" >&5
4614 +  echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
4615  echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
4616  if test "${ac_cv_sys_large_files+set}" = set; then
4617    echo $ECHO_N "(cached) $ECHO_C" >&6
4618 @@ -2796,8 +3426,12 @@
4619    while :; do
4620    ac_cv_sys_large_files=no
4621    cat >conftest.$ac_ext <<_ACEOF
4622 -#line 2799 "configure"
4623 -#include "confdefs.h"
4624 +#line $LINENO "configure"
4625 +/* confdefs.h.  */
4626 +_ACEOF
4627 +cat confdefs.h >>conftest.$ac_ext
4628 +cat >>conftest.$ac_ext <<_ACEOF
4629 +/* end confdefs.h.  */
4630  #include <sys/types.h>
4631   /* Check that off_t can represent 2**63 - 1 correctly.
4632      We can't simply define LARGE_OFF_T to be 9223372036854775807,
4633 @@ -2816,26 +3450,31 @@
4634  }
4635  _ACEOF
4636  rm -f conftest.$ac_objext
4637 -if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
4638 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4639    (eval $ac_compile) 2>&5
4640    ac_status=$?
4641 -  echo "$as_me:2822: \$? = $ac_status" >&5
4642 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643    (exit $ac_status); } &&
4644           { ac_try='test -s conftest.$ac_objext'
4645 -  { (eval echo "$as_me:2825: \"$ac_try\"") >&5
4646 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647    (eval $ac_try) 2>&5
4648    ac_status=$?
4649 -  echo "$as_me:2828: \$? = $ac_status" >&5
4650 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651    (exit $ac_status); }; }; then
4652    break
4653  else
4654    echo "$as_me: failed program was:" >&5
4655 -cat conftest.$ac_ext >&5
4656 +sed 's/^/| /' conftest.$ac_ext >&5
4657 +
4658  fi
4659  rm -f conftest.$ac_objext conftest.$ac_ext
4660    cat >conftest.$ac_ext <<_ACEOF
4661 -#line 2837 "configure"
4662 -#include "confdefs.h"
4663 +#line $LINENO "configure"
4664 +/* confdefs.h.  */
4665 +_ACEOF
4666 +cat confdefs.h >>conftest.$ac_ext
4667 +cat >>conftest.$ac_ext <<_ACEOF
4668 +/* end confdefs.h.  */
4669  #define _LARGE_FILES 1
4670  #include <sys/types.h>
4671   /* Check that off_t can represent 2**63 - 1 correctly.
4672 @@ -2855,55 +3494,57 @@
4673  }
4674  _ACEOF
4675  rm -f conftest.$ac_objext
4676 -if { (eval echo "$as_me:2858: \"$ac_compile\"") >&5
4677 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4678    (eval $ac_compile) 2>&5
4679    ac_status=$?
4680 -  echo "$as_me:2861: \$? = $ac_status" >&5
4681 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682    (exit $ac_status); } &&
4683           { ac_try='test -s conftest.$ac_objext'
4684 -  { (eval echo "$as_me:2864: \"$ac_try\"") >&5
4685 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686    (eval $ac_try) 2>&5
4687    ac_status=$?
4688 -  echo "$as_me:2867: \$? = $ac_status" >&5
4689 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690    (exit $ac_status); }; }; then
4691    ac_cv_sys_large_files=1; break
4692  else
4693    echo "$as_me: failed program was:" >&5
4694 -cat conftest.$ac_ext >&5
4695 +sed 's/^/| /' conftest.$ac_ext >&5
4696 +
4697  fi
4698  rm -f conftest.$ac_objext conftest.$ac_ext
4699    break
4700  done
4701  fi
4702 -echo "$as_me:2878: result: $ac_cv_sys_large_files" >&5
4703 +echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
4704  echo "${ECHO_T}$ac_cv_sys_large_files" >&6
4705  if test "$ac_cv_sys_large_files" != no; then
4706  
4707 -cat >>confdefs.h <<EOF
4708 +cat >>confdefs.h <<_ACEOF
4709  #define _LARGE_FILES $ac_cv_sys_large_files
4710 -EOF
4711 +_ACEOF
4712  
4713  fi
4714  rm -f conftest*
4715  fi
4716  
4717 +
4718  if test -z "$AR" ; then
4719 -       { { echo "$as_me:2891: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
4720 +       { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
4721  echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
4722     { (exit 1); exit 1; }; }
4723  fi
4724  
4725  # Use LOGIN_PROGRAM from environment if possible
4726  if test ! -z "$LOGIN_PROGRAM" ; then
4727 -       cat >>confdefs.h <<EOF
4728 +       cat >>confdefs.h <<_ACEOF
4729  #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
4730 -EOF
4731 +_ACEOF
4732  
4733  else
4734         # Search for login
4735         # Extract the first word of "login", so it can be a program name with args.
4736  set dummy login; ac_word=$2
4737 -echo "$as_me:2906: checking for $ac_word" >&5
4738 +echo "$as_me:$LINENO: checking for $ac_word" >&5
4739  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4740  if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
4741    echo $ECHO_N "(cached) $ECHO_C" >&6
4742 @@ -2913,16 +3554,18 @@
4743    ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
4744    ;;
4745    *)
4746 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
4747 -ac_dummy="$PATH"
4748 -for ac_dir in $ac_dummy; do
4749 -  IFS=$ac_save_IFS
4750 -  test -z "$ac_dir" && ac_dir=.
4751 -  if $as_executable_p "$ac_dir/$ac_word"; then
4752 -   ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word"
4753 -   echo "$as_me:2923: found $ac_dir/$ac_word" >&5
4754 -   break
4755 -fi
4756 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 +for as_dir in $PATH
4758 +do
4759 +  IFS=$as_save_IFS
4760 +  test -z "$as_dir" && as_dir=.
4761 +  for ac_exec_ext in '' $ac_executable_extensions; do
4762 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4763 +    ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
4764 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 +    break 2
4766 +  fi
4767 +done
4768  done
4769  
4770    ;;
4771 @@ -2931,17 +3574,17 @@
4772  LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
4773  
4774  if test -n "$LOGIN_PROGRAM_FALLBACK"; then
4775 -  echo "$as_me:2934: result: $LOGIN_PROGRAM_FALLBACK" >&5
4776 +  echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
4777  echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
4778  else
4779 -  echo "$as_me:2937: result: no" >&5
4780 +  echo "$as_me:$LINENO: result: no" >&5
4781  echo "${ECHO_T}no" >&6
4782  fi
4783  
4784         if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
4785 -               cat >>confdefs.h <<EOF
4786 +               cat >>confdefs.h <<_ACEOF
4787  #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
4788 -EOF
4789 +_ACEOF
4790  
4791         fi
4792  fi
4793 @@ -2950,98 +3593,8 @@
4794         LD=$CC
4795  fi
4796  
4797 -echo "$as_me:2953: checking for $CC option to accept ANSI C" >&5
4798 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4799 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
4800 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4801 -else
4802 -  ac_cv_prog_cc_stdc=no
4803 -ac_save_CC=$CC
4804 -cat >conftest.$ac_ext <<_ACEOF
4805 -#line 2961 "configure"
4806 -#include "confdefs.h"
4807 -#include <stdarg.h>
4808 -#include <stdio.h>
4809 -#include <sys/types.h>
4810 -#include <sys/stat.h>
4811 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4812 -struct buf { int x; };
4813 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
4814 -static char *e (p, i)
4815 -     char **p;
4816 -     int i;
4817 -{
4818 -  return p[i];
4819 -}
4820 -static char *f (char * (*g) (char **, int), char **p, ...)
4821 -{
4822 -  char *s;
4823 -  va_list v;
4824 -  va_start (v,p);
4825 -  s = g (p, va_arg (v,int));
4826 -  va_end (v);
4827 -  return s;
4828 -}
4829 -int test (int i, double x);
4830 -struct s1 {int (*f) (int a);};
4831 -struct s2 {int (*f) (double a);};
4832 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4833 -int argc;
4834 -char **argv;
4835 -int
4836 -main ()
4837 -{
4838 -return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4839 -  ;
4840 -  return 0;
4841 -}
4842 -_ACEOF
4843 -# Don't try gcc -ansi; that turns off useful extensions and
4844 -# breaks some systems' header files.
4845 -# AIX                  -qlanglvl=ansi
4846 -# Ultrix and OSF/1     -std1
4847 -# HP-UX 10.20 and later        -Ae
4848 -# HP-UX older versions -Aa -D_HPUX_SOURCE
4849 -# SVR4                 -Xc -D__EXTENSIONS__
4850 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4851 -do
4852 -  CC="$ac_save_CC $ac_arg"
4853 -  rm -f conftest.$ac_objext
4854 -if { (eval echo "$as_me:3010: \"$ac_compile\"") >&5
4855 -  (eval $ac_compile) 2>&5
4856 -  ac_status=$?
4857 -  echo "$as_me:3013: \$? = $ac_status" >&5
4858 -  (exit $ac_status); } &&
4859 -         { ac_try='test -s conftest.$ac_objext'
4860 -  { (eval echo "$as_me:3016: \"$ac_try\"") >&5
4861 -  (eval $ac_try) 2>&5
4862 -  ac_status=$?
4863 -  echo "$as_me:3019: \$? = $ac_status" >&5
4864 -  (exit $ac_status); }; }; then
4865 -  ac_cv_prog_cc_stdc=$ac_arg
4866 -break
4867 -else
4868 -  echo "$as_me: failed program was:" >&5
4869 -cat conftest.$ac_ext >&5
4870 -fi
4871 -rm -f conftest.$ac_objext
4872 -done
4873 -rm -f conftest.$ac_ext conftest.$ac_objext
4874 -CC=$ac_save_CC
4875 -
4876 -fi
4877 -
4878 -case "x$ac_cv_prog_cc_stdc" in
4879 -  x|xno)
4880 -    echo "$as_me:3036: result: none needed" >&5
4881 -echo "${ECHO_T}none needed" >&6 ;;
4882 -  *)
4883 -    echo "$as_me:3039: result: $ac_cv_prog_cc_stdc" >&5
4884 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4885 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
4886 -esac
4887  
4888 -echo "$as_me:3044: checking for inline" >&5
4889 +echo "$as_me:$LINENO: checking for inline" >&5
4890  echo $ECHO_N "checking for inline... $ECHO_C" >&6
4891  if test "${ac_cv_c_inline+set}" = set; then
4892    echo $ECHO_N "(cached) $ECHO_C" >&6
4893 @@ -3049,47 +3602,53 @@
4894    ac_cv_c_inline=no
4895  for ac_kw in inline __inline__ __inline; do
4896    cat >conftest.$ac_ext <<_ACEOF
4897 -#line 3052 "configure"
4898 -#include "confdefs.h"
4899 +#line $LINENO "configure"
4900 +/* confdefs.h.  */
4901 +_ACEOF
4902 +cat confdefs.h >>conftest.$ac_ext
4903 +cat >>conftest.$ac_ext <<_ACEOF
4904 +/* end confdefs.h.  */
4905  #ifndef __cplusplus
4906 -static $ac_kw int static_foo () {return 0; }
4907 -$ac_kw int foo () {return 0; }
4908 +typedef int foo_t;
4909 +static $ac_kw foo_t static_foo () {return 0; }
4910 +$ac_kw foo_t foo () {return 0; }
4911  #endif
4912  
4913  _ACEOF
4914  rm -f conftest.$ac_objext
4915 -if { (eval echo "$as_me:3061: \"$ac_compile\"") >&5
4916 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4917    (eval $ac_compile) 2>&5
4918    ac_status=$?
4919 -  echo "$as_me:3064: \$? = $ac_status" >&5
4920 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921    (exit $ac_status); } &&
4922           { ac_try='test -s conftest.$ac_objext'
4923 -  { (eval echo "$as_me:3067: \"$ac_try\"") >&5
4924 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925    (eval $ac_try) 2>&5
4926    ac_status=$?
4927 -  echo "$as_me:3070: \$? = $ac_status" >&5
4928 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929    (exit $ac_status); }; }; then
4930    ac_cv_c_inline=$ac_kw; break
4931  else
4932    echo "$as_me: failed program was:" >&5
4933 -cat conftest.$ac_ext >&5
4934 +sed 's/^/| /' conftest.$ac_ext >&5
4935 +
4936  fi
4937  rm -f conftest.$ac_objext conftest.$ac_ext
4938  done
4939  
4940  fi
4941 -echo "$as_me:3081: result: $ac_cv_c_inline" >&5
4942 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4943  echo "${ECHO_T}$ac_cv_c_inline" >&6
4944  case $ac_cv_c_inline in
4945    inline | yes) ;;
4946    no)
4947 -cat >>confdefs.h <<\EOF
4948 +cat >>confdefs.h <<\_ACEOF
4949  #define inline
4950 -EOF
4951 +_ACEOF
4952   ;;
4953 -  *)  cat >>confdefs.h <<EOF
4954 +  *)  cat >>confdefs.h <<_ACEOF
4955  #define inline $ac_cv_c_inline
4956 -EOF
4957 +_ACEOF
4958   ;;
4959  esac
4960  
4961 @@ -3102,7 +3661,7 @@
4962  *-*-aix*)
4963         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4964         LDFLAGS="$LDFLAGS -L/usr/local/lib"
4965 -       echo "$as_me:3105: checking how to specify blibpath for linker ($LD)" >&5
4966 +       echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
4967  echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
4968         if (test -z "$blibpath"); then
4969                 blibpath="/usr/lib:/lib:/usr/local/lib"
4970 @@ -3112,8 +3671,12 @@
4971                 if (test -z "$blibflags"); then
4972                         LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
4973                         cat >conftest.$ac_ext <<_ACEOF
4974 -#line 3115 "configure"
4975 -#include "confdefs.h"
4976 +#line $LINENO "configure"
4977 +/* confdefs.h.  */
4978 +_ACEOF
4979 +cat confdefs.h >>conftest.$ac_ext
4980 +cat >>conftest.$ac_ext <<_ACEOF
4981 +/* end confdefs.h.  */
4982  
4983  int
4984  main ()
4985 @@ -3124,101 +3687,116 @@
4986  }
4987  _ACEOF
4988  rm -f conftest.$ac_objext conftest$ac_exeext
4989 -if { (eval echo "$as_me:3127: \"$ac_link\"") >&5
4990 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4991    (eval $ac_link) 2>&5
4992    ac_status=$?
4993 -  echo "$as_me:3130: \$? = $ac_status" >&5
4994 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995    (exit $ac_status); } &&
4996           { ac_try='test -s conftest$ac_exeext'
4997 -  { (eval echo "$as_me:3133: \"$ac_try\"") >&5
4998 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999    (eval $ac_try) 2>&5
5000    ac_status=$?
5001 -  echo "$as_me:3136: \$? = $ac_status" >&5
5002 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003    (exit $ac_status); }; }; then
5004    blibflags=$tryflags
5005  else
5006    echo "$as_me: failed program was:" >&5
5007 -cat conftest.$ac_ext >&5
5008 +sed 's/^/| /' conftest.$ac_ext >&5
5009 +
5010  fi
5011  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5012                 fi
5013         done
5014         if (test -z "$blibflags"); then
5015 -               echo "$as_me:3147: result: not found" >&5
5016 +               echo "$as_me:$LINENO: result: not found" >&5
5017  echo "${ECHO_T}not found" >&6
5018 -               { { echo "$as_me:3149: error: *** must be able to specify blibpath on AIX - check config.log" >&5
5019 +               { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
5020  echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
5021     { (exit 1); exit 1; }; }
5022         else
5023 -               echo "$as_me:3153: result: $blibflags" >&5
5024 +               echo "$as_me:$LINENO: result: $blibflags" >&5
5025  echo "${ECHO_T}$blibflags" >&6
5026         fi
5027         LDFLAGS="$saved_LDFLAGS"
5028 -               echo "$as_me:3157: checking for authenticate" >&5
5029 +               echo "$as_me:$LINENO: checking for authenticate" >&5
5030  echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
5031  if test "${ac_cv_func_authenticate+set}" = set; then
5032    echo $ECHO_N "(cached) $ECHO_C" >&6
5033  else
5034    cat >conftest.$ac_ext <<_ACEOF
5035 -#line 3163 "configure"
5036 -#include "confdefs.h"
5037 +#line $LINENO "configure"
5038 +/* confdefs.h.  */
5039 +_ACEOF
5040 +cat confdefs.h >>conftest.$ac_ext
5041 +cat >>conftest.$ac_ext <<_ACEOF
5042 +/* end confdefs.h.  */
5043  /* System header to define __stub macros and hopefully few prototypes,
5044 -    which can conflict with char authenticate (); below.  */
5045 -#include <assert.h>
5046 +    which can conflict with char authenticate (); below.
5047 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 +    <limits.h> exists even on freestanding compilers.  */
5049 +#ifdef __STDC__
5050 +# include <limits.h>
5051 +#else
5052 +# include <assert.h>
5053 +#endif
5054  /* Override any gcc2 internal prototype to avoid an error.  */
5055  #ifdef __cplusplus
5056  extern "C"
5057 +{
5058  #endif
5059  /* We use char because int might match the return type of a gcc2
5060     builtin and then its argument prototype would still apply.  */
5061  char authenticate ();
5062 -char (*f) ();
5063 -
5064 -int
5065 -main ()
5066 -{
5067  /* The GNU C library defines this for functions which it implements
5068      to always fail with ENOSYS.  Some functions are actually named
5069      something starting with __ and the normal name is an alias.  */
5070  #if defined (__stub_authenticate) || defined (__stub___authenticate)
5071  choke me
5072  #else
5073 -f = authenticate;
5074 +char (*f) () = authenticate;
5075 +#endif
5076 +#ifdef __cplusplus
5077 +}
5078  #endif
5079  
5080 +int
5081 +main ()
5082 +{
5083 +return f != authenticate;
5084    ;
5085    return 0;
5086  }
5087  _ACEOF
5088  rm -f conftest.$ac_objext conftest$ac_exeext
5089 -if { (eval echo "$as_me:3194: \"$ac_link\"") >&5
5090 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5091    (eval $ac_link) 2>&5
5092    ac_status=$?
5093 -  echo "$as_me:3197: \$? = $ac_status" >&5
5094 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095    (exit $ac_status); } &&
5096           { ac_try='test -s conftest$ac_exeext'
5097 -  { (eval echo "$as_me:3200: \"$ac_try\"") >&5
5098 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5099    (eval $ac_try) 2>&5
5100    ac_status=$?
5101 -  echo "$as_me:3203: \$? = $ac_status" >&5
5102 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103    (exit $ac_status); }; }; then
5104    ac_cv_func_authenticate=yes
5105  else
5106    echo "$as_me: failed program was:" >&5
5107 -cat conftest.$ac_ext >&5
5108 +sed 's/^/| /' conftest.$ac_ext >&5
5109 +
5110  ac_cv_func_authenticate=no
5111  fi
5112  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5113  fi
5114 -echo "$as_me:3213: result: $ac_cv_func_authenticate" >&5
5115 +echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
5116  echo "${ECHO_T}$ac_cv_func_authenticate" >&6
5117  if test $ac_cv_func_authenticate = yes; then
5118 -  cat >>confdefs.h <<\EOF
5119 +  cat >>confdefs.h <<\_ACEOF
5120  #define WITH_AIXAUTHENTICATE 1
5121 -EOF
5122 +_ACEOF
5123  
5124  else
5125 -  echo "$as_me:3221: checking for authenticate in -ls" >&5
5126 +  echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
5127  echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
5128  if test "${ac_cv_lib_s_authenticate+set}" = set; then
5129    echo $ECHO_N "(cached) $ECHO_C" >&6
5130 @@ -3226,8 +3804,12 @@
5131    ac_check_lib_save_LIBS=$LIBS
5132  LIBS="-ls  $LIBS"
5133  cat >conftest.$ac_ext <<_ACEOF
5134 -#line 3229 "configure"
5135 -#include "confdefs.h"
5136 +#line $LINENO "configure"
5137 +/* confdefs.h.  */
5138 +_ACEOF
5139 +cat confdefs.h >>conftest.$ac_ext
5140 +cat >>conftest.$ac_ext <<_ACEOF
5141 +/* end confdefs.h.  */
5142  
5143  /* Override any gcc2 internal prototype to avoid an error.  */
5144  #ifdef __cplusplus
5145 @@ -3245,49 +3827,56 @@
5146  }
5147  _ACEOF
5148  rm -f conftest.$ac_objext conftest$ac_exeext
5149 -if { (eval echo "$as_me:3248: \"$ac_link\"") >&5
5150 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5151    (eval $ac_link) 2>&5
5152    ac_status=$?
5153 -  echo "$as_me:3251: \$? = $ac_status" >&5
5154 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155    (exit $ac_status); } &&
5156           { ac_try='test -s conftest$ac_exeext'
5157 -  { (eval echo "$as_me:3254: \"$ac_try\"") >&5
5158 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159    (eval $ac_try) 2>&5
5160    ac_status=$?
5161 -  echo "$as_me:3257: \$? = $ac_status" >&5
5162 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163    (exit $ac_status); }; }; then
5164    ac_cv_lib_s_authenticate=yes
5165  else
5166    echo "$as_me: failed program was:" >&5
5167 -cat conftest.$ac_ext >&5
5168 +sed 's/^/| /' conftest.$ac_ext >&5
5169 +
5170  ac_cv_lib_s_authenticate=no
5171  fi
5172  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5173  LIBS=$ac_check_lib_save_LIBS
5174  fi
5175 -echo "$as_me:3268: result: $ac_cv_lib_s_authenticate" >&5
5176 +echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
5177  echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
5178  if test $ac_cv_lib_s_authenticate = yes; then
5179 -   cat >>confdefs.h <<\EOF
5180 +   cat >>confdefs.h <<\_ACEOF
5181  #define WITH_AIXAUTHENTICATE 1
5182 -EOF
5183 +_ACEOF
5184  
5185                                 LIBS="$LIBS -ls"
5186  
5187  fi
5188  
5189 +
5190  fi
5191  
5192 -               echo "$as_me:3281: checking whether loginfailed is declared" >&5
5193 +               echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5
5194  echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
5195  if test "${ac_cv_have_decl_loginfailed+set}" = set; then
5196    echo $ECHO_N "(cached) $ECHO_C" >&6
5197  else
5198    cat >conftest.$ac_ext <<_ACEOF
5199 -#line 3287 "configure"
5200 -#include "confdefs.h"
5201 +#line $LINENO "configure"
5202 +/* confdefs.h.  */
5203 +_ACEOF
5204 +cat confdefs.h >>conftest.$ac_ext
5205 +cat >>conftest.$ac_ext <<_ACEOF
5206 +/* end confdefs.h.  */
5207  #include <usersec.h>
5208  
5209 +
5210  int
5211  main ()
5212  {
5213 @@ -3300,33 +3889,38 @@
5214  }
5215  _ACEOF
5216  rm -f conftest.$ac_objext
5217 -if { (eval echo "$as_me:3303: \"$ac_compile\"") >&5
5218 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5219    (eval $ac_compile) 2>&5
5220    ac_status=$?
5221 -  echo "$as_me:3306: \$? = $ac_status" >&5
5222 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223    (exit $ac_status); } &&
5224           { ac_try='test -s conftest.$ac_objext'
5225 -  { (eval echo "$as_me:3309: \"$ac_try\"") >&5
5226 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5227    (eval $ac_try) 2>&5
5228    ac_status=$?
5229 -  echo "$as_me:3312: \$? = $ac_status" >&5
5230 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231    (exit $ac_status); }; }; then
5232    ac_cv_have_decl_loginfailed=yes
5233  else
5234    echo "$as_me: failed program was:" >&5
5235 -cat conftest.$ac_ext >&5
5236 +sed 's/^/| /' conftest.$ac_ext >&5
5237 +
5238  ac_cv_have_decl_loginfailed=no
5239  fi
5240  rm -f conftest.$ac_objext conftest.$ac_ext
5241  fi
5242 -echo "$as_me:3322: result: $ac_cv_have_decl_loginfailed" >&5
5243 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5
5244  echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
5245  if test $ac_cv_have_decl_loginfailed = yes; then
5246 -  echo "$as_me:3325: checking if loginfailed takes 4 arguments" >&5
5247 +  echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5
5248  echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
5249                   cat >conftest.$ac_ext <<_ACEOF
5250 -#line 3328 "configure"
5251 -#include "confdefs.h"
5252 +#line $LINENO "configure"
5253 +/* confdefs.h.  */
5254 +_ACEOF
5255 +cat confdefs.h >>conftest.$ac_ext
5256 +cat >>conftest.$ac_ext <<_ACEOF
5257 +/* end confdefs.h.  */
5258  #include <usersec.h>
5259  int
5260  main ()
5261 @@ -3337,187 +3931,207 @@
5262  }
5263  _ACEOF
5264  rm -f conftest.$ac_objext
5265 -if { (eval echo "$as_me:3340: \"$ac_compile\"") >&5
5266 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267    (eval $ac_compile) 2>&5
5268    ac_status=$?
5269 -  echo "$as_me:3343: \$? = $ac_status" >&5
5270 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271    (exit $ac_status); } &&
5272           { ac_try='test -s conftest.$ac_objext'
5273 -  { (eval echo "$as_me:3346: \"$ac_try\"") >&5
5274 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275    (eval $ac_try) 2>&5
5276    ac_status=$?
5277 -  echo "$as_me:3349: \$? = $ac_status" >&5
5278 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279    (exit $ac_status); }; }; then
5280 -  echo "$as_me:3351: result: yes" >&5
5281 +  echo "$as_me:$LINENO: result: yes" >&5
5282  echo "${ECHO_T}yes" >&6
5283 -                        cat >>confdefs.h <<\EOF
5284 +                        cat >>confdefs.h <<\_ACEOF
5285  #define AIX_LOGINFAILED_4ARG 1
5286 -EOF
5287 +_ACEOF
5288  
5289  else
5290    echo "$as_me: failed program was:" >&5
5291 -cat conftest.$ac_ext >&5
5292 -echo "$as_me:3360: result: no" >&5
5293 +sed 's/^/| /' conftest.$ac_ext >&5
5294 +
5295 +echo "$as_me:$LINENO: result: no" >&5
5296  echo "${ECHO_T}no" >&6
5297  
5298  fi
5299  rm -f conftest.$ac_objext conftest.$ac_ext
5300  fi
5301  
5302 +
5303  for ac_func in setauthdb
5304  do
5305  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5306 -echo "$as_me:3370: checking for $ac_func" >&5
5307 +echo "$as_me:$LINENO: checking for $ac_func" >&5
5308  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5309  if eval "test \"\${$as_ac_var+set}\" = set"; then
5310    echo $ECHO_N "(cached) $ECHO_C" >&6
5311  else
5312    cat >conftest.$ac_ext <<_ACEOF
5313 -#line 3376 "configure"
5314 -#include "confdefs.h"
5315 +#line $LINENO "configure"
5316 +/* confdefs.h.  */
5317 +_ACEOF
5318 +cat confdefs.h >>conftest.$ac_ext
5319 +cat >>conftest.$ac_ext <<_ACEOF
5320 +/* end confdefs.h.  */
5321  /* System header to define __stub macros and hopefully few prototypes,
5322 -    which can conflict with char $ac_func (); below.  */
5323 -#include <assert.h>
5324 +    which can conflict with char $ac_func (); below.
5325 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 +    <limits.h> exists even on freestanding compilers.  */
5327 +#ifdef __STDC__
5328 +# include <limits.h>
5329 +#else
5330 +# include <assert.h>
5331 +#endif
5332  /* Override any gcc2 internal prototype to avoid an error.  */
5333  #ifdef __cplusplus
5334  extern "C"
5335 +{
5336  #endif
5337  /* We use char because int might match the return type of a gcc2
5338     builtin and then its argument prototype would still apply.  */
5339  char $ac_func ();
5340 -char (*f) ();
5341 -
5342 -int
5343 -main ()
5344 -{
5345  /* The GNU C library defines this for functions which it implements
5346      to always fail with ENOSYS.  Some functions are actually named
5347      something starting with __ and the normal name is an alias.  */
5348  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5349  choke me
5350  #else
5351 -f = $ac_func;
5352 +char (*f) () = $ac_func;
5353 +#endif
5354 +#ifdef __cplusplus
5355 +}
5356  #endif
5357  
5358 +int
5359 +main ()
5360 +{
5361 +return f != $ac_func;
5362    ;
5363    return 0;
5364  }
5365  _ACEOF
5366  rm -f conftest.$ac_objext conftest$ac_exeext
5367 -if { (eval echo "$as_me:3407: \"$ac_link\"") >&5
5368 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5369    (eval $ac_link) 2>&5
5370    ac_status=$?
5371 -  echo "$as_me:3410: \$? = $ac_status" >&5
5372 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373    (exit $ac_status); } &&
5374           { ac_try='test -s conftest$ac_exeext'
5375 -  { (eval echo "$as_me:3413: \"$ac_try\"") >&5
5376 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377    (eval $ac_try) 2>&5
5378    ac_status=$?
5379 -  echo "$as_me:3416: \$? = $ac_status" >&5
5380 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381    (exit $ac_status); }; }; then
5382    eval "$as_ac_var=yes"
5383  else
5384    echo "$as_me: failed program was:" >&5
5385 -cat conftest.$ac_ext >&5
5386 +sed 's/^/| /' conftest.$ac_ext >&5
5387 +
5388  eval "$as_ac_var=no"
5389  fi
5390  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5391  fi
5392 -echo "$as_me:3426: result: `eval echo '${'$as_ac_var'}'`" >&5
5393 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5394  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5395  if test `eval echo '${'$as_ac_var'}'` = yes; then
5396 -  cat >>confdefs.h <<EOF
5397 +  cat >>confdefs.h <<_ACEOF
5398  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5399 -EOF
5400 +_ACEOF
5401  
5402  fi
5403  done
5404  
5405 -       cat >>confdefs.h <<\EOF
5406 +       cat >>confdefs.h <<\_ACEOF
5407  #define BROKEN_GETADDRINFO 1
5408 -EOF
5409 +_ACEOF
5410  
5411 -       cat >>confdefs.h <<\EOF
5412 +       cat >>confdefs.h <<\_ACEOF
5413  #define BROKEN_REALPATH 1
5414 -EOF
5415 +_ACEOF
5416  
5417 -       cat >>confdefs.h <<\EOF
5418 +       cat >>confdefs.h <<\_ACEOF
5419  #define SETEUID_BREAKS_SETUID 1
5420 -EOF
5421 +_ACEOF
5422  
5423 -       cat >>confdefs.h <<\EOF
5424 +       cat >>confdefs.h <<\_ACEOF
5425  #define BROKEN_SETREUID 1
5426 -EOF
5427 +_ACEOF
5428  
5429 -       cat >>confdefs.h <<\EOF
5430 +       cat >>confdefs.h <<\_ACEOF
5431  #define BROKEN_SETREGID 1
5432 -EOF
5433 +_ACEOF
5434  
5435 -               cat >>confdefs.h <<\EOF
5436 +               cat >>confdefs.h <<\_ACEOF
5437  #define DISABLE_LASTLOG 1
5438 -EOF
5439 +_ACEOF
5440  
5441 -       cat >>confdefs.h <<\EOF
5442 +       cat >>confdefs.h <<\_ACEOF
5443  #define LOGIN_NEEDS_UTMPX 1
5444 -EOF
5445 +_ACEOF
5446  
5447 -       cat >>confdefs.h <<\EOF
5448 +       cat >>confdefs.h <<\_ACEOF
5449  #define SPT_TYPE SPT_REUSEARGV
5450 -EOF
5451 +_ACEOF
5452  
5453         ;;
5454  *-*-cygwin*)
5455         check_for_libcrypt_later=1
5456         LIBS="$LIBS /usr/lib/textmode.o"
5457 -       cat >>confdefs.h <<\EOF
5458 +       cat >>confdefs.h <<\_ACEOF
5459  #define HAVE_CYGWIN 1
5460 -EOF
5461 +_ACEOF
5462  
5463 -       cat >>confdefs.h <<\EOF
5464 +       cat >>confdefs.h <<\_ACEOF
5465  #define USE_PIPES 1
5466 -EOF
5467 +_ACEOF
5468  
5469 -       cat >>confdefs.h <<\EOF
5470 +       cat >>confdefs.h <<\_ACEOF
5471  #define DISABLE_SHADOW 1
5472 -EOF
5473 +_ACEOF
5474  
5475 -       cat >>confdefs.h <<\EOF
5476 +       cat >>confdefs.h <<\_ACEOF
5477  #define IP_TOS_IS_BROKEN 1
5478 -EOF
5479 +_ACEOF
5480  
5481 -       cat >>confdefs.h <<\EOF
5482 +       cat >>confdefs.h <<\_ACEOF
5483  #define NO_X11_UNIX_SOCKETS 1
5484 -EOF
5485 +_ACEOF
5486  
5487 -       cat >>confdefs.h <<\EOF
5488 +       cat >>confdefs.h <<\_ACEOF
5489  #define NO_IPPORT_RESERVED_CONCEPT 1
5490 -EOF
5491 +_ACEOF
5492  
5493 -       cat >>confdefs.h <<\EOF
5494 +       cat >>confdefs.h <<\_ACEOF
5495  #define DISABLE_FD_PASSING 1
5496 -EOF
5497 +_ACEOF
5498  
5499 -       cat >>confdefs.h <<\EOF
5500 +       cat >>confdefs.h <<\_ACEOF
5501  #define SETGROUPS_NOOP 1
5502 -EOF
5503 +_ACEOF
5504  
5505         ;;
5506  *-*-dgux*)
5507 -       cat >>confdefs.h <<\EOF
5508 +       cat >>confdefs.h <<\_ACEOF
5509  #define IP_TOS_IS_BROKEN 1
5510 -EOF
5511 +_ACEOF
5512  
5513         ;;
5514  *-*-darwin*)
5515 -       echo "$as_me:3512: checking if we have working getaddrinfo" >&5
5516 +       echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
5517  echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
5518         if test "$cross_compiling" = yes; then
5519 -  echo "$as_me:3515: result: assume it is working" >&5
5520 +  echo "$as_me:$LINENO: result: assume it is working" >&5
5521  echo "${ECHO_T}assume it is working" >&6
5522  else
5523    cat >conftest.$ac_ext <<_ACEOF
5524 -#line 3519 "configure"
5525 -#include "confdefs.h"
5526 +#line $LINENO "configure"
5527 +/* confdefs.h.  */
5528 +_ACEOF
5529 +cat confdefs.h >>conftest.$ac_ext
5530 +cat >>conftest.$ac_ext <<_ACEOF
5531 +/* end confdefs.h.  */
5532  #include <mach-o/dyld.h>
5533  main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
5534                 exit(0);
5535 @@ -3526,42 +4140,44 @@
5536  }
5537  _ACEOF
5538  rm -f conftest$ac_exeext
5539 -if { (eval echo "$as_me:3529: \"$ac_link\"") >&5
5540 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5541    (eval $ac_link) 2>&5
5542    ac_status=$?
5543 -  echo "$as_me:3532: \$? = $ac_status" >&5
5544 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5546 -  { (eval echo "$as_me:3534: \"$ac_try\"") >&5
5547 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548    (eval $ac_try) 2>&5
5549    ac_status=$?
5550 -  echo "$as_me:3537: \$? = $ac_status" >&5
5551 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552    (exit $ac_status); }; }; then
5553 -  echo "$as_me:3539: result: working" >&5
5554 +  echo "$as_me:$LINENO: result: working" >&5
5555  echo "${ECHO_T}working" >&6
5556  else
5557    echo "$as_me: program exited with status $ac_status" >&5
5558  echo "$as_me: failed program was:" >&5
5559 -cat conftest.$ac_ext >&5
5560 -echo "$as_me:3545: result: buggy" >&5
5561 +sed 's/^/| /' conftest.$ac_ext >&5
5562 +
5563 +( exit $ac_status )
5564 +echo "$as_me:$LINENO: result: buggy" >&5
5565  echo "${ECHO_T}buggy" >&6
5566 -       cat >>confdefs.h <<\EOF
5567 +       cat >>confdefs.h <<\_ACEOF
5568  #define BROKEN_GETADDRINFO 1
5569 -EOF
5570 +_ACEOF
5571  
5572  fi
5573 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5574 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5575  fi
5576 -       cat >>confdefs.h <<\EOF
5577 +       cat >>confdefs.h <<\_ACEOF
5578  #define SETEUID_BREAKS_SETUID 1
5579 -EOF
5580 +_ACEOF
5581  
5582 -       cat >>confdefs.h <<\EOF
5583 +       cat >>confdefs.h <<\_ACEOF
5584  #define BROKEN_SETREUID 1
5585 -EOF
5586 +_ACEOF
5587  
5588 -       cat >>confdefs.h <<\EOF
5589 +       cat >>confdefs.h <<\_ACEOF
5590  #define BROKEN_SETREGID 1
5591 -EOF
5592 +_ACEOF
5593  
5594         ;;
5595  *-*-hpux10.26)
5596 @@ -3570,41 +4186,41 @@
5597         fi
5598         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5599         IPADDR_IN_DISPLAY=yes
5600 -       cat >>confdefs.h <<\EOF
5601 +       cat >>confdefs.h <<\_ACEOF
5602  #define HAVE_SECUREWARE 1
5603 -EOF
5604 +_ACEOF
5605  
5606 -       cat >>confdefs.h <<\EOF
5607 +       cat >>confdefs.h <<\_ACEOF
5608  #define USE_PIPES 1
5609 -EOF
5610 +_ACEOF
5611  
5612 -       cat >>confdefs.h <<\EOF
5613 +       cat >>confdefs.h <<\_ACEOF
5614  #define LOGIN_NO_ENDOPT 1
5615 -EOF
5616 +_ACEOF
5617  
5618 -       cat >>confdefs.h <<\EOF
5619 +       cat >>confdefs.h <<\_ACEOF
5620  #define LOGIN_NEEDS_UTMPX 1
5621 -EOF
5622 +_ACEOF
5623  
5624 -       cat >>confdefs.h <<\EOF
5625 +       cat >>confdefs.h <<\_ACEOF
5626  #define DISABLE_SHADOW 1
5627 -EOF
5628 +_ACEOF
5629  
5630 -       cat >>confdefs.h <<\EOF
5631 +       cat >>confdefs.h <<\_ACEOF
5632  #define DISABLE_UTMP 1
5633 -EOF
5634 +_ACEOF
5635  
5636 -       cat >>confdefs.h <<\EOF
5637 +       cat >>confdefs.h <<\_ACEOF
5638  #define LOCKED_PASSWD_STRING "*"
5639 -EOF
5640 +_ACEOF
5641  
5642 -       cat >>confdefs.h <<\EOF
5643 +       cat >>confdefs.h <<\_ACEOF
5644  #define SPT_TYPE SPT_PSTAT
5645 -EOF
5646 +_ACEOF
5647  
5648         LIBS="$LIBS -lsec -lsecpw"
5649  
5650 -echo "$as_me:3607: checking for t_error in -lxnet" >&5
5651 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5652  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5653  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5654    echo $ECHO_N "(cached) $ECHO_C" >&6
5655 @@ -3612,8 +4228,12 @@
5656    ac_check_lib_save_LIBS=$LIBS
5657  LIBS="-lxnet  $LIBS"
5658  cat >conftest.$ac_ext <<_ACEOF
5659 -#line 3615 "configure"
5660 -#include "confdefs.h"
5661 +#line $LINENO "configure"
5662 +/* confdefs.h.  */
5663 +_ACEOF
5664 +cat confdefs.h >>conftest.$ac_ext
5665 +cat >>conftest.$ac_ext <<_ACEOF
5666 +/* end confdefs.h.  */
5667  
5668  /* Override any gcc2 internal prototype to avoid an error.  */
5669  #ifdef __cplusplus
5670 @@ -3631,37 +4251,38 @@
5671  }
5672  _ACEOF
5673  rm -f conftest.$ac_objext conftest$ac_exeext
5674 -if { (eval echo "$as_me:3634: \"$ac_link\"") >&5
5675 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5676    (eval $ac_link) 2>&5
5677    ac_status=$?
5678 -  echo "$as_me:3637: \$? = $ac_status" >&5
5679 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680    (exit $ac_status); } &&
5681           { ac_try='test -s conftest$ac_exeext'
5682 -  { (eval echo "$as_me:3640: \"$ac_try\"") >&5
5683 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684    (eval $ac_try) 2>&5
5685    ac_status=$?
5686 -  echo "$as_me:3643: \$? = $ac_status" >&5
5687 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688    (exit $ac_status); }; }; then
5689    ac_cv_lib_xnet_t_error=yes
5690  else
5691    echo "$as_me: failed program was:" >&5
5692 -cat conftest.$ac_ext >&5
5693 +sed 's/^/| /' conftest.$ac_ext >&5
5694 +
5695  ac_cv_lib_xnet_t_error=no
5696  fi
5697  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5698  LIBS=$ac_check_lib_save_LIBS
5699  fi
5700 -echo "$as_me:3654: result: $ac_cv_lib_xnet_t_error" >&5
5701 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5702  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5703  if test $ac_cv_lib_xnet_t_error = yes; then
5704 -  cat >>confdefs.h <<EOF
5705 +  cat >>confdefs.h <<_ACEOF
5706  #define HAVE_LIBXNET 1
5707 -EOF
5708 +_ACEOF
5709  
5710    LIBS="-lxnet $LIBS"
5711  
5712  else
5713 -  { { echo "$as_me:3664: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5714 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5715  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5716     { (exit 1); exit 1; }; }
5717  fi
5718 @@ -3674,37 +4295,37 @@
5719         fi
5720         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5721         IPADDR_IN_DISPLAY=yes
5722 -       cat >>confdefs.h <<\EOF
5723 +       cat >>confdefs.h <<\_ACEOF
5724  #define USE_PIPES 1
5725 -EOF
5726 +_ACEOF
5727  
5728 -       cat >>confdefs.h <<\EOF
5729 +       cat >>confdefs.h <<\_ACEOF
5730  #define LOGIN_NO_ENDOPT 1
5731 -EOF
5732 +_ACEOF
5733  
5734 -       cat >>confdefs.h <<\EOF
5735 +       cat >>confdefs.h <<\_ACEOF
5736  #define LOGIN_NEEDS_UTMPX 1
5737 -EOF
5738 +_ACEOF
5739  
5740 -       cat >>confdefs.h <<\EOF
5741 +       cat >>confdefs.h <<\_ACEOF
5742  #define DISABLE_SHADOW 1
5743 -EOF
5744 +_ACEOF
5745  
5746 -       cat >>confdefs.h <<\EOF
5747 +       cat >>confdefs.h <<\_ACEOF
5748  #define DISABLE_UTMP 1
5749 -EOF
5750 +_ACEOF
5751  
5752 -       cat >>confdefs.h <<\EOF
5753 +       cat >>confdefs.h <<\_ACEOF
5754  #define LOCKED_PASSWD_STRING "*"
5755 -EOF
5756 +_ACEOF
5757  
5758 -       cat >>confdefs.h <<\EOF
5759 +       cat >>confdefs.h <<\_ACEOF
5760  #define SPT_TYPE SPT_PSTAT
5761 -EOF
5762 +_ACEOF
5763  
5764         LIBS="$LIBS -lsec"
5765  
5766 -echo "$as_me:3707: checking for t_error in -lxnet" >&5
5767 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5768  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5769  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5770    echo $ECHO_N "(cached) $ECHO_C" >&6
5771 @@ -3712,8 +4333,12 @@
5772    ac_check_lib_save_LIBS=$LIBS
5773  LIBS="-lxnet  $LIBS"
5774  cat >conftest.$ac_ext <<_ACEOF
5775 -#line 3715 "configure"
5776 -#include "confdefs.h"
5777 +#line $LINENO "configure"
5778 +/* confdefs.h.  */
5779 +_ACEOF
5780 +cat confdefs.h >>conftest.$ac_ext
5781 +cat >>conftest.$ac_ext <<_ACEOF
5782 +/* end confdefs.h.  */
5783  
5784  /* Override any gcc2 internal prototype to avoid an error.  */
5785  #ifdef __cplusplus
5786 @@ -3731,37 +4356,38 @@
5787  }
5788  _ACEOF
5789  rm -f conftest.$ac_objext conftest$ac_exeext
5790 -if { (eval echo "$as_me:3734: \"$ac_link\"") >&5
5791 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5792    (eval $ac_link) 2>&5
5793    ac_status=$?
5794 -  echo "$as_me:3737: \$? = $ac_status" >&5
5795 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796    (exit $ac_status); } &&
5797           { ac_try='test -s conftest$ac_exeext'
5798 -  { (eval echo "$as_me:3740: \"$ac_try\"") >&5
5799 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800    (eval $ac_try) 2>&5
5801    ac_status=$?
5802 -  echo "$as_me:3743: \$? = $ac_status" >&5
5803 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804    (exit $ac_status); }; }; then
5805    ac_cv_lib_xnet_t_error=yes
5806  else
5807    echo "$as_me: failed program was:" >&5
5808 -cat conftest.$ac_ext >&5
5809 +sed 's/^/| /' conftest.$ac_ext >&5
5810 +
5811  ac_cv_lib_xnet_t_error=no
5812  fi
5813  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5814  LIBS=$ac_check_lib_save_LIBS
5815  fi
5816 -echo "$as_me:3754: result: $ac_cv_lib_xnet_t_error" >&5
5817 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5818  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5819  if test $ac_cv_lib_xnet_t_error = yes; then
5820 -  cat >>confdefs.h <<EOF
5821 +  cat >>confdefs.h <<_ACEOF
5822  #define HAVE_LIBXNET 1
5823 -EOF
5824 +_ACEOF
5825  
5826    LIBS="-lxnet $LIBS"
5827  
5828  else
5829 -  { { echo "$as_me:3764: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5830 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5831  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5832     { (exit 1); exit 1; }; }
5833  fi
5834 @@ -3770,41 +4396,41 @@
5835  *-*-hpux11*)
5836         CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
5837         IPADDR_IN_DISPLAY=yes
5838 -       cat >>confdefs.h <<\EOF
5839 +       cat >>confdefs.h <<\_ACEOF
5840  #define PAM_SUN_CODEBASE 1
5841 -EOF
5842 +_ACEOF
5843  
5844 -       cat >>confdefs.h <<\EOF
5845 +       cat >>confdefs.h <<\_ACEOF
5846  #define USE_PIPES 1
5847 -EOF
5848 +_ACEOF
5849  
5850 -       cat >>confdefs.h <<\EOF
5851 +       cat >>confdefs.h <<\_ACEOF
5852  #define LOGIN_NO_ENDOPT 1
5853 -EOF
5854 +_ACEOF
5855  
5856 -       cat >>confdefs.h <<\EOF
5857 +       cat >>confdefs.h <<\_ACEOF
5858  #define LOGIN_NEEDS_UTMPX 1
5859 -EOF
5860 +_ACEOF
5861  
5862 -       cat >>confdefs.h <<\EOF
5863 +       cat >>confdefs.h <<\_ACEOF
5864  #define DISABLE_SHADOW 1
5865 -EOF
5866 +_ACEOF
5867  
5868 -       cat >>confdefs.h <<\EOF
5869 +       cat >>confdefs.h <<\_ACEOF
5870  #define DISABLE_UTMP 1
5871 -EOF
5872 +_ACEOF
5873  
5874 -       cat >>confdefs.h <<\EOF
5875 +       cat >>confdefs.h <<\_ACEOF
5876  #define LOCKED_PASSWD_STRING "*"
5877 -EOF
5878 +_ACEOF
5879  
5880 -       cat >>confdefs.h <<\EOF
5881 +       cat >>confdefs.h <<\_ACEOF
5882  #define SPT_TYPE SPT_PSTAT
5883 -EOF
5884 +_ACEOF
5885  
5886         LIBS="$LIBS -lsec"
5887  
5888 -echo "$as_me:3807: checking for t_error in -lxnet" >&5
5889 +echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
5890  echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
5891  if test "${ac_cv_lib_xnet_t_error+set}" = set; then
5892    echo $ECHO_N "(cached) $ECHO_C" >&6
5893 @@ -3812,8 +4438,12 @@
5894    ac_check_lib_save_LIBS=$LIBS
5895  LIBS="-lxnet  $LIBS"
5896  cat >conftest.$ac_ext <<_ACEOF
5897 -#line 3815 "configure"
5898 -#include "confdefs.h"
5899 +#line $LINENO "configure"
5900 +/* confdefs.h.  */
5901 +_ACEOF
5902 +cat confdefs.h >>conftest.$ac_ext
5903 +cat >>conftest.$ac_ext <<_ACEOF
5904 +/* end confdefs.h.  */
5905  
5906  /* Override any gcc2 internal prototype to avoid an error.  */
5907  #ifdef __cplusplus
5908 @@ -3831,37 +4461,38 @@
5909  }
5910  _ACEOF
5911  rm -f conftest.$ac_objext conftest$ac_exeext
5912 -if { (eval echo "$as_me:3834: \"$ac_link\"") >&5
5913 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5914    (eval $ac_link) 2>&5
5915    ac_status=$?
5916 -  echo "$as_me:3837: \$? = $ac_status" >&5
5917 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918    (exit $ac_status); } &&
5919           { ac_try='test -s conftest$ac_exeext'
5920 -  { (eval echo "$as_me:3840: \"$ac_try\"") >&5
5921 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922    (eval $ac_try) 2>&5
5923    ac_status=$?
5924 -  echo "$as_me:3843: \$? = $ac_status" >&5
5925 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926    (exit $ac_status); }; }; then
5927    ac_cv_lib_xnet_t_error=yes
5928  else
5929    echo "$as_me: failed program was:" >&5
5930 -cat conftest.$ac_ext >&5
5931 +sed 's/^/| /' conftest.$ac_ext >&5
5932 +
5933  ac_cv_lib_xnet_t_error=no
5934  fi
5935  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5936  LIBS=$ac_check_lib_save_LIBS
5937  fi
5938 -echo "$as_me:3854: result: $ac_cv_lib_xnet_t_error" >&5
5939 +echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
5940  echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
5941  if test $ac_cv_lib_xnet_t_error = yes; then
5942 -  cat >>confdefs.h <<EOF
5943 +  cat >>confdefs.h <<_ACEOF
5944  #define HAVE_LIBXNET 1
5945 -EOF
5946 +_ACEOF
5947  
5948    LIBS="-lxnet $LIBS"
5949  
5950  else
5951 -  { { echo "$as_me:3864: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5952 +  { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
5953  echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
5954     { (exit 1); exit 1; }; }
5955  fi
5956 @@ -3871,159 +4502,173 @@
5957         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5958         LDFLAGS="$LDFLAGS"
5959         PATH="$PATH:/usr/etc"
5960 -       cat >>confdefs.h <<\EOF
5961 +       cat >>confdefs.h <<\_ACEOF
5962  #define BROKEN_INET_NTOA 1
5963 -EOF
5964 +_ACEOF
5965  
5966 -       cat >>confdefs.h <<\EOF
5967 +       cat >>confdefs.h <<\_ACEOF
5968  #define WITH_ABBREV_NO_TTY 1
5969 -EOF
5970 +_ACEOF
5971  
5972 -       cat >>confdefs.h <<\EOF
5973 +       cat >>confdefs.h <<\_ACEOF
5974  #define LOCKED_PASSWD_STRING "*LK*"
5975 -EOF
5976 +_ACEOF
5977  
5978         ;;
5979  *-*-irix6*)
5980         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5981         LDFLAGS="$LDFLAGS"
5982         PATH="$PATH:/usr/etc"
5983 -       cat >>confdefs.h <<\EOF
5984 +       cat >>confdefs.h <<\_ACEOF
5985  #define WITH_IRIX_ARRAY 1
5986 -EOF
5987 +_ACEOF
5988  
5989 -       cat >>confdefs.h <<\EOF
5990 +       cat >>confdefs.h <<\_ACEOF
5991  #define WITH_IRIX_PROJECT 1
5992 -EOF
5993 +_ACEOF
5994  
5995 -       cat >>confdefs.h <<\EOF
5996 +       cat >>confdefs.h <<\_ACEOF
5997  #define WITH_IRIX_AUDIT 1
5998 -EOF
5999 +_ACEOF
6000  
6001 -       echo "$as_me:3903: checking for jlimit_startjob" >&5
6002 +       echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
6003  echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
6004  if test "${ac_cv_func_jlimit_startjob+set}" = set; then
6005    echo $ECHO_N "(cached) $ECHO_C" >&6
6006  else
6007    cat >conftest.$ac_ext <<_ACEOF
6008 -#line 3909 "configure"
6009 -#include "confdefs.h"
6010 +#line $LINENO "configure"
6011 +/* confdefs.h.  */
6012 +_ACEOF
6013 +cat confdefs.h >>conftest.$ac_ext
6014 +cat >>conftest.$ac_ext <<_ACEOF
6015 +/* end confdefs.h.  */
6016  /* System header to define __stub macros and hopefully few prototypes,
6017 -    which can conflict with char jlimit_startjob (); below.  */
6018 -#include <assert.h>
6019 +    which can conflict with char jlimit_startjob (); below.
6020 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6021 +    <limits.h> exists even on freestanding compilers.  */
6022 +#ifdef __STDC__
6023 +# include <limits.h>
6024 +#else
6025 +# include <assert.h>
6026 +#endif
6027  /* Override any gcc2 internal prototype to avoid an error.  */
6028  #ifdef __cplusplus
6029  extern "C"
6030 +{
6031  #endif
6032  /* We use char because int might match the return type of a gcc2
6033     builtin and then its argument prototype would still apply.  */
6034  char jlimit_startjob ();
6035 -char (*f) ();
6036 -
6037 -int
6038 -main ()
6039 -{
6040  /* The GNU C library defines this for functions which it implements
6041      to always fail with ENOSYS.  Some functions are actually named
6042      something starting with __ and the normal name is an alias.  */
6043  #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
6044  choke me
6045  #else
6046 -f = jlimit_startjob;
6047 +char (*f) () = jlimit_startjob;
6048 +#endif
6049 +#ifdef __cplusplus
6050 +}
6051  #endif
6052  
6053 +int
6054 +main ()
6055 +{
6056 +return f != jlimit_startjob;
6057    ;
6058    return 0;
6059  }
6060  _ACEOF
6061  rm -f conftest.$ac_objext conftest$ac_exeext
6062 -if { (eval echo "$as_me:3940: \"$ac_link\"") >&5
6063 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064    (eval $ac_link) 2>&5
6065    ac_status=$?
6066 -  echo "$as_me:3943: \$? = $ac_status" >&5
6067 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068    (exit $ac_status); } &&
6069           { ac_try='test -s conftest$ac_exeext'
6070 -  { (eval echo "$as_me:3946: \"$ac_try\"") >&5
6071 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6072    (eval $ac_try) 2>&5
6073    ac_status=$?
6074 -  echo "$as_me:3949: \$? = $ac_status" >&5
6075 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076    (exit $ac_status); }; }; then
6077    ac_cv_func_jlimit_startjob=yes
6078  else
6079    echo "$as_me: failed program was:" >&5
6080 -cat conftest.$ac_ext >&5
6081 +sed 's/^/| /' conftest.$ac_ext >&5
6082 +
6083  ac_cv_func_jlimit_startjob=no
6084  fi
6085  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6086  fi
6087 -echo "$as_me:3959: result: $ac_cv_func_jlimit_startjob" >&5
6088 +echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
6089  echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
6090  if test $ac_cv_func_jlimit_startjob = yes; then
6091 -  cat >>confdefs.h <<\EOF
6092 +  cat >>confdefs.h <<\_ACEOF
6093  #define WITH_IRIX_JOBS 1
6094 -EOF
6095 +_ACEOF
6096  
6097  fi
6098  
6099 -       cat >>confdefs.h <<\EOF
6100 +       cat >>confdefs.h <<\_ACEOF
6101  #define BROKEN_INET_NTOA 1
6102 -EOF
6103 +_ACEOF
6104  
6105 -       cat >>confdefs.h <<\EOF
6106 +       cat >>confdefs.h <<\_ACEOF
6107  #define SETEUID_BREAKS_SETUID 1
6108 -EOF
6109 +_ACEOF
6110  
6111 -       cat >>confdefs.h <<\EOF
6112 +       cat >>confdefs.h <<\_ACEOF
6113  #define BROKEN_SETREUID 1
6114 -EOF
6115 +_ACEOF
6116  
6117 -       cat >>confdefs.h <<\EOF
6118 +       cat >>confdefs.h <<\_ACEOF
6119  #define BROKEN_SETREGID 1
6120 -EOF
6121 +_ACEOF
6122  
6123 -       cat >>confdefs.h <<\EOF
6124 +       cat >>confdefs.h <<\_ACEOF
6125  #define WITH_ABBREV_NO_TTY 1
6126 -EOF
6127 +_ACEOF
6128  
6129 -       cat >>confdefs.h <<\EOF
6130 +       cat >>confdefs.h <<\_ACEOF
6131  #define LOCKED_PASSWD_STRING "*LK*"
6132 -EOF
6133 +_ACEOF
6134  
6135         ;;
6136  *-*-linux*)
6137         no_dev_ptmx=1
6138         check_for_libcrypt_later=1
6139         check_for_openpty_ctty_bug=1
6140 -       cat >>confdefs.h <<\EOF
6141 +       cat >>confdefs.h <<\_ACEOF
6142  #define DONT_TRY_OTHER_AF 1
6143 -EOF
6144 +_ACEOF
6145  
6146 -       cat >>confdefs.h <<\EOF
6147 +       cat >>confdefs.h <<\_ACEOF
6148  #define PAM_TTY_KLUDGE 1
6149 -EOF
6150 +_ACEOF
6151  
6152 -       cat >>confdefs.h <<\EOF
6153 +       cat >>confdefs.h <<\_ACEOF
6154  #define LOCKED_PASSWD_PREFIX "!!"
6155 -EOF
6156 +_ACEOF
6157  
6158 -       cat >>confdefs.h <<\EOF
6159 +       cat >>confdefs.h <<\_ACEOF
6160  #define SPT_TYPE SPT_REUSEARGV
6161 -EOF
6162 +_ACEOF
6163  
6164         inet6_default_4in6=yes
6165         case `uname -r` in
6166         1.*|2.0.*)
6167 -               cat >>confdefs.h <<\EOF
6168 +               cat >>confdefs.h <<\_ACEOF
6169  #define BROKEN_CMSG_TYPE 1
6170 -EOF
6171 +_ACEOF
6172  
6173                 ;;
6174         esac
6175         ;;
6176  mips-sony-bsd|mips-sony-newsos4)
6177 -       cat >>confdefs.h <<\EOF
6178 +       cat >>confdefs.h <<\_ACEOF
6179  #define HAVE_NEWS4 1
6180 -EOF
6181 +_ACEOF
6182  
6183         SONY=1
6184         ;;
6185 @@ -4035,17 +4680,17 @@
6186         check_for_libcrypt_later=1
6187         ;;
6188  *-*-bsdi*)
6189 -       cat >>confdefs.h <<\EOF
6190 +       cat >>confdefs.h <<\_ACEOF
6191  #define SETEUID_BREAKS_SETUID 1
6192 -EOF
6193 +_ACEOF
6194  
6195 -       cat >>confdefs.h <<\EOF
6196 +       cat >>confdefs.h <<\_ACEOF
6197  #define BROKEN_SETREUID 1
6198 -EOF
6199 +_ACEOF
6200  
6201 -       cat >>confdefs.h <<\EOF
6202 +       cat >>confdefs.h <<\_ACEOF
6203  #define BROKEN_SETREGID 1
6204 -EOF
6205 +_ACEOF
6206  
6207         ;;
6208  *-next-*)
6209 @@ -4053,21 +4698,21 @@
6210         conf_utmp_location=/etc/utmp
6211         conf_wtmp_location=/usr/adm/wtmp
6212         MAIL=/usr/spool/mail
6213 -       cat >>confdefs.h <<\EOF
6214 +       cat >>confdefs.h <<\_ACEOF
6215  #define HAVE_NEXT 1
6216 -EOF
6217 +_ACEOF
6218  
6219 -       cat >>confdefs.h <<\EOF
6220 +       cat >>confdefs.h <<\_ACEOF
6221  #define BROKEN_REALPATH 1
6222 -EOF
6223 +_ACEOF
6224  
6225 -       cat >>confdefs.h <<\EOF
6226 +       cat >>confdefs.h <<\_ACEOF
6227  #define USE_PIPES 1
6228 -EOF
6229 +_ACEOF
6230  
6231 -       cat >>confdefs.h <<\EOF
6232 +       cat >>confdefs.h <<\_ACEOF
6233  #define BROKEN_SAVED_UIDS 1
6234 -EOF
6235 +_ACEOF
6236  
6237         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6238         CFLAGS="$CFLAGS"
6239 @@ -4076,50 +4721,50 @@
6240         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6241         LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
6242         need_dash_r=1
6243 -       cat >>confdefs.h <<\EOF
6244 +       cat >>confdefs.h <<\_ACEOF
6245  #define PAM_SUN_CODEBASE 1
6246 -EOF
6247 +_ACEOF
6248  
6249 -       cat >>confdefs.h <<\EOF
6250 +       cat >>confdefs.h <<\_ACEOF
6251  #define LOGIN_NEEDS_UTMPX 1
6252 -EOF
6253 +_ACEOF
6254  
6255 -       cat >>confdefs.h <<\EOF
6256 +       cat >>confdefs.h <<\_ACEOF
6257  #define LOGIN_NEEDS_TERM 1
6258 -EOF
6259 +_ACEOF
6260  
6261 -       cat >>confdefs.h <<\EOF
6262 +       cat >>confdefs.h <<\_ACEOF
6263  #define PAM_TTY_KLUDGE 1
6264 -EOF
6265 +_ACEOF
6266  
6267 -       cat >>confdefs.h <<\EOF
6268 +       cat >>confdefs.h <<\_ACEOF
6269  #define LOCKED_PASSWD_STRING "*LK*"
6270 -EOF
6271 +_ACEOF
6272  
6273         # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
6274 -       cat >>confdefs.h <<\EOF
6275 +       cat >>confdefs.h <<\_ACEOF
6276  #define SSHD_ACQUIRES_CTTY 1
6277 -EOF
6278 +_ACEOF
6279  
6280         external_path_file=/etc/default/login
6281         # hardwire lastlog location (can't detect it on some versions)
6282         conf_lastlog_location="/var/adm/lastlog"
6283 -       echo "$as_me:4107: checking for obsolete utmp and wtmp in solaris2.x" >&5
6284 +       echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
6285  echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
6286         sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
6287         if test "$sol2ver" -ge 8; then
6288 -               echo "$as_me:4111: result: yes" >&5
6289 +               echo "$as_me:$LINENO: result: yes" >&5
6290  echo "${ECHO_T}yes" >&6
6291 -               cat >>confdefs.h <<\EOF
6292 +               cat >>confdefs.h <<\_ACEOF
6293  #define DISABLE_UTMP 1
6294 -EOF
6295 +_ACEOF
6296  
6297 -               cat >>confdefs.h <<\EOF
6298 +               cat >>confdefs.h <<\_ACEOF
6299  #define DISABLE_WTMP 1
6300 -EOF
6301 +_ACEOF
6302  
6303         else
6304 -               echo "$as_me:4122: result: no" >&5
6305 +               echo "$as_me:$LINENO: result: no" >&5
6306  echo "${ECHO_T}no" >&6
6307         fi
6308         ;;
6309 @@ -4129,107 +4774,121 @@
6310  for ac_func in getpwanam
6311  do
6312  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6313 -echo "$as_me:4132: checking for $ac_func" >&5
6314 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6315  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6316  if eval "test \"\${$as_ac_var+set}\" = set"; then
6317    echo $ECHO_N "(cached) $ECHO_C" >&6
6318  else
6319    cat >conftest.$ac_ext <<_ACEOF
6320 -#line 4138 "configure"
6321 -#include "confdefs.h"
6322 +#line $LINENO "configure"
6323 +/* confdefs.h.  */
6324 +_ACEOF
6325 +cat confdefs.h >>conftest.$ac_ext
6326 +cat >>conftest.$ac_ext <<_ACEOF
6327 +/* end confdefs.h.  */
6328  /* System header to define __stub macros and hopefully few prototypes,
6329 -    which can conflict with char $ac_func (); below.  */
6330 -#include <assert.h>
6331 +    which can conflict with char $ac_func (); below.
6332 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6333 +    <limits.h> exists even on freestanding compilers.  */
6334 +#ifdef __STDC__
6335 +# include <limits.h>
6336 +#else
6337 +# include <assert.h>
6338 +#endif
6339  /* Override any gcc2 internal prototype to avoid an error.  */
6340  #ifdef __cplusplus
6341  extern "C"
6342 +{
6343  #endif
6344  /* We use char because int might match the return type of a gcc2
6345     builtin and then its argument prototype would still apply.  */
6346  char $ac_func ();
6347 -char (*f) ();
6348 -
6349 -int
6350 -main ()
6351 -{
6352  /* The GNU C library defines this for functions which it implements
6353      to always fail with ENOSYS.  Some functions are actually named
6354      something starting with __ and the normal name is an alias.  */
6355  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6356  choke me
6357  #else
6358 -f = $ac_func;
6359 +char (*f) () = $ac_func;
6360 +#endif
6361 +#ifdef __cplusplus
6362 +}
6363  #endif
6364  
6365 +int
6366 +main ()
6367 +{
6368 +return f != $ac_func;
6369    ;
6370    return 0;
6371  }
6372  _ACEOF
6373  rm -f conftest.$ac_objext conftest$ac_exeext
6374 -if { (eval echo "$as_me:4169: \"$ac_link\"") >&5
6375 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6376    (eval $ac_link) 2>&5
6377    ac_status=$?
6378 -  echo "$as_me:4172: \$? = $ac_status" >&5
6379 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380    (exit $ac_status); } &&
6381           { ac_try='test -s conftest$ac_exeext'
6382 -  { (eval echo "$as_me:4175: \"$ac_try\"") >&5
6383 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6384    (eval $ac_try) 2>&5
6385    ac_status=$?
6386 -  echo "$as_me:4178: \$? = $ac_status" >&5
6387 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388    (exit $ac_status); }; }; then
6389    eval "$as_ac_var=yes"
6390  else
6391    echo "$as_me: failed program was:" >&5
6392 -cat conftest.$ac_ext >&5
6393 +sed 's/^/| /' conftest.$ac_ext >&5
6394 +
6395  eval "$as_ac_var=no"
6396  fi
6397  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6398  fi
6399 -echo "$as_me:4188: result: `eval echo '${'$as_ac_var'}'`" >&5
6400 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6401  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6402  if test `eval echo '${'$as_ac_var'}'` = yes; then
6403 -  cat >>confdefs.h <<EOF
6404 +  cat >>confdefs.h <<_ACEOF
6405  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6406 -EOF
6407 +_ACEOF
6408  
6409  fi
6410  done
6411  
6412 -       cat >>confdefs.h <<\EOF
6413 +       cat >>confdefs.h <<\_ACEOF
6414  #define PAM_SUN_CODEBASE 1
6415 -EOF
6416 +_ACEOF
6417  
6418         conf_utmp_location=/etc/utmp
6419         conf_wtmp_location=/var/adm/wtmp
6420         conf_lastlog_location=/var/adm/lastlog
6421 -       cat >>confdefs.h <<\EOF
6422 +       cat >>confdefs.h <<\_ACEOF
6423  #define USE_PIPES 1
6424 -EOF
6425 +_ACEOF
6426  
6427         ;;
6428  *-ncr-sysv*)
6429         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6430         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6431         LIBS="$LIBS -lc89"
6432 -       cat >>confdefs.h <<\EOF
6433 +       cat >>confdefs.h <<\_ACEOF
6434  #define USE_PIPES 1
6435 -EOF
6436 +_ACEOF
6437  
6438 -       cat >>confdefs.h <<\EOF
6439 +       cat >>confdefs.h <<\_ACEOF
6440  #define SSHD_ACQUIRES_CTTY 1
6441 -EOF
6442 +_ACEOF
6443  
6444 -       cat >>confdefs.h <<\EOF
6445 +       cat >>confdefs.h <<\_ACEOF
6446  #define SETEUID_BREAKS_SETUID 1
6447 -EOF
6448 +_ACEOF
6449  
6450 -       cat >>confdefs.h <<\EOF
6451 +       cat >>confdefs.h <<\_ACEOF
6452  #define BROKEN_SETREUID 1
6453 -EOF
6454 +_ACEOF
6455  
6456 -       cat >>confdefs.h <<\EOF
6457 +       cat >>confdefs.h <<\_ACEOF
6458  #define BROKEN_SETREGID 1
6459 -EOF
6460 +_ACEOF
6461  
6462         ;;
6463  *-sni-sysv*)
6464 @@ -4237,17 +4896,17 @@
6465         # /usr/ucblib MUST NOT be searched on ReliantUNIX
6466         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6467         IPADDR_IN_DISPLAY=yes
6468 -       cat >>confdefs.h <<\EOF
6469 +       cat >>confdefs.h <<\_ACEOF
6470  #define USE_PIPES 1
6471 -EOF
6472 +_ACEOF
6473  
6474 -       cat >>confdefs.h <<\EOF
6475 +       cat >>confdefs.h <<\_ACEOF
6476  #define IP_TOS_IS_BROKEN 1
6477 -EOF
6478 +_ACEOF
6479  
6480 -       cat >>confdefs.h <<\EOF
6481 +       cat >>confdefs.h <<\_ACEOF
6482  #define SSHD_ACQUIRES_CTTY 1
6483 -EOF
6484 +_ACEOF
6485  
6486         external_path_file=/etc/default/login
6487         # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
6488 @@ -4257,41 +4916,41 @@
6489  *-*-sysv4.2*)
6490         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6491         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6492 -       cat >>confdefs.h <<\EOF
6493 +       cat >>confdefs.h <<\_ACEOF
6494  #define USE_PIPES 1
6495 -EOF
6496 +_ACEOF
6497  
6498 -       cat >>confdefs.h <<\EOF
6499 +       cat >>confdefs.h <<\_ACEOF
6500  #define SETEUID_BREAKS_SETUID 1
6501 -EOF
6502 +_ACEOF
6503  
6504 -       cat >>confdefs.h <<\EOF
6505 +       cat >>confdefs.h <<\_ACEOF
6506  #define BROKEN_SETREUID 1
6507 -EOF
6508 +_ACEOF
6509  
6510 -       cat >>confdefs.h <<\EOF
6511 +       cat >>confdefs.h <<\_ACEOF
6512  #define BROKEN_SETREGID 1
6513 -EOF
6514 +_ACEOF
6515  
6516         ;;
6517  *-*-sysv5*)
6518         CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6519         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6520 -       cat >>confdefs.h <<\EOF
6521 +       cat >>confdefs.h <<\_ACEOF
6522  #define USE_PIPES 1
6523 -EOF
6524 +_ACEOF
6525  
6526 -       cat >>confdefs.h <<\EOF
6527 +       cat >>confdefs.h <<\_ACEOF
6528  #define SETEUID_BREAKS_SETUID 1
6529 -EOF
6530 +_ACEOF
6531  
6532 -       cat >>confdefs.h <<\EOF
6533 +       cat >>confdefs.h <<\_ACEOF
6534  #define BROKEN_SETREUID 1
6535 -EOF
6536 +_ACEOF
6537  
6538 -       cat >>confdefs.h <<\EOF
6539 +       cat >>confdefs.h <<\_ACEOF
6540  #define BROKEN_SETREGID 1
6541 -EOF
6542 +_ACEOF
6543  
6544         ;;
6545  *-*-sysv*)
6546 @@ -4304,95 +4963,111 @@
6547         LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
6548         RANLIB=true
6549         no_dev_ptmx=1
6550 -       cat >>confdefs.h <<\EOF
6551 +       cat >>confdefs.h <<\_ACEOF
6552  #define BROKEN_SYS_TERMIO_H 1
6553 -EOF
6554 +_ACEOF
6555  
6556 -       cat >>confdefs.h <<\EOF
6557 +       cat >>confdefs.h <<\_ACEOF
6558  #define USE_PIPES 1
6559 -EOF
6560 +_ACEOF
6561  
6562 -       cat >>confdefs.h <<\EOF
6563 +       cat >>confdefs.h <<\_ACEOF
6564  #define HAVE_SECUREWARE 1
6565 -EOF
6566 +_ACEOF
6567  
6568 -       cat >>confdefs.h <<\EOF
6569 +       cat >>confdefs.h <<\_ACEOF
6570  #define DISABLE_SHADOW 1
6571 -EOF
6572 +_ACEOF
6573  
6574 -       cat >>confdefs.h <<\EOF
6575 +       cat >>confdefs.h <<\_ACEOF
6576  #define BROKEN_SAVED_UIDS 1
6577 -EOF
6578 +_ACEOF
6579  
6580 -       cat >>confdefs.h <<\EOF
6581 +       cat >>confdefs.h <<\_ACEOF
6582  #define WITH_ABBREV_NO_TTY 1
6583 -EOF
6584 +_ACEOF
6585 +
6586 +
6587  
6588  for ac_func in getluid setluid
6589  do
6590  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6591 -echo "$as_me:4334: checking for $ac_func" >&5
6592 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6593  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6594  if eval "test \"\${$as_ac_var+set}\" = set"; then
6595    echo $ECHO_N "(cached) $ECHO_C" >&6
6596  else
6597    cat >conftest.$ac_ext <<_ACEOF
6598 -#line 4340 "configure"
6599 -#include "confdefs.h"
6600 +#line $LINENO "configure"
6601 +/* confdefs.h.  */
6602 +_ACEOF
6603 +cat confdefs.h >>conftest.$ac_ext
6604 +cat >>conftest.$ac_ext <<_ACEOF
6605 +/* end confdefs.h.  */
6606  /* System header to define __stub macros and hopefully few prototypes,
6607 -    which can conflict with char $ac_func (); below.  */
6608 -#include <assert.h>
6609 +    which can conflict with char $ac_func (); below.
6610 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611 +    <limits.h> exists even on freestanding compilers.  */
6612 +#ifdef __STDC__
6613 +# include <limits.h>
6614 +#else
6615 +# include <assert.h>
6616 +#endif
6617  /* Override any gcc2 internal prototype to avoid an error.  */
6618  #ifdef __cplusplus
6619  extern "C"
6620 +{
6621  #endif
6622  /* We use char because int might match the return type of a gcc2
6623     builtin and then its argument prototype would still apply.  */
6624  char $ac_func ();
6625 -char (*f) ();
6626 -
6627 -int
6628 -main ()
6629 -{
6630  /* The GNU C library defines this for functions which it implements
6631      to always fail with ENOSYS.  Some functions are actually named
6632      something starting with __ and the normal name is an alias.  */
6633  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6634  choke me
6635  #else
6636 -f = $ac_func;
6637 +char (*f) () = $ac_func;
6638 +#endif
6639 +#ifdef __cplusplus
6640 +}
6641  #endif
6642  
6643 +int
6644 +main ()
6645 +{
6646 +return f != $ac_func;
6647    ;
6648    return 0;
6649  }
6650  _ACEOF
6651  rm -f conftest.$ac_objext conftest$ac_exeext
6652 -if { (eval echo "$as_me:4371: \"$ac_link\"") >&5
6653 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6654    (eval $ac_link) 2>&5
6655    ac_status=$?
6656 -  echo "$as_me:4374: \$? = $ac_status" >&5
6657 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658    (exit $ac_status); } &&
6659           { ac_try='test -s conftest$ac_exeext'
6660 -  { (eval echo "$as_me:4377: \"$ac_try\"") >&5
6661 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662    (eval $ac_try) 2>&5
6663    ac_status=$?
6664 -  echo "$as_me:4380: \$? = $ac_status" >&5
6665 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666    (exit $ac_status); }; }; then
6667    eval "$as_ac_var=yes"
6668  else
6669    echo "$as_me: failed program was:" >&5
6670 -cat conftest.$ac_ext >&5
6671 +sed 's/^/| /' conftest.$ac_ext >&5
6672 +
6673  eval "$as_ac_var=no"
6674  fi
6675  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6676  fi
6677 -echo "$as_me:4390: result: `eval echo '${'$as_ac_var'}'`" >&5
6678 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6679  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6680  if test `eval echo '${'$as_ac_var'}'` = yes; then
6681 -  cat >>confdefs.h <<EOF
6682 +  cat >>confdefs.h <<_ACEOF
6683  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6684 -EOF
6685 +_ACEOF
6686  
6687  fi
6688  done
6689 @@ -4408,103 +5083,119 @@
6690         LDFLAGS="$LDFLAGS -L/usr/local/lib"
6691         LIBS="$LIBS -lprot -lx -ltinfo -lm"
6692         no_dev_ptmx=1
6693 -       cat >>confdefs.h <<\EOF
6694 +       cat >>confdefs.h <<\_ACEOF
6695  #define USE_PIPES 1
6696 -EOF
6697 +_ACEOF
6698  
6699 -       cat >>confdefs.h <<\EOF
6700 +       cat >>confdefs.h <<\_ACEOF
6701  #define HAVE_SECUREWARE 1
6702 -EOF
6703 +_ACEOF
6704  
6705 -       cat >>confdefs.h <<\EOF
6706 +       cat >>confdefs.h <<\_ACEOF
6707  #define DISABLE_SHADOW 1
6708 -EOF
6709 +_ACEOF
6710  
6711 -       cat >>confdefs.h <<\EOF
6712 +       cat >>confdefs.h <<\_ACEOF
6713  #define DISABLE_FD_PASSING 1
6714 -EOF
6715 +_ACEOF
6716  
6717 -       cat >>confdefs.h <<\EOF
6718 +       cat >>confdefs.h <<\_ACEOF
6719  #define SETEUID_BREAKS_SETUID 1
6720 -EOF
6721 +_ACEOF
6722  
6723 -       cat >>confdefs.h <<\EOF
6724 +       cat >>confdefs.h <<\_ACEOF
6725  #define BROKEN_SETREUID 1
6726 -EOF
6727 +_ACEOF
6728  
6729 -       cat >>confdefs.h <<\EOF
6730 +       cat >>confdefs.h <<\_ACEOF
6731  #define BROKEN_SETREGID 1
6732 -EOF
6733 +_ACEOF
6734  
6735 -       cat >>confdefs.h <<\EOF
6736 +       cat >>confdefs.h <<\_ACEOF
6737  #define WITH_ABBREV_NO_TTY 1
6738 -EOF
6739 +_ACEOF
6740 +
6741 +
6742  
6743  for ac_func in getluid setluid
6744  do
6745  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6746 -echo "$as_me:4446: checking for $ac_func" >&5
6747 +echo "$as_me:$LINENO: checking for $ac_func" >&5
6748  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6749  if eval "test \"\${$as_ac_var+set}\" = set"; then
6750    echo $ECHO_N "(cached) $ECHO_C" >&6
6751  else
6752    cat >conftest.$ac_ext <<_ACEOF
6753 -#line 4452 "configure"
6754 -#include "confdefs.h"
6755 +#line $LINENO "configure"
6756 +/* confdefs.h.  */
6757 +_ACEOF
6758 +cat confdefs.h >>conftest.$ac_ext
6759 +cat >>conftest.$ac_ext <<_ACEOF
6760 +/* end confdefs.h.  */
6761  /* System header to define __stub macros and hopefully few prototypes,
6762 -    which can conflict with char $ac_func (); below.  */
6763 -#include <assert.h>
6764 +    which can conflict with char $ac_func (); below.
6765 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6766 +    <limits.h> exists even on freestanding compilers.  */
6767 +#ifdef __STDC__
6768 +# include <limits.h>
6769 +#else
6770 +# include <assert.h>
6771 +#endif
6772  /* Override any gcc2 internal prototype to avoid an error.  */
6773  #ifdef __cplusplus
6774  extern "C"
6775 +{
6776  #endif
6777  /* We use char because int might match the return type of a gcc2
6778     builtin and then its argument prototype would still apply.  */
6779  char $ac_func ();
6780 -char (*f) ();
6781 -
6782 -int
6783 -main ()
6784 -{
6785  /* The GNU C library defines this for functions which it implements
6786      to always fail with ENOSYS.  Some functions are actually named
6787      something starting with __ and the normal name is an alias.  */
6788  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6789  choke me
6790  #else
6791 -f = $ac_func;
6792 +char (*f) () = $ac_func;
6793 +#endif
6794 +#ifdef __cplusplus
6795 +}
6796  #endif
6797  
6798 +int
6799 +main ()
6800 +{
6801 +return f != $ac_func;
6802    ;
6803    return 0;
6804  }
6805  _ACEOF
6806  rm -f conftest.$ac_objext conftest$ac_exeext
6807 -if { (eval echo "$as_me:4483: \"$ac_link\"") >&5
6808 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6809    (eval $ac_link) 2>&5
6810    ac_status=$?
6811 -  echo "$as_me:4486: \$? = $ac_status" >&5
6812 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813    (exit $ac_status); } &&
6814           { ac_try='test -s conftest$ac_exeext'
6815 -  { (eval echo "$as_me:4489: \"$ac_try\"") >&5
6816 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817    (eval $ac_try) 2>&5
6818    ac_status=$?
6819 -  echo "$as_me:4492: \$? = $ac_status" >&5
6820 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821    (exit $ac_status); }; }; then
6822    eval "$as_ac_var=yes"
6823  else
6824    echo "$as_me: failed program was:" >&5
6825 -cat conftest.$ac_ext >&5
6826 +sed 's/^/| /' conftest.$ac_ext >&5
6827 +
6828  eval "$as_ac_var=no"
6829  fi
6830  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6831  fi
6832 -echo "$as_me:4502: result: `eval echo '${'$as_ac_var'}'`" >&5
6833 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6834  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6835  if test `eval echo '${'$as_ac_var'}'` = yes; then
6836 -  cat >>confdefs.h <<EOF
6837 +  cat >>confdefs.h <<_ACEOF
6838  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6839 -EOF
6840 +_ACEOF
6841  
6842  fi
6843  done
6844 @@ -4512,54 +5203,54 @@
6845         MANTYPE=man
6846         ;;
6847  *-*-unicosmk*)
6848 -       cat >>confdefs.h <<\EOF
6849 +       cat >>confdefs.h <<\_ACEOF
6850  #define USE_PIPES 1
6851 -EOF
6852 +_ACEOF
6853  
6854 -       cat >>confdefs.h <<\EOF
6855 +       cat >>confdefs.h <<\_ACEOF
6856  #define DISABLE_FD_PASSING 1
6857 -EOF
6858 +_ACEOF
6859  
6860         LDFLAGS="$LDFLAGS"
6861         LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
6862         MANTYPE=cat
6863         ;;
6864  *-*-unicosmp*)
6865 -       cat >>confdefs.h <<\EOF
6866 +       cat >>confdefs.h <<\_ACEOF
6867  #define WITH_ABBREV_NO_TTY 1
6868 -EOF
6869 +_ACEOF
6870  
6871 -       cat >>confdefs.h <<\EOF
6872 +       cat >>confdefs.h <<\_ACEOF
6873  #define USE_PIPES 1
6874 -EOF
6875 +_ACEOF
6876  
6877 -       cat >>confdefs.h <<\EOF
6878 +       cat >>confdefs.h <<\_ACEOF
6879  #define DISABLE_FD_PASSING 1
6880 -EOF
6881 +_ACEOF
6882  
6883         LDFLAGS="$LDFLAGS"
6884         LIBS="$LIBS -lgen -lacid"
6885         MANTYPE=cat
6886         ;;
6887  *-*-unicos*)
6888 -       cat >>confdefs.h <<\EOF
6889 +       cat >>confdefs.h <<\_ACEOF
6890  #define USE_PIPES 1
6891 -EOF
6892 +_ACEOF
6893  
6894 -       cat >>confdefs.h <<\EOF
6895 +       cat >>confdefs.h <<\_ACEOF
6896  #define DISABLE_FD_PASSING 1
6897 -EOF
6898 +_ACEOF
6899  
6900 -       cat >>confdefs.h <<\EOF
6901 +       cat >>confdefs.h <<\_ACEOF
6902  #define NO_SSH_LASTLOG 1
6903 -EOF
6904 +_ACEOF
6905  
6906         LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
6907         LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
6908         MANTYPE=cat
6909         ;;
6910  *-dec-osf*)
6911 -       echo "$as_me:4562: checking for Digital Unix SIA" >&5
6912 +       echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
6913  echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
6914         no_osfsia=""
6915  
6916 @@ -4568,7 +5259,7 @@
6917    withval="$with_osfsia"
6918  
6919                         if test "x$withval" = "xno" ; then
6920 -                               echo "$as_me:4571: result: disabled" >&5
6921 +                               echo "$as_me:$LINENO: result: disabled" >&5
6922  echo "${ECHO_T}disabled" >&6
6923                                 no_osfsia=1
6924                         fi
6925 @@ -4576,72 +5267,72 @@
6926  fi;
6927         if test -z "$no_osfsia" ; then
6928                 if test -f /etc/sia/matrix.conf; then
6929 -                       echo "$as_me:4579: result: yes" >&5
6930 +                       echo "$as_me:$LINENO: result: yes" >&5
6931  echo "${ECHO_T}yes" >&6
6932 -                       cat >>confdefs.h <<\EOF
6933 +                       cat >>confdefs.h <<\_ACEOF
6934  #define HAVE_OSF_SIA 1
6935 -EOF
6936 +_ACEOF
6937  
6938 -                       cat >>confdefs.h <<\EOF
6939 +                       cat >>confdefs.h <<\_ACEOF
6940  #define DISABLE_LOGIN 1
6941 -EOF
6942 +_ACEOF
6943  
6944 -                       cat >>confdefs.h <<\EOF
6945 +                       cat >>confdefs.h <<\_ACEOF
6946  #define DISABLE_FD_PASSING 1
6947 -EOF
6948 +_ACEOF
6949  
6950                         LIBS="$LIBS -lsecurity -ldb -lm -laud"
6951                 else
6952 -                       echo "$as_me:4595: result: no" >&5
6953 +                       echo "$as_me:$LINENO: result: no" >&5
6954  echo "${ECHO_T}no" >&6
6955                 fi
6956         fi
6957 -       cat >>confdefs.h <<\EOF
6958 +       cat >>confdefs.h <<\_ACEOF
6959  #define DISABLE_FD_PASSING 1
6960 -EOF
6961 +_ACEOF
6962  
6963 -       cat >>confdefs.h <<\EOF
6964 +       cat >>confdefs.h <<\_ACEOF
6965  #define BROKEN_GETADDRINFO 1
6966 -EOF
6967 +_ACEOF
6968  
6969 -       cat >>confdefs.h <<\EOF
6970 +       cat >>confdefs.h <<\_ACEOF
6971  #define SETEUID_BREAKS_SETUID 1
6972 -EOF
6973 +_ACEOF
6974  
6975 -       cat >>confdefs.h <<\EOF
6976 +       cat >>confdefs.h <<\_ACEOF
6977  #define BROKEN_SETREUID 1
6978 -EOF
6979 +_ACEOF
6980  
6981 -       cat >>confdefs.h <<\EOF
6982 +       cat >>confdefs.h <<\_ACEOF
6983  #define BROKEN_SETREGID 1
6984 -EOF
6985 +_ACEOF
6986  
6987 -       cat >>confdefs.h <<\EOF
6988 +       cat >>confdefs.h <<\_ACEOF
6989  #define LOCKED_PASSWD_SUBSTR "Nologin"
6990 -EOF
6991 +_ACEOF
6992  
6993         ;;
6994  
6995  *-*-nto-qnx)
6996 -       cat >>confdefs.h <<\EOF
6997 +       cat >>confdefs.h <<\_ACEOF
6998  #define USE_PIPES 1
6999 -EOF
7000 +_ACEOF
7001  
7002 -       cat >>confdefs.h <<\EOF
7003 +       cat >>confdefs.h <<\_ACEOF
7004  #define NO_X11_UNIX_SOCKETS 1
7005 -EOF
7006 +_ACEOF
7007  
7008 -       cat >>confdefs.h <<\EOF
7009 +       cat >>confdefs.h <<\_ACEOF
7010  #define MISSING_NFDBITS 1
7011 -EOF
7012 +_ACEOF
7013  
7014 -       cat >>confdefs.h <<\EOF
7015 +       cat >>confdefs.h <<\_ACEOF
7016  #define MISSING_HOWMANY 1
7017 -EOF
7018 +_ACEOF
7019  
7020 -       cat >>confdefs.h <<\EOF
7021 +       cat >>confdefs.h <<\_ACEOF
7022  #define MISSING_FD_MASK 1
7023 -EOF
7024 +_ACEOF
7025  
7026         ;;
7027  esac
7028 @@ -4656,6 +5347,7 @@
7029                         CFLAGS="$CFLAGS $withval"
7030                 fi
7031  
7032 +
7033  fi;
7034  
7035  # Check whether --with-cppflags or --without-cppflags was given.
7036 @@ -4666,6 +5358,7 @@
7037                         CPPFLAGS="$CPPFLAGS $withval"
7038                 fi
7039  
7040 +
7041  fi;
7042  
7043  # Check whether --with-ldflags or --without-ldflags was given.
7044 @@ -4676,6 +5369,7 @@
7045                         LDFLAGS="$LDFLAGS $withval"
7046                 fi
7047  
7048 +
7049  fi;
7050  
7051  # Check whether --with-libs or --without-libs was given.
7052 @@ -4686,53 +5380,346 @@
7053                         LIBS="$LIBS $withval"
7054                 fi
7055  
7056 +
7057  fi;
7058  
7059 -echo "$as_me:4691: checking compiler and flags for sanity" >&5
7060 +echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
7061  echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
7062  if test "$cross_compiling" = yes; then
7063 -  { { echo "$as_me:4694: error: cannot run test program while cross compiling" >&5
7064 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7065 -   { (exit 1); exit 1; }; }
7066 +       echo "$as_me:$LINENO: result: yes" >&5
7067 +echo "${ECHO_T}yes" >&6
7068 +
7069  else
7070    cat >conftest.$ac_ext <<_ACEOF
7071 -#line 4699 "configure"
7072 -#include "confdefs.h"
7073 +#line $LINENO "configure"
7074 +/* confdefs.h.  */
7075 +_ACEOF
7076 +cat confdefs.h >>conftest.$ac_ext
7077 +cat >>conftest.$ac_ext <<_ACEOF
7078 +/* end confdefs.h.  */
7079  
7080  #include <stdio.h>
7081  int main(){exit(0);}
7082  
7083  _ACEOF
7084  rm -f conftest$ac_exeext
7085 -if { (eval echo "$as_me:4707: \"$ac_link\"") >&5
7086 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7087    (eval $ac_link) 2>&5
7088    ac_status=$?
7089 -  echo "$as_me:4710: \$? = $ac_status" >&5
7090 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7092 -  { (eval echo "$as_me:4712: \"$ac_try\"") >&5
7093 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094    (eval $ac_try) 2>&5
7095    ac_status=$?
7096 -  echo "$as_me:4715: \$? = $ac_status" >&5
7097 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098    (exit $ac_status); }; }; then
7099 -       echo "$as_me:4717: result: yes" >&5
7100 +       echo "$as_me:$LINENO: result: yes" >&5
7101  echo "${ECHO_T}yes" >&6
7102  else
7103    echo "$as_me: program exited with status $ac_status" >&5
7104  echo "$as_me: failed program was:" >&5
7105 -cat conftest.$ac_ext >&5
7106 +sed 's/^/| /' conftest.$ac_ext >&5
7107  
7108 -               echo "$as_me:4724: result: no" >&5
7109 +( exit $ac_status )
7110 +
7111 +               echo "$as_me:$LINENO: result: no" >&5
7112  echo "${ECHO_T}no" >&6
7113 -               { { echo "$as_me:4726: error: *** compiler cannot create working executables, check config.log ***" >&5
7114 +               { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5
7115  echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
7116     { (exit 1); exit 1; }; }
7117  
7118  fi
7119 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7120 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7121  fi
7122  
7123  # Checks for header files.
7124  
7125 +echo "$as_me:$LINENO: checking for egrep" >&5
7126 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7127 +if test "${ac_cv_prog_egrep+set}" = set; then
7128 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7129 +else
7130 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7131 +    then ac_cv_prog_egrep='grep -E'
7132 +    else ac_cv_prog_egrep='egrep'
7133 +    fi
7134 +fi
7135 +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7136 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7137 + EGREP=$ac_cv_prog_egrep
7138 +
7139 +
7140 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7141 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7142 +if test "${ac_cv_header_stdc+set}" = set; then
7143 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7144 +else
7145 +  cat >conftest.$ac_ext <<_ACEOF
7146 +#line $LINENO "configure"
7147 +/* confdefs.h.  */
7148 +_ACEOF
7149 +cat confdefs.h >>conftest.$ac_ext
7150 +cat >>conftest.$ac_ext <<_ACEOF
7151 +/* end confdefs.h.  */
7152 +#include <stdlib.h>
7153 +#include <stdarg.h>
7154 +#include <string.h>
7155 +#include <float.h>
7156 +
7157 +int
7158 +main ()
7159 +{
7160 +
7161 +  ;
7162 +  return 0;
7163 +}
7164 +_ACEOF
7165 +rm -f conftest.$ac_objext
7166 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7167 +  (eval $ac_compile) 2>&5
7168 +  ac_status=$?
7169 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 +  (exit $ac_status); } &&
7171 +         { ac_try='test -s conftest.$ac_objext'
7172 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 +  (eval $ac_try) 2>&5
7174 +  ac_status=$?
7175 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 +  (exit $ac_status); }; }; then
7177 +  ac_cv_header_stdc=yes
7178 +else
7179 +  echo "$as_me: failed program was:" >&5
7180 +sed 's/^/| /' conftest.$ac_ext >&5
7181 +
7182 +ac_cv_header_stdc=no
7183 +fi
7184 +rm -f conftest.$ac_objext conftest.$ac_ext
7185 +
7186 +if test $ac_cv_header_stdc = yes; then
7187 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7188 +  cat >conftest.$ac_ext <<_ACEOF
7189 +#line $LINENO "configure"
7190 +/* confdefs.h.  */
7191 +_ACEOF
7192 +cat confdefs.h >>conftest.$ac_ext
7193 +cat >>conftest.$ac_ext <<_ACEOF
7194 +/* end confdefs.h.  */
7195 +#include <string.h>
7196 +
7197 +_ACEOF
7198 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7199 +  $EGREP "memchr" >/dev/null 2>&1; then
7200 +  :
7201 +else
7202 +  ac_cv_header_stdc=no
7203 +fi
7204 +rm -f conftest*
7205 +
7206 +fi
7207 +
7208 +if test $ac_cv_header_stdc = yes; then
7209 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7210 +  cat >conftest.$ac_ext <<_ACEOF
7211 +#line $LINENO "configure"
7212 +/* confdefs.h.  */
7213 +_ACEOF
7214 +cat confdefs.h >>conftest.$ac_ext
7215 +cat >>conftest.$ac_ext <<_ACEOF
7216 +/* end confdefs.h.  */
7217 +#include <stdlib.h>
7218 +
7219 +_ACEOF
7220 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7221 +  $EGREP "free" >/dev/null 2>&1; then
7222 +  :
7223 +else
7224 +  ac_cv_header_stdc=no
7225 +fi
7226 +rm -f conftest*
7227 +
7228 +fi
7229 +
7230 +if test $ac_cv_header_stdc = yes; then
7231 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7232 +  if test "$cross_compiling" = yes; then
7233 +  :
7234 +else
7235 +  cat >conftest.$ac_ext <<_ACEOF
7236 +#line $LINENO "configure"
7237 +/* confdefs.h.  */
7238 +_ACEOF
7239 +cat confdefs.h >>conftest.$ac_ext
7240 +cat >>conftest.$ac_ext <<_ACEOF
7241 +/* end confdefs.h.  */
7242 +#include <ctype.h>
7243 +#if ((' ' & 0x0FF) == 0x020)
7244 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7245 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7246 +#else
7247 +# define ISLOWER(c) \
7248 +                   (('a' <= (c) && (c) <= 'i') \
7249 +                     || ('j' <= (c) && (c) <= 'r') \
7250 +                     || ('s' <= (c) && (c) <= 'z'))
7251 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7252 +#endif
7253 +
7254 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7255 +int
7256 +main ()
7257 +{
7258 +  int i;
7259 +  for (i = 0; i < 256; i++)
7260 +    if (XOR (islower (i), ISLOWER (i))
7261 +        || toupper (i) != TOUPPER (i))
7262 +      exit(2);
7263 +  exit (0);
7264 +}
7265 +_ACEOF
7266 +rm -f conftest$ac_exeext
7267 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7268 +  (eval $ac_link) 2>&5
7269 +  ac_status=$?
7270 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7272 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 +  (eval $ac_try) 2>&5
7274 +  ac_status=$?
7275 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 +  (exit $ac_status); }; }; then
7277 +  :
7278 +else
7279 +  echo "$as_me: program exited with status $ac_status" >&5
7280 +echo "$as_me: failed program was:" >&5
7281 +sed 's/^/| /' conftest.$ac_ext >&5
7282 +
7283 +( exit $ac_status )
7284 +ac_cv_header_stdc=no
7285 +fi
7286 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7287 +fi
7288 +fi
7289 +fi
7290 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7291 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
7292 +if test $ac_cv_header_stdc = yes; then
7293 +
7294 +cat >>confdefs.h <<\_ACEOF
7295 +#define STDC_HEADERS 1
7296 +_ACEOF
7297 +
7298 +fi
7299 +
7300 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7301 +
7302 +
7303 +
7304 +
7305 +
7306 +
7307 +
7308 +
7309 +
7310 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7311 +                  inttypes.h stdint.h unistd.h
7312 +do
7313 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7314 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7315 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7316 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7317 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7318 +else
7319 +  cat >conftest.$ac_ext <<_ACEOF
7320 +#line $LINENO "configure"
7321 +/* confdefs.h.  */
7322 +_ACEOF
7323 +cat confdefs.h >>conftest.$ac_ext
7324 +cat >>conftest.$ac_ext <<_ACEOF
7325 +/* end confdefs.h.  */
7326 +$ac_includes_default
7327 +
7328 +#include <$ac_header>
7329 +_ACEOF
7330 +rm -f conftest.$ac_objext
7331 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332 +  (eval $ac_compile) 2>&5
7333 +  ac_status=$?
7334 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 +  (exit $ac_status); } &&
7336 +         { ac_try='test -s conftest.$ac_objext'
7337 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338 +  (eval $ac_try) 2>&5
7339 +  ac_status=$?
7340 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 +  (exit $ac_status); }; }; then
7342 +  eval "$as_ac_Header=yes"
7343 +else
7344 +  echo "$as_me: failed program was:" >&5
7345 +sed 's/^/| /' conftest.$ac_ext >&5
7346 +
7347 +eval "$as_ac_Header=no"
7348 +fi
7349 +rm -f conftest.$ac_objext conftest.$ac_ext
7350 +fi
7351 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7352 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7353 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
7354 +  cat >>confdefs.h <<_ACEOF
7355 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7356 +_ACEOF
7357 +
7358 +fi
7359 +
7360 +done
7361 +
7362 +
7363 +
7364 +
7365 +
7366 +
7367 +
7368 +
7369 +
7370 +
7371 +
7372 +
7373 +
7374 +
7375 +
7376 +
7377 +
7378 +
7379 +
7380 +
7381 +
7382 +
7383 +
7384 +
7385 +
7386 +
7387 +
7388 +
7389 +
7390 +
7391 +
7392 +
7393 +
7394 +
7395 +
7396 +
7397 +
7398 +
7399 +
7400 +
7401 +
7402 +
7403 +
7404 +
7405 +
7406 +
7407 +
7408 +
7409 +
7410 +
7411  for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \
7412         getopt.h glob.h ia.h lastlog.h limits.h login.h \
7413         login_cap.h maillock.h netdb.h netgroup.h \
7414 @@ -4745,23 +5732,70 @@
7415         util.h utime.h utmp.h utmpx.h vis.h
7416  do
7417  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 -echo "$as_me:4748: checking for $ac_header" >&5
7419 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7420 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
7421  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7422  if eval "test \"\${$as_ac_Header+set}\" = set"; then
7423    echo $ECHO_N "(cached) $ECHO_C" >&6
7424 +fi
7425 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7426 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7427  else
7428 -  cat >conftest.$ac_ext <<_ACEOF
7429 -#line 4754 "configure"
7430 -#include "confdefs.h"
7431 +  # Is the header compilable?
7432 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
7433 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7434 +cat >conftest.$ac_ext <<_ACEOF
7435 +#line $LINENO "configure"
7436 +/* confdefs.h.  */
7437 +_ACEOF
7438 +cat confdefs.h >>conftest.$ac_ext
7439 +cat >>conftest.$ac_ext <<_ACEOF
7440 +/* end confdefs.h.  */
7441 +$ac_includes_default
7442  #include <$ac_header>
7443  _ACEOF
7444 -if { (eval echo "$as_me:4758: \"$ac_cpp conftest.$ac_ext\"") >&5
7445 +rm -f conftest.$ac_objext
7446 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7447 +  (eval $ac_compile) 2>&5
7448 +  ac_status=$?
7449 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 +  (exit $ac_status); } &&
7451 +         { ac_try='test -s conftest.$ac_objext'
7452 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 +  (eval $ac_try) 2>&5
7454 +  ac_status=$?
7455 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 +  (exit $ac_status); }; }; then
7457 +  ac_header_compiler=yes
7458 +else
7459 +  echo "$as_me: failed program was:" >&5
7460 +sed 's/^/| /' conftest.$ac_ext >&5
7461 +
7462 +ac_header_compiler=no
7463 +fi
7464 +rm -f conftest.$ac_objext conftest.$ac_ext
7465 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7466 +echo "${ECHO_T}$ac_header_compiler" >&6
7467 +
7468 +# Is the header present?
7469 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
7470 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7471 +cat >conftest.$ac_ext <<_ACEOF
7472 +#line $LINENO "configure"
7473 +/* confdefs.h.  */
7474 +_ACEOF
7475 +cat confdefs.h >>conftest.$ac_ext
7476 +cat >>conftest.$ac_ext <<_ACEOF
7477 +/* end confdefs.h.  */
7478 +#include <$ac_header>
7479 +_ACEOF
7480 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7481    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7482    ac_status=$?
7483 -  egrep -v '^ *\+' conftest.er1 >conftest.err
7484 +  grep -v '^ *+' conftest.er1 >conftest.err
7485    rm -f conftest.er1
7486    cat conftest.err >&5
7487 -  echo "$as_me:4764: \$? = $ac_status" >&5
7488 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489    (exit $ac_status); } >/dev/null; then
7490    if test -s conftest.err; then
7491      ac_cpp_err=$ac_c_preproc_warn_flag
7492 @@ -4772,88 +5806,149 @@
7493    ac_cpp_err=yes
7494  fi
7495  if test -z "$ac_cpp_err"; then
7496 -  eval "$as_ac_Header=yes"
7497 +  ac_header_preproc=yes
7498  else
7499    echo "$as_me: failed program was:" >&5
7500 -  cat conftest.$ac_ext >&5
7501 -  eval "$as_ac_Header=no"
7502 +sed 's/^/| /' conftest.$ac_ext >&5
7503 +
7504 +  ac_header_preproc=no
7505  fi
7506  rm -f conftest.err conftest.$ac_ext
7507 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7508 +echo "${ECHO_T}$ac_header_preproc" >&6
7509 +
7510 +# So?  What about this header?
7511 +case $ac_header_compiler:$ac_header_preproc in
7512 +  yes:no )
7513 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7514 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7515 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7516 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7517 +    (
7518 +      cat <<\_ASBOX
7519 +## ------------------------------------ ##
7520 +## Report this to bug-autoconf@gnu.org. ##
7521 +## ------------------------------------ ##
7522 +_ASBOX
7523 +    ) |
7524 +      sed "s/^/$as_me: WARNING:     /" >&2
7525 +    ;;
7526 +  no:yes )
7527 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7528 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7529 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7530 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7531 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7532 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7533 +    (
7534 +      cat <<\_ASBOX
7535 +## ------------------------------------ ##
7536 +## Report this to bug-autoconf@gnu.org. ##
7537 +## ------------------------------------ ##
7538 +_ASBOX
7539 +    ) |
7540 +      sed "s/^/$as_me: WARNING:     /" >&2
7541 +    ;;
7542 +esac
7543 +echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7545 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
7546 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7547 +else
7548 +  eval "$as_ac_Header=$ac_header_preproc"
7549  fi
7550 -echo "$as_me:4783: result: `eval echo '${'$as_ac_Header'}'`" >&5
7551 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7552  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7553 +
7554 +fi
7555  if test `eval echo '${'$as_ac_Header'}'` = yes; then
7556 -  cat >>confdefs.h <<EOF
7557 +  cat >>confdefs.h <<_ACEOF
7558  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7559 -EOF
7560 +_ACEOF
7561  
7562  fi
7563 +
7564  done
7565  
7566 +
7567  # Checks for libraries.
7568 -echo "$as_me:4794: checking for yp_match" >&5
7569 +echo "$as_me:$LINENO: checking for yp_match" >&5
7570  echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
7571  if test "${ac_cv_func_yp_match+set}" = set; then
7572    echo $ECHO_N "(cached) $ECHO_C" >&6
7573  else
7574    cat >conftest.$ac_ext <<_ACEOF
7575 -#line 4800 "configure"
7576 -#include "confdefs.h"
7577 +#line $LINENO "configure"
7578 +/* confdefs.h.  */
7579 +_ACEOF
7580 +cat confdefs.h >>conftest.$ac_ext
7581 +cat >>conftest.$ac_ext <<_ACEOF
7582 +/* end confdefs.h.  */
7583  /* System header to define __stub macros and hopefully few prototypes,
7584 -    which can conflict with char yp_match (); below.  */
7585 -#include <assert.h>
7586 +    which can conflict with char yp_match (); below.
7587 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7588 +    <limits.h> exists even on freestanding compilers.  */
7589 +#ifdef __STDC__
7590 +# include <limits.h>
7591 +#else
7592 +# include <assert.h>
7593 +#endif
7594  /* Override any gcc2 internal prototype to avoid an error.  */
7595  #ifdef __cplusplus
7596  extern "C"
7597 +{
7598  #endif
7599  /* We use char because int might match the return type of a gcc2
7600     builtin and then its argument prototype would still apply.  */
7601  char yp_match ();
7602 -char (*f) ();
7603 -
7604 -int
7605 -main ()
7606 -{
7607  /* The GNU C library defines this for functions which it implements
7608      to always fail with ENOSYS.  Some functions are actually named
7609      something starting with __ and the normal name is an alias.  */
7610  #if defined (__stub_yp_match) || defined (__stub___yp_match)
7611  choke me
7612  #else
7613 -f = yp_match;
7614 +char (*f) () = yp_match;
7615 +#endif
7616 +#ifdef __cplusplus
7617 +}
7618  #endif
7619  
7620 +int
7621 +main ()
7622 +{
7623 +return f != yp_match;
7624    ;
7625    return 0;
7626  }
7627  _ACEOF
7628  rm -f conftest.$ac_objext conftest$ac_exeext
7629 -if { (eval echo "$as_me:4831: \"$ac_link\"") >&5
7630 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7631    (eval $ac_link) 2>&5
7632    ac_status=$?
7633 -  echo "$as_me:4834: \$? = $ac_status" >&5
7634 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635    (exit $ac_status); } &&
7636           { ac_try='test -s conftest$ac_exeext'
7637 -  { (eval echo "$as_me:4837: \"$ac_try\"") >&5
7638 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639    (eval $ac_try) 2>&5
7640    ac_status=$?
7641 -  echo "$as_me:4840: \$? = $ac_status" >&5
7642 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643    (exit $ac_status); }; }; then
7644    ac_cv_func_yp_match=yes
7645  else
7646    echo "$as_me: failed program was:" >&5
7647 -cat conftest.$ac_ext >&5
7648 +sed 's/^/| /' conftest.$ac_ext >&5
7649 +
7650  ac_cv_func_yp_match=no
7651  fi
7652  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7653  fi
7654 -echo "$as_me:4850: result: $ac_cv_func_yp_match" >&5
7655 +echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
7656  echo "${ECHO_T}$ac_cv_func_yp_match" >&6
7657  if test $ac_cv_func_yp_match = yes; then
7658    :
7659  else
7660  
7661 -echo "$as_me:4856: checking for yp_match in -lnsl" >&5
7662 +echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
7663  echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
7664  if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
7665    echo $ECHO_N "(cached) $ECHO_C" >&6
7666 @@ -4861,8 +5956,12 @@
7667    ac_check_lib_save_LIBS=$LIBS
7668  LIBS="-lnsl  $LIBS"
7669  cat >conftest.$ac_ext <<_ACEOF
7670 -#line 4864 "configure"
7671 -#include "confdefs.h"
7672 +#line $LINENO "configure"
7673 +/* confdefs.h.  */
7674 +_ACEOF
7675 +cat confdefs.h >>conftest.$ac_ext
7676 +cat >>conftest.$ac_ext <<_ACEOF
7677 +/* end confdefs.h.  */
7678  
7679  /* Override any gcc2 internal prototype to avoid an error.  */
7680  #ifdef __cplusplus
7681 @@ -4880,32 +5979,33 @@
7682  }
7683  _ACEOF
7684  rm -f conftest.$ac_objext conftest$ac_exeext
7685 -if { (eval echo "$as_me:4883: \"$ac_link\"") >&5
7686 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7687    (eval $ac_link) 2>&5
7688    ac_status=$?
7689 -  echo "$as_me:4886: \$? = $ac_status" >&5
7690 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691    (exit $ac_status); } &&
7692           { ac_try='test -s conftest$ac_exeext'
7693 -  { (eval echo "$as_me:4889: \"$ac_try\"") >&5
7694 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695    (eval $ac_try) 2>&5
7696    ac_status=$?
7697 -  echo "$as_me:4892: \$? = $ac_status" >&5
7698 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699    (exit $ac_status); }; }; then
7700    ac_cv_lib_nsl_yp_match=yes
7701  else
7702    echo "$as_me: failed program was:" >&5
7703 -cat conftest.$ac_ext >&5
7704 +sed 's/^/| /' conftest.$ac_ext >&5
7705 +
7706  ac_cv_lib_nsl_yp_match=no
7707  fi
7708  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7709  LIBS=$ac_check_lib_save_LIBS
7710  fi
7711 -echo "$as_me:4903: result: $ac_cv_lib_nsl_yp_match" >&5
7712 +echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
7713  echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
7714  if test $ac_cv_lib_nsl_yp_match = yes; then
7715 -  cat >>confdefs.h <<EOF
7716 +  cat >>confdefs.h <<_ACEOF
7717  #define HAVE_LIBNSL 1
7718 -EOF
7719 +_ACEOF
7720  
7721    LIBS="-lnsl $LIBS"
7722  
7723 @@ -4913,69 +6013,83 @@
7724  
7725  fi
7726  
7727 -echo "$as_me:4916: checking for setsockopt" >&5
7728 +echo "$as_me:$LINENO: checking for setsockopt" >&5
7729  echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
7730  if test "${ac_cv_func_setsockopt+set}" = set; then
7731    echo $ECHO_N "(cached) $ECHO_C" >&6
7732  else
7733    cat >conftest.$ac_ext <<_ACEOF
7734 -#line 4922 "configure"
7735 -#include "confdefs.h"
7736 +#line $LINENO "configure"
7737 +/* confdefs.h.  */
7738 +_ACEOF
7739 +cat confdefs.h >>conftest.$ac_ext
7740 +cat >>conftest.$ac_ext <<_ACEOF
7741 +/* end confdefs.h.  */
7742  /* System header to define __stub macros and hopefully few prototypes,
7743 -    which can conflict with char setsockopt (); below.  */
7744 -#include <assert.h>
7745 +    which can conflict with char setsockopt (); below.
7746 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7747 +    <limits.h> exists even on freestanding compilers.  */
7748 +#ifdef __STDC__
7749 +# include <limits.h>
7750 +#else
7751 +# include <assert.h>
7752 +#endif
7753  /* Override any gcc2 internal prototype to avoid an error.  */
7754  #ifdef __cplusplus
7755  extern "C"
7756 +{
7757  #endif
7758  /* We use char because int might match the return type of a gcc2
7759     builtin and then its argument prototype would still apply.  */
7760  char setsockopt ();
7761 -char (*f) ();
7762 -
7763 -int
7764 -main ()
7765 -{
7766  /* The GNU C library defines this for functions which it implements
7767      to always fail with ENOSYS.  Some functions are actually named
7768      something starting with __ and the normal name is an alias.  */
7769  #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
7770  choke me
7771  #else
7772 -f = setsockopt;
7773 +char (*f) () = setsockopt;
7774 +#endif
7775 +#ifdef __cplusplus
7776 +}
7777  #endif
7778  
7779 +int
7780 +main ()
7781 +{
7782 +return f != setsockopt;
7783    ;
7784    return 0;
7785  }
7786  _ACEOF
7787  rm -f conftest.$ac_objext conftest$ac_exeext
7788 -if { (eval echo "$as_me:4953: \"$ac_link\"") >&5
7789 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7790    (eval $ac_link) 2>&5
7791    ac_status=$?
7792 -  echo "$as_me:4956: \$? = $ac_status" >&5
7793 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794    (exit $ac_status); } &&
7795           { ac_try='test -s conftest$ac_exeext'
7796 -  { (eval echo "$as_me:4959: \"$ac_try\"") >&5
7797 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798    (eval $ac_try) 2>&5
7799    ac_status=$?
7800 -  echo "$as_me:4962: \$? = $ac_status" >&5
7801 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802    (exit $ac_status); }; }; then
7803    ac_cv_func_setsockopt=yes
7804  else
7805    echo "$as_me: failed program was:" >&5
7806 -cat conftest.$ac_ext >&5
7807 +sed 's/^/| /' conftest.$ac_ext >&5
7808 +
7809  ac_cv_func_setsockopt=no
7810  fi
7811  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7812  fi
7813 -echo "$as_me:4972: result: $ac_cv_func_setsockopt" >&5
7814 +echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
7815  echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
7816  if test $ac_cv_func_setsockopt = yes; then
7817    :
7818  else
7819  
7820 -echo "$as_me:4978: checking for setsockopt in -lsocket" >&5
7821 +echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
7822  echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
7823  if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
7824    echo $ECHO_N "(cached) $ECHO_C" >&6
7825 @@ -4983,8 +6097,12 @@
7826    ac_check_lib_save_LIBS=$LIBS
7827  LIBS="-lsocket  $LIBS"
7828  cat >conftest.$ac_ext <<_ACEOF
7829 -#line 4986 "configure"
7830 -#include "confdefs.h"
7831 +#line $LINENO "configure"
7832 +/* confdefs.h.  */
7833 +_ACEOF
7834 +cat confdefs.h >>conftest.$ac_ext
7835 +cat >>conftest.$ac_ext <<_ACEOF
7836 +/* end confdefs.h.  */
7837  
7838  /* Override any gcc2 internal prototype to avoid an error.  */
7839  #ifdef __cplusplus
7840 @@ -5002,32 +6120,33 @@
7841  }
7842  _ACEOF
7843  rm -f conftest.$ac_objext conftest$ac_exeext
7844 -if { (eval echo "$as_me:5005: \"$ac_link\"") >&5
7845 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7846    (eval $ac_link) 2>&5
7847    ac_status=$?
7848 -  echo "$as_me:5008: \$? = $ac_status" >&5
7849 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850    (exit $ac_status); } &&
7851           { ac_try='test -s conftest$ac_exeext'
7852 -  { (eval echo "$as_me:5011: \"$ac_try\"") >&5
7853 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7854    (eval $ac_try) 2>&5
7855    ac_status=$?
7856 -  echo "$as_me:5014: \$? = $ac_status" >&5
7857 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858    (exit $ac_status); }; }; then
7859    ac_cv_lib_socket_setsockopt=yes
7860  else
7861    echo "$as_me: failed program was:" >&5
7862 -cat conftest.$ac_ext >&5
7863 +sed 's/^/| /' conftest.$ac_ext >&5
7864 +
7865  ac_cv_lib_socket_setsockopt=no
7866  fi
7867  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7868  LIBS=$ac_check_lib_save_LIBS
7869  fi
7870 -echo "$as_me:5025: result: $ac_cv_lib_socket_setsockopt" >&5
7871 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
7872  echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
7873  if test $ac_cv_lib_socket_setsockopt = yes; then
7874 -  cat >>confdefs.h <<EOF
7875 +  cat >>confdefs.h <<_ACEOF
7876  #define HAVE_LIBSOCKET 1
7877 -EOF
7878 +_ACEOF
7879  
7880    LIBS="-lsocket $LIBS"
7881  
7882 @@ -5035,9 +6154,10 @@
7883  
7884  fi
7885  
7886 +
7887  if test "x$with_tcp_wrappers" != "xno" ; then
7888      if test "x$do_sco3_extra_lib_check" = "xyes" ; then
7889 -       echo "$as_me:5040: checking for innetgr in -lrpc" >&5
7890 +       echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
7891  echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
7892  if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
7893    echo $ECHO_N "(cached) $ECHO_C" >&6
7894 @@ -5045,8 +6165,12 @@
7895    ac_check_lib_save_LIBS=$LIBS
7896  LIBS="-lrpc -lyp -lrpc $LIBS"
7897  cat >conftest.$ac_ext <<_ACEOF
7898 -#line 5048 "configure"
7899 -#include "confdefs.h"
7900 +#line $LINENO "configure"
7901 +/* confdefs.h.  */
7902 +_ACEOF
7903 +cat confdefs.h >>conftest.$ac_ext
7904 +cat >>conftest.$ac_ext <<_ACEOF
7905 +/* end confdefs.h.  */
7906  
7907  /* Override any gcc2 internal prototype to avoid an error.  */
7908  #ifdef __cplusplus
7909 @@ -5064,27 +6188,28 @@
7910  }
7911  _ACEOF
7912  rm -f conftest.$ac_objext conftest$ac_exeext
7913 -if { (eval echo "$as_me:5067: \"$ac_link\"") >&5
7914 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7915    (eval $ac_link) 2>&5
7916    ac_status=$?
7917 -  echo "$as_me:5070: \$? = $ac_status" >&5
7918 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919    (exit $ac_status); } &&
7920           { ac_try='test -s conftest$ac_exeext'
7921 -  { (eval echo "$as_me:5073: \"$ac_try\"") >&5
7922 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923    (eval $ac_try) 2>&5
7924    ac_status=$?
7925 -  echo "$as_me:5076: \$? = $ac_status" >&5
7926 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927    (exit $ac_status); }; }; then
7928    ac_cv_lib_rpc_innetgr=yes
7929  else
7930    echo "$as_me: failed program was:" >&5
7931 -cat conftest.$ac_ext >&5
7932 +sed 's/^/| /' conftest.$ac_ext >&5
7933 +
7934  ac_cv_lib_rpc_innetgr=no
7935  fi
7936  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7937  LIBS=$ac_check_lib_save_LIBS
7938  fi
7939 -echo "$as_me:5087: result: $ac_cv_lib_rpc_innetgr" >&5
7940 +echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
7941  echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
7942  if test $ac_cv_lib_rpc_innetgr = yes; then
7943    LIBS="-lrpc -lyp -lrpc $LIBS"
7944 @@ -5093,92 +6218,154 @@
7945      fi
7946  fi
7947  
7948 +
7949  for ac_func in dirname
7950  do
7951  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7952 -echo "$as_me:5099: checking for $ac_func" >&5
7953 +echo "$as_me:$LINENO: checking for $ac_func" >&5
7954  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7955  if eval "test \"\${$as_ac_var+set}\" = set"; then
7956    echo $ECHO_N "(cached) $ECHO_C" >&6
7957  else
7958    cat >conftest.$ac_ext <<_ACEOF
7959 -#line 5105 "configure"
7960 -#include "confdefs.h"
7961 +#line $LINENO "configure"
7962 +/* confdefs.h.  */
7963 +_ACEOF
7964 +cat confdefs.h >>conftest.$ac_ext
7965 +cat >>conftest.$ac_ext <<_ACEOF
7966 +/* end confdefs.h.  */
7967  /* System header to define __stub macros and hopefully few prototypes,
7968 -    which can conflict with char $ac_func (); below.  */
7969 -#include <assert.h>
7970 +    which can conflict with char $ac_func (); below.
7971 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7972 +    <limits.h> exists even on freestanding compilers.  */
7973 +#ifdef __STDC__
7974 +# include <limits.h>
7975 +#else
7976 +# include <assert.h>
7977 +#endif
7978  /* Override any gcc2 internal prototype to avoid an error.  */
7979  #ifdef __cplusplus
7980  extern "C"
7981 +{
7982  #endif
7983  /* We use char because int might match the return type of a gcc2
7984     builtin and then its argument prototype would still apply.  */
7985  char $ac_func ();
7986 -char (*f) ();
7987 -
7988 -int
7989 -main ()
7990 -{
7991  /* The GNU C library defines this for functions which it implements
7992      to always fail with ENOSYS.  Some functions are actually named
7993      something starting with __ and the normal name is an alias.  */
7994  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7995  choke me
7996  #else
7997 -f = $ac_func;
7998 +char (*f) () = $ac_func;
7999 +#endif
8000 +#ifdef __cplusplus
8001 +}
8002  #endif
8003  
8004 +int
8005 +main ()
8006 +{
8007 +return f != $ac_func;
8008    ;
8009    return 0;
8010  }
8011  _ACEOF
8012  rm -f conftest.$ac_objext conftest$ac_exeext
8013 -if { (eval echo "$as_me:5136: \"$ac_link\"") >&5
8014 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8015    (eval $ac_link) 2>&5
8016    ac_status=$?
8017 -  echo "$as_me:5139: \$? = $ac_status" >&5
8018 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019    (exit $ac_status); } &&
8020           { ac_try='test -s conftest$ac_exeext'
8021 -  { (eval echo "$as_me:5142: \"$ac_try\"") >&5
8022 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023    (eval $ac_try) 2>&5
8024    ac_status=$?
8025 -  echo "$as_me:5145: \$? = $ac_status" >&5
8026 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027    (exit $ac_status); }; }; then
8028    eval "$as_ac_var=yes"
8029  else
8030    echo "$as_me: failed program was:" >&5
8031 -cat conftest.$ac_ext >&5
8032 +sed 's/^/| /' conftest.$ac_ext >&5
8033 +
8034  eval "$as_ac_var=no"
8035  fi
8036  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8037  fi
8038 -echo "$as_me:5155: result: `eval echo '${'$as_ac_var'}'`" >&5
8039 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8040  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8041  if test `eval echo '${'$as_ac_var'}'` = yes; then
8042 -  cat >>confdefs.h <<EOF
8043 +  cat >>confdefs.h <<_ACEOF
8044  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8045 -EOF
8046 +_ACEOF
8047  
8048  for ac_header in libgen.h
8049  do
8050  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8051 -echo "$as_me:5165: checking for $ac_header" >&5
8052 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8053 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
8054  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8055  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8056    echo $ECHO_N "(cached) $ECHO_C" >&6
8057 +fi
8058 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8059 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8060  else
8061 -  cat >conftest.$ac_ext <<_ACEOF
8062 -#line 5171 "configure"
8063 -#include "confdefs.h"
8064 +  # Is the header compilable?
8065 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
8066 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8067 +cat >conftest.$ac_ext <<_ACEOF
8068 +#line $LINENO "configure"
8069 +/* confdefs.h.  */
8070 +_ACEOF
8071 +cat confdefs.h >>conftest.$ac_ext
8072 +cat >>conftest.$ac_ext <<_ACEOF
8073 +/* end confdefs.h.  */
8074 +$ac_includes_default
8075  #include <$ac_header>
8076  _ACEOF
8077 -if { (eval echo "$as_me:5175: \"$ac_cpp conftest.$ac_ext\"") >&5
8078 +rm -f conftest.$ac_objext
8079 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8080 +  (eval $ac_compile) 2>&5
8081 +  ac_status=$?
8082 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 +  (exit $ac_status); } &&
8084 +         { ac_try='test -s conftest.$ac_objext'
8085 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 +  (eval $ac_try) 2>&5
8087 +  ac_status=$?
8088 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 +  (exit $ac_status); }; }; then
8090 +  ac_header_compiler=yes
8091 +else
8092 +  echo "$as_me: failed program was:" >&5
8093 +sed 's/^/| /' conftest.$ac_ext >&5
8094 +
8095 +ac_header_compiler=no
8096 +fi
8097 +rm -f conftest.$ac_objext conftest.$ac_ext
8098 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8099 +echo "${ECHO_T}$ac_header_compiler" >&6
8100 +
8101 +# Is the header present?
8102 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
8103 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8104 +cat >conftest.$ac_ext <<_ACEOF
8105 +#line $LINENO "configure"
8106 +/* confdefs.h.  */
8107 +_ACEOF
8108 +cat confdefs.h >>conftest.$ac_ext
8109 +cat >>conftest.$ac_ext <<_ACEOF
8110 +/* end confdefs.h.  */
8111 +#include <$ac_header>
8112 +_ACEOF
8113 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8114    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8115    ac_status=$?
8116 -  egrep -v '^ *\+' conftest.er1 >conftest.err
8117 +  grep -v '^ *+' conftest.er1 >conftest.err
8118    rm -f conftest.er1
8119    cat conftest.err >&5
8120 -  echo "$as_me:5181: \$? = $ac_status" >&5
8121 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122    (exit $ac_status); } >/dev/null; then
8123    if test -s conftest.err; then
8124      ac_cpp_err=$ac_c_preproc_warn_flag
8125 @@ -5189,27 +6376,73 @@
8126    ac_cpp_err=yes
8127  fi
8128  if test -z "$ac_cpp_err"; then
8129 -  eval "$as_ac_Header=yes"
8130 +  ac_header_preproc=yes
8131  else
8132    echo "$as_me: failed program was:" >&5
8133 -  cat conftest.$ac_ext >&5
8134 -  eval "$as_ac_Header=no"
8135 +sed 's/^/| /' conftest.$ac_ext >&5
8136 +
8137 +  ac_header_preproc=no
8138  fi
8139  rm -f conftest.err conftest.$ac_ext
8140 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8141 +echo "${ECHO_T}$ac_header_preproc" >&6
8142 +
8143 +# So?  What about this header?
8144 +case $ac_header_compiler:$ac_header_preproc in
8145 +  yes:no )
8146 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8147 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8148 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8149 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8150 +    (
8151 +      cat <<\_ASBOX
8152 +## ------------------------------------ ##
8153 +## Report this to bug-autoconf@gnu.org. ##
8154 +## ------------------------------------ ##
8155 +_ASBOX
8156 +    ) |
8157 +      sed "s/^/$as_me: WARNING:     /" >&2
8158 +    ;;
8159 +  no:yes )
8160 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8161 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8162 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8163 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8164 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8165 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8166 +    (
8167 +      cat <<\_ASBOX
8168 +## ------------------------------------ ##
8169 +## Report this to bug-autoconf@gnu.org. ##
8170 +## ------------------------------------ ##
8171 +_ASBOX
8172 +    ) |
8173 +      sed "s/^/$as_me: WARNING:     /" >&2
8174 +    ;;
8175 +esac
8176 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8177 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8178 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8179 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8180 +else
8181 +  eval "$as_ac_Header=$ac_header_preproc"
8182  fi
8183 -echo "$as_me:5200: result: `eval echo '${'$as_ac_Header'}'`" >&5
8184 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8185  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8186 +
8187 +fi
8188  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8189 -  cat >>confdefs.h <<EOF
8190 +  cat >>confdefs.h <<_ACEOF
8191  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8192 -EOF
8193 +_ACEOF
8194  
8195  fi
8196 +
8197  done
8198  
8199  else
8200  
8201 -       echo "$as_me:5212: checking for dirname in -lgen" >&5
8202 +       echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
8203  echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
8204  if test "${ac_cv_lib_gen_dirname+set}" = set; then
8205    echo $ECHO_N "(cached) $ECHO_C" >&6
8206 @@ -5217,8 +6450,12 @@
8207    ac_check_lib_save_LIBS=$LIBS
8208  LIBS="-lgen  $LIBS"
8209  cat >conftest.$ac_ext <<_ACEOF
8210 -#line 5220 "configure"
8211 -#include "confdefs.h"
8212 +#line $LINENO "configure"
8213 +/* confdefs.h.  */
8214 +_ACEOF
8215 +cat confdefs.h >>conftest.$ac_ext
8216 +cat >>conftest.$ac_ext <<_ACEOF
8217 +/* end confdefs.h.  */
8218  
8219  /* Override any gcc2 internal prototype to avoid an error.  */
8220  #ifdef __cplusplus
8221 @@ -5236,31 +6473,32 @@
8222  }
8223  _ACEOF
8224  rm -f conftest.$ac_objext conftest$ac_exeext
8225 -if { (eval echo "$as_me:5239: \"$ac_link\"") >&5
8226 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8227    (eval $ac_link) 2>&5
8228    ac_status=$?
8229 -  echo "$as_me:5242: \$? = $ac_status" >&5
8230 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231    (exit $ac_status); } &&
8232           { ac_try='test -s conftest$ac_exeext'
8233 -  { (eval echo "$as_me:5245: \"$ac_try\"") >&5
8234 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235    (eval $ac_try) 2>&5
8236    ac_status=$?
8237 -  echo "$as_me:5248: \$? = $ac_status" >&5
8238 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239    (exit $ac_status); }; }; then
8240    ac_cv_lib_gen_dirname=yes
8241  else
8242    echo "$as_me: failed program was:" >&5
8243 -cat conftest.$ac_ext >&5
8244 +sed 's/^/| /' conftest.$ac_ext >&5
8245 +
8246  ac_cv_lib_gen_dirname=no
8247  fi
8248  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8249  LIBS=$ac_check_lib_save_LIBS
8250  fi
8251 -echo "$as_me:5259: result: $ac_cv_lib_gen_dirname" >&5
8252 +echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
8253  echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
8254  if test $ac_cv_lib_gen_dirname = yes; then
8255  
8256 -               echo "$as_me:5263: checking for broken dirname" >&5
8257 +               echo "$as_me:$LINENO: checking for broken dirname" >&5
8258  echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
8259  if test "${ac_cv_have_broken_dirname+set}" = set; then
8260    echo $ECHO_N "(cached) $ECHO_C" >&6
8261 @@ -5269,13 +6507,19 @@
8262                         save_LIBS="$LIBS"
8263                         LIBS="$LIBS -lgen"
8264                         if test "$cross_compiling" = yes; then
8265 -  { { echo "$as_me:5272: error: cannot run test program while cross compiling" >&5
8266 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8267 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8268 +See \`config.log' for more details." >&5
8269 +echo "$as_me: error: cannot run test program while cross compiling
8270 +See \`config.log' for more details." >&2;}
8271     { (exit 1); exit 1; }; }
8272  else
8273    cat >conftest.$ac_ext <<_ACEOF
8274 -#line 5277 "configure"
8275 -#include "confdefs.h"
8276 +#line $LINENO "configure"
8277 +/* confdefs.h.  */
8278 +_ACEOF
8279 +cat confdefs.h >>conftest.$ac_ext
8280 +cat >>conftest.$ac_ext <<_ACEOF
8281 +/* end confdefs.h.  */
8282  
8283  #include <libgen.h>
8284  #include <string.h>
8285 @@ -5294,57 +6538,107 @@
8286  
8287  _ACEOF
8288  rm -f conftest$ac_exeext
8289 -if { (eval echo "$as_me:5297: \"$ac_link\"") >&5
8290 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8291    (eval $ac_link) 2>&5
8292    ac_status=$?
8293 -  echo "$as_me:5300: \$? = $ac_status" >&5
8294 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8296 -  { (eval echo "$as_me:5302: \"$ac_try\"") >&5
8297 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298    (eval $ac_try) 2>&5
8299    ac_status=$?
8300 -  echo "$as_me:5305: \$? = $ac_status" >&5
8301 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302    (exit $ac_status); }; }; then
8303     ac_cv_have_broken_dirname="no"
8304  else
8305    echo "$as_me: program exited with status $ac_status" >&5
8306  echo "$as_me: failed program was:" >&5
8307 -cat conftest.$ac_ext >&5
8308 +sed 's/^/| /' conftest.$ac_ext >&5
8309 +
8310 +( exit $ac_status )
8311   ac_cv_have_broken_dirname="yes"
8312  
8313  fi
8314 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8315 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8316  fi
8317                         LIBS="$save_LIBS"
8318  
8319  fi
8320 -echo "$as_me:5320: result: $ac_cv_have_broken_dirname" >&5
8321 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
8322  echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
8323                 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
8324                         LIBS="$LIBS -lgen"
8325 -                       cat >>confdefs.h <<\EOF
8326 +                       cat >>confdefs.h <<\_ACEOF
8327  #define HAVE_DIRNAME 1
8328 -EOF
8329 +_ACEOF
8330 +
8331  
8332  for ac_header in libgen.h
8333  do
8334  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8335 -echo "$as_me:5331: checking for $ac_header" >&5
8336 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8337 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
8338  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8339  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8340    echo $ECHO_N "(cached) $ECHO_C" >&6
8341 +fi
8342 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8343 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8344  else
8345 -  cat >conftest.$ac_ext <<_ACEOF
8346 -#line 5337 "configure"
8347 -#include "confdefs.h"
8348 +  # Is the header compilable?
8349 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
8350 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8351 +cat >conftest.$ac_ext <<_ACEOF
8352 +#line $LINENO "configure"
8353 +/* confdefs.h.  */
8354 +_ACEOF
8355 +cat confdefs.h >>conftest.$ac_ext
8356 +cat >>conftest.$ac_ext <<_ACEOF
8357 +/* end confdefs.h.  */
8358 +$ac_includes_default
8359  #include <$ac_header>
8360  _ACEOF
8361 -if { (eval echo "$as_me:5341: \"$ac_cpp conftest.$ac_ext\"") >&5
8362 +rm -f conftest.$ac_objext
8363 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8364 +  (eval $ac_compile) 2>&5
8365 +  ac_status=$?
8366 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 +  (exit $ac_status); } &&
8368 +         { ac_try='test -s conftest.$ac_objext'
8369 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 +  (eval $ac_try) 2>&5
8371 +  ac_status=$?
8372 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 +  (exit $ac_status); }; }; then
8374 +  ac_header_compiler=yes
8375 +else
8376 +  echo "$as_me: failed program was:" >&5
8377 +sed 's/^/| /' conftest.$ac_ext >&5
8378 +
8379 +ac_header_compiler=no
8380 +fi
8381 +rm -f conftest.$ac_objext conftest.$ac_ext
8382 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8383 +echo "${ECHO_T}$ac_header_compiler" >&6
8384 +
8385 +# Is the header present?
8386 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
8387 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8388 +cat >conftest.$ac_ext <<_ACEOF
8389 +#line $LINENO "configure"
8390 +/* confdefs.h.  */
8391 +_ACEOF
8392 +cat confdefs.h >>conftest.$ac_ext
8393 +cat >>conftest.$ac_ext <<_ACEOF
8394 +/* end confdefs.h.  */
8395 +#include <$ac_header>
8396 +_ACEOF
8397 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8398    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8399    ac_status=$?
8400 -  egrep -v '^ *\+' conftest.er1 >conftest.err
8401 +  grep -v '^ *+' conftest.er1 >conftest.err
8402    rm -f conftest.er1
8403    cat conftest.err >&5
8404 -  echo "$as_me:5347: \$? = $ac_status" >&5
8405 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406    (exit $ac_status); } >/dev/null; then
8407    if test -s conftest.err; then
8408      ac_cpp_err=$ac_c_preproc_warn_flag
8409 @@ -5355,93 +6649,155 @@
8410    ac_cpp_err=yes
8411  fi
8412  if test -z "$ac_cpp_err"; then
8413 -  eval "$as_ac_Header=yes"
8414 +  ac_header_preproc=yes
8415  else
8416    echo "$as_me: failed program was:" >&5
8417 -  cat conftest.$ac_ext >&5
8418 -  eval "$as_ac_Header=no"
8419 +sed 's/^/| /' conftest.$ac_ext >&5
8420 +
8421 +  ac_header_preproc=no
8422  fi
8423  rm -f conftest.err conftest.$ac_ext
8424 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8425 +echo "${ECHO_T}$ac_header_preproc" >&6
8426 +
8427 +# So?  What about this header?
8428 +case $ac_header_compiler:$ac_header_preproc in
8429 +  yes:no )
8430 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8431 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8432 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8433 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8434 +    (
8435 +      cat <<\_ASBOX
8436 +## ------------------------------------ ##
8437 +## Report this to bug-autoconf@gnu.org. ##
8438 +## ------------------------------------ ##
8439 +_ASBOX
8440 +    ) |
8441 +      sed "s/^/$as_me: WARNING:     /" >&2
8442 +    ;;
8443 +  no:yes )
8444 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8445 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8446 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8447 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8448 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8449 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8450 +    (
8451 +      cat <<\_ASBOX
8452 +## ------------------------------------ ##
8453 +## Report this to bug-autoconf@gnu.org. ##
8454 +## ------------------------------------ ##
8455 +_ASBOX
8456 +    ) |
8457 +      sed "s/^/$as_me: WARNING:     /" >&2
8458 +    ;;
8459 +esac
8460 +echo "$as_me:$LINENO: checking for $ac_header" >&5
8461 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8462 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
8463 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8464 +else
8465 +  eval "$as_ac_Header=$ac_header_preproc"
8466  fi
8467 -echo "$as_me:5366: result: `eval echo '${'$as_ac_Header'}'`" >&5
8468 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8469  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8470 +
8471 +fi
8472  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8473 -  cat >>confdefs.h <<EOF
8474 +  cat >>confdefs.h <<_ACEOF
8475  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8476 -EOF
8477 +_ACEOF
8478  
8479  fi
8480 +
8481  done
8482  
8483                 fi
8484  
8485  fi
8486  
8487 +
8488  fi
8489  done
8490  
8491 -echo "$as_me:5383: checking for getspnam" >&5
8492 +
8493 +echo "$as_me:$LINENO: checking for getspnam" >&5
8494  echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
8495  if test "${ac_cv_func_getspnam+set}" = set; then
8496    echo $ECHO_N "(cached) $ECHO_C" >&6
8497  else
8498    cat >conftest.$ac_ext <<_ACEOF
8499 -#line 5389 "configure"
8500 -#include "confdefs.h"
8501 +#line $LINENO "configure"
8502 +/* confdefs.h.  */
8503 +_ACEOF
8504 +cat confdefs.h >>conftest.$ac_ext
8505 +cat >>conftest.$ac_ext <<_ACEOF
8506 +/* end confdefs.h.  */
8507  /* System header to define __stub macros and hopefully few prototypes,
8508 -    which can conflict with char getspnam (); below.  */
8509 -#include <assert.h>
8510 +    which can conflict with char getspnam (); below.
8511 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8512 +    <limits.h> exists even on freestanding compilers.  */
8513 +#ifdef __STDC__
8514 +# include <limits.h>
8515 +#else
8516 +# include <assert.h>
8517 +#endif
8518  /* Override any gcc2 internal prototype to avoid an error.  */
8519  #ifdef __cplusplus
8520  extern "C"
8521 +{
8522  #endif
8523  /* We use char because int might match the return type of a gcc2
8524     builtin and then its argument prototype would still apply.  */
8525  char getspnam ();
8526 -char (*f) ();
8527 -
8528 -int
8529 -main ()
8530 -{
8531  /* The GNU C library defines this for functions which it implements
8532      to always fail with ENOSYS.  Some functions are actually named
8533      something starting with __ and the normal name is an alias.  */
8534  #if defined (__stub_getspnam) || defined (__stub___getspnam)
8535  choke me
8536  #else
8537 -f = getspnam;
8538 +char (*f) () = getspnam;
8539 +#endif
8540 +#ifdef __cplusplus
8541 +}
8542  #endif
8543  
8544 +int
8545 +main ()
8546 +{
8547 +return f != getspnam;
8548    ;
8549    return 0;
8550  }
8551  _ACEOF
8552  rm -f conftest.$ac_objext conftest$ac_exeext
8553 -if { (eval echo "$as_me:5420: \"$ac_link\"") >&5
8554 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8555    (eval $ac_link) 2>&5
8556    ac_status=$?
8557 -  echo "$as_me:5423: \$? = $ac_status" >&5
8558 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559    (exit $ac_status); } &&
8560           { ac_try='test -s conftest$ac_exeext'
8561 -  { (eval echo "$as_me:5426: \"$ac_try\"") >&5
8562 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563    (eval $ac_try) 2>&5
8564    ac_status=$?
8565 -  echo "$as_me:5429: \$? = $ac_status" >&5
8566 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567    (exit $ac_status); }; }; then
8568    ac_cv_func_getspnam=yes
8569  else
8570    echo "$as_me: failed program was:" >&5
8571 -cat conftest.$ac_ext >&5
8572 +sed 's/^/| /' conftest.$ac_ext >&5
8573 +
8574  ac_cv_func_getspnam=no
8575  fi
8576  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8577  fi
8578 -echo "$as_me:5439: result: $ac_cv_func_getspnam" >&5
8579 +echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
8580  echo "${ECHO_T}$ac_cv_func_getspnam" >&6
8581  if test $ac_cv_func_getspnam = yes; then
8582    :
8583  else
8584 -  echo "$as_me:5444: checking for getspnam in -lgen" >&5
8585 +  echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
8586  echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
8587  if test "${ac_cv_lib_gen_getspnam+set}" = set; then
8588    echo $ECHO_N "(cached) $ECHO_C" >&6
8589 @@ -5449,8 +6805,12 @@
8590    ac_check_lib_save_LIBS=$LIBS
8591  LIBS="-lgen  $LIBS"
8592  cat >conftest.$ac_ext <<_ACEOF
8593 -#line 5452 "configure"
8594 -#include "confdefs.h"
8595 +#line $LINENO "configure"
8596 +/* confdefs.h.  */
8597 +_ACEOF
8598 +cat confdefs.h >>conftest.$ac_ext
8599 +cat >>conftest.$ac_ext <<_ACEOF
8600 +/* end confdefs.h.  */
8601  
8602  /* Override any gcc2 internal prototype to avoid an error.  */
8603  #ifdef __cplusplus
8604 @@ -5468,27 +6828,28 @@
8605  }
8606  _ACEOF
8607  rm -f conftest.$ac_objext conftest$ac_exeext
8608 -if { (eval echo "$as_me:5471: \"$ac_link\"") >&5
8609 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8610    (eval $ac_link) 2>&5
8611    ac_status=$?
8612 -  echo "$as_me:5474: \$? = $ac_status" >&5
8613 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614    (exit $ac_status); } &&
8615           { ac_try='test -s conftest$ac_exeext'
8616 -  { (eval echo "$as_me:5477: \"$ac_try\"") >&5
8617 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618    (eval $ac_try) 2>&5
8619    ac_status=$?
8620 -  echo "$as_me:5480: \$? = $ac_status" >&5
8621 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622    (exit $ac_status); }; }; then
8623    ac_cv_lib_gen_getspnam=yes
8624  else
8625    echo "$as_me: failed program was:" >&5
8626 -cat conftest.$ac_ext >&5
8627 +sed 's/^/| /' conftest.$ac_ext >&5
8628 +
8629  ac_cv_lib_gen_getspnam=no
8630  fi
8631  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8632  LIBS=$ac_check_lib_save_LIBS
8633  fi
8634 -echo "$as_me:5491: result: $ac_cv_lib_gen_getspnam" >&5
8635 +echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
8636  echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
8637  if test $ac_cv_lib_gen_getspnam = yes; then
8638    LIBS="$LIBS -lgen"
8639 @@ -5496,7 +6857,7 @@
8640  
8641  fi
8642  
8643 -echo "$as_me:5499: checking for library containing basename" >&5
8644 +echo "$as_me:$LINENO: checking for library containing basename" >&5
8645  echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
8646  if test "${ac_cv_search_basename+set}" = set; then
8647    echo $ECHO_N "(cached) $ECHO_C" >&6
8648 @@ -5504,8 +6865,12 @@
8649    ac_func_search_save_LIBS=$LIBS
8650  ac_cv_search_basename=no
8651  cat >conftest.$ac_ext <<_ACEOF
8652 -#line 5507 "configure"
8653 -#include "confdefs.h"
8654 +#line $LINENO "configure"
8655 +/* confdefs.h.  */
8656 +_ACEOF
8657 +cat confdefs.h >>conftest.$ac_ext
8658 +cat >>conftest.$ac_ext <<_ACEOF
8659 +/* end confdefs.h.  */
8660  
8661  /* Override any gcc2 internal prototype to avoid an error.  */
8662  #ifdef __cplusplus
8663 @@ -5523,29 +6888,34 @@
8664  }
8665  _ACEOF
8666  rm -f conftest.$ac_objext conftest$ac_exeext
8667 -if { (eval echo "$as_me:5526: \"$ac_link\"") >&5
8668 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669    (eval $ac_link) 2>&5
8670    ac_status=$?
8671 -  echo "$as_me:5529: \$? = $ac_status" >&5
8672 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673    (exit $ac_status); } &&
8674           { ac_try='test -s conftest$ac_exeext'
8675 -  { (eval echo "$as_me:5532: \"$ac_try\"") >&5
8676 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677    (eval $ac_try) 2>&5
8678    ac_status=$?
8679 -  echo "$as_me:5535: \$? = $ac_status" >&5
8680 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681    (exit $ac_status); }; }; then
8682    ac_cv_search_basename="none required"
8683  else
8684    echo "$as_me: failed program was:" >&5
8685 -cat conftest.$ac_ext >&5
8686 +sed 's/^/| /' conftest.$ac_ext >&5
8687 +
8688  fi
8689  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8690  if test "$ac_cv_search_basename" = no; then
8691    for ac_lib in gen; do
8692      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
8693      cat >conftest.$ac_ext <<_ACEOF
8694 -#line 5547 "configure"
8695 -#include "confdefs.h"
8696 +#line $LINENO "configure"
8697 +/* confdefs.h.  */
8698 +_ACEOF
8699 +cat confdefs.h >>conftest.$ac_ext
8700 +cat >>conftest.$ac_ext <<_ACEOF
8701 +/* end confdefs.h.  */
8702  
8703  /* Override any gcc2 internal prototype to avoid an error.  */
8704  #ifdef __cplusplus
8705 @@ -5563,38 +6933,41 @@
8706  }
8707  _ACEOF
8708  rm -f conftest.$ac_objext conftest$ac_exeext
8709 -if { (eval echo "$as_me:5566: \"$ac_link\"") >&5
8710 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711    (eval $ac_link) 2>&5
8712    ac_status=$?
8713 -  echo "$as_me:5569: \$? = $ac_status" >&5
8714 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715    (exit $ac_status); } &&
8716           { ac_try='test -s conftest$ac_exeext'
8717 -  { (eval echo "$as_me:5572: \"$ac_try\"") >&5
8718 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719    (eval $ac_try) 2>&5
8720    ac_status=$?
8721 -  echo "$as_me:5575: \$? = $ac_status" >&5
8722 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723    (exit $ac_status); }; }; then
8724    ac_cv_search_basename="-l$ac_lib"
8725  break
8726  else
8727    echo "$as_me: failed program was:" >&5
8728 -cat conftest.$ac_ext >&5
8729 +sed 's/^/| /' conftest.$ac_ext >&5
8730 +
8731  fi
8732  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8733    done
8734  fi
8735  LIBS=$ac_func_search_save_LIBS
8736  fi
8737 -echo "$as_me:5588: result: $ac_cv_search_basename" >&5
8738 +echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
8739  echo "${ECHO_T}$ac_cv_search_basename" >&6
8740  if test "$ac_cv_search_basename" != no; then
8741    test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
8742 -  cat >>confdefs.h <<\EOF
8743 +  cat >>confdefs.h <<\_ACEOF
8744  #define HAVE_BASENAME 1
8745 -EOF
8746 +_ACEOF
8747  
8748  fi
8749  
8750 +
8751 +
8752  # Check whether --with-rpath or --without-rpath was given.
8753  if test "${with_rpath+set}" = set; then
8754    withval="$with_rpath"
8755 @@ -5606,14 +6979,16 @@
8756                         need_dash_r=1
8757                 fi
8758  
8759 +
8760  fi;
8761  
8762 +
8763  # Check whether --with-zlib or --without-zlib was given.
8764  if test "${with_zlib+set}" = set; then
8765    withval="$with_zlib"
8766  
8767                 if test "x$withval" = "xno" ; then
8768 -                       { { echo "$as_me:5616: error: *** zlib is required ***" >&5
8769 +                       { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
8770  echo "$as_me: error: *** zlib is required ***" >&2;}
8771     { (exit 1); exit 1; }; }
8772                 fi
8773 @@ -5636,9 +7011,11 @@
8774                         CPPFLAGS="-I${withval} ${CPPFLAGS}"
8775                 fi
8776  
8777 +
8778  fi;
8779  
8780 -echo "$as_me:5641: checking for deflate in -lz" >&5
8781 +
8782 +echo "$as_me:$LINENO: checking for deflate in -lz" >&5
8783  echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
8784  if test "${ac_cv_lib_z_deflate+set}" = set; then
8785    echo $ECHO_N "(cached) $ECHO_C" >&6
8786 @@ -5646,8 +7023,12 @@
8787    ac_check_lib_save_LIBS=$LIBS
8788  LIBS="-lz  $LIBS"
8789  cat >conftest.$ac_ext <<_ACEOF
8790 -#line 5649 "configure"
8791 -#include "confdefs.h"
8792 +#line $LINENO "configure"
8793 +/* confdefs.h.  */
8794 +_ACEOF
8795 +cat confdefs.h >>conftest.$ac_ext
8796 +cat >>conftest.$ac_ext <<_ACEOF
8797 +/* end confdefs.h.  */
8798  
8799  /* Override any gcc2 internal prototype to avoid an error.  */
8800  #ifdef __cplusplus
8801 @@ -5665,103 +7046,119 @@
8802  }
8803  _ACEOF
8804  rm -f conftest.$ac_objext conftest$ac_exeext
8805 -if { (eval echo "$as_me:5668: \"$ac_link\"") >&5
8806 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8807    (eval $ac_link) 2>&5
8808    ac_status=$?
8809 -  echo "$as_me:5671: \$? = $ac_status" >&5
8810 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811    (exit $ac_status); } &&
8812           { ac_try='test -s conftest$ac_exeext'
8813 -  { (eval echo "$as_me:5674: \"$ac_try\"") >&5
8814 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815    (eval $ac_try) 2>&5
8816    ac_status=$?
8817 -  echo "$as_me:5677: \$? = $ac_status" >&5
8818 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819    (exit $ac_status); }; }; then
8820    ac_cv_lib_z_deflate=yes
8821  else
8822    echo "$as_me: failed program was:" >&5
8823 -cat conftest.$ac_ext >&5
8824 +sed 's/^/| /' conftest.$ac_ext >&5
8825 +
8826  ac_cv_lib_z_deflate=no
8827  fi
8828  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8829  LIBS=$ac_check_lib_save_LIBS
8830  fi
8831 -echo "$as_me:5688: result: $ac_cv_lib_z_deflate" >&5
8832 +echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
8833  echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
8834  if test $ac_cv_lib_z_deflate = yes; then
8835 -  cat >>confdefs.h <<EOF
8836 +  cat >>confdefs.h <<_ACEOF
8837  #define HAVE_LIBZ 1
8838 -EOF
8839 +_ACEOF
8840  
8841    LIBS="-lz $LIBS"
8842  
8843  else
8844 -  { { echo "$as_me:5698: error: *** zlib missing - please install first or check config.log ***" >&5
8845 +  { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
8846  echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
8847     { (exit 1); exit 1; }; }
8848  fi
8849  
8850 -echo "$as_me:5703: checking for strcasecmp" >&5
8851 +
8852 +echo "$as_me:$LINENO: checking for strcasecmp" >&5
8853  echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
8854  if test "${ac_cv_func_strcasecmp+set}" = set; then
8855    echo $ECHO_N "(cached) $ECHO_C" >&6
8856  else
8857    cat >conftest.$ac_ext <<_ACEOF
8858 -#line 5709 "configure"
8859 -#include "confdefs.h"
8860 +#line $LINENO "configure"
8861 +/* confdefs.h.  */
8862 +_ACEOF
8863 +cat confdefs.h >>conftest.$ac_ext
8864 +cat >>conftest.$ac_ext <<_ACEOF
8865 +/* end confdefs.h.  */
8866  /* System header to define __stub macros and hopefully few prototypes,
8867 -    which can conflict with char strcasecmp (); below.  */
8868 -#include <assert.h>
8869 +    which can conflict with char strcasecmp (); below.
8870 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8871 +    <limits.h> exists even on freestanding compilers.  */
8872 +#ifdef __STDC__
8873 +# include <limits.h>
8874 +#else
8875 +# include <assert.h>
8876 +#endif
8877  /* Override any gcc2 internal prototype to avoid an error.  */
8878  #ifdef __cplusplus
8879  extern "C"
8880 +{
8881  #endif
8882  /* We use char because int might match the return type of a gcc2
8883     builtin and then its argument prototype would still apply.  */
8884  char strcasecmp ();
8885 -char (*f) ();
8886 -
8887 -int
8888 -main ()
8889 -{
8890  /* The GNU C library defines this for functions which it implements
8891      to always fail with ENOSYS.  Some functions are actually named
8892      something starting with __ and the normal name is an alias.  */
8893  #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
8894  choke me
8895  #else
8896 -f = strcasecmp;
8897 +char (*f) () = strcasecmp;
8898 +#endif
8899 +#ifdef __cplusplus
8900 +}
8901  #endif
8902  
8903 +int
8904 +main ()
8905 +{
8906 +return f != strcasecmp;
8907    ;
8908    return 0;
8909  }
8910  _ACEOF
8911  rm -f conftest.$ac_objext conftest$ac_exeext
8912 -if { (eval echo "$as_me:5740: \"$ac_link\"") >&5
8913 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8914    (eval $ac_link) 2>&5
8915    ac_status=$?
8916 -  echo "$as_me:5743: \$? = $ac_status" >&5
8917 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918    (exit $ac_status); } &&
8919           { ac_try='test -s conftest$ac_exeext'
8920 -  { (eval echo "$as_me:5746: \"$ac_try\"") >&5
8921 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922    (eval $ac_try) 2>&5
8923    ac_status=$?
8924 -  echo "$as_me:5749: \$? = $ac_status" >&5
8925 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926    (exit $ac_status); }; }; then
8927    ac_cv_func_strcasecmp=yes
8928  else
8929    echo "$as_me: failed program was:" >&5
8930 -cat conftest.$ac_ext >&5
8931 +sed 's/^/| /' conftest.$ac_ext >&5
8932 +
8933  ac_cv_func_strcasecmp=no
8934  fi
8935  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8936  fi
8937 -echo "$as_me:5759: result: $ac_cv_func_strcasecmp" >&5
8938 +echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
8939  echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
8940  if test $ac_cv_func_strcasecmp = yes; then
8941    :
8942  else
8943 -   echo "$as_me:5764: checking for strcasecmp in -lresolv" >&5
8944 +   echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
8945  echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
8946  if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
8947    echo $ECHO_N "(cached) $ECHO_C" >&6
8948 @@ -5769,8 +7166,12 @@
8949    ac_check_lib_save_LIBS=$LIBS
8950  LIBS="-lresolv  $LIBS"
8951  cat >conftest.$ac_ext <<_ACEOF
8952 -#line 5772 "configure"
8953 -#include "confdefs.h"
8954 +#line $LINENO "configure"
8955 +/* confdefs.h.  */
8956 +_ACEOF
8957 +cat confdefs.h >>conftest.$ac_ext
8958 +cat >>conftest.$ac_ext <<_ACEOF
8959 +/* end confdefs.h.  */
8960  
8961  /* Override any gcc2 internal prototype to avoid an error.  */
8962  #ifdef __cplusplus
8963 @@ -5788,96 +7189,112 @@
8964  }
8965  _ACEOF
8966  rm -f conftest.$ac_objext conftest$ac_exeext
8967 -if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
8968 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8969    (eval $ac_link) 2>&5
8970    ac_status=$?
8971 -  echo "$as_me:5794: \$? = $ac_status" >&5
8972 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973    (exit $ac_status); } &&
8974           { ac_try='test -s conftest$ac_exeext'
8975 -  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
8976 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977    (eval $ac_try) 2>&5
8978    ac_status=$?
8979 -  echo "$as_me:5800: \$? = $ac_status" >&5
8980 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981    (exit $ac_status); }; }; then
8982    ac_cv_lib_resolv_strcasecmp=yes
8983  else
8984    echo "$as_me: failed program was:" >&5
8985 -cat conftest.$ac_ext >&5
8986 +sed 's/^/| /' conftest.$ac_ext >&5
8987 +
8988  ac_cv_lib_resolv_strcasecmp=no
8989  fi
8990  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8991  LIBS=$ac_check_lib_save_LIBS
8992  fi
8993 -echo "$as_me:5811: result: $ac_cv_lib_resolv_strcasecmp" >&5
8994 +echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
8995  echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
8996  if test $ac_cv_lib_resolv_strcasecmp = yes; then
8997    LIBS="$LIBS -lresolv"
8998  fi
8999  
9000 +
9001  fi
9002  
9003 -echo "$as_me:5819: checking for utimes" >&5
9004 +echo "$as_me:$LINENO: checking for utimes" >&5
9005  echo $ECHO_N "checking for utimes... $ECHO_C" >&6
9006  if test "${ac_cv_func_utimes+set}" = set; then
9007    echo $ECHO_N "(cached) $ECHO_C" >&6
9008  else
9009    cat >conftest.$ac_ext <<_ACEOF
9010 -#line 5825 "configure"
9011 -#include "confdefs.h"
9012 +#line $LINENO "configure"
9013 +/* confdefs.h.  */
9014 +_ACEOF
9015 +cat confdefs.h >>conftest.$ac_ext
9016 +cat >>conftest.$ac_ext <<_ACEOF
9017 +/* end confdefs.h.  */
9018  /* System header to define __stub macros and hopefully few prototypes,
9019 -    which can conflict with char utimes (); below.  */
9020 -#include <assert.h>
9021 +    which can conflict with char utimes (); below.
9022 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9023 +    <limits.h> exists even on freestanding compilers.  */
9024 +#ifdef __STDC__
9025 +# include <limits.h>
9026 +#else
9027 +# include <assert.h>
9028 +#endif
9029  /* Override any gcc2 internal prototype to avoid an error.  */
9030  #ifdef __cplusplus
9031  extern "C"
9032 +{
9033  #endif
9034  /* We use char because int might match the return type of a gcc2
9035     builtin and then its argument prototype would still apply.  */
9036  char utimes ();
9037 -char (*f) ();
9038 -
9039 -int
9040 -main ()
9041 -{
9042  /* The GNU C library defines this for functions which it implements
9043      to always fail with ENOSYS.  Some functions are actually named
9044      something starting with __ and the normal name is an alias.  */
9045  #if defined (__stub_utimes) || defined (__stub___utimes)
9046  choke me
9047  #else
9048 -f = utimes;
9049 +char (*f) () = utimes;
9050 +#endif
9051 +#ifdef __cplusplus
9052 +}
9053  #endif
9054  
9055 +int
9056 +main ()
9057 +{
9058 +return f != utimes;
9059    ;
9060    return 0;
9061  }
9062  _ACEOF
9063  rm -f conftest.$ac_objext conftest$ac_exeext
9064 -if { (eval echo "$as_me:5856: \"$ac_link\"") >&5
9065 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066    (eval $ac_link) 2>&5
9067    ac_status=$?
9068 -  echo "$as_me:5859: \$? = $ac_status" >&5
9069 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070    (exit $ac_status); } &&
9071           { ac_try='test -s conftest$ac_exeext'
9072 -  { (eval echo "$as_me:5862: \"$ac_try\"") >&5
9073 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074    (eval $ac_try) 2>&5
9075    ac_status=$?
9076 -  echo "$as_me:5865: \$? = $ac_status" >&5
9077 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078    (exit $ac_status); }; }; then
9079    ac_cv_func_utimes=yes
9080  else
9081    echo "$as_me: failed program was:" >&5
9082 -cat conftest.$ac_ext >&5
9083 +sed 's/^/| /' conftest.$ac_ext >&5
9084 +
9085  ac_cv_func_utimes=no
9086  fi
9087  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9088  fi
9089 -echo "$as_me:5875: result: $ac_cv_func_utimes" >&5
9090 +echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
9091  echo "${ECHO_T}$ac_cv_func_utimes" >&6
9092  if test $ac_cv_func_utimes = yes; then
9093    :
9094  else
9095 -   echo "$as_me:5880: checking for utimes in -lc89" >&5
9096 +   echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
9097  echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
9098  if test "${ac_cv_lib_c89_utimes+set}" = set; then
9099    echo $ECHO_N "(cached) $ECHO_C" >&6
9100 @@ -5885,8 +7302,12 @@
9101    ac_check_lib_save_LIBS=$LIBS
9102  LIBS="-lc89  $LIBS"
9103  cat >conftest.$ac_ext <<_ACEOF
9104 -#line 5888 "configure"
9105 -#include "confdefs.h"
9106 +#line $LINENO "configure"
9107 +/* confdefs.h.  */
9108 +_ACEOF
9109 +cat confdefs.h >>conftest.$ac_ext
9110 +cat >>conftest.$ac_ext <<_ACEOF
9111 +/* end confdefs.h.  */
9112  
9113  /* Override any gcc2 internal prototype to avoid an error.  */
9114  #ifdef __cplusplus
9115 @@ -5904,58 +7325,109 @@
9116  }
9117  _ACEOF
9118  rm -f conftest.$ac_objext conftest$ac_exeext
9119 -if { (eval echo "$as_me:5907: \"$ac_link\"") >&5
9120 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9121    (eval $ac_link) 2>&5
9122    ac_status=$?
9123 -  echo "$as_me:5910: \$? = $ac_status" >&5
9124 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125    (exit $ac_status); } &&
9126           { ac_try='test -s conftest$ac_exeext'
9127 -  { (eval echo "$as_me:5913: \"$ac_try\"") >&5
9128 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129    (eval $ac_try) 2>&5
9130    ac_status=$?
9131 -  echo "$as_me:5916: \$? = $ac_status" >&5
9132 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133    (exit $ac_status); }; }; then
9134    ac_cv_lib_c89_utimes=yes
9135  else
9136    echo "$as_me: failed program was:" >&5
9137 -cat conftest.$ac_ext >&5
9138 +sed 's/^/| /' conftest.$ac_ext >&5
9139 +
9140  ac_cv_lib_c89_utimes=no
9141  fi
9142  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9143  LIBS=$ac_check_lib_save_LIBS
9144  fi
9145 -echo "$as_me:5927: result: $ac_cv_lib_c89_utimes" >&5
9146 +echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
9147  echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
9148  if test $ac_cv_lib_c89_utimes = yes; then
9149 -  cat >>confdefs.h <<\EOF
9150 +  cat >>confdefs.h <<\_ACEOF
9151  #define HAVE_UTIMES 1
9152 -EOF
9153 +_ACEOF
9154  
9155                                         LIBS="$LIBS -lc89"
9156  fi
9157  
9158 +
9159  fi
9160  
9161 +
9162 +
9163  for ac_header in libutil.h
9164  do
9165  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9166 -echo "$as_me:5942: checking for $ac_header" >&5
9167 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9168 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
9169  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9170  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9171    echo $ECHO_N "(cached) $ECHO_C" >&6
9172 +fi
9173 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9174 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9175  else
9176 -  cat >conftest.$ac_ext <<_ACEOF
9177 -#line 5948 "configure"
9178 -#include "confdefs.h"
9179 +  # Is the header compilable?
9180 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
9181 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9182 +cat >conftest.$ac_ext <<_ACEOF
9183 +#line $LINENO "configure"
9184 +/* confdefs.h.  */
9185 +_ACEOF
9186 +cat confdefs.h >>conftest.$ac_ext
9187 +cat >>conftest.$ac_ext <<_ACEOF
9188 +/* end confdefs.h.  */
9189 +$ac_includes_default
9190  #include <$ac_header>
9191  _ACEOF
9192 -if { (eval echo "$as_me:5952: \"$ac_cpp conftest.$ac_ext\"") >&5
9193 +rm -f conftest.$ac_objext
9194 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9195 +  (eval $ac_compile) 2>&5
9196 +  ac_status=$?
9197 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 +  (exit $ac_status); } &&
9199 +         { ac_try='test -s conftest.$ac_objext'
9200 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 +  (eval $ac_try) 2>&5
9202 +  ac_status=$?
9203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 +  (exit $ac_status); }; }; then
9205 +  ac_header_compiler=yes
9206 +else
9207 +  echo "$as_me: failed program was:" >&5
9208 +sed 's/^/| /' conftest.$ac_ext >&5
9209 +
9210 +ac_header_compiler=no
9211 +fi
9212 +rm -f conftest.$ac_objext conftest.$ac_ext
9213 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9214 +echo "${ECHO_T}$ac_header_compiler" >&6
9215 +
9216 +# Is the header present?
9217 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
9218 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9219 +cat >conftest.$ac_ext <<_ACEOF
9220 +#line $LINENO "configure"
9221 +/* confdefs.h.  */
9222 +_ACEOF
9223 +cat confdefs.h >>conftest.$ac_ext
9224 +cat >>conftest.$ac_ext <<_ACEOF
9225 +/* end confdefs.h.  */
9226 +#include <$ac_header>
9227 +_ACEOF
9228 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9229    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9230    ac_status=$?
9231 -  egrep -v '^ *\+' conftest.er1 >conftest.err
9232 +  grep -v '^ *+' conftest.er1 >conftest.err
9233    rm -f conftest.er1
9234    cat conftest.err >&5
9235 -  echo "$as_me:5958: \$? = $ac_status" >&5
9236 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237    (exit $ac_status); } >/dev/null; then
9238    if test -s conftest.err; then
9239      ac_cpp_err=$ac_c_preproc_warn_flag
9240 @@ -5966,25 +7438,71 @@
9241    ac_cpp_err=yes
9242  fi
9243  if test -z "$ac_cpp_err"; then
9244 -  eval "$as_ac_Header=yes"
9245 +  ac_header_preproc=yes
9246  else
9247    echo "$as_me: failed program was:" >&5
9248 -  cat conftest.$ac_ext >&5
9249 -  eval "$as_ac_Header=no"
9250 +sed 's/^/| /' conftest.$ac_ext >&5
9251 +
9252 +  ac_header_preproc=no
9253  fi
9254  rm -f conftest.err conftest.$ac_ext
9255 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9256 +echo "${ECHO_T}$ac_header_preproc" >&6
9257 +
9258 +# So?  What about this header?
9259 +case $ac_header_compiler:$ac_header_preproc in
9260 +  yes:no )
9261 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9262 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9263 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9264 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9265 +    (
9266 +      cat <<\_ASBOX
9267 +## ------------------------------------ ##
9268 +## Report this to bug-autoconf@gnu.org. ##
9269 +## ------------------------------------ ##
9270 +_ASBOX
9271 +    ) |
9272 +      sed "s/^/$as_me: WARNING:     /" >&2
9273 +    ;;
9274 +  no:yes )
9275 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9276 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9277 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9278 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9279 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9280 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9281 +    (
9282 +      cat <<\_ASBOX
9283 +## ------------------------------------ ##
9284 +## Report this to bug-autoconf@gnu.org. ##
9285 +## ------------------------------------ ##
9286 +_ASBOX
9287 +    ) |
9288 +      sed "s/^/$as_me: WARNING:     /" >&2
9289 +    ;;
9290 +esac
9291 +echo "$as_me:$LINENO: checking for $ac_header" >&5
9292 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9293 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
9294 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9295 +else
9296 +  eval "$as_ac_Header=$ac_header_preproc"
9297  fi
9298 -echo "$as_me:5977: result: `eval echo '${'$as_ac_Header'}'`" >&5
9299 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9300  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9301 +
9302 +fi
9303  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9304 -  cat >>confdefs.h <<EOF
9305 +  cat >>confdefs.h <<_ACEOF
9306  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9307 -EOF
9308 +_ACEOF
9309  
9310  fi
9311 +
9312  done
9313  
9314 -echo "$as_me:5987: checking for library containing login" >&5
9315 +echo "$as_me:$LINENO: checking for library containing login" >&5
9316  echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
9317  if test "${ac_cv_search_login+set}" = set; then
9318    echo $ECHO_N "(cached) $ECHO_C" >&6
9319 @@ -5992,8 +7510,12 @@
9320    ac_func_search_save_LIBS=$LIBS
9321  ac_cv_search_login=no
9322  cat >conftest.$ac_ext <<_ACEOF
9323 -#line 5995 "configure"
9324 -#include "confdefs.h"
9325 +#line $LINENO "configure"
9326 +/* confdefs.h.  */
9327 +_ACEOF
9328 +cat confdefs.h >>conftest.$ac_ext
9329 +cat >>conftest.$ac_ext <<_ACEOF
9330 +/* end confdefs.h.  */
9331  
9332  /* Override any gcc2 internal prototype to avoid an error.  */
9333  #ifdef __cplusplus
9334 @@ -6011,29 +7533,34 @@
9335  }
9336  _ACEOF
9337  rm -f conftest.$ac_objext conftest$ac_exeext
9338 -if { (eval echo "$as_me:6014: \"$ac_link\"") >&5
9339 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9340    (eval $ac_link) 2>&5
9341    ac_status=$?
9342 -  echo "$as_me:6017: \$? = $ac_status" >&5
9343 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344    (exit $ac_status); } &&
9345           { ac_try='test -s conftest$ac_exeext'
9346 -  { (eval echo "$as_me:6020: \"$ac_try\"") >&5
9347 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348    (eval $ac_try) 2>&5
9349    ac_status=$?
9350 -  echo "$as_me:6023: \$? = $ac_status" >&5
9351 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352    (exit $ac_status); }; }; then
9353    ac_cv_search_login="none required"
9354  else
9355    echo "$as_me: failed program was:" >&5
9356 -cat conftest.$ac_ext >&5
9357 +sed 's/^/| /' conftest.$ac_ext >&5
9358 +
9359  fi
9360  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9361  if test "$ac_cv_search_login" = no; then
9362    for ac_lib in util bsd; do
9363      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
9364      cat >conftest.$ac_ext <<_ACEOF
9365 -#line 6035 "configure"
9366 -#include "confdefs.h"
9367 +#line $LINENO "configure"
9368 +/* confdefs.h.  */
9369 +_ACEOF
9370 +cat confdefs.h >>conftest.$ac_ext
9371 +cat >>conftest.$ac_ext <<_ACEOF
9372 +/* end confdefs.h.  */
9373  
9374  /* Override any gcc2 internal prototype to avoid an error.  */
9375  #ifdef __cplusplus
9376 @@ -6051,176 +7578,210 @@
9377  }
9378  _ACEOF
9379  rm -f conftest.$ac_objext conftest$ac_exeext
9380 -if { (eval echo "$as_me:6054: \"$ac_link\"") >&5
9381 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9382    (eval $ac_link) 2>&5
9383    ac_status=$?
9384 -  echo "$as_me:6057: \$? = $ac_status" >&5
9385 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386    (exit $ac_status); } &&
9387           { ac_try='test -s conftest$ac_exeext'
9388 -  { (eval echo "$as_me:6060: \"$ac_try\"") >&5
9389 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9390    (eval $ac_try) 2>&5
9391    ac_status=$?
9392 -  echo "$as_me:6063: \$? = $ac_status" >&5
9393 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394    (exit $ac_status); }; }; then
9395    ac_cv_search_login="-l$ac_lib"
9396  break
9397  else
9398    echo "$as_me: failed program was:" >&5
9399 -cat conftest.$ac_ext >&5
9400 +sed 's/^/| /' conftest.$ac_ext >&5
9401 +
9402  fi
9403  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9404    done
9405  fi
9406  LIBS=$ac_func_search_save_LIBS
9407  fi
9408 -echo "$as_me:6076: result: $ac_cv_search_login" >&5
9409 +echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9410  echo "${ECHO_T}$ac_cv_search_login" >&6
9411  if test "$ac_cv_search_login" != no; then
9412    test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
9413 -  cat >>confdefs.h <<\EOF
9414 +  cat >>confdefs.h <<\_ACEOF
9415  #define HAVE_LOGIN 1
9416 -EOF
9417 +_ACEOF
9418  
9419  fi
9420  
9421 +
9422 +
9423 +
9424  for ac_func in logout updwtmp logwtmp
9425  do
9426  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9427 -echo "$as_me:6089: checking for $ac_func" >&5
9428 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9429  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9430  if eval "test \"\${$as_ac_var+set}\" = set"; then
9431    echo $ECHO_N "(cached) $ECHO_C" >&6
9432  else
9433    cat >conftest.$ac_ext <<_ACEOF
9434 -#line 6095 "configure"
9435 -#include "confdefs.h"
9436 +#line $LINENO "configure"
9437 +/* confdefs.h.  */
9438 +_ACEOF
9439 +cat confdefs.h >>conftest.$ac_ext
9440 +cat >>conftest.$ac_ext <<_ACEOF
9441 +/* end confdefs.h.  */
9442  /* System header to define __stub macros and hopefully few prototypes,
9443 -    which can conflict with char $ac_func (); below.  */
9444 -#include <assert.h>
9445 +    which can conflict with char $ac_func (); below.
9446 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9447 +    <limits.h> exists even on freestanding compilers.  */
9448 +#ifdef __STDC__
9449 +# include <limits.h>
9450 +#else
9451 +# include <assert.h>
9452 +#endif
9453  /* Override any gcc2 internal prototype to avoid an error.  */
9454  #ifdef __cplusplus
9455  extern "C"
9456 +{
9457  #endif
9458  /* We use char because int might match the return type of a gcc2
9459     builtin and then its argument prototype would still apply.  */
9460  char $ac_func ();
9461 -char (*f) ();
9462 -
9463 -int
9464 -main ()
9465 -{
9466  /* The GNU C library defines this for functions which it implements
9467      to always fail with ENOSYS.  Some functions are actually named
9468      something starting with __ and the normal name is an alias.  */
9469  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9470  choke me
9471  #else
9472 -f = $ac_func;
9473 +char (*f) () = $ac_func;
9474 +#endif
9475 +#ifdef __cplusplus
9476 +}
9477  #endif
9478  
9479 +int
9480 +main ()
9481 +{
9482 +return f != $ac_func;
9483    ;
9484    return 0;
9485  }
9486  _ACEOF
9487  rm -f conftest.$ac_objext conftest$ac_exeext
9488 -if { (eval echo "$as_me:6126: \"$ac_link\"") >&5
9489 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9490    (eval $ac_link) 2>&5
9491    ac_status=$?
9492 -  echo "$as_me:6129: \$? = $ac_status" >&5
9493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494    (exit $ac_status); } &&
9495           { ac_try='test -s conftest$ac_exeext'
9496 -  { (eval echo "$as_me:6132: \"$ac_try\"") >&5
9497 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498    (eval $ac_try) 2>&5
9499    ac_status=$?
9500 -  echo "$as_me:6135: \$? = $ac_status" >&5
9501 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502    (exit $ac_status); }; }; then
9503    eval "$as_ac_var=yes"
9504  else
9505    echo "$as_me: failed program was:" >&5
9506 -cat conftest.$ac_ext >&5
9507 +sed 's/^/| /' conftest.$ac_ext >&5
9508 +
9509  eval "$as_ac_var=no"
9510  fi
9511  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9512  fi
9513 -echo "$as_me:6145: result: `eval echo '${'$as_ac_var'}'`" >&5
9514 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9515  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9516  if test `eval echo '${'$as_ac_var'}'` = yes; then
9517 -  cat >>confdefs.h <<EOF
9518 +  cat >>confdefs.h <<_ACEOF
9519  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9520 -EOF
9521 +_ACEOF
9522  
9523  fi
9524  done
9525  
9526 +
9527 +
9528  for ac_func in strftime
9529  do
9530  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9531 -echo "$as_me:6158: checking for $ac_func" >&5
9532 +echo "$as_me:$LINENO: checking for $ac_func" >&5
9533  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9534  if eval "test \"\${$as_ac_var+set}\" = set"; then
9535    echo $ECHO_N "(cached) $ECHO_C" >&6
9536  else
9537    cat >conftest.$ac_ext <<_ACEOF
9538 -#line 6164 "configure"
9539 -#include "confdefs.h"
9540 +#line $LINENO "configure"
9541 +/* confdefs.h.  */
9542 +_ACEOF
9543 +cat confdefs.h >>conftest.$ac_ext
9544 +cat >>conftest.$ac_ext <<_ACEOF
9545 +/* end confdefs.h.  */
9546  /* System header to define __stub macros and hopefully few prototypes,
9547 -    which can conflict with char $ac_func (); below.  */
9548 -#include <assert.h>
9549 +    which can conflict with char $ac_func (); below.
9550 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9551 +    <limits.h> exists even on freestanding compilers.  */
9552 +#ifdef __STDC__
9553 +# include <limits.h>
9554 +#else
9555 +# include <assert.h>
9556 +#endif
9557  /* Override any gcc2 internal prototype to avoid an error.  */
9558  #ifdef __cplusplus
9559  extern "C"
9560 +{
9561  #endif
9562  /* We use char because int might match the return type of a gcc2
9563     builtin and then its argument prototype would still apply.  */
9564  char $ac_func ();
9565 -char (*f) ();
9566 -
9567 -int
9568 -main ()
9569 -{
9570  /* The GNU C library defines this for functions which it implements
9571      to always fail with ENOSYS.  Some functions are actually named
9572      something starting with __ and the normal name is an alias.  */
9573  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9574  choke me
9575  #else
9576 -f = $ac_func;
9577 +char (*f) () = $ac_func;
9578 +#endif
9579 +#ifdef __cplusplus
9580 +}
9581  #endif
9582  
9583 +int
9584 +main ()
9585 +{
9586 +return f != $ac_func;
9587    ;
9588    return 0;
9589  }
9590  _ACEOF
9591  rm -f conftest.$ac_objext conftest$ac_exeext
9592 -if { (eval echo "$as_me:6195: \"$ac_link\"") >&5
9593 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9594    (eval $ac_link) 2>&5
9595    ac_status=$?
9596 -  echo "$as_me:6198: \$? = $ac_status" >&5
9597 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598    (exit $ac_status); } &&
9599           { ac_try='test -s conftest$ac_exeext'
9600 -  { (eval echo "$as_me:6201: \"$ac_try\"") >&5
9601 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602    (eval $ac_try) 2>&5
9603    ac_status=$?
9604 -  echo "$as_me:6204: \$? = $ac_status" >&5
9605 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606    (exit $ac_status); }; }; then
9607    eval "$as_ac_var=yes"
9608  else
9609    echo "$as_me: failed program was:" >&5
9610 -cat conftest.$ac_ext >&5
9611 +sed 's/^/| /' conftest.$ac_ext >&5
9612 +
9613  eval "$as_ac_var=no"
9614  fi
9615  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9616  fi
9617 -echo "$as_me:6214: result: `eval echo '${'$as_ac_var'}'`" >&5
9618 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9619  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9620  if test `eval echo '${'$as_ac_var'}'` = yes; then
9621 -  cat >>confdefs.h <<EOF
9622 +  cat >>confdefs.h <<_ACEOF
9623  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9624 -EOF
9625 +_ACEOF
9626  
9627  else
9628    # strftime is in -lintl on SCO UNIX.
9629 -echo "$as_me:6223: checking for strftime in -lintl" >&5
9630 +echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
9631  echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
9632  if test "${ac_cv_lib_intl_strftime+set}" = set; then
9633    echo $ECHO_N "(cached) $ECHO_C" >&6
9634 @@ -6228,8 +7789,12 @@
9635    ac_check_lib_save_LIBS=$LIBS
9636  LIBS="-lintl  $LIBS"
9637  cat >conftest.$ac_ext <<_ACEOF
9638 -#line 6231 "configure"
9639 -#include "confdefs.h"
9640 +#line $LINENO "configure"
9641 +/* confdefs.h.  */
9642 +_ACEOF
9643 +cat confdefs.h >>conftest.$ac_ext
9644 +cat >>conftest.$ac_ext <<_ACEOF
9645 +/* end confdefs.h.  */
9646  
9647  /* Override any gcc2 internal prototype to avoid an error.  */
9648  #ifdef __cplusplus
9649 @@ -6247,32 +7812,33 @@
9650  }
9651  _ACEOF
9652  rm -f conftest.$ac_objext conftest$ac_exeext
9653 -if { (eval echo "$as_me:6250: \"$ac_link\"") >&5
9654 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9655    (eval $ac_link) 2>&5
9656    ac_status=$?
9657 -  echo "$as_me:6253: \$? = $ac_status" >&5
9658 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659    (exit $ac_status); } &&
9660           { ac_try='test -s conftest$ac_exeext'
9661 -  { (eval echo "$as_me:6256: \"$ac_try\"") >&5
9662 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9663    (eval $ac_try) 2>&5
9664    ac_status=$?
9665 -  echo "$as_me:6259: \$? = $ac_status" >&5
9666 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667    (exit $ac_status); }; }; then
9668    ac_cv_lib_intl_strftime=yes
9669  else
9670    echo "$as_me: failed program was:" >&5
9671 -cat conftest.$ac_ext >&5
9672 +sed 's/^/| /' conftest.$ac_ext >&5
9673 +
9674  ac_cv_lib_intl_strftime=no
9675  fi
9676  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9677  LIBS=$ac_check_lib_save_LIBS
9678  fi
9679 -echo "$as_me:6270: result: $ac_cv_lib_intl_strftime" >&5
9680 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
9681  echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
9682  if test $ac_cv_lib_intl_strftime = yes; then
9683 -  cat >>confdefs.h <<\EOF
9684 +  cat >>confdefs.h <<\_ACEOF
9685  #define HAVE_STRFTIME 1
9686 -EOF
9687 +_ACEOF
9688  
9689  LIBS="-lintl $LIBS"
9690  fi
9691 @@ -6280,12 +7846,17 @@
9692  fi
9693  done
9694  
9695 +
9696  # Check for ALTDIRFUNC glob() extension
9697 -echo "$as_me:6284: checking for GLOB_ALTDIRFUNC support" >&5
9698 +echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
9699  echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
9700  cat >conftest.$ac_ext <<_ACEOF
9701 -#line 6287 "configure"
9702 -#include "confdefs.h"
9703 +#line $LINENO "configure"
9704 +/* confdefs.h.  */
9705 +_ACEOF
9706 +cat confdefs.h >>conftest.$ac_ext
9707 +cat >>conftest.$ac_ext <<_ACEOF
9708 +/* end confdefs.h.  */
9709  
9710                 #include <glob.h>
9711                 #ifdef GLOB_ALTDIRFUNC
9712 @@ -6294,94 +7865,119 @@
9713  
9714  _ACEOF
9715  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9716 -  egrep "FOUNDIT" >/dev/null 2>&1; then
9717 +  $EGREP "FOUNDIT" >/dev/null 2>&1; then
9718  
9719 -               cat >>confdefs.h <<\EOF
9720 +               cat >>confdefs.h <<\_ACEOF
9721  #define GLOB_HAS_ALTDIRFUNC 1
9722 -EOF
9723 +_ACEOF
9724  
9725 -               echo "$as_me:6303: result: yes" >&5
9726 +               echo "$as_me:$LINENO: result: yes" >&5
9727  echo "${ECHO_T}yes" >&6
9728  
9729  else
9730  
9731 -               echo "$as_me:6308: result: no" >&5
9732 +               echo "$as_me:$LINENO: result: no" >&5
9733  echo "${ECHO_T}no" >&6
9734  
9735 +
9736  fi
9737  rm -f conftest*
9738  
9739 +
9740  # Check for g.gl_matchc glob() extension
9741 -echo "$as_me:6315: checking for gl_matchc field in glob_t" >&5
9742 +echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
9743  echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
9744  cat >conftest.$ac_ext <<_ACEOF
9745 -#line 6318 "configure"
9746 -#include "confdefs.h"
9747 +#line $LINENO "configure"
9748 +/* confdefs.h.  */
9749 +_ACEOF
9750 +cat confdefs.h >>conftest.$ac_ext
9751 +cat >>conftest.$ac_ext <<_ACEOF
9752 +/* end confdefs.h.  */
9753  
9754                  #include <glob.h>
9755                 int main(void){glob_t g; g.gl_matchc = 1;}
9756  
9757  _ACEOF
9758  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9759 -  egrep "FOUNDIT" >/dev/null 2>&1; then
9760 +  $EGREP "FOUNDIT" >/dev/null 2>&1; then
9761  
9762 -                cat >>confdefs.h <<\EOF
9763 +                cat >>confdefs.h <<\_ACEOF
9764  #define GLOB_HAS_GL_MATCHC 1
9765 -EOF
9766 +_ACEOF
9767  
9768 -                echo "$as_me:6332: result: yes" >&5
9769 +                echo "$as_me:$LINENO: result: yes" >&5
9770  echo "${ECHO_T}yes" >&6
9771  
9772  else
9773  
9774 -                echo "$as_me:6337: result: no" >&5
9775 +                echo "$as_me:$LINENO: result: no" >&5
9776  echo "${ECHO_T}no" >&6
9777  
9778 +
9779  fi
9780  rm -f conftest*
9781  
9782 -echo "$as_me:6343: checking whether struct dirent allocates space for d_name" >&5
9783 +
9784 +echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
9785  echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
9786 -if test "$cross_compiling" = yes; then
9787 -  { { echo "$as_me:6346: error: cannot run test program while cross compiling" >&5
9788 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9789 +if test "${ac_cv_have_space_d_name_in_struct_dirent+set}" = set; then
9790 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9791 +else
9792 +
9793 +       if test "$cross_compiling" = yes; then
9794 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9795 +See \`config.log' for more details." >&5
9796 +echo "$as_me: error: cannot run test program while cross compiling
9797 +See \`config.log' for more details." >&2;}
9798     { (exit 1); exit 1; }; }
9799  else
9800    cat >conftest.$ac_ext <<_ACEOF
9801 -#line 6351 "configure"
9802 -#include "confdefs.h"
9803 +#line $LINENO "configure"
9804 +/* confdefs.h.  */
9805 +_ACEOF
9806 +cat confdefs.h >>conftest.$ac_ext
9807 +cat >>conftest.$ac_ext <<_ACEOF
9808 +/* end confdefs.h.  */
9809  
9810 -#include <sys/types.h>
9811 -#include <dirent.h>
9812 -int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
9813 +                       #include <sys/types.h>
9814 +                       #include <dirent.h>
9815 +                       int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
9816  
9817  _ACEOF
9818  rm -f conftest$ac_exeext
9819 -if { (eval echo "$as_me:6360: \"$ac_link\"") >&5
9820 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821    (eval $ac_link) 2>&5
9822    ac_status=$?
9823 -  echo "$as_me:6363: \$? = $ac_status" >&5
9824 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9826 -  { (eval echo "$as_me:6365: \"$ac_try\"") >&5
9827 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828    (eval $ac_try) 2>&5
9829    ac_status=$?
9830 -  echo "$as_me:6368: \$? = $ac_status" >&5
9831 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832    (exit $ac_status); }; }; then
9833 -  echo "$as_me:6370: result: yes" >&5
9834 -echo "${ECHO_T}yes" >&6
9835 +  ac_cv_have_space_d_name_in_struct_dirent="yes"
9836  else
9837    echo "$as_me: program exited with status $ac_status" >&5
9838  echo "$as_me: failed program was:" >&5
9839 -cat conftest.$ac_ext >&5
9840 +sed 's/^/| /' conftest.$ac_ext >&5
9841  
9842 -               echo "$as_me:6377: result: no" >&5
9843 -echo "${ECHO_T}no" >&6
9844 -               cat >>confdefs.h <<\EOF
9845 -#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9846 -EOF
9847 +( exit $ac_status )
9848 +ac_cv_have_space_d_name_in_struct_dirent="no"
9849  
9850  fi
9851 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9852 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9853 +fi
9854 +
9855 +fi
9856 +echo "$as_me:$LINENO: result: $ac_cv_have_space_d_name_in_struct_dirent" >&5
9857 +echo "${ECHO_T}$ac_cv_have_space_d_name_in_struct_dirent" >&6
9858 +
9859 +if test "x$ac_cv_dirent_have_space_d_name" = "xyes" ; then
9860 +       cat >>confdefs.h <<\_ACEOF
9861 +#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
9862 +_ACEOF
9863 +
9864  fi
9865  
9866  # Check whether user wants S/Key support
9867 @@ -6398,23 +7994,29 @@
9868                                 LDFLAGS="$LDFLAGS -L${withval}/lib"
9869                         fi
9870  
9871 -                       cat >>confdefs.h <<\EOF
9872 +                       cat >>confdefs.h <<\_ACEOF
9873  #define SKEY 1
9874 -EOF
9875 +_ACEOF
9876  
9877                         LIBS="-lskey $LIBS"
9878                         SKEY_MSG="yes"
9879  
9880 -                       echo "$as_me:6408: checking for s/key support" >&5
9881 +                       echo "$as_me:$LINENO: checking for s/key support" >&5
9882  echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
9883                         if test "$cross_compiling" = yes; then
9884 -  { { echo "$as_me:6411: error: cannot run test program while cross compiling" >&5
9885 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9886 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9887 +See \`config.log' for more details." >&5
9888 +echo "$as_me: error: cannot run test program while cross compiling
9889 +See \`config.log' for more details." >&2;}
9890     { (exit 1); exit 1; }; }
9891  else
9892    cat >conftest.$ac_ext <<_ACEOF
9893 -#line 6416 "configure"
9894 -#include "confdefs.h"
9895 +#line $LINENO "configure"
9896 +/* confdefs.h.  */
9897 +_ACEOF
9898 +cat confdefs.h >>conftest.$ac_ext
9899 +cat >>conftest.$ac_ext <<_ACEOF
9900 +/* end confdefs.h.  */
9901  
9902  #include <stdio.h>
9903  #include <skey.h>
9904 @@ -6422,34 +8024,37 @@
9905  
9906  _ACEOF
9907  rm -f conftest$ac_exeext
9908 -if { (eval echo "$as_me:6425: \"$ac_link\"") >&5
9909 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9910    (eval $ac_link) 2>&5
9911    ac_status=$?
9912 -  echo "$as_me:6428: \$? = $ac_status" >&5
9913 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9915 -  { (eval echo "$as_me:6430: \"$ac_try\"") >&5
9916 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9917    (eval $ac_try) 2>&5
9918    ac_status=$?
9919 -  echo "$as_me:6433: \$? = $ac_status" >&5
9920 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921    (exit $ac_status); }; }; then
9922 -  echo "$as_me:6435: result: yes" >&5
9923 +  echo "$as_me:$LINENO: result: yes" >&5
9924  echo "${ECHO_T}yes" >&6
9925  else
9926    echo "$as_me: program exited with status $ac_status" >&5
9927  echo "$as_me: failed program was:" >&5
9928 -cat conftest.$ac_ext >&5
9929 +sed 's/^/| /' conftest.$ac_ext >&5
9930  
9931 -                                       echo "$as_me:6442: result: no" >&5
9932 +( exit $ac_status )
9933 +
9934 +                                       echo "$as_me:$LINENO: result: no" >&5
9935  echo "${ECHO_T}no" >&6
9936 -                                       { { echo "$as_me:6444: error: ** Incomplete or missing s/key libraries." >&5
9937 +                                       { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
9938  echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
9939     { (exit 1); exit 1; }; }
9940  
9941  fi
9942 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9943 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9944  fi
9945                 fi
9946  
9947 +
9948  fi;
9949  
9950  # Check whether user wants TCP wrappers support
9951 @@ -6485,11 +8090,15 @@
9952                         fi
9953                         LIBWRAP="-lwrap"
9954                         LIBS="$LIBWRAP $LIBS"
9955 -                       echo "$as_me:6488: checking for libwrap" >&5
9956 +                       echo "$as_me:$LINENO: checking for libwrap" >&5
9957  echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
9958                         cat >conftest.$ac_ext <<_ACEOF
9959 -#line 6491 "configure"
9960 -#include "confdefs.h"
9961 +#line $LINENO "configure"
9962 +/* confdefs.h.  */
9963 +_ACEOF
9964 +cat confdefs.h >>conftest.$ac_ext
9965 +cat >>conftest.$ac_ext <<_ACEOF
9966 +/* end confdefs.h.  */
9967  
9968  #include <tcpd.h>
9969                                         int deny_severity = 0, allow_severity = 0;
9970 @@ -6503,41 +8112,119 @@
9971  }
9972  _ACEOF
9973  rm -f conftest.$ac_objext conftest$ac_exeext
9974 -if { (eval echo "$as_me:6506: \"$ac_link\"") >&5
9975 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9976    (eval $ac_link) 2>&5
9977    ac_status=$?
9978 -  echo "$as_me:6509: \$? = $ac_status" >&5
9979 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980    (exit $ac_status); } &&
9981           { ac_try='test -s conftest$ac_exeext'
9982 -  { (eval echo "$as_me:6512: \"$ac_try\"") >&5
9983 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984    (eval $ac_try) 2>&5
9985    ac_status=$?
9986 -  echo "$as_me:6515: \$? = $ac_status" >&5
9987 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988    (exit $ac_status); }; }; then
9989  
9990 -                                       echo "$as_me:6518: result: yes" >&5
9991 +                                       echo "$as_me:$LINENO: result: yes" >&5
9992  echo "${ECHO_T}yes" >&6
9993 -                                       cat >>confdefs.h <<\EOF
9994 +                                       cat >>confdefs.h <<\_ACEOF
9995  #define LIBWRAP 1
9996 -EOF
9997 +_ACEOF
9998 +
9999  
10000                                         TCPW_MSG="yes"
10001  
10002  else
10003    echo "$as_me: failed program was:" >&5
10004 -cat conftest.$ac_ext >&5
10005 +sed 's/^/| /' conftest.$ac_ext >&5
10006  
10007 -                                       { { echo "$as_me:6530: error: *** libwrap missing" >&5
10008 +
10009 +                                       { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
10010  echo "$as_me: error: *** libwrap missing" >&2;}
10011     { (exit 1); exit 1; }; }
10012  
10013 +
10014  fi
10015  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10016                         LIBS="$saved_LIBS"
10017                 fi
10018  
10019 +
10020  fi;
10021  
10022 +
10023 +
10024 +
10025 +
10026 +
10027 +
10028 +
10029 +
10030 +
10031 +
10032 +
10033 +
10034 +
10035 +
10036 +
10037 +
10038 +
10039 +
10040 +
10041 +
10042 +
10043 +
10044 +
10045 +
10046 +
10047 +
10048 +
10049 +
10050 +
10051 +
10052 +
10053 +
10054 +
10055 +
10056 +
10057 +
10058 +
10059 +
10060 +
10061 +
10062 +
10063 +
10064 +
10065 +
10066 +
10067 +
10068 +
10069 +
10070 +
10071 +
10072 +
10073 +
10074 +
10075 +
10076 +
10077 +
10078 +
10079 +
10080 +
10081 +
10082 +
10083 +
10084 +
10085 +
10086 +
10087 +
10088 +
10089 +
10090 +
10091 +
10092 +
10093 +
10094 +
10095 +
10096  for ac_func in \
10097         arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \
10098         bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
10099 @@ -6554,147 +8241,180 @@
10100  
10101  do
10102  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10103 -echo "$as_me:6557: checking for $ac_func" >&5
10104 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10105  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10106  if eval "test \"\${$as_ac_var+set}\" = set"; then
10107    echo $ECHO_N "(cached) $ECHO_C" >&6
10108  else
10109    cat >conftest.$ac_ext <<_ACEOF
10110 -#line 6563 "configure"
10111 -#include "confdefs.h"
10112 +#line $LINENO "configure"
10113 +/* confdefs.h.  */
10114 +_ACEOF
10115 +cat confdefs.h >>conftest.$ac_ext
10116 +cat >>conftest.$ac_ext <<_ACEOF
10117 +/* end confdefs.h.  */
10118  /* System header to define __stub macros and hopefully few prototypes,
10119 -    which can conflict with char $ac_func (); below.  */
10120 -#include <assert.h>
10121 +    which can conflict with char $ac_func (); below.
10122 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10123 +    <limits.h> exists even on freestanding compilers.  */
10124 +#ifdef __STDC__
10125 +# include <limits.h>
10126 +#else
10127 +# include <assert.h>
10128 +#endif
10129  /* Override any gcc2 internal prototype to avoid an error.  */
10130  #ifdef __cplusplus
10131  extern "C"
10132 +{
10133  #endif
10134  /* We use char because int might match the return type of a gcc2
10135     builtin and then its argument prototype would still apply.  */
10136  char $ac_func ();
10137 -char (*f) ();
10138 -
10139 -int
10140 -main ()
10141 -{
10142  /* The GNU C library defines this for functions which it implements
10143      to always fail with ENOSYS.  Some functions are actually named
10144      something starting with __ and the normal name is an alias.  */
10145  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10146  choke me
10147  #else
10148 -f = $ac_func;
10149 +char (*f) () = $ac_func;
10150 +#endif
10151 +#ifdef __cplusplus
10152 +}
10153  #endif
10154  
10155 +int
10156 +main ()
10157 +{
10158 +return f != $ac_func;
10159    ;
10160    return 0;
10161  }
10162  _ACEOF
10163  rm -f conftest.$ac_objext conftest$ac_exeext
10164 -if { (eval echo "$as_me:6594: \"$ac_link\"") >&5
10165 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10166    (eval $ac_link) 2>&5
10167    ac_status=$?
10168 -  echo "$as_me:6597: \$? = $ac_status" >&5
10169 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170    (exit $ac_status); } &&
10171           { ac_try='test -s conftest$ac_exeext'
10172 -  { (eval echo "$as_me:6600: \"$ac_try\"") >&5
10173 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10174    (eval $ac_try) 2>&5
10175    ac_status=$?
10176 -  echo "$as_me:6603: \$? = $ac_status" >&5
10177 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178    (exit $ac_status); }; }; then
10179    eval "$as_ac_var=yes"
10180  else
10181    echo "$as_me: failed program was:" >&5
10182 -cat conftest.$ac_ext >&5
10183 +sed 's/^/| /' conftest.$ac_ext >&5
10184 +
10185  eval "$as_ac_var=no"
10186  fi
10187  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10188  fi
10189 -echo "$as_me:6613: result: `eval echo '${'$as_ac_var'}'`" >&5
10190 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10191  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10192  if test `eval echo '${'$as_ac_var'}'` = yes; then
10193 -  cat >>confdefs.h <<EOF
10194 +  cat >>confdefs.h <<_ACEOF
10195  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10196 -EOF
10197 +_ACEOF
10198  
10199  fi
10200  done
10201  
10202 +
10203  # IRIX has a const char return value for gai_strerror()
10204  
10205  for ac_func in gai_strerror
10206  do
10207  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10208 -echo "$as_me:6628: checking for $ac_func" >&5
10209 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10210  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10211  if eval "test \"\${$as_ac_var+set}\" = set"; then
10212    echo $ECHO_N "(cached) $ECHO_C" >&6
10213  else
10214    cat >conftest.$ac_ext <<_ACEOF
10215 -#line 6634 "configure"
10216 -#include "confdefs.h"
10217 +#line $LINENO "configure"
10218 +/* confdefs.h.  */
10219 +_ACEOF
10220 +cat confdefs.h >>conftest.$ac_ext
10221 +cat >>conftest.$ac_ext <<_ACEOF
10222 +/* end confdefs.h.  */
10223  /* System header to define __stub macros and hopefully few prototypes,
10224 -    which can conflict with char $ac_func (); below.  */
10225 -#include <assert.h>
10226 +    which can conflict with char $ac_func (); below.
10227 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10228 +    <limits.h> exists even on freestanding compilers.  */
10229 +#ifdef __STDC__
10230 +# include <limits.h>
10231 +#else
10232 +# include <assert.h>
10233 +#endif
10234  /* Override any gcc2 internal prototype to avoid an error.  */
10235  #ifdef __cplusplus
10236  extern "C"
10237 +{
10238  #endif
10239  /* We use char because int might match the return type of a gcc2
10240     builtin and then its argument prototype would still apply.  */
10241  char $ac_func ();
10242 -char (*f) ();
10243 -
10244 -int
10245 -main ()
10246 -{
10247  /* The GNU C library defines this for functions which it implements
10248      to always fail with ENOSYS.  Some functions are actually named
10249      something starting with __ and the normal name is an alias.  */
10250  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10251  choke me
10252  #else
10253 -f = $ac_func;
10254 +char (*f) () = $ac_func;
10255 +#endif
10256 +#ifdef __cplusplus
10257 +}
10258  #endif
10259  
10260 +int
10261 +main ()
10262 +{
10263 +return f != $ac_func;
10264    ;
10265    return 0;
10266  }
10267  _ACEOF
10268  rm -f conftest.$ac_objext conftest$ac_exeext
10269 -if { (eval echo "$as_me:6665: \"$ac_link\"") >&5
10270 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10271    (eval $ac_link) 2>&5
10272    ac_status=$?
10273 -  echo "$as_me:6668: \$? = $ac_status" >&5
10274 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275    (exit $ac_status); } &&
10276           { ac_try='test -s conftest$ac_exeext'
10277 -  { (eval echo "$as_me:6671: \"$ac_try\"") >&5
10278 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279    (eval $ac_try) 2>&5
10280    ac_status=$?
10281 -  echo "$as_me:6674: \$? = $ac_status" >&5
10282 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283    (exit $ac_status); }; }; then
10284    eval "$as_ac_var=yes"
10285  else
10286    echo "$as_me: failed program was:" >&5
10287 -cat conftest.$ac_ext >&5
10288 +sed 's/^/| /' conftest.$ac_ext >&5
10289 +
10290  eval "$as_ac_var=no"
10291  fi
10292  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10293  fi
10294 -echo "$as_me:6684: result: `eval echo '${'$as_ac_var'}'`" >&5
10295 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10296  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10297  if test `eval echo '${'$as_ac_var'}'` = yes; then
10298 -  cat >>confdefs.h <<EOF
10299 +  cat >>confdefs.h <<_ACEOF
10300  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10301 -EOF
10302 +_ACEOF
10303  
10304 -       cat >>confdefs.h <<\EOF
10305 +       cat >>confdefs.h <<\_ACEOF
10306  #define HAVE_GAI_STRERROR 1
10307 -EOF
10308 +_ACEOF
10309  
10310         cat >conftest.$ac_ext <<_ACEOF
10311 -#line 6696 "configure"
10312 -#include "confdefs.h"
10313 +#line $LINENO "configure"
10314 +/* confdefs.h.  */
10315 +_ACEOF
10316 +cat confdefs.h >>conftest.$ac_ext
10317 +cat >>conftest.$ac_ext <<_ACEOF
10318 +/* end confdefs.h.  */
10319  
10320  #include <sys/types.h>
10321  #include <sys/socket.h>
10322 @@ -6713,31 +8433,34 @@
10323  }
10324  _ACEOF
10325  rm -f conftest.$ac_objext
10326 -if { (eval echo "$as_me:6716: \"$ac_compile\"") >&5
10327 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328    (eval $ac_compile) 2>&5
10329    ac_status=$?
10330 -  echo "$as_me:6719: \$? = $ac_status" >&5
10331 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332    (exit $ac_status); } &&
10333           { ac_try='test -s conftest.$ac_objext'
10334 -  { (eval echo "$as_me:6722: \"$ac_try\"") >&5
10335 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336    (eval $ac_try) 2>&5
10337    ac_status=$?
10338 -  echo "$as_me:6725: \$? = $ac_status" >&5
10339 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340    (exit $ac_status); }; }; then
10341  
10342 -cat >>confdefs.h <<\EOF
10343 +
10344 +cat >>confdefs.h <<\_ACEOF
10345  #define HAVE_CONST_GAI_STRERROR_PROTO 1
10346 -EOF
10347 +_ACEOF
10348  
10349  else
10350    echo "$as_me: failed program was:" >&5
10351 -cat conftest.$ac_ext >&5
10352 +sed 's/^/| /' conftest.$ac_ext >&5
10353 +
10354  fi
10355  rm -f conftest.$ac_objext conftest.$ac_ext
10356  fi
10357  done
10358  
10359 -echo "$as_me:6740: checking for library containing nanosleep" >&5
10360 +
10361 +echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
10362  echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
10363  if test "${ac_cv_search_nanosleep+set}" = set; then
10364    echo $ECHO_N "(cached) $ECHO_C" >&6
10365 @@ -6745,8 +8468,12 @@
10366    ac_func_search_save_LIBS=$LIBS
10367  ac_cv_search_nanosleep=no
10368  cat >conftest.$ac_ext <<_ACEOF
10369 -#line 6748 "configure"
10370 -#include "confdefs.h"
10371 +#line $LINENO "configure"
10372 +/* confdefs.h.  */
10373 +_ACEOF
10374 +cat confdefs.h >>conftest.$ac_ext
10375 +cat >>conftest.$ac_ext <<_ACEOF
10376 +/* end confdefs.h.  */
10377  
10378  /* Override any gcc2 internal prototype to avoid an error.  */
10379  #ifdef __cplusplus
10380 @@ -6764,29 +8491,34 @@
10381  }
10382  _ACEOF
10383  rm -f conftest.$ac_objext conftest$ac_exeext
10384 -if { (eval echo "$as_me:6767: \"$ac_link\"") >&5
10385 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10386    (eval $ac_link) 2>&5
10387    ac_status=$?
10388 -  echo "$as_me:6770: \$? = $ac_status" >&5
10389 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390    (exit $ac_status); } &&
10391           { ac_try='test -s conftest$ac_exeext'
10392 -  { (eval echo "$as_me:6773: \"$ac_try\"") >&5
10393 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394    (eval $ac_try) 2>&5
10395    ac_status=$?
10396 -  echo "$as_me:6776: \$? = $ac_status" >&5
10397 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398    (exit $ac_status); }; }; then
10399    ac_cv_search_nanosleep="none required"
10400  else
10401    echo "$as_me: failed program was:" >&5
10402 -cat conftest.$ac_ext >&5
10403 +sed 's/^/| /' conftest.$ac_ext >&5
10404 +
10405  fi
10406  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10407  if test "$ac_cv_search_nanosleep" = no; then
10408    for ac_lib in rt posix4; do
10409      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10410      cat >conftest.$ac_ext <<_ACEOF
10411 -#line 6788 "configure"
10412 -#include "confdefs.h"
10413 +#line $LINENO "configure"
10414 +/* confdefs.h.  */
10415 +_ACEOF
10416 +cat confdefs.h >>conftest.$ac_ext
10417 +cat >>conftest.$ac_ext <<_ACEOF
10418 +/* end confdefs.h.  */
10419  
10420  /* Override any gcc2 internal prototype to avoid an error.  */
10421  #ifdef __cplusplus
10422 @@ -6804,231 +8536,52 @@
10423  }
10424  _ACEOF
10425  rm -f conftest.$ac_objext conftest$ac_exeext
10426 -if { (eval echo "$as_me:6807: \"$ac_link\"") >&5
10427 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10428    (eval $ac_link) 2>&5
10429    ac_status=$?
10430 -  echo "$as_me:6810: \$? = $ac_status" >&5
10431 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432    (exit $ac_status); } &&
10433           { ac_try='test -s conftest$ac_exeext'
10434 -  { (eval echo "$as_me:6813: \"$ac_try\"") >&5
10435 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436    (eval $ac_try) 2>&5
10437    ac_status=$?
10438 -  echo "$as_me:6816: \$? = $ac_status" >&5
10439 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440    (exit $ac_status); }; }; then
10441    ac_cv_search_nanosleep="-l$ac_lib"
10442  break
10443  else
10444    echo "$as_me: failed program was:" >&5
10445 -cat conftest.$ac_ext >&5
10446 +sed 's/^/| /' conftest.$ac_ext >&5
10447 +
10448  fi
10449  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10450    done
10451  fi
10452  LIBS=$ac_func_search_save_LIBS
10453  fi
10454 -echo "$as_me:6829: result: $ac_cv_search_nanosleep" >&5
10455 +echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
10456  echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
10457  if test "$ac_cv_search_nanosleep" != no; then
10458    test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
10459 -  cat >>confdefs.h <<\EOF
10460 +  cat >>confdefs.h <<\_ACEOF
10461  #define HAVE_NANOSLEEP 1
10462 -EOF
10463 -
10464 -fi
10465 -
10466 -echo "$as_me:6839: checking for ANSI C header files" >&5
10467 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10468 -if test "${ac_cv_header_stdc+set}" = set; then
10469 -  echo $ECHO_N "(cached) $ECHO_C" >&6
10470 -else
10471 -  cat >conftest.$ac_ext <<_ACEOF
10472 -#line 6845 "configure"
10473 -#include "confdefs.h"
10474 -#include <stdlib.h>
10475 -#include <stdarg.h>
10476 -#include <string.h>
10477 -#include <float.h>
10478 -
10479  _ACEOF
10480 -if { (eval echo "$as_me:6853: \"$ac_cpp conftest.$ac_ext\"") >&5
10481 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10482 -  ac_status=$?
10483 -  egrep -v '^ *\+' conftest.er1 >conftest.err
10484 -  rm -f conftest.er1
10485 -  cat conftest.err >&5
10486 -  echo "$as_me:6859: \$? = $ac_status" >&5
10487 -  (exit $ac_status); } >/dev/null; then
10488 -  if test -s conftest.err; then
10489 -    ac_cpp_err=$ac_c_preproc_warn_flag
10490 -  else
10491 -    ac_cpp_err=
10492 -  fi
10493 -else
10494 -  ac_cpp_err=yes
10495 -fi
10496 -if test -z "$ac_cpp_err"; then
10497 -  ac_cv_header_stdc=yes
10498 -else
10499 -  echo "$as_me: failed program was:" >&5
10500 -  cat conftest.$ac_ext >&5
10501 -  ac_cv_header_stdc=no
10502 -fi
10503 -rm -f conftest.err conftest.$ac_ext
10504 -
10505 -if test $ac_cv_header_stdc = yes; then
10506 -  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10507 -  cat >conftest.$ac_ext <<_ACEOF
10508 -#line 6881 "configure"
10509 -#include "confdefs.h"
10510 -#include <string.h>
10511  
10512 -_ACEOF
10513 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10514 -  egrep "memchr" >/dev/null 2>&1; then
10515 -  :
10516 -else
10517 -  ac_cv_header_stdc=no
10518  fi
10519 -rm -f conftest*
10520  
10521 -fi
10522  
10523 -if test $ac_cv_header_stdc = yes; then
10524 -  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10525 -  cat >conftest.$ac_ext <<_ACEOF
10526 -#line 6899 "configure"
10527 -#include "confdefs.h"
10528 -#include <stdlib.h>
10529 -
10530 -_ACEOF
10531 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10532 -  egrep "free" >/dev/null 2>&1; then
10533 -  :
10534 -else
10535 -  ac_cv_header_stdc=no
10536 -fi
10537 -rm -f conftest*
10538 -
10539 -fi
10540 -
10541 -if test $ac_cv_header_stdc = yes; then
10542 -  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10543 -  if test "$cross_compiling" = yes; then
10544 -  :
10545 -else
10546 -  cat >conftest.$ac_ext <<_ACEOF
10547 -#line 6920 "configure"
10548 -#include "confdefs.h"
10549 -#include <ctype.h>
10550 -#if ((' ' & 0x0FF) == 0x020)
10551 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10552 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10553 -#else
10554 -# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10555 -                     || ('j' <= (c) && (c) <= 'r') \
10556 -                     || ('s' <= (c) && (c) <= 'z'))
10557 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10558 -#endif
10559 -
10560 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10561 -int
10562 -main ()
10563 -{
10564 -  int i;
10565 -  for (i = 0; i < 256; i++)
10566 -    if (XOR (islower (i), ISLOWER (i))
10567 -        || toupper (i) != TOUPPER (i))
10568 -      exit(2);
10569 -  exit (0);
10570 -}
10571 -_ACEOF
10572 -rm -f conftest$ac_exeext
10573 -if { (eval echo "$as_me:6946: \"$ac_link\"") >&5
10574 -  (eval $ac_link) 2>&5
10575 -  ac_status=$?
10576 -  echo "$as_me:6949: \$? = $ac_status" >&5
10577 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10578 -  { (eval echo "$as_me:6951: \"$ac_try\"") >&5
10579 -  (eval $ac_try) 2>&5
10580 -  ac_status=$?
10581 -  echo "$as_me:6954: \$? = $ac_status" >&5
10582 -  (exit $ac_status); }; }; then
10583 -  :
10584 -else
10585 -  echo "$as_me: program exited with status $ac_status" >&5
10586 -echo "$as_me: failed program was:" >&5
10587 -cat conftest.$ac_ext >&5
10588 -ac_cv_header_stdc=no
10589 -fi
10590 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10591 -fi
10592 -fi
10593 -fi
10594 -echo "$as_me:6967: result: $ac_cv_header_stdc" >&5
10595 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
10596 -if test $ac_cv_header_stdc = yes; then
10597 -
10598 -cat >>confdefs.h <<\EOF
10599 -#define STDC_HEADERS 1
10600 -EOF
10601 -
10602 -fi
10603 -
10604 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10605 -
10606 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10607 -                  inttypes.h stdint.h unistd.h
10608 -do
10609 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10610 -echo "$as_me:6983: checking for $ac_header" >&5
10611 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10612 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10613 -  echo $ECHO_N "(cached) $ECHO_C" >&6
10614 -else
10615 -  cat >conftest.$ac_ext <<_ACEOF
10616 -#line 6989 "configure"
10617 -#include "confdefs.h"
10618 -$ac_includes_default
10619 -#include <$ac_header>
10620 -_ACEOF
10621 -rm -f conftest.$ac_objext
10622 -if { (eval echo "$as_me:6995: \"$ac_compile\"") >&5
10623 -  (eval $ac_compile) 2>&5
10624 -  ac_status=$?
10625 -  echo "$as_me:6998: \$? = $ac_status" >&5
10626 -  (exit $ac_status); } &&
10627 -         { ac_try='test -s conftest.$ac_objext'
10628 -  { (eval echo "$as_me:7001: \"$ac_try\"") >&5
10629 -  (eval $ac_try) 2>&5
10630 -  ac_status=$?
10631 -  echo "$as_me:7004: \$? = $ac_status" >&5
10632 -  (exit $ac_status); }; }; then
10633 -  eval "$as_ac_Header=yes"
10634 -else
10635 -  echo "$as_me: failed program was:" >&5
10636 -cat conftest.$ac_ext >&5
10637 -eval "$as_ac_Header=no"
10638 -fi
10639 -rm -f conftest.$ac_objext conftest.$ac_ext
10640 -fi
10641 -echo "$as_me:7014: result: `eval echo '${'$as_ac_Header'}'`" >&5
10642 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10643 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
10644 -  cat >>confdefs.h <<EOF
10645 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10646 -EOF
10647 -
10648 -fi
10649 -done
10650 -
10651 -echo "$as_me:7024: checking whether strsep is declared" >&5
10652 +echo "$as_me:$LINENO: checking whether strsep is declared" >&5
10653  echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
10654  if test "${ac_cv_have_decl_strsep+set}" = set; then
10655    echo $ECHO_N "(cached) $ECHO_C" >&6
10656  else
10657    cat >conftest.$ac_ext <<_ACEOF
10658 -#line 7030 "configure"
10659 -#include "confdefs.h"
10660 +#line $LINENO "configure"
10661 +/* confdefs.h.  */
10662 +_ACEOF
10663 +cat confdefs.h >>conftest.$ac_ext
10664 +cat >>conftest.$ac_ext <<_ACEOF
10665 +/* end confdefs.h.  */
10666  $ac_includes_default
10667  int
10668  main ()
10669 @@ -7042,108 +8595,127 @@
10670  }
10671  _ACEOF
10672  rm -f conftest.$ac_objext
10673 -if { (eval echo "$as_me:7045: \"$ac_compile\"") >&5
10674 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10675    (eval $ac_compile) 2>&5
10676    ac_status=$?
10677 -  echo "$as_me:7048: \$? = $ac_status" >&5
10678 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679    (exit $ac_status); } &&
10680           { ac_try='test -s conftest.$ac_objext'
10681 -  { (eval echo "$as_me:7051: \"$ac_try\"") >&5
10682 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683    (eval $ac_try) 2>&5
10684    ac_status=$?
10685 -  echo "$as_me:7054: \$? = $ac_status" >&5
10686 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687    (exit $ac_status); }; }; then
10688    ac_cv_have_decl_strsep=yes
10689  else
10690    echo "$as_me: failed program was:" >&5
10691 -cat conftest.$ac_ext >&5
10692 +sed 's/^/| /' conftest.$ac_ext >&5
10693 +
10694  ac_cv_have_decl_strsep=no
10695  fi
10696  rm -f conftest.$ac_objext conftest.$ac_ext
10697  fi
10698 -echo "$as_me:7064: result: $ac_cv_have_decl_strsep" >&5
10699 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
10700  echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
10701  if test $ac_cv_have_decl_strsep = yes; then
10702  
10703  for ac_func in strsep
10704  do
10705  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10706 -echo "$as_me:7071: checking for $ac_func" >&5
10707 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10708  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10709  if eval "test \"\${$as_ac_var+set}\" = set"; then
10710    echo $ECHO_N "(cached) $ECHO_C" >&6
10711  else
10712    cat >conftest.$ac_ext <<_ACEOF
10713 -#line 7077 "configure"
10714 -#include "confdefs.h"
10715 +#line $LINENO "configure"
10716 +/* confdefs.h.  */
10717 +_ACEOF
10718 +cat confdefs.h >>conftest.$ac_ext
10719 +cat >>conftest.$ac_ext <<_ACEOF
10720 +/* end confdefs.h.  */
10721  /* System header to define __stub macros and hopefully few prototypes,
10722 -    which can conflict with char $ac_func (); below.  */
10723 -#include <assert.h>
10724 +    which can conflict with char $ac_func (); below.
10725 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10726 +    <limits.h> exists even on freestanding compilers.  */
10727 +#ifdef __STDC__
10728 +# include <limits.h>
10729 +#else
10730 +# include <assert.h>
10731 +#endif
10732  /* Override any gcc2 internal prototype to avoid an error.  */
10733  #ifdef __cplusplus
10734  extern "C"
10735 +{
10736  #endif
10737  /* We use char because int might match the return type of a gcc2
10738     builtin and then its argument prototype would still apply.  */
10739  char $ac_func ();
10740 -char (*f) ();
10741 -
10742 -int
10743 -main ()
10744 -{
10745  /* The GNU C library defines this for functions which it implements
10746      to always fail with ENOSYS.  Some functions are actually named
10747      something starting with __ and the normal name is an alias.  */
10748  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10749  choke me
10750  #else
10751 -f = $ac_func;
10752 +char (*f) () = $ac_func;
10753 +#endif
10754 +#ifdef __cplusplus
10755 +}
10756  #endif
10757  
10758 +int
10759 +main ()
10760 +{
10761 +return f != $ac_func;
10762    ;
10763    return 0;
10764  }
10765  _ACEOF
10766  rm -f conftest.$ac_objext conftest$ac_exeext
10767 -if { (eval echo "$as_me:7108: \"$ac_link\"") >&5
10768 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10769    (eval $ac_link) 2>&5
10770    ac_status=$?
10771 -  echo "$as_me:7111: \$? = $ac_status" >&5
10772 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773    (exit $ac_status); } &&
10774           { ac_try='test -s conftest$ac_exeext'
10775 -  { (eval echo "$as_me:7114: \"$ac_try\"") >&5
10776 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777    (eval $ac_try) 2>&5
10778    ac_status=$?
10779 -  echo "$as_me:7117: \$? = $ac_status" >&5
10780 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781    (exit $ac_status); }; }; then
10782    eval "$as_ac_var=yes"
10783  else
10784    echo "$as_me: failed program was:" >&5
10785 -cat conftest.$ac_ext >&5
10786 +sed 's/^/| /' conftest.$ac_ext >&5
10787 +
10788  eval "$as_ac_var=no"
10789  fi
10790  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10791  fi
10792 -echo "$as_me:7127: result: `eval echo '${'$as_ac_var'}'`" >&5
10793 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10794  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10795  if test `eval echo '${'$as_ac_var'}'` = yes; then
10796 -  cat >>confdefs.h <<EOF
10797 +  cat >>confdefs.h <<_ACEOF
10798  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10799 -EOF
10800 +_ACEOF
10801  
10802  fi
10803  done
10804  
10805  fi
10806  
10807 -echo "$as_me:7139: checking whether getrusage is declared" >&5
10808 +echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
10809  echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
10810  if test "${ac_cv_have_decl_getrusage+set}" = set; then
10811    echo $ECHO_N "(cached) $ECHO_C" >&6
10812  else
10813    cat >conftest.$ac_ext <<_ACEOF
10814 -#line 7145 "configure"
10815 -#include "confdefs.h"
10816 +#line $LINENO "configure"
10817 +/* confdefs.h.  */
10818 +_ACEOF
10819 +cat confdefs.h >>conftest.$ac_ext
10820 +cat >>conftest.$ac_ext <<_ACEOF
10821 +/* end confdefs.h.  */
10822  $ac_includes_default
10823  int
10824  main ()
10825 @@ -7157,110 +8729,131 @@
10826  }
10827  _ACEOF
10828  rm -f conftest.$ac_objext
10829 -if { (eval echo "$as_me:7160: \"$ac_compile\"") >&5
10830 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10831    (eval $ac_compile) 2>&5
10832    ac_status=$?
10833 -  echo "$as_me:7163: \$? = $ac_status" >&5
10834 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835    (exit $ac_status); } &&
10836           { ac_try='test -s conftest.$ac_objext'
10837 -  { (eval echo "$as_me:7166: \"$ac_try\"") >&5
10838 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839    (eval $ac_try) 2>&5
10840    ac_status=$?
10841 -  echo "$as_me:7169: \$? = $ac_status" >&5
10842 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843    (exit $ac_status); }; }; then
10844    ac_cv_have_decl_getrusage=yes
10845  else
10846    echo "$as_me: failed program was:" >&5
10847 -cat conftest.$ac_ext >&5
10848 +sed 's/^/| /' conftest.$ac_ext >&5
10849 +
10850  ac_cv_have_decl_getrusage=no
10851  fi
10852  rm -f conftest.$ac_objext conftest.$ac_ext
10853  fi
10854 -echo "$as_me:7179: result: $ac_cv_have_decl_getrusage" >&5
10855 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
10856  echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
10857  if test $ac_cv_have_decl_getrusage = yes; then
10858  
10859  for ac_func in getrusage
10860  do
10861  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10862 -echo "$as_me:7186: checking for $ac_func" >&5
10863 +echo "$as_me:$LINENO: checking for $ac_func" >&5
10864  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10865  if eval "test \"\${$as_ac_var+set}\" = set"; then
10866    echo $ECHO_N "(cached) $ECHO_C" >&6
10867  else
10868    cat >conftest.$ac_ext <<_ACEOF
10869 -#line 7192 "configure"
10870 -#include "confdefs.h"
10871 +#line $LINENO "configure"
10872 +/* confdefs.h.  */
10873 +_ACEOF
10874 +cat confdefs.h >>conftest.$ac_ext
10875 +cat >>conftest.$ac_ext <<_ACEOF
10876 +/* end confdefs.h.  */
10877  /* System header to define __stub macros and hopefully few prototypes,
10878 -    which can conflict with char $ac_func (); below.  */
10879 -#include <assert.h>
10880 +    which can conflict with char $ac_func (); below.
10881 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10882 +    <limits.h> exists even on freestanding compilers.  */
10883 +#ifdef __STDC__
10884 +# include <limits.h>
10885 +#else
10886 +# include <assert.h>
10887 +#endif
10888  /* Override any gcc2 internal prototype to avoid an error.  */
10889  #ifdef __cplusplus
10890  extern "C"
10891 +{
10892  #endif
10893  /* We use char because int might match the return type of a gcc2
10894     builtin and then its argument prototype would still apply.  */
10895  char $ac_func ();
10896 -char (*f) ();
10897 -
10898 -int
10899 -main ()
10900 -{
10901  /* The GNU C library defines this for functions which it implements
10902      to always fail with ENOSYS.  Some functions are actually named
10903      something starting with __ and the normal name is an alias.  */
10904  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10905  choke me
10906  #else
10907 -f = $ac_func;
10908 +char (*f) () = $ac_func;
10909 +#endif
10910 +#ifdef __cplusplus
10911 +}
10912  #endif
10913  
10914 +int
10915 +main ()
10916 +{
10917 +return f != $ac_func;
10918    ;
10919    return 0;
10920  }
10921  _ACEOF
10922  rm -f conftest.$ac_objext conftest$ac_exeext
10923 -if { (eval echo "$as_me:7223: \"$ac_link\"") >&5
10924 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10925    (eval $ac_link) 2>&5
10926    ac_status=$?
10927 -  echo "$as_me:7226: \$? = $ac_status" >&5
10928 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929    (exit $ac_status); } &&
10930           { ac_try='test -s conftest$ac_exeext'
10931 -  { (eval echo "$as_me:7229: \"$ac_try\"") >&5
10932 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933    (eval $ac_try) 2>&5
10934    ac_status=$?
10935 -  echo "$as_me:7232: \$? = $ac_status" >&5
10936 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937    (exit $ac_status); }; }; then
10938    eval "$as_ac_var=yes"
10939  else
10940    echo "$as_me: failed program was:" >&5
10941 -cat conftest.$ac_ext >&5
10942 +sed 's/^/| /' conftest.$ac_ext >&5
10943 +
10944  eval "$as_ac_var=no"
10945  fi
10946  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10947  fi
10948 -echo "$as_me:7242: result: `eval echo '${'$as_ac_var'}'`" >&5
10949 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10950  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10951  if test `eval echo '${'$as_ac_var'}'` = yes; then
10952 -  cat >>confdefs.h <<EOF
10953 +  cat >>confdefs.h <<_ACEOF
10954  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10955 -EOF
10956 +_ACEOF
10957  
10958  fi
10959  done
10960  
10961  fi
10962  
10963 -echo "$as_me:7254: checking whether tcsendbreak is declared" >&5
10964 +
10965 +echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5
10966  echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6
10967  if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
10968    echo $ECHO_N "(cached) $ECHO_C" >&6
10969  else
10970    cat >conftest.$ac_ext <<_ACEOF
10971 -#line 7260 "configure"
10972 -#include "confdefs.h"
10973 +#line $LINENO "configure"
10974 +/* confdefs.h.  */
10975 +_ACEOF
10976 +cat confdefs.h >>conftest.$ac_ext
10977 +cat >>conftest.$ac_ext <<_ACEOF
10978 +/* end confdefs.h.  */
10979  #include <termios.h>
10980  
10981 +
10982  int
10983  main ()
10984  {
10985 @@ -7273,515 +8866,632 @@
10986  }
10987  _ACEOF
10988  rm -f conftest.$ac_objext
10989 -if { (eval echo "$as_me:7276: \"$ac_compile\"") >&5
10990 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991    (eval $ac_compile) 2>&5
10992    ac_status=$?
10993 -  echo "$as_me:7279: \$? = $ac_status" >&5
10994 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995    (exit $ac_status); } &&
10996           { ac_try='test -s conftest.$ac_objext'
10997 -  { (eval echo "$as_me:7282: \"$ac_try\"") >&5
10998 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10999    (eval $ac_try) 2>&5
11000    ac_status=$?
11001 -  echo "$as_me:7285: \$? = $ac_status" >&5
11002 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003    (exit $ac_status); }; }; then
11004    ac_cv_have_decl_tcsendbreak=yes
11005  else
11006    echo "$as_me: failed program was:" >&5
11007 -cat conftest.$ac_ext >&5
11008 +sed 's/^/| /' conftest.$ac_ext >&5
11009 +
11010  ac_cv_have_decl_tcsendbreak=no
11011  fi
11012  rm -f conftest.$ac_objext conftest.$ac_ext
11013  fi
11014 -echo "$as_me:7295: result: $ac_cv_have_decl_tcsendbreak" >&5
11015 +echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5
11016  echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6
11017  if test $ac_cv_have_decl_tcsendbreak = yes; then
11018 -  cat >>confdefs.h <<\EOF
11019 +  cat >>confdefs.h <<\_ACEOF
11020  #define HAVE_TCSENDBREAK 1
11021 -EOF
11022 +_ACEOF
11023  
11024  else
11025  
11026  for ac_func in tcsendbreak
11027  do
11028  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11029 -echo "$as_me:7307: checking for $ac_func" >&5
11030 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11031  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11032  if eval "test \"\${$as_ac_var+set}\" = set"; then
11033    echo $ECHO_N "(cached) $ECHO_C" >&6
11034  else
11035    cat >conftest.$ac_ext <<_ACEOF
11036 -#line 7313 "configure"
11037 -#include "confdefs.h"
11038 +#line $LINENO "configure"
11039 +/* confdefs.h.  */
11040 +_ACEOF
11041 +cat confdefs.h >>conftest.$ac_ext
11042 +cat >>conftest.$ac_ext <<_ACEOF
11043 +/* end confdefs.h.  */
11044  /* System header to define __stub macros and hopefully few prototypes,
11045 -    which can conflict with char $ac_func (); below.  */
11046 -#include <assert.h>
11047 +    which can conflict with char $ac_func (); below.
11048 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11049 +    <limits.h> exists even on freestanding compilers.  */
11050 +#ifdef __STDC__
11051 +# include <limits.h>
11052 +#else
11053 +# include <assert.h>
11054 +#endif
11055  /* Override any gcc2 internal prototype to avoid an error.  */
11056  #ifdef __cplusplus
11057  extern "C"
11058 +{
11059  #endif
11060  /* We use char because int might match the return type of a gcc2
11061     builtin and then its argument prototype would still apply.  */
11062  char $ac_func ();
11063 -char (*f) ();
11064 -
11065 -int
11066 -main ()
11067 -{
11068  /* The GNU C library defines this for functions which it implements
11069      to always fail with ENOSYS.  Some functions are actually named
11070      something starting with __ and the normal name is an alias.  */
11071  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11072  choke me
11073  #else
11074 -f = $ac_func;
11075 +char (*f) () = $ac_func;
11076 +#endif
11077 +#ifdef __cplusplus
11078 +}
11079  #endif
11080  
11081 +int
11082 +main ()
11083 +{
11084 +return f != $ac_func;
11085    ;
11086    return 0;
11087  }
11088  _ACEOF
11089  rm -f conftest.$ac_objext conftest$ac_exeext
11090 -if { (eval echo "$as_me:7344: \"$ac_link\"") >&5
11091 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11092    (eval $ac_link) 2>&5
11093    ac_status=$?
11094 -  echo "$as_me:7347: \$? = $ac_status" >&5
11095 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096    (exit $ac_status); } &&
11097           { ac_try='test -s conftest$ac_exeext'
11098 -  { (eval echo "$as_me:7350: \"$ac_try\"") >&5
11099 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100    (eval $ac_try) 2>&5
11101    ac_status=$?
11102 -  echo "$as_me:7353: \$? = $ac_status" >&5
11103 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104    (exit $ac_status); }; }; then
11105    eval "$as_ac_var=yes"
11106  else
11107    echo "$as_me: failed program was:" >&5
11108 -cat conftest.$ac_ext >&5
11109 +sed 's/^/| /' conftest.$ac_ext >&5
11110 +
11111  eval "$as_ac_var=no"
11112  fi
11113  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11114  fi
11115 -echo "$as_me:7363: result: `eval echo '${'$as_ac_var'}'`" >&5
11116 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11117  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11118  if test `eval echo '${'$as_ac_var'}'` = yes; then
11119 -  cat >>confdefs.h <<EOF
11120 +  cat >>confdefs.h <<_ACEOF
11121  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11122 -EOF
11123 +_ACEOF
11124  
11125  fi
11126  done
11127  
11128  fi
11129  
11130 +
11131 +
11132 +
11133  for ac_func in gettimeofday time
11134  do
11135  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11136 -echo "$as_me:7378: checking for $ac_func" >&5
11137 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11138  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11139  if eval "test \"\${$as_ac_var+set}\" = set"; then
11140    echo $ECHO_N "(cached) $ECHO_C" >&6
11141  else
11142    cat >conftest.$ac_ext <<_ACEOF
11143 -#line 7384 "configure"
11144 -#include "confdefs.h"
11145 +#line $LINENO "configure"
11146 +/* confdefs.h.  */
11147 +_ACEOF
11148 +cat confdefs.h >>conftest.$ac_ext
11149 +cat >>conftest.$ac_ext <<_ACEOF
11150 +/* end confdefs.h.  */
11151  /* System header to define __stub macros and hopefully few prototypes,
11152 -    which can conflict with char $ac_func (); below.  */
11153 -#include <assert.h>
11154 +    which can conflict with char $ac_func (); below.
11155 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11156 +    <limits.h> exists even on freestanding compilers.  */
11157 +#ifdef __STDC__
11158 +# include <limits.h>
11159 +#else
11160 +# include <assert.h>
11161 +#endif
11162  /* Override any gcc2 internal prototype to avoid an error.  */
11163  #ifdef __cplusplus
11164  extern "C"
11165 +{
11166  #endif
11167  /* We use char because int might match the return type of a gcc2
11168     builtin and then its argument prototype would still apply.  */
11169  char $ac_func ();
11170 -char (*f) ();
11171 -
11172 -int
11173 -main ()
11174 -{
11175  /* The GNU C library defines this for functions which it implements
11176      to always fail with ENOSYS.  Some functions are actually named
11177      something starting with __ and the normal name is an alias.  */
11178  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11179  choke me
11180  #else
11181 -f = $ac_func;
11182 +char (*f) () = $ac_func;
11183 +#endif
11184 +#ifdef __cplusplus
11185 +}
11186  #endif
11187  
11188 +int
11189 +main ()
11190 +{
11191 +return f != $ac_func;
11192    ;
11193    return 0;
11194  }
11195  _ACEOF
11196  rm -f conftest.$ac_objext conftest$ac_exeext
11197 -if { (eval echo "$as_me:7415: \"$ac_link\"") >&5
11198 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11199    (eval $ac_link) 2>&5
11200    ac_status=$?
11201 -  echo "$as_me:7418: \$? = $ac_status" >&5
11202 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203    (exit $ac_status); } &&
11204           { ac_try='test -s conftest$ac_exeext'
11205 -  { (eval echo "$as_me:7421: \"$ac_try\"") >&5
11206 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11207    (eval $ac_try) 2>&5
11208    ac_status=$?
11209 -  echo "$as_me:7424: \$? = $ac_status" >&5
11210 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211    (exit $ac_status); }; }; then
11212    eval "$as_ac_var=yes"
11213  else
11214    echo "$as_me: failed program was:" >&5
11215 -cat conftest.$ac_ext >&5
11216 +sed 's/^/| /' conftest.$ac_ext >&5
11217 +
11218  eval "$as_ac_var=no"
11219  fi
11220  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11221  fi
11222 -echo "$as_me:7434: result: `eval echo '${'$as_ac_var'}'`" >&5
11223 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11224  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11225  if test `eval echo '${'$as_ac_var'}'` = yes; then
11226 -  cat >>confdefs.h <<EOF
11227 +  cat >>confdefs.h <<_ACEOF
11228  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11229 -EOF
11230 +_ACEOF
11231  
11232  fi
11233  done
11234  
11235 +
11236 +
11237 +
11238 +
11239 +
11240 +
11241  for ac_func in endutent getutent getutid getutline pututline setutent
11242  do
11243  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11244 -echo "$as_me:7447: checking for $ac_func" >&5
11245 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11246  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11247  if eval "test \"\${$as_ac_var+set}\" = set"; then
11248    echo $ECHO_N "(cached) $ECHO_C" >&6
11249  else
11250    cat >conftest.$ac_ext <<_ACEOF
11251 -#line 7453 "configure"
11252 -#include "confdefs.h"
11253 +#line $LINENO "configure"
11254 +/* confdefs.h.  */
11255 +_ACEOF
11256 +cat confdefs.h >>conftest.$ac_ext
11257 +cat >>conftest.$ac_ext <<_ACEOF
11258 +/* end confdefs.h.  */
11259  /* System header to define __stub macros and hopefully few prototypes,
11260 -    which can conflict with char $ac_func (); below.  */
11261 -#include <assert.h>
11262 +    which can conflict with char $ac_func (); below.
11263 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11264 +    <limits.h> exists even on freestanding compilers.  */
11265 +#ifdef __STDC__
11266 +# include <limits.h>
11267 +#else
11268 +# include <assert.h>
11269 +#endif
11270  /* Override any gcc2 internal prototype to avoid an error.  */
11271  #ifdef __cplusplus
11272  extern "C"
11273 +{
11274  #endif
11275  /* We use char because int might match the return type of a gcc2
11276     builtin and then its argument prototype would still apply.  */
11277  char $ac_func ();
11278 -char (*f) ();
11279 -
11280 -int
11281 -main ()
11282 -{
11283  /* The GNU C library defines this for functions which it implements
11284      to always fail with ENOSYS.  Some functions are actually named
11285      something starting with __ and the normal name is an alias.  */
11286  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11287  choke me
11288  #else
11289 -f = $ac_func;
11290 +char (*f) () = $ac_func;
11291 +#endif
11292 +#ifdef __cplusplus
11293 +}
11294  #endif
11295  
11296 +int
11297 +main ()
11298 +{
11299 +return f != $ac_func;
11300    ;
11301    return 0;
11302  }
11303  _ACEOF
11304  rm -f conftest.$ac_objext conftest$ac_exeext
11305 -if { (eval echo "$as_me:7484: \"$ac_link\"") >&5
11306 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11307    (eval $ac_link) 2>&5
11308    ac_status=$?
11309 -  echo "$as_me:7487: \$? = $ac_status" >&5
11310 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311    (exit $ac_status); } &&
11312           { ac_try='test -s conftest$ac_exeext'
11313 -  { (eval echo "$as_me:7490: \"$ac_try\"") >&5
11314 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315    (eval $ac_try) 2>&5
11316    ac_status=$?
11317 -  echo "$as_me:7493: \$? = $ac_status" >&5
11318 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319    (exit $ac_status); }; }; then
11320    eval "$as_ac_var=yes"
11321  else
11322    echo "$as_me: failed program was:" >&5
11323 -cat conftest.$ac_ext >&5
11324 +sed 's/^/| /' conftest.$ac_ext >&5
11325 +
11326  eval "$as_ac_var=no"
11327  fi
11328  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11329  fi
11330 -echo "$as_me:7503: result: `eval echo '${'$as_ac_var'}'`" >&5
11331 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11332  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11333  if test `eval echo '${'$as_ac_var'}'` = yes; then
11334 -  cat >>confdefs.h <<EOF
11335 +  cat >>confdefs.h <<_ACEOF
11336  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11337 -EOF
11338 +_ACEOF
11339  
11340  fi
11341  done
11342  
11343 +
11344  for ac_func in utmpname
11345  do
11346  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11347 -echo "$as_me:7516: checking for $ac_func" >&5
11348 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11349  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11350  if eval "test \"\${$as_ac_var+set}\" = set"; then
11351    echo $ECHO_N "(cached) $ECHO_C" >&6
11352  else
11353    cat >conftest.$ac_ext <<_ACEOF
11354 -#line 7522 "configure"
11355 -#include "confdefs.h"
11356 +#line $LINENO "configure"
11357 +/* confdefs.h.  */
11358 +_ACEOF
11359 +cat confdefs.h >>conftest.$ac_ext
11360 +cat >>conftest.$ac_ext <<_ACEOF
11361 +/* end confdefs.h.  */
11362  /* System header to define __stub macros and hopefully few prototypes,
11363 -    which can conflict with char $ac_func (); below.  */
11364 -#include <assert.h>
11365 +    which can conflict with char $ac_func (); below.
11366 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11367 +    <limits.h> exists even on freestanding compilers.  */
11368 +#ifdef __STDC__
11369 +# include <limits.h>
11370 +#else
11371 +# include <assert.h>
11372 +#endif
11373  /* Override any gcc2 internal prototype to avoid an error.  */
11374  #ifdef __cplusplus
11375  extern "C"
11376 +{
11377  #endif
11378  /* We use char because int might match the return type of a gcc2
11379     builtin and then its argument prototype would still apply.  */
11380  char $ac_func ();
11381 -char (*f) ();
11382 -
11383 -int
11384 -main ()
11385 -{
11386  /* The GNU C library defines this for functions which it implements
11387      to always fail with ENOSYS.  Some functions are actually named
11388      something starting with __ and the normal name is an alias.  */
11389  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11390  choke me
11391  #else
11392 -f = $ac_func;
11393 +char (*f) () = $ac_func;
11394 +#endif
11395 +#ifdef __cplusplus
11396 +}
11397  #endif
11398  
11399 +int
11400 +main ()
11401 +{
11402 +return f != $ac_func;
11403    ;
11404    return 0;
11405  }
11406  _ACEOF
11407  rm -f conftest.$ac_objext conftest$ac_exeext
11408 -if { (eval echo "$as_me:7553: \"$ac_link\"") >&5
11409 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11410    (eval $ac_link) 2>&5
11411    ac_status=$?
11412 -  echo "$as_me:7556: \$? = $ac_status" >&5
11413 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414    (exit $ac_status); } &&
11415           { ac_try='test -s conftest$ac_exeext'
11416 -  { (eval echo "$as_me:7559: \"$ac_try\"") >&5
11417 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418    (eval $ac_try) 2>&5
11419    ac_status=$?
11420 -  echo "$as_me:7562: \$? = $ac_status" >&5
11421 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422    (exit $ac_status); }; }; then
11423    eval "$as_ac_var=yes"
11424  else
11425    echo "$as_me: failed program was:" >&5
11426 -cat conftest.$ac_ext >&5
11427 +sed 's/^/| /' conftest.$ac_ext >&5
11428 +
11429  eval "$as_ac_var=no"
11430  fi
11431  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11432  fi
11433 -echo "$as_me:7572: result: `eval echo '${'$as_ac_var'}'`" >&5
11434 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11435  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11436  if test `eval echo '${'$as_ac_var'}'` = yes; then
11437 -  cat >>confdefs.h <<EOF
11438 +  cat >>confdefs.h <<_ACEOF
11439  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11440 -EOF
11441 +_ACEOF
11442  
11443  fi
11444  done
11445  
11446 +
11447 +
11448 +
11449 +
11450 +
11451  for ac_func in endutxent getutxent getutxid getutxline pututxline
11452  do
11453  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11454 -echo "$as_me:7585: checking for $ac_func" >&5
11455 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11456  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11457  if eval "test \"\${$as_ac_var+set}\" = set"; then
11458    echo $ECHO_N "(cached) $ECHO_C" >&6
11459  else
11460    cat >conftest.$ac_ext <<_ACEOF
11461 -#line 7591 "configure"
11462 -#include "confdefs.h"
11463 +#line $LINENO "configure"
11464 +/* confdefs.h.  */
11465 +_ACEOF
11466 +cat confdefs.h >>conftest.$ac_ext
11467 +cat >>conftest.$ac_ext <<_ACEOF
11468 +/* end confdefs.h.  */
11469  /* System header to define __stub macros and hopefully few prototypes,
11470 -    which can conflict with char $ac_func (); below.  */
11471 -#include <assert.h>
11472 +    which can conflict with char $ac_func (); below.
11473 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11474 +    <limits.h> exists even on freestanding compilers.  */
11475 +#ifdef __STDC__
11476 +# include <limits.h>
11477 +#else
11478 +# include <assert.h>
11479 +#endif
11480  /* Override any gcc2 internal prototype to avoid an error.  */
11481  #ifdef __cplusplus
11482  extern "C"
11483 +{
11484  #endif
11485  /* We use char because int might match the return type of a gcc2
11486     builtin and then its argument prototype would still apply.  */
11487  char $ac_func ();
11488 -char (*f) ();
11489 -
11490 -int
11491 -main ()
11492 -{
11493  /* The GNU C library defines this for functions which it implements
11494      to always fail with ENOSYS.  Some functions are actually named
11495      something starting with __ and the normal name is an alias.  */
11496  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11497  choke me
11498  #else
11499 -f = $ac_func;
11500 +char (*f) () = $ac_func;
11501 +#endif
11502 +#ifdef __cplusplus
11503 +}
11504  #endif
11505  
11506 +int
11507 +main ()
11508 +{
11509 +return f != $ac_func;
11510    ;
11511    return 0;
11512  }
11513  _ACEOF
11514  rm -f conftest.$ac_objext conftest$ac_exeext
11515 -if { (eval echo "$as_me:7622: \"$ac_link\"") >&5
11516 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11517    (eval $ac_link) 2>&5
11518    ac_status=$?
11519 -  echo "$as_me:7625: \$? = $ac_status" >&5
11520 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521    (exit $ac_status); } &&
11522           { ac_try='test -s conftest$ac_exeext'
11523 -  { (eval echo "$as_me:7628: \"$ac_try\"") >&5
11524 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525    (eval $ac_try) 2>&5
11526    ac_status=$?
11527 -  echo "$as_me:7631: \$? = $ac_status" >&5
11528 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529    (exit $ac_status); }; }; then
11530    eval "$as_ac_var=yes"
11531  else
11532    echo "$as_me: failed program was:" >&5
11533 -cat conftest.$ac_ext >&5
11534 +sed 's/^/| /' conftest.$ac_ext >&5
11535 +
11536  eval "$as_ac_var=no"
11537  fi
11538  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11539  fi
11540 -echo "$as_me:7641: result: `eval echo '${'$as_ac_var'}'`" >&5
11541 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11542  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11543  if test `eval echo '${'$as_ac_var'}'` = yes; then
11544 -  cat >>confdefs.h <<EOF
11545 +  cat >>confdefs.h <<_ACEOF
11546  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11547 -EOF
11548 +_ACEOF
11549  
11550  fi
11551  done
11552  
11553 +
11554 +
11555  for ac_func in setutxent utmpxname
11556  do
11557  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11558 -echo "$as_me:7654: checking for $ac_func" >&5
11559 +echo "$as_me:$LINENO: checking for $ac_func" >&5
11560  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11561  if eval "test \"\${$as_ac_var+set}\" = set"; then
11562    echo $ECHO_N "(cached) $ECHO_C" >&6
11563  else
11564    cat >conftest.$ac_ext <<_ACEOF
11565 -#line 7660 "configure"
11566 -#include "confdefs.h"
11567 +#line $LINENO "configure"
11568 +/* confdefs.h.  */
11569 +_ACEOF
11570 +cat confdefs.h >>conftest.$ac_ext
11571 +cat >>conftest.$ac_ext <<_ACEOF
11572 +/* end confdefs.h.  */
11573  /* System header to define __stub macros and hopefully few prototypes,
11574 -    which can conflict with char $ac_func (); below.  */
11575 -#include <assert.h>
11576 +    which can conflict with char $ac_func (); below.
11577 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11578 +    <limits.h> exists even on freestanding compilers.  */
11579 +#ifdef __STDC__
11580 +# include <limits.h>
11581 +#else
11582 +# include <assert.h>
11583 +#endif
11584  /* Override any gcc2 internal prototype to avoid an error.  */
11585  #ifdef __cplusplus
11586  extern "C"
11587 +{
11588  #endif
11589  /* We use char because int might match the return type of a gcc2
11590     builtin and then its argument prototype would still apply.  */
11591  char $ac_func ();
11592 -char (*f) ();
11593 -
11594 -int
11595 -main ()
11596 -{
11597  /* The GNU C library defines this for functions which it implements
11598      to always fail with ENOSYS.  Some functions are actually named
11599      something starting with __ and the normal name is an alias.  */
11600  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11601  choke me
11602  #else
11603 -f = $ac_func;
11604 +char (*f) () = $ac_func;
11605 +#endif
11606 +#ifdef __cplusplus
11607 +}
11608  #endif
11609  
11610 +int
11611 +main ()
11612 +{
11613 +return f != $ac_func;
11614    ;
11615    return 0;
11616  }
11617  _ACEOF
11618  rm -f conftest.$ac_objext conftest$ac_exeext
11619 -if { (eval echo "$as_me:7691: \"$ac_link\"") >&5
11620 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11621    (eval $ac_link) 2>&5
11622    ac_status=$?
11623 -  echo "$as_me:7694: \$? = $ac_status" >&5
11624 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625    (exit $ac_status); } &&
11626           { ac_try='test -s conftest$ac_exeext'
11627 -  { (eval echo "$as_me:7697: \"$ac_try\"") >&5
11628 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629    (eval $ac_try) 2>&5
11630    ac_status=$?
11631 -  echo "$as_me:7700: \$? = $ac_status" >&5
11632 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633    (exit $ac_status); }; }; then
11634    eval "$as_ac_var=yes"
11635  else
11636    echo "$as_me: failed program was:" >&5
11637 -cat conftest.$ac_ext >&5
11638 +sed 's/^/| /' conftest.$ac_ext >&5
11639 +
11640  eval "$as_ac_var=no"
11641  fi
11642  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11643  fi
11644 -echo "$as_me:7710: result: `eval echo '${'$as_ac_var'}'`" >&5
11645 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11646  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11647  if test `eval echo '${'$as_ac_var'}'` = yes; then
11648 -  cat >>confdefs.h <<EOF
11649 +  cat >>confdefs.h <<_ACEOF
11650  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11651 -EOF
11652 +_ACEOF
11653  
11654  fi
11655  done
11656  
11657 -echo "$as_me:7720: checking for daemon" >&5
11658 +
11659 +echo "$as_me:$LINENO: checking for daemon" >&5
11660  echo $ECHO_N "checking for daemon... $ECHO_C" >&6
11661  if test "${ac_cv_func_daemon+set}" = set; then
11662    echo $ECHO_N "(cached) $ECHO_C" >&6
11663  else
11664    cat >conftest.$ac_ext <<_ACEOF
11665 -#line 7726 "configure"
11666 -#include "confdefs.h"
11667 +#line $LINENO "configure"
11668 +/* confdefs.h.  */
11669 +_ACEOF
11670 +cat confdefs.h >>conftest.$ac_ext
11671 +cat >>conftest.$ac_ext <<_ACEOF
11672 +/* end confdefs.h.  */
11673  /* System header to define __stub macros and hopefully few prototypes,
11674 -    which can conflict with char daemon (); below.  */
11675 -#include <assert.h>
11676 +    which can conflict with char daemon (); below.
11677 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11678 +    <limits.h> exists even on freestanding compilers.  */
11679 +#ifdef __STDC__
11680 +# include <limits.h>
11681 +#else
11682 +# include <assert.h>
11683 +#endif
11684  /* Override any gcc2 internal prototype to avoid an error.  */
11685  #ifdef __cplusplus
11686  extern "C"
11687 +{
11688  #endif
11689  /* We use char because int might match the return type of a gcc2
11690     builtin and then its argument prototype would still apply.  */
11691  char daemon ();
11692 -char (*f) ();
11693 -
11694 -int
11695 -main ()
11696 -{
11697  /* The GNU C library defines this for functions which it implements
11698      to always fail with ENOSYS.  Some functions are actually named
11699      something starting with __ and the normal name is an alias.  */
11700  #if defined (__stub_daemon) || defined (__stub___daemon)
11701  choke me
11702  #else
11703 -f = daemon;
11704 +char (*f) () = daemon;
11705 +#endif
11706 +#ifdef __cplusplus
11707 +}
11708  #endif
11709  
11710 +int
11711 +main ()
11712 +{
11713 +return f != daemon;
11714    ;
11715    return 0;
11716  }
11717  _ACEOF
11718  rm -f conftest.$ac_objext conftest$ac_exeext
11719 -if { (eval echo "$as_me:7757: \"$ac_link\"") >&5
11720 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721    (eval $ac_link) 2>&5
11722    ac_status=$?
11723 -  echo "$as_me:7760: \$? = $ac_status" >&5
11724 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725    (exit $ac_status); } &&
11726           { ac_try='test -s conftest$ac_exeext'
11727 -  { (eval echo "$as_me:7763: \"$ac_try\"") >&5
11728 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729    (eval $ac_try) 2>&5
11730    ac_status=$?
11731 -  echo "$as_me:7766: \$? = $ac_status" >&5
11732 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733    (exit $ac_status); }; }; then
11734    ac_cv_func_daemon=yes
11735  else
11736    echo "$as_me: failed program was:" >&5
11737 -cat conftest.$ac_ext >&5
11738 +sed 's/^/| /' conftest.$ac_ext >&5
11739 +
11740  ac_cv_func_daemon=no
11741  fi
11742  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11743  fi
11744 -echo "$as_me:7776: result: $ac_cv_func_daemon" >&5
11745 +echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
11746  echo "${ECHO_T}$ac_cv_func_daemon" >&6
11747  if test $ac_cv_func_daemon = yes; then
11748 -  cat >>confdefs.h <<\EOF
11749 +  cat >>confdefs.h <<\_ACEOF
11750  #define HAVE_DAEMON 1
11751 -EOF
11752 +_ACEOF
11753  
11754  else
11755 -  echo "$as_me:7784: checking for daemon in -lbsd" >&5
11756 +  echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
11757  echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
11758  if test "${ac_cv_lib_bsd_daemon+set}" = set; then
11759    echo $ECHO_N "(cached) $ECHO_C" >&6
11760 @@ -7789,8 +9499,12 @@
11761    ac_check_lib_save_LIBS=$LIBS
11762  LIBS="-lbsd  $LIBS"
11763  cat >conftest.$ac_ext <<_ACEOF
11764 -#line 7792 "configure"
11765 -#include "confdefs.h"
11766 +#line $LINENO "configure"
11767 +/* confdefs.h.  */
11768 +_ACEOF
11769 +cat confdefs.h >>conftest.$ac_ext
11770 +cat >>conftest.$ac_ext <<_ACEOF
11771 +/* end confdefs.h.  */
11772  
11773  /* Override any gcc2 internal prototype to avoid an error.  */
11774  #ifdef __cplusplus
11775 @@ -7808,102 +9522,119 @@
11776  }
11777  _ACEOF
11778  rm -f conftest.$ac_objext conftest$ac_exeext
11779 -if { (eval echo "$as_me:7811: \"$ac_link\"") >&5
11780 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11781    (eval $ac_link) 2>&5
11782    ac_status=$?
11783 -  echo "$as_me:7814: \$? = $ac_status" >&5
11784 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785    (exit $ac_status); } &&
11786           { ac_try='test -s conftest$ac_exeext'
11787 -  { (eval echo "$as_me:7817: \"$ac_try\"") >&5
11788 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789    (eval $ac_try) 2>&5
11790    ac_status=$?
11791 -  echo "$as_me:7820: \$? = $ac_status" >&5
11792 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793    (exit $ac_status); }; }; then
11794    ac_cv_lib_bsd_daemon=yes
11795  else
11796    echo "$as_me: failed program was:" >&5
11797 -cat conftest.$ac_ext >&5
11798 +sed 's/^/| /' conftest.$ac_ext >&5
11799 +
11800  ac_cv_lib_bsd_daemon=no
11801  fi
11802  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11803  LIBS=$ac_check_lib_save_LIBS
11804  fi
11805 -echo "$as_me:7831: result: $ac_cv_lib_bsd_daemon" >&5
11806 +echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
11807  echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
11808  if test $ac_cv_lib_bsd_daemon = yes; then
11809 -  LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF
11810 +  LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
11811  #define HAVE_DAEMON 1
11812 -EOF
11813 +_ACEOF
11814  
11815  fi
11816  
11817 +
11818  fi
11819  
11820 -echo "$as_me:7842: checking for getpagesize" >&5
11821 +
11822 +echo "$as_me:$LINENO: checking for getpagesize" >&5
11823  echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
11824  if test "${ac_cv_func_getpagesize+set}" = set; then
11825    echo $ECHO_N "(cached) $ECHO_C" >&6
11826  else
11827    cat >conftest.$ac_ext <<_ACEOF
11828 -#line 7848 "configure"
11829 -#include "confdefs.h"
11830 +#line $LINENO "configure"
11831 +/* confdefs.h.  */
11832 +_ACEOF
11833 +cat confdefs.h >>conftest.$ac_ext
11834 +cat >>conftest.$ac_ext <<_ACEOF
11835 +/* end confdefs.h.  */
11836  /* System header to define __stub macros and hopefully few prototypes,
11837 -    which can conflict with char getpagesize (); below.  */
11838 -#include <assert.h>
11839 +    which can conflict with char getpagesize (); below.
11840 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11841 +    <limits.h> exists even on freestanding compilers.  */
11842 +#ifdef __STDC__
11843 +# include <limits.h>
11844 +#else
11845 +# include <assert.h>
11846 +#endif
11847  /* Override any gcc2 internal prototype to avoid an error.  */
11848  #ifdef __cplusplus
11849  extern "C"
11850 +{
11851  #endif
11852  /* We use char because int might match the return type of a gcc2
11853     builtin and then its argument prototype would still apply.  */
11854  char getpagesize ();
11855 -char (*f) ();
11856 -
11857 -int
11858 -main ()
11859 -{
11860  /* The GNU C library defines this for functions which it implements
11861      to always fail with ENOSYS.  Some functions are actually named
11862      something starting with __ and the normal name is an alias.  */
11863  #if defined (__stub_getpagesize) || defined (__stub___getpagesize)
11864  choke me
11865  #else
11866 -f = getpagesize;
11867 +char (*f) () = getpagesize;
11868 +#endif
11869 +#ifdef __cplusplus
11870 +}
11871  #endif
11872  
11873 +int
11874 +main ()
11875 +{
11876 +return f != getpagesize;
11877    ;
11878    return 0;
11879  }
11880  _ACEOF
11881  rm -f conftest.$ac_objext conftest$ac_exeext
11882 -if { (eval echo "$as_me:7879: \"$ac_link\"") >&5
11883 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11884    (eval $ac_link) 2>&5
11885    ac_status=$?
11886 -  echo "$as_me:7882: \$? = $ac_status" >&5
11887 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888    (exit $ac_status); } &&
11889           { ac_try='test -s conftest$ac_exeext'
11890 -  { (eval echo "$as_me:7885: \"$ac_try\"") >&5
11891 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892    (eval $ac_try) 2>&5
11893    ac_status=$?
11894 -  echo "$as_me:7888: \$? = $ac_status" >&5
11895 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896    (exit $ac_status); }; }; then
11897    ac_cv_func_getpagesize=yes
11898  else
11899    echo "$as_me: failed program was:" >&5
11900 -cat conftest.$ac_ext >&5
11901 +sed 's/^/| /' conftest.$ac_ext >&5
11902 +
11903  ac_cv_func_getpagesize=no
11904  fi
11905  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11906  fi
11907 -echo "$as_me:7898: result: $ac_cv_func_getpagesize" >&5
11908 +echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
11909  echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
11910  if test $ac_cv_func_getpagesize = yes; then
11911 -  cat >>confdefs.h <<\EOF
11912 +  cat >>confdefs.h <<\_ACEOF
11913  #define HAVE_GETPAGESIZE 1
11914 -EOF
11915 +_ACEOF
11916  
11917  else
11918 -  echo "$as_me:7906: checking for getpagesize in -lucb" >&5
11919 +  echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
11920  echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
11921  if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
11922    echo $ECHO_N "(cached) $ECHO_C" >&6
11923 @@ -7911,8 +9642,12 @@
11924    ac_check_lib_save_LIBS=$LIBS
11925  LIBS="-lucb  $LIBS"
11926  cat >conftest.$ac_ext <<_ACEOF
11927 -#line 7914 "configure"
11928 -#include "confdefs.h"
11929 +#line $LINENO "configure"
11930 +/* confdefs.h.  */
11931 +_ACEOF
11932 +cat confdefs.h >>conftest.$ac_ext
11933 +cat >>conftest.$ac_ext <<_ACEOF
11934 +/* end confdefs.h.  */
11935  
11936  /* Override any gcc2 internal prototype to avoid an error.  */
11937  #ifdef __cplusplus
11938 @@ -7930,101 +9665,125 @@
11939  }
11940  _ACEOF
11941  rm -f conftest.$ac_objext conftest$ac_exeext
11942 -if { (eval echo "$as_me:7933: \"$ac_link\"") >&5
11943 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11944    (eval $ac_link) 2>&5
11945    ac_status=$?
11946 -  echo "$as_me:7936: \$? = $ac_status" >&5
11947 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948    (exit $ac_status); } &&
11949           { ac_try='test -s conftest$ac_exeext'
11950 -  { (eval echo "$as_me:7939: \"$ac_try\"") >&5
11951 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952    (eval $ac_try) 2>&5
11953    ac_status=$?
11954 -  echo "$as_me:7942: \$? = $ac_status" >&5
11955 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956    (exit $ac_status); }; }; then
11957    ac_cv_lib_ucb_getpagesize=yes
11958  else
11959    echo "$as_me: failed program was:" >&5
11960 -cat conftest.$ac_ext >&5
11961 +sed 's/^/| /' conftest.$ac_ext >&5
11962 +
11963  ac_cv_lib_ucb_getpagesize=no
11964  fi
11965  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11966  LIBS=$ac_check_lib_save_LIBS
11967  fi
11968 -echo "$as_me:7953: result: $ac_cv_lib_ucb_getpagesize" >&5
11969 +echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
11970  echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
11971  if test $ac_cv_lib_ucb_getpagesize = yes; then
11972 -  LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF
11973 +  LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
11974  #define HAVE_GETPAGESIZE 1
11975 -EOF
11976 +_ACEOF
11977  
11978  fi
11979  
11980 +
11981  fi
11982  
11983 +
11984  # Check for broken snprintf
11985  if test "x$ac_cv_func_snprintf" = "xyes" ; then
11986 -       echo "$as_me:7966: checking whether snprintf correctly terminates long strings" >&5
11987 +echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
11988  echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
11989 +if test "${ac_cv_have_broken_snprintf+set}" = set; then
11990 +  echo $ECHO_N "(cached) $ECHO_C" >&6
11991 +else
11992 +
11993         if test "$cross_compiling" = yes; then
11994 -  { { echo "$as_me:7969: error: cannot run test program while cross compiling" >&5
11995 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11996 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11997 +See \`config.log' for more details." >&5
11998 +echo "$as_me: error: cannot run test program while cross compiling
11999 +See \`config.log' for more details." >&2;}
12000     { (exit 1); exit 1; }; }
12001  else
12002    cat >conftest.$ac_ext <<_ACEOF
12003 -#line 7974 "configure"
12004 -#include "confdefs.h"
12005 +#line $LINENO "configure"
12006 +/* confdefs.h.  */
12007 +_ACEOF
12008 +cat confdefs.h >>conftest.$ac_ext
12009 +cat >>conftest.$ac_ext <<_ACEOF
12010 +/* end confdefs.h.  */
12011  
12012  #include <stdio.h>
12013  int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
12014  
12015  _ACEOF
12016  rm -f conftest$ac_exeext
12017 -if { (eval echo "$as_me:7982: \"$ac_link\"") >&5
12018 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019    (eval $ac_link) 2>&5
12020    ac_status=$?
12021 -  echo "$as_me:7985: \$? = $ac_status" >&5
12022 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12024 -  { (eval echo "$as_me:7987: \"$ac_try\"") >&5
12025 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026    (eval $ac_try) 2>&5
12027    ac_status=$?
12028 -  echo "$as_me:7990: \$? = $ac_status" >&5
12029 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030    (exit $ac_status); }; }; then
12031 -  echo "$as_me:7992: result: yes" >&5
12032 -echo "${ECHO_T}yes" >&6
12033 +   ac_cv_have_broken_snprintf="no"
12034  else
12035    echo "$as_me: program exited with status $ac_status" >&5
12036  echo "$as_me: failed program was:" >&5
12037 -cat conftest.$ac_ext >&5
12038 +sed 's/^/| /' conftest.$ac_ext >&5
12039  
12040 -                       echo "$as_me:7999: result: no" >&5
12041 -echo "${ECHO_T}no" >&6
12042 -                       cat >>confdefs.h <<\EOF
12043 -#define BROKEN_SNPRINTF 1
12044 -EOF
12045 +( exit $ac_status )
12046 + ac_cv_have_broken_snprintf="yes"
12047  
12048 -                       { echo "$as_me:8005: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
12049 -echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
12050 +fi
12051 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12052 +fi
12053  
12054  fi
12055 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12056 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_snprintf" >&5
12057 +echo "${ECHO_T}$ac_cv_have_broken_snprintf" >&6
12058 +if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
12059 +       cat >>confdefs.h <<\_ACEOF
12060 +#define BROKEN_SNPRINTF 1
12061 +_ACEOF
12062 +
12063 +       { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
12064 +echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
12065  fi
12066  fi
12067  
12068  if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
12069 -echo "$as_me:8014: checking for (overly) strict mkstemp" >&5
12070 +echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
12071  echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
12072  if test "$cross_compiling" = yes; then
12073  
12074 -               echo "$as_me:8018: result: yes" >&5
12075 +               echo "$as_me:$LINENO: result: yes" >&5
12076  echo "${ECHO_T}yes" >&6
12077 -               cat >>confdefs.h <<\EOF
12078 +               cat >>confdefs.h <<\_ACEOF
12079  #define HAVE_STRICT_MKSTEMP 1
12080 -EOF
12081 +_ACEOF
12082 +
12083 +
12084  
12085  else
12086    cat >conftest.$ac_ext <<_ACEOF
12087 -#line 8026 "configure"
12088 -#include "confdefs.h"
12089 +#line $LINENO "configure"
12090 +/* confdefs.h.  */
12091 +_ACEOF
12092 +cat confdefs.h >>conftest.$ac_ext
12093 +cat >>conftest.$ac_ext <<_ACEOF
12094 +/* end confdefs.h.  */
12095  
12096  #include <stdlib.h>
12097  main() { char template[]="conftest.mkstemp-test";
12098 @@ -8035,47 +9794,60 @@
12099  
12100  _ACEOF
12101  rm -f conftest$ac_exeext
12102 -if { (eval echo "$as_me:8038: \"$ac_link\"") >&5
12103 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104    (eval $ac_link) 2>&5
12105    ac_status=$?
12106 -  echo "$as_me:8041: \$? = $ac_status" >&5
12107 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12109 -  { (eval echo "$as_me:8043: \"$ac_try\"") >&5
12110 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12111    (eval $ac_try) 2>&5
12112    ac_status=$?
12113 -  echo "$as_me:8046: \$? = $ac_status" >&5
12114 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115    (exit $ac_status); }; }; then
12116  
12117 -               echo "$as_me:8049: result: no" >&5
12118 +               echo "$as_me:$LINENO: result: no" >&5
12119  echo "${ECHO_T}no" >&6
12120  
12121  else
12122    echo "$as_me: program exited with status $ac_status" >&5
12123  echo "$as_me: failed program was:" >&5
12124 -cat conftest.$ac_ext >&5
12125 +sed 's/^/| /' conftest.$ac_ext >&5
12126  
12127 -               echo "$as_me:8057: result: yes" >&5
12128 +( exit $ac_status )
12129 +
12130 +               echo "$as_me:$LINENO: result: yes" >&5
12131  echo "${ECHO_T}yes" >&6
12132 -               cat >>confdefs.h <<\EOF
12133 +               cat >>confdefs.h <<\_ACEOF
12134  #define HAVE_STRICT_MKSTEMP 1
12135 -EOF
12136 +_ACEOF
12137 +
12138  
12139  fi
12140 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12141 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12142  fi
12143  fi
12144  
12145  if test ! -z "$check_for_openpty_ctty_bug"; then
12146 -       echo "$as_me:8069: checking if openpty correctly handles controlling tty" >&5
12147 -echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
12148 +echo "$as_me:$LINENO: checking if openpty acquires controlling terminal" >&5
12149 +echo $ECHO_N "checking if openpty acquires controlling terminal... $ECHO_C" >&6
12150 +if test "${ac_cv_have_openpty_ctty_bug+set}" = set; then
12151 +  echo $ECHO_N "(cached) $ECHO_C" >&6
12152 +else
12153 +
12154         if test "$cross_compiling" = yes; then
12155 -  { { echo "$as_me:8072: error: cannot run test program while cross compiling" >&5
12156 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12157 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12158 +See \`config.log' for more details." >&5
12159 +echo "$as_me: error: cannot run test program while cross compiling
12160 +See \`config.log' for more details." >&2;}
12161     { (exit 1); exit 1; }; }
12162  else
12163    cat >conftest.$ac_ext <<_ACEOF
12164 -#line 8077 "configure"
12165 -#include "confdefs.h"
12166 +#line $LINENO "configure"
12167 +/* confdefs.h.  */
12168 +_ACEOF
12169 +cat confdefs.h >>conftest.$ac_ext
12170 +cat >>conftest.$ac_ext <<_ACEOF
12171 +/* end confdefs.h.  */
12172  
12173  #include <stdio.h>
12174  #include <sys/fcntl.h>
12175 @@ -8111,201 +9883,95 @@
12176  
12177  _ACEOF
12178  rm -f conftest$ac_exeext
12179 -if { (eval echo "$as_me:8114: \"$ac_link\"") >&5
12180 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181    (eval $ac_link) 2>&5
12182    ac_status=$?
12183 -  echo "$as_me:8117: \$? = $ac_status" >&5
12184 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12186 -  { (eval echo "$as_me:8119: \"$ac_try\"") >&5
12187 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188    (eval $ac_try) 2>&5
12189    ac_status=$?
12190 -  echo "$as_me:8122: \$? = $ac_status" >&5
12191 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192    (exit $ac_status); }; }; then
12193 -
12194 -                       echo "$as_me:8125: result: yes" >&5
12195 -echo "${ECHO_T}yes" >&6
12196 -
12197 +   ac_cv_have_openpty_ctty_bug="no"
12198  else
12199    echo "$as_me: program exited with status $ac_status" >&5
12200  echo "$as_me: failed program was:" >&5
12201 -cat conftest.$ac_ext >&5
12202 +sed 's/^/| /' conftest.$ac_ext >&5
12203  
12204 -                       echo "$as_me:8133: result: no" >&5
12205 -echo "${ECHO_T}no" >&6
12206 -                       cat >>confdefs.h <<\EOF
12207 -#define SSHD_ACQUIRES_CTTY 1
12208 -EOF
12209 +( exit $ac_status )
12210 + ac_cv_have_openpty_ctty_bug="yes"
12211  
12212  fi
12213 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12214 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12215  fi
12216 +
12217  fi
12218 +echo "$as_me:$LINENO: result: $ac_cv_have_openpty_ctty_bug" >&5
12219 +echo "${ECHO_T}$ac_cv_have_openpty_ctty_bug" >&6
12220 +if test "x$ac_cv_have_openpty_ctty_bug" = "xyes" ; then
12221 +       cat >>confdefs.h <<\_ACEOF
12222 +#define SSHD_ACQUIRES_CTTY 1
12223 +_ACEOF
12224  
12225 -echo "$as_me:8144: checking whether getpgrp takes no argument" >&5
12226 -echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6
12227 +fi
12228 +fi
12229 +
12230 +echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
12231 +echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
12232  if test "${ac_cv_func_getpgrp_void+set}" = set; then
12233    echo $ECHO_N "(cached) $ECHO_C" >&6
12234  else
12235    # Use it with a single arg.
12236  cat >conftest.$ac_ext <<_ACEOF
12237 -#line 8151 "configure"
12238 -#include "confdefs.h"
12239 -$ac_includes_default
12240 -int
12241 -main ()
12242 -{
12243 -getpgrp (0);
12244 -  ;
12245 -  return 0;
12246 -}
12247 +#line $LINENO "configure"
12248 +/* confdefs.h.  */
12249  _ACEOF
12250 -rm -f conftest.$ac_objext
12251 -if { (eval echo "$as_me:8163: \"$ac_compile\"") >&5
12252 -  (eval $ac_compile) 2>&5
12253 -  ac_status=$?
12254 -  echo "$as_me:8166: \$? = $ac_status" >&5
12255 -  (exit $ac_status); } &&
12256 -         { ac_try='test -s conftest.$ac_objext'
12257 -  { (eval echo "$as_me:8169: \"$ac_try\"") >&5
12258 -  (eval $ac_try) 2>&5
12259 -  ac_status=$?
12260 -  echo "$as_me:8172: \$? = $ac_status" >&5
12261 -  (exit $ac_status); }; }; then
12262 -  ac_func_getpgrp_1=yes
12263 -else
12264 -  echo "$as_me: failed program was:" >&5
12265 -cat conftest.$ac_ext >&5
12266 -ac_func_getpgrp_1=no
12267 -fi
12268 -rm -f conftest.$ac_objext conftest.$ac_ext
12269 -# Use it with no arg.
12270 -cat >conftest.$ac_ext <<_ACEOF
12271 -#line 8183 "configure"
12272 -#include "confdefs.h"
12273 +cat confdefs.h >>conftest.$ac_ext
12274 +cat >>conftest.$ac_ext <<_ACEOF
12275 +/* end confdefs.h.  */
12276  $ac_includes_default
12277  int
12278  main ()
12279  {
12280 -getpgrp ();
12281 +getpgrp (0);
12282    ;
12283    return 0;
12284  }
12285  _ACEOF
12286  rm -f conftest.$ac_objext
12287 -if { (eval echo "$as_me:8195: \"$ac_compile\"") >&5
12288 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12289    (eval $ac_compile) 2>&5
12290    ac_status=$?
12291 -  echo "$as_me:8198: \$? = $ac_status" >&5
12292 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293    (exit $ac_status); } &&
12294           { ac_try='test -s conftest.$ac_objext'
12295 -  { (eval echo "$as_me:8201: \"$ac_try\"") >&5
12296 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297    (eval $ac_try) 2>&5
12298    ac_status=$?
12299 -  echo "$as_me:8204: \$? = $ac_status" >&5
12300 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301    (exit $ac_status); }; }; then
12302 -  ac_func_getpgrp_0=yes
12303 +  ac_cv_func_getpgrp_void=no
12304  else
12305    echo "$as_me: failed program was:" >&5
12306 -cat conftest.$ac_ext >&5
12307 -ac_func_getpgrp_0=no
12308 -fi
12309 -rm -f conftest.$ac_objext conftest.$ac_ext
12310 -# If both static checks agree, we are done.
12311 -case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
12312 -  yes:no) ac_cv_func_getpgrp_void=yes;;
12313 -  no:yes) ac_cv_func_getpgrp_void=false;;
12314 -  *) if test "$cross_compiling" = yes; then
12315 -  { { echo "$as_me:8218: error: cannot check getpgrp if cross compiling" >&5
12316 -echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;}
12317 -   { (exit 1); exit 1; }; }
12318 -else
12319 -  cat >conftest.$ac_ext <<_ACEOF
12320 -#line 8223 "configure"
12321 -#include "confdefs.h"
12322 -$ac_includes_default
12323 -
12324 -/*
12325 - * If this system has a BSD-style getpgrp(),
12326 - * which takes a pid argument, exit unsuccessfully.
12327 - *
12328 - * Snarfed from Chet Ramey's bash pgrp.c test program
12329 - */
12330 -
12331 -int     pid;
12332 -int     pg1, pg2, pg3, pg4;
12333 -int     ng, np, s, child;
12334 -
12335 -int
12336 -main ()
12337 -{
12338 -  pid = getpid ();
12339 -  pg1 = getpgrp (0);
12340 -  pg2 = getpgrp ();
12341 -  pg3 = getpgrp (pid);
12342 -  pg4 = getpgrp (1);
12343 -
12344 -  /* If all of these values are the same, it's pretty sure that we're
12345 -     on a system that ignores getpgrp's first argument.  */
12346 -  if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
12347 -    exit (0);
12348 -
12349 -  child = fork ();
12350 -  if (child < 0)
12351 -    exit(1);
12352 -  else if (child == 0)
12353 -    {
12354 -      np = getpid ();
12355 -      /*  If this is Sys V, this will not work; pgrp will be set to np
12356 -        because setpgrp just changes a pgrp to be the same as the
12357 -        pid.  */
12358 -      setpgrp (np, pg1);
12359 -      ng = getpgrp (0);        /* Same result for Sys V and BSD */
12360 -      if (ng == pg1)
12361 -       exit (1);
12362 -      else
12363 -       exit (0);
12364 -    }
12365 -  else
12366 -    {
12367 -      wait (&s);
12368 -      exit (s>>8);
12369 -    }
12370 -}
12371 +sed 's/^/| /' conftest.$ac_ext >&5
12372  
12373 -_ACEOF
12374 -rm -f conftest$ac_exeext
12375 -if { (eval echo "$as_me:8277: \"$ac_link\"") >&5
12376 -  (eval $ac_link) 2>&5
12377 -  ac_status=$?
12378 -  echo "$as_me:8280: \$? = $ac_status" >&5
12379 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12380 -  { (eval echo "$as_me:8282: \"$ac_try\"") >&5
12381 -  (eval $ac_try) 2>&5
12382 -  ac_status=$?
12383 -  echo "$as_me:8285: \$? = $ac_status" >&5
12384 -  (exit $ac_status); }; }; then
12385 -  ac_cv_func_getpgrp_void=yes
12386 -else
12387 -  echo "$as_me: program exited with status $ac_status" >&5
12388 -echo "$as_me: failed program was:" >&5
12389 -cat conftest.$ac_ext >&5
12390 -ac_cv_func_getpgrp_void=no
12391 +ac_cv_func_getpgrp_void=yes
12392  fi
12393 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12394 -fi;;
12395 -esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
12396 +rm -f conftest.$ac_objext conftest.$ac_ext
12397  
12398  fi
12399 -echo "$as_me:8299: result: $ac_cv_func_getpgrp_void" >&5
12400 +echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
12401  echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
12402  if test $ac_cv_func_getpgrp_void = yes; then
12403  
12404 -cat >>confdefs.h <<\EOF
12405 +cat >>confdefs.h <<\_ACEOF
12406  #define GETPGRP_VOID 1
12407 -EOF
12408 +_ACEOF
12409  
12410  fi
12411  
12412 +
12413  # Check for PAM libs
12414  PAM_MSG="no"
12415  
12416 @@ -8315,12 +9981,13 @@
12417  
12418                 if test "x$withval" != "xno" ; then
12419                         if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
12420 -                               { { echo "$as_me:8318: error: PAM headers not found" >&5
12421 +                               { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
12422  echo "$as_me: error: PAM headers not found" >&2;}
12423     { (exit 1); exit 1; }; }
12424                         fi
12425  
12426 -echo "$as_me:8323: checking for dlopen in -ldl" >&5
12427 +
12428 +echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12429  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12430  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12431    echo $ECHO_N "(cached) $ECHO_C" >&6
12432 @@ -8328,8 +9995,12 @@
12433    ac_check_lib_save_LIBS=$LIBS
12434  LIBS="-ldl  $LIBS"
12435  cat >conftest.$ac_ext <<_ACEOF
12436 -#line 8331 "configure"
12437 -#include "confdefs.h"
12438 +#line $LINENO "configure"
12439 +/* confdefs.h.  */
12440 +_ACEOF
12441 +cat confdefs.h >>conftest.$ac_ext
12442 +cat >>conftest.$ac_ext <<_ACEOF
12443 +/* end confdefs.h.  */
12444  
12445  /* Override any gcc2 internal prototype to avoid an error.  */
12446  #ifdef __cplusplus
12447 @@ -8347,38 +10018,40 @@
12448  }
12449  _ACEOF
12450  rm -f conftest.$ac_objext conftest$ac_exeext
12451 -if { (eval echo "$as_me:8350: \"$ac_link\"") >&5
12452 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12453    (eval $ac_link) 2>&5
12454    ac_status=$?
12455 -  echo "$as_me:8353: \$? = $ac_status" >&5
12456 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457    (exit $ac_status); } &&
12458           { ac_try='test -s conftest$ac_exeext'
12459 -  { (eval echo "$as_me:8356: \"$ac_try\"") >&5
12460 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461    (eval $ac_try) 2>&5
12462    ac_status=$?
12463 -  echo "$as_me:8359: \$? = $ac_status" >&5
12464 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465    (exit $ac_status); }; }; then
12466    ac_cv_lib_dl_dlopen=yes
12467  else
12468    echo "$as_me: failed program was:" >&5
12469 -cat conftest.$ac_ext >&5
12470 +sed 's/^/| /' conftest.$ac_ext >&5
12471 +
12472  ac_cv_lib_dl_dlopen=no
12473  fi
12474  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12475  LIBS=$ac_check_lib_save_LIBS
12476  fi
12477 -echo "$as_me:8370: result: $ac_cv_lib_dl_dlopen" >&5
12478 +echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12479  echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12480  if test $ac_cv_lib_dl_dlopen = yes; then
12481 -  cat >>confdefs.h <<EOF
12482 +  cat >>confdefs.h <<_ACEOF
12483  #define HAVE_LIBDL 1
12484 -EOF
12485 +_ACEOF
12486  
12487    LIBS="-ldl $LIBS"
12488  
12489  fi
12490  
12491 -echo "$as_me:8381: checking for pam_set_item in -lpam" >&5
12492 +
12493 +echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
12494  echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
12495  if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
12496    echo $ECHO_N "(cached) $ECHO_C" >&6
12497 @@ -8386,8 +10059,12 @@
12498    ac_check_lib_save_LIBS=$LIBS
12499  LIBS="-lpam  $LIBS"
12500  cat >conftest.$ac_ext <<_ACEOF
12501 -#line 8389 "configure"
12502 -#include "confdefs.h"
12503 +#line $LINENO "configure"
12504 +/* confdefs.h.  */
12505 +_ACEOF
12506 +cat confdefs.h >>conftest.$ac_ext
12507 +cat >>conftest.$ac_ext <<_ACEOF
12508 +/* end confdefs.h.  */
12509  
12510  /* Override any gcc2 internal prototype to avoid an error.  */
12511  #ifdef __cplusplus
12512 @@ -8405,185 +10082,217 @@
12513  }
12514  _ACEOF
12515  rm -f conftest.$ac_objext conftest$ac_exeext
12516 -if { (eval echo "$as_me:8408: \"$ac_link\"") >&5
12517 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518    (eval $ac_link) 2>&5
12519    ac_status=$?
12520 -  echo "$as_me:8411: \$? = $ac_status" >&5
12521 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522    (exit $ac_status); } &&
12523           { ac_try='test -s conftest$ac_exeext'
12524 -  { (eval echo "$as_me:8414: \"$ac_try\"") >&5
12525 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526    (eval $ac_try) 2>&5
12527    ac_status=$?
12528 -  echo "$as_me:8417: \$? = $ac_status" >&5
12529 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530    (exit $ac_status); }; }; then
12531    ac_cv_lib_pam_pam_set_item=yes
12532  else
12533    echo "$as_me: failed program was:" >&5
12534 -cat conftest.$ac_ext >&5
12535 +sed 's/^/| /' conftest.$ac_ext >&5
12536 +
12537  ac_cv_lib_pam_pam_set_item=no
12538  fi
12539  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12540  LIBS=$ac_check_lib_save_LIBS
12541  fi
12542 -echo "$as_me:8428: result: $ac_cv_lib_pam_pam_set_item" >&5
12543 +echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
12544  echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
12545  if test $ac_cv_lib_pam_pam_set_item = yes; then
12546 -  cat >>confdefs.h <<EOF
12547 +  cat >>confdefs.h <<_ACEOF
12548  #define HAVE_LIBPAM 1
12549 -EOF
12550 +_ACEOF
12551  
12552    LIBS="-lpam $LIBS"
12553  
12554  else
12555 -  { { echo "$as_me:8438: error: *** libpam missing" >&5
12556 +  { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
12557  echo "$as_me: error: *** libpam missing" >&2;}
12558     { (exit 1); exit 1; }; }
12559  fi
12560  
12561 +
12562  for ac_func in pam_getenvlist
12563  do
12564  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12565 -echo "$as_me:8446: checking for $ac_func" >&5
12566 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12567  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12568  if eval "test \"\${$as_ac_var+set}\" = set"; then
12569    echo $ECHO_N "(cached) $ECHO_C" >&6
12570  else
12571    cat >conftest.$ac_ext <<_ACEOF
12572 -#line 8452 "configure"
12573 -#include "confdefs.h"
12574 +#line $LINENO "configure"
12575 +/* confdefs.h.  */
12576 +_ACEOF
12577 +cat confdefs.h >>conftest.$ac_ext
12578 +cat >>conftest.$ac_ext <<_ACEOF
12579 +/* end confdefs.h.  */
12580  /* System header to define __stub macros and hopefully few prototypes,
12581 -    which can conflict with char $ac_func (); below.  */
12582 -#include <assert.h>
12583 +    which can conflict with char $ac_func (); below.
12584 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12585 +    <limits.h> exists even on freestanding compilers.  */
12586 +#ifdef __STDC__
12587 +# include <limits.h>
12588 +#else
12589 +# include <assert.h>
12590 +#endif
12591  /* Override any gcc2 internal prototype to avoid an error.  */
12592  #ifdef __cplusplus
12593  extern "C"
12594 +{
12595  #endif
12596  /* We use char because int might match the return type of a gcc2
12597     builtin and then its argument prototype would still apply.  */
12598  char $ac_func ();
12599 -char (*f) ();
12600 -
12601 -int
12602 -main ()
12603 -{
12604  /* The GNU C library defines this for functions which it implements
12605      to always fail with ENOSYS.  Some functions are actually named
12606      something starting with __ and the normal name is an alias.  */
12607  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12608  choke me
12609  #else
12610 -f = $ac_func;
12611 +char (*f) () = $ac_func;
12612 +#endif
12613 +#ifdef __cplusplus
12614 +}
12615  #endif
12616  
12617 +int
12618 +main ()
12619 +{
12620 +return f != $ac_func;
12621    ;
12622    return 0;
12623  }
12624  _ACEOF
12625  rm -f conftest.$ac_objext conftest$ac_exeext
12626 -if { (eval echo "$as_me:8483: \"$ac_link\"") >&5
12627 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12628    (eval $ac_link) 2>&5
12629    ac_status=$?
12630 -  echo "$as_me:8486: \$? = $ac_status" >&5
12631 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632    (exit $ac_status); } &&
12633           { ac_try='test -s conftest$ac_exeext'
12634 -  { (eval echo "$as_me:8489: \"$ac_try\"") >&5
12635 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636    (eval $ac_try) 2>&5
12637    ac_status=$?
12638 -  echo "$as_me:8492: \$? = $ac_status" >&5
12639 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640    (exit $ac_status); }; }; then
12641    eval "$as_ac_var=yes"
12642  else
12643    echo "$as_me: failed program was:" >&5
12644 -cat conftest.$ac_ext >&5
12645 +sed 's/^/| /' conftest.$ac_ext >&5
12646 +
12647  eval "$as_ac_var=no"
12648  fi
12649  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12650  fi
12651 -echo "$as_me:8502: result: `eval echo '${'$as_ac_var'}'`" >&5
12652 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12653  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12654  if test `eval echo '${'$as_ac_var'}'` = yes; then
12655 -  cat >>confdefs.h <<EOF
12656 +  cat >>confdefs.h <<_ACEOF
12657  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12658 -EOF
12659 +_ACEOF
12660  
12661  fi
12662  done
12663  
12664 +
12665  for ac_func in pam_putenv
12666  do
12667  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12668 -echo "$as_me:8515: checking for $ac_func" >&5
12669 +echo "$as_me:$LINENO: checking for $ac_func" >&5
12670  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12671  if eval "test \"\${$as_ac_var+set}\" = set"; then
12672    echo $ECHO_N "(cached) $ECHO_C" >&6
12673  else
12674    cat >conftest.$ac_ext <<_ACEOF
12675 -#line 8521 "configure"
12676 -#include "confdefs.h"
12677 +#line $LINENO "configure"
12678 +/* confdefs.h.  */
12679 +_ACEOF
12680 +cat confdefs.h >>conftest.$ac_ext
12681 +cat >>conftest.$ac_ext <<_ACEOF
12682 +/* end confdefs.h.  */
12683  /* System header to define __stub macros and hopefully few prototypes,
12684 -    which can conflict with char $ac_func (); below.  */
12685 -#include <assert.h>
12686 +    which can conflict with char $ac_func (); below.
12687 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12688 +    <limits.h> exists even on freestanding compilers.  */
12689 +#ifdef __STDC__
12690 +# include <limits.h>
12691 +#else
12692 +# include <assert.h>
12693 +#endif
12694  /* Override any gcc2 internal prototype to avoid an error.  */
12695  #ifdef __cplusplus
12696  extern "C"
12697 +{
12698  #endif
12699  /* We use char because int might match the return type of a gcc2
12700     builtin and then its argument prototype would still apply.  */
12701  char $ac_func ();
12702 -char (*f) ();
12703 -
12704 -int
12705 -main ()
12706 -{
12707  /* The GNU C library defines this for functions which it implements
12708      to always fail with ENOSYS.  Some functions are actually named
12709      something starting with __ and the normal name is an alias.  */
12710  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12711  choke me
12712  #else
12713 -f = $ac_func;
12714 +char (*f) () = $ac_func;
12715 +#endif
12716 +#ifdef __cplusplus
12717 +}
12718  #endif
12719  
12720 +int
12721 +main ()
12722 +{
12723 +return f != $ac_func;
12724    ;
12725    return 0;
12726  }
12727  _ACEOF
12728  rm -f conftest.$ac_objext conftest$ac_exeext
12729 -if { (eval echo "$as_me:8552: \"$ac_link\"") >&5
12730 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731    (eval $ac_link) 2>&5
12732    ac_status=$?
12733 -  echo "$as_me:8555: \$? = $ac_status" >&5
12734 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735    (exit $ac_status); } &&
12736           { ac_try='test -s conftest$ac_exeext'
12737 -  { (eval echo "$as_me:8558: \"$ac_try\"") >&5
12738 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739    (eval $ac_try) 2>&5
12740    ac_status=$?
12741 -  echo "$as_me:8561: \$? = $ac_status" >&5
12742 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743    (exit $ac_status); }; }; then
12744    eval "$as_ac_var=yes"
12745  else
12746    echo "$as_me: failed program was:" >&5
12747 -cat conftest.$ac_ext >&5
12748 +sed 's/^/| /' conftest.$ac_ext >&5
12749 +
12750  eval "$as_ac_var=no"
12751  fi
12752  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12753  fi
12754 -echo "$as_me:8571: result: `eval echo '${'$as_ac_var'}'`" >&5
12755 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12756  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12757  if test `eval echo '${'$as_ac_var'}'` = yes; then
12758 -  cat >>confdefs.h <<EOF
12759 +  cat >>confdefs.h <<_ACEOF
12760  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12761 -EOF
12762 +_ACEOF
12763  
12764  fi
12765  done
12766  
12767 +
12768                         disable_shadow=yes
12769                         PAM_MSG="yes"
12770  
12771 -                       cat >>confdefs.h <<\EOF
12772 +                       cat >>confdefs.h <<\_ACEOF
12773  #define USE_PAM 1
12774 -EOF
12775 +_ACEOF
12776  
12777                         if test $ac_cv_lib_dl_dlopen = yes; then
12778                                 LIBPAM="-lpam -ldl"
12779 @@ -8593,16 +10302,21 @@
12780  
12781                 fi
12782  
12783 +
12784  fi;
12785  
12786  # Check for older PAM
12787  if test "x$PAM_MSG" = "xyes" ; then
12788         # Check PAM strerror arguments (old PAM)
12789 -       echo "$as_me:8601: checking whether pam_strerror takes only one argument" >&5
12790 +       echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
12791  echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
12792         cat >conftest.$ac_ext <<_ACEOF
12793 -#line 8604 "configure"
12794 -#include "confdefs.h"
12795 +#line $LINENO "configure"
12796 +/* confdefs.h.  */
12797 +_ACEOF
12798 +cat confdefs.h >>conftest.$ac_ext
12799 +cat >>conftest.$ac_ext <<_ACEOF
12800 +/* end confdefs.h.  */
12801  
12802  #include <stdlib.h>
12803  #include <security/pam_appl.h>
12804 @@ -8616,31 +10330,33 @@
12805  }
12806  _ACEOF
12807  rm -f conftest.$ac_objext
12808 -if { (eval echo "$as_me:8619: \"$ac_compile\"") >&5
12809 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12810    (eval $ac_compile) 2>&5
12811    ac_status=$?
12812 -  echo "$as_me:8622: \$? = $ac_status" >&5
12813 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814    (exit $ac_status); } &&
12815           { ac_try='test -s conftest.$ac_objext'
12816 -  { (eval echo "$as_me:8625: \"$ac_try\"") >&5
12817 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818    (eval $ac_try) 2>&5
12819    ac_status=$?
12820 -  echo "$as_me:8628: \$? = $ac_status" >&5
12821 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822    (exit $ac_status); }; }; then
12823 -  echo "$as_me:8630: result: no" >&5
12824 +  echo "$as_me:$LINENO: result: no" >&5
12825  echo "${ECHO_T}no" >&6
12826  else
12827    echo "$as_me: failed program was:" >&5
12828 -cat conftest.$ac_ext >&5
12829 +sed 's/^/| /' conftest.$ac_ext >&5
12830  
12831 -                       cat >>confdefs.h <<\EOF
12832 +
12833 +                       cat >>confdefs.h <<\_ACEOF
12834  #define HAVE_OLD_PAM 1
12835 -EOF
12836 +_ACEOF
12837  
12838 -                       echo "$as_me:8640: result: yes" >&5
12839 +                       echo "$as_me:$LINENO: result: yes" >&5
12840  echo "${ECHO_T}yes" >&6
12841                         PAM_MSG="yes (old library)"
12842  
12843 +
12844  fi
12845  rm -f conftest.$ac_objext conftest.$ac_ext
12846  fi
12847 @@ -8649,7 +10365,7 @@
12848  # because the system crypt() is more featureful.
12849  if test "x$check_for_libcrypt_before" = "x1"; then
12850  
12851 -echo "$as_me:8652: checking for crypt in -lcrypt" >&5
12852 +echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12853  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
12854  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
12855    echo $ECHO_N "(cached) $ECHO_C" >&6
12856 @@ -8657,8 +10373,12 @@
12857    ac_check_lib_save_LIBS=$LIBS
12858  LIBS="-lcrypt  $LIBS"
12859  cat >conftest.$ac_ext <<_ACEOF
12860 -#line 8660 "configure"
12861 -#include "confdefs.h"
12862 +#line $LINENO "configure"
12863 +/* confdefs.h.  */
12864 +_ACEOF
12865 +cat confdefs.h >>conftest.$ac_ext
12866 +cat >>conftest.$ac_ext <<_ACEOF
12867 +/* end confdefs.h.  */
12868  
12869  /* Override any gcc2 internal prototype to avoid an error.  */
12870  #ifdef __cplusplus
12871 @@ -8676,32 +10396,33 @@
12872  }
12873  _ACEOF
12874  rm -f conftest.$ac_objext conftest$ac_exeext
12875 -if { (eval echo "$as_me:8679: \"$ac_link\"") >&5
12876 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12877    (eval $ac_link) 2>&5
12878    ac_status=$?
12879 -  echo "$as_me:8682: \$? = $ac_status" >&5
12880 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881    (exit $ac_status); } &&
12882           { ac_try='test -s conftest$ac_exeext'
12883 -  { (eval echo "$as_me:8685: \"$ac_try\"") >&5
12884 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885    (eval $ac_try) 2>&5
12886    ac_status=$?
12887 -  echo "$as_me:8688: \$? = $ac_status" >&5
12888 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889    (exit $ac_status); }; }; then
12890    ac_cv_lib_crypt_crypt=yes
12891  else
12892    echo "$as_me: failed program was:" >&5
12893 -cat conftest.$ac_ext >&5
12894 +sed 's/^/| /' conftest.$ac_ext >&5
12895 +
12896  ac_cv_lib_crypt_crypt=no
12897  fi
12898  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12899  LIBS=$ac_check_lib_save_LIBS
12900  fi
12901 -echo "$as_me:8699: result: $ac_cv_lib_crypt_crypt" >&5
12902 +echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
12903  echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
12904  if test $ac_cv_lib_crypt_crypt = yes; then
12905 -  cat >>confdefs.h <<EOF
12906 +  cat >>confdefs.h <<_ACEOF
12907  #define HAVE_LIBCRYPT 1
12908 -EOF
12909 +_ACEOF
12910  
12911    LIBS="-lcrypt $LIBS"
12912  
12913 @@ -8738,11 +10459,16 @@
12914                         fi
12915                 fi
12916  
12917 +
12918  fi;
12919  LIBS="$LIBS -lcrypto"
12920  cat >conftest.$ac_ext <<_ACEOF
12921 -#line 8744 "configure"
12922 -#include "confdefs.h"
12923 +#line $LINENO "configure"
12924 +/* confdefs.h.  */
12925 +_ACEOF
12926 +cat confdefs.h >>conftest.$ac_ext
12927 +cat >>conftest.$ac_ext <<_ACEOF
12928 +/* end confdefs.h.  */
12929  
12930  /* Override any gcc2 internal prototype to avoid an error.  */
12931  #ifdef __cplusplus
12932 @@ -8760,24 +10486,25 @@
12933  }
12934  _ACEOF
12935  rm -f conftest.$ac_objext conftest$ac_exeext
12936 -if { (eval echo "$as_me:8763: \"$ac_link\"") >&5
12937 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12938    (eval $ac_link) 2>&5
12939    ac_status=$?
12940 -  echo "$as_me:8766: \$? = $ac_status" >&5
12941 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942    (exit $ac_status); } &&
12943           { ac_try='test -s conftest$ac_exeext'
12944 -  { (eval echo "$as_me:8769: \"$ac_try\"") >&5
12945 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946    (eval $ac_try) 2>&5
12947    ac_status=$?
12948 -  echo "$as_me:8772: \$? = $ac_status" >&5
12949 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950    (exit $ac_status); }; }; then
12951 -  cat >>confdefs.h <<\EOF
12952 +  cat >>confdefs.h <<\_ACEOF
12953  #define HAVE_OPENSSL 1
12954 -EOF
12955 +_ACEOF
12956  
12957  else
12958    echo "$as_me: failed program was:" >&5
12959 -cat conftest.$ac_ext >&5
12960 +sed 's/^/| /' conftest.$ac_ext >&5
12961 +
12962  
12963                                 if test -n "${need_dash_r}"; then
12964                         LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
12965 @@ -8786,8 +10513,12 @@
12966                 fi
12967                 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
12968                 cat >conftest.$ac_ext <<_ACEOF
12969 -#line 8789 "configure"
12970 -#include "confdefs.h"
12971 +#line $LINENO "configure"
12972 +/* confdefs.h.  */
12973 +_ACEOF
12974 +cat confdefs.h >>conftest.$ac_ext
12975 +cat >>conftest.$ac_ext <<_ACEOF
12976 +/* end confdefs.h.  */
12977  
12978  /* Override any gcc2 internal prototype to avoid an error.  */
12979  #ifdef __cplusplus
12980 @@ -8805,46 +10536,57 @@
12981  }
12982  _ACEOF
12983  rm -f conftest.$ac_objext conftest$ac_exeext
12984 -if { (eval echo "$as_me:8808: \"$ac_link\"") >&5
12985 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12986    (eval $ac_link) 2>&5
12987    ac_status=$?
12988 -  echo "$as_me:8811: \$? = $ac_status" >&5
12989 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990    (exit $ac_status); } &&
12991           { ac_try='test -s conftest$ac_exeext'
12992 -  { (eval echo "$as_me:8814: \"$ac_try\"") >&5
12993 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994    (eval $ac_try) 2>&5
12995    ac_status=$?
12996 -  echo "$as_me:8817: \$? = $ac_status" >&5
12997 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998    (exit $ac_status); }; }; then
12999 -  cat >>confdefs.h <<\EOF
13000 +  cat >>confdefs.h <<\_ACEOF
13001  #define HAVE_OPENSSL 1
13002 -EOF
13003 +_ACEOF
13004  
13005  else
13006    echo "$as_me: failed program was:" >&5
13007 -cat conftest.$ac_ext >&5
13008 +sed 's/^/| /' conftest.$ac_ext >&5
13009  
13010 -                               { { echo "$as_me:8827: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
13011 +
13012 +                               { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
13013  echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
13014     { (exit 1); exit 1; }; }
13015  
13016 +
13017  fi
13018  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13019  
13020 +
13021  fi
13022  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13023  
13024  # Determine OpenSSL header version
13025 -echo "$as_me:8838: checking OpenSSL header version" >&5
13026 +echo "$as_me:$LINENO: checking OpenSSL header version" >&5
13027  echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
13028  if test "$cross_compiling" = yes; then
13029 -  { { echo "$as_me:8841: error: cannot run test program while cross compiling" >&5
13030 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13031 -   { (exit 1); exit 1; }; }
13032 +
13033 +               echo "$as_me:$LINENO: result: unknown" >&5
13034 +echo "${ECHO_T}unknown" >&6
13035 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL header version check due to crosscompilation." >&5
13036 +echo "$as_me: WARNING: Skipping OpenSSL header version check due to crosscompilation." >&2;}
13037 +
13038 +
13039  else
13040    cat >conftest.$ac_ext <<_ACEOF
13041 -#line 8846 "configure"
13042 -#include "confdefs.h"
13043 +#line $LINENO "configure"
13044 +/* confdefs.h.  */
13045 +_ACEOF
13046 +cat confdefs.h >>conftest.$ac_ext
13047 +cat >>conftest.$ac_ext <<_ACEOF
13048 +/* end confdefs.h.  */
13049  
13050  #include <stdio.h>
13051  #include <string.h>
13052 @@ -8866,47 +10608,57 @@
13053  
13054  _ACEOF
13055  rm -f conftest$ac_exeext
13056 -if { (eval echo "$as_me:8869: \"$ac_link\"") >&5
13057 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058    (eval $ac_link) 2>&5
13059    ac_status=$?
13060 -  echo "$as_me:8872: \$? = $ac_status" >&5
13061 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13063 -  { (eval echo "$as_me:8874: \"$ac_try\"") >&5
13064 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065    (eval $ac_try) 2>&5
13066    ac_status=$?
13067 -  echo "$as_me:8877: \$? = $ac_status" >&5
13068 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069    (exit $ac_status); }; }; then
13070  
13071                 ssl_header_ver=`cat conftest.sslincver`
13072 -               echo "$as_me:8881: result: $ssl_header_ver" >&5
13073 +               echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
13074  echo "${ECHO_T}$ssl_header_ver" >&6
13075  
13076  else
13077    echo "$as_me: program exited with status $ac_status" >&5
13078  echo "$as_me: failed program was:" >&5
13079 -cat conftest.$ac_ext >&5
13080 +sed 's/^/| /' conftest.$ac_ext >&5
13081  
13082 -               echo "$as_me:8889: result: not found" >&5
13083 +( exit $ac_status )
13084 +
13085 +               echo "$as_me:$LINENO: result: not found" >&5
13086  echo "${ECHO_T}not found" >&6
13087 -               { { echo "$as_me:8891: error: OpenSSL version header not found." >&5
13088 +               { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
13089  echo "$as_me: error: OpenSSL version header not found." >&2;}
13090     { (exit 1); exit 1; }; }
13091  
13092  fi
13093 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13094 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13095  fi
13096  
13097  # Determine OpenSSL library version
13098 -echo "$as_me:8900: checking OpenSSL library version" >&5
13099 +echo "$as_me:$LINENO: checking OpenSSL library version" >&5
13100  echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
13101  if test "$cross_compiling" = yes; then
13102 -  { { echo "$as_me:8903: error: cannot run test program while cross compiling" >&5
13103 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13104 -   { (exit 1); exit 1; }; }
13105 +
13106 +               echo "$as_me:$LINENO: result: unknown" >&5
13107 +echo "${ECHO_T}unknown" >&6
13108 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL library version check due to crosscompilation." >&5
13109 +echo "$as_me: WARNING: Skipping OpenSSL library version check due to crosscompilation." >&2;}
13110 +
13111 +
13112  else
13113    cat >conftest.$ac_ext <<_ACEOF
13114 -#line 8908 "configure"
13115 -#include "confdefs.h"
13116 +#line $LINENO "configure"
13117 +/* confdefs.h.  */
13118 +_ACEOF
13119 +cat confdefs.h >>conftest.$ac_ext
13120 +cat >>conftest.$ac_ext <<_ACEOF
13121 +/* end confdefs.h.  */
13122  
13123  #include <stdio.h>
13124  #include <string.h>
13125 @@ -8929,47 +10681,57 @@
13126  
13127  _ACEOF
13128  rm -f conftest$ac_exeext
13129 -if { (eval echo "$as_me:8932: \"$ac_link\"") >&5
13130 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13131    (eval $ac_link) 2>&5
13132    ac_status=$?
13133 -  echo "$as_me:8935: \$? = $ac_status" >&5
13134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13136 -  { (eval echo "$as_me:8937: \"$ac_try\"") >&5
13137 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138    (eval $ac_try) 2>&5
13139    ac_status=$?
13140 -  echo "$as_me:8940: \$? = $ac_status" >&5
13141 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142    (exit $ac_status); }; }; then
13143  
13144                 ssl_library_ver=`cat conftest.ssllibver`
13145 -               echo "$as_me:8944: result: $ssl_library_ver" >&5
13146 +               echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
13147  echo "${ECHO_T}$ssl_library_ver" >&6
13148  
13149  else
13150    echo "$as_me: program exited with status $ac_status" >&5
13151  echo "$as_me: failed program was:" >&5
13152 -cat conftest.$ac_ext >&5
13153 +sed 's/^/| /' conftest.$ac_ext >&5
13154  
13155 -               echo "$as_me:8952: result: not found" >&5
13156 +( exit $ac_status )
13157 +
13158 +               echo "$as_me:$LINENO: result: not found" >&5
13159  echo "${ECHO_T}not found" >&6
13160 -               { { echo "$as_me:8954: error: OpenSSL library not found." >&5
13161 +               { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
13162  echo "$as_me: error: OpenSSL library not found." >&2;}
13163     { (exit 1); exit 1; }; }
13164  
13165  fi
13166 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13167 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13168  fi
13169  
13170  # Sanity check OpenSSL headers
13171 -echo "$as_me:8963: checking whether OpenSSL's headers match the library" >&5
13172 +echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
13173  echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
13174  if test "$cross_compiling" = yes; then
13175 -  { { echo "$as_me:8966: error: cannot run test program while cross compiling" >&5
13176 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13177 -   { (exit 1); exit 1; }; }
13178 +
13179 +               echo "$as_me:$LINENO: result: unknown" >&5
13180 +echo "${ECHO_T}unknown" >&6
13181 +               { echo "$as_me:$LINENO: WARNING: Skipping OpenSSL version comparison due to crosscompilation." >&5
13182 +echo "$as_me: WARNING: Skipping OpenSSL version comparison due to crosscompilation." >&2;}
13183 +
13184 +
13185  else
13186    cat >conftest.$ac_ext <<_ACEOF
13187 -#line 8971 "configure"
13188 -#include "confdefs.h"
13189 +#line $LINENO "configure"
13190 +/* confdefs.h.  */
13191 +_ACEOF
13192 +cat confdefs.h >>conftest.$ac_ext
13193 +cat >>conftest.$ac_ext <<_ACEOF
13194 +/* end confdefs.h.  */
13195  
13196  #include <string.h>
13197  #include <openssl/opensslv.h>
13198 @@ -8977,28 +10739,30 @@
13199  
13200  _ACEOF
13201  rm -f conftest$ac_exeext
13202 -if { (eval echo "$as_me:8980: \"$ac_link\"") >&5
13203 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13204    (eval $ac_link) 2>&5
13205    ac_status=$?
13206 -  echo "$as_me:8983: \$? = $ac_status" >&5
13207 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13209 -  { (eval echo "$as_me:8985: \"$ac_try\"") >&5
13210 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211    (eval $ac_try) 2>&5
13212    ac_status=$?
13213 -  echo "$as_me:8988: \$? = $ac_status" >&5
13214 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215    (exit $ac_status); }; }; then
13216  
13217 -               echo "$as_me:8991: result: yes" >&5
13218 +               echo "$as_me:$LINENO: result: yes" >&5
13219  echo "${ECHO_T}yes" >&6
13220  
13221  else
13222    echo "$as_me: program exited with status $ac_status" >&5
13223  echo "$as_me: failed program was:" >&5
13224 -cat conftest.$ac_ext >&5
13225 +sed 's/^/| /' conftest.$ac_ext >&5
13226  
13227 -               echo "$as_me:8999: result: no" >&5
13228 +( exit $ac_status )
13229 +
13230 +               echo "$as_me:$LINENO: result: no" >&5
13231  echo "${ECHO_T}no" >&6
13232 -               { { echo "$as_me:9001: error: Your OpenSSL headers do not match your library.
13233 +               { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library.
13234  Check config.log for details.
13235  Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
13236  echo "$as_me: error: Your OpenSSL headers do not match your library.
13237 @@ -9007,13 +10771,13 @@
13238     { (exit 1); exit 1; }; }
13239  
13240  fi
13241 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13242 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13243  fi
13244  
13245  # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
13246  # version in OpenSSL. Skip this for PAM
13247  if test "x$check_for_libcrypt_later" = "x1"; then
13248 -       echo "$as_me:9016: checking for crypt in -lcrypt" >&5
13249 +       echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
13250  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
13251  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
13252    echo $ECHO_N "(cached) $ECHO_C" >&6
13253 @@ -9021,8 +10785,12 @@
13254    ac_check_lib_save_LIBS=$LIBS
13255  LIBS="-lcrypt  $LIBS"
13256  cat >conftest.$ac_ext <<_ACEOF
13257 -#line 9024 "configure"
13258 -#include "confdefs.h"
13259 +#line $LINENO "configure"
13260 +/* confdefs.h.  */
13261 +_ACEOF
13262 +cat confdefs.h >>conftest.$ac_ext
13263 +cat >>conftest.$ac_ext <<_ACEOF
13264 +/* end confdefs.h.  */
13265  
13266  /* Override any gcc2 internal prototype to avoid an error.  */
13267  #ifdef __cplusplus
13268 @@ -9040,27 +10808,28 @@
13269  }
13270  _ACEOF
13271  rm -f conftest.$ac_objext conftest$ac_exeext
13272 -if { (eval echo "$as_me:9043: \"$ac_link\"") >&5
13273 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13274    (eval $ac_link) 2>&5
13275    ac_status=$?
13276 -  echo "$as_me:9046: \$? = $ac_status" >&5
13277 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278    (exit $ac_status); } &&
13279           { ac_try='test -s conftest$ac_exeext'
13280 -  { (eval echo "$as_me:9049: \"$ac_try\"") >&5
13281 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282    (eval $ac_try) 2>&5
13283    ac_status=$?
13284 -  echo "$as_me:9052: \$? = $ac_status" >&5
13285 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286    (exit $ac_status); }; }; then
13287    ac_cv_lib_crypt_crypt=yes
13288  else
13289    echo "$as_me: failed program was:" >&5
13290 -cat conftest.$ac_ext >&5
13291 +sed 's/^/| /' conftest.$ac_ext >&5
13292 +
13293  ac_cv_lib_crypt_crypt=no
13294  fi
13295  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13296  LIBS=$ac_check_lib_save_LIBS
13297  fi
13298 -echo "$as_me:9063: result: $ac_cv_lib_crypt_crypt" >&5
13299 +echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
13300  echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
13301  if test $ac_cv_lib_crypt_crypt = yes; then
13302    LIBS="$LIBS -lcrypt"
13303 @@ -9070,81 +10839,93 @@
13304  
13305  ### Configure cryptographic random number support
13306  
13307 -# Check wheter OpenSSL seeds itself
13308 -echo "$as_me:9074: checking whether OpenSSL's PRNG is internally seeded" >&5
13309 +# Do we want to force the use of the rand helper?
13310 +
13311 +# Check whether --with-rand-helper or --without-rand-helper was given.
13312 +if test "${with_rand_helper+set}" = set; then
13313 +  withval="$with_rand_helper"
13314 +
13315 +               if test "x$withval" = "xno" ; then
13316 +                       # Force use of OpenSSL's internal RNG, even if
13317 +                       # the previous test showed it to be unseeded.
13318 +                       if test -z "$OPENSSL_SEEDS_ITSELF" ; then
13319 +                               { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
13320 +echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
13321 +                               OPENSSL_SEEDS_ITSELF=yes
13322 +                               USE_RAND_HELPER=""
13323 +                       fi
13324 +               else
13325 +                       USE_RAND_HELPER=yes
13326 +               fi
13327 +
13328 +else
13329 +  # Check whether OpenSSL seeds itself
13330 +
13331 +               echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
13332  echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
13333 -if test "$cross_compiling" = yes; then
13334 -  { { echo "$as_me:9077: error: cannot run test program while cross compiling" >&5
13335 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13336 +               if test "$cross_compiling" = yes; then
13337 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13338 +See \`config.log' for more details." >&5
13339 +echo "$as_me: error: cannot run test program while cross compiling
13340 +See \`config.log' for more details." >&2;}
13341     { (exit 1); exit 1; }; }
13342  else
13343    cat >conftest.$ac_ext <<_ACEOF
13344 -#line 9082 "configure"
13345 -#include "confdefs.h"
13346 +#line $LINENO "configure"
13347 +/* confdefs.h.  */
13348 +_ACEOF
13349 +cat confdefs.h >>conftest.$ac_ext
13350 +cat >>conftest.$ac_ext <<_ACEOF
13351 +/* end confdefs.h.  */
13352  
13353 -#include <string.h>
13354 -#include <openssl/rand.h>
13355 -int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
13356 +               #include <string.h>
13357 +               #include <openssl/rand.h>
13358 +               int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
13359  
13360  _ACEOF
13361  rm -f conftest$ac_exeext
13362 -if { (eval echo "$as_me:9091: \"$ac_link\"") >&5
13363 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13364    (eval $ac_link) 2>&5
13365    ac_status=$?
13366 -  echo "$as_me:9094: \$? = $ac_status" >&5
13367 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13369 -  { (eval echo "$as_me:9096: \"$ac_try\"") >&5
13370 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371    (eval $ac_try) 2>&5
13372    ac_status=$?
13373 -  echo "$as_me:9099: \$? = $ac_status" >&5
13374 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375    (exit $ac_status); }; }; then
13376  
13377 -               OPENSSL_SEEDS_ITSELF=yes
13378 -               echo "$as_me:9103: result: yes" >&5
13379 +                               OPENSSL_SEEDS_ITSELF=yes
13380 +                               echo "$as_me:$LINENO: result: yes" >&5
13381  echo "${ECHO_T}yes" >&6
13382  
13383  else
13384    echo "$as_me: program exited with status $ac_status" >&5
13385  echo "$as_me: failed program was:" >&5
13386 -cat conftest.$ac_ext >&5
13387 +sed 's/^/| /' conftest.$ac_ext >&5
13388  
13389 -               echo "$as_me:9111: result: no" >&5
13390 +( exit $ac_status )
13391 +
13392 +                               echo "$as_me:$LINENO: result: no" >&5
13393  echo "${ECHO_T}no" >&6
13394 -               # Default to use of the rand helper if OpenSSL doesn't
13395 -               # seed itself
13396 -               USE_RAND_HELPER=yes
13397 +                               # Default to use of the rand helper if OpenSSL doesn't
13398 +                               # seed itself
13399 +                               USE_RAND_HELPER=yes
13400 +
13401  
13402  fi
13403 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13404 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13405  fi
13406  
13407 -# Do we want to force the use of the rand helper?
13408 -
13409 -# Check whether --with-rand-helper or --without-rand-helper was given.
13410 -if test "${with_rand_helper+set}" = set; then
13411 -  withval="$with_rand_helper"
13412 -
13413 -               if test "x$withval" = "xno" ; then
13414 -                       # Force use of OpenSSL's internal RNG, even if
13415 -                       # the previous test showed it to be unseeded.
13416 -                       if test -z "$OPENSSL_SEEDS_ITSELF" ; then
13417 -                               { echo "$as_me:9131: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
13418 -echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
13419 -                               OPENSSL_SEEDS_ITSELF=yes
13420 -                               USE_RAND_HELPER=""
13421 -                       fi
13422 -               else
13423 -                       USE_RAND_HELPER=yes
13424 -               fi
13425  
13426  fi;
13427  
13428  # Which randomness source do we use?
13429  if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
13430         # OpenSSL only
13431 -       cat >>confdefs.h <<\EOF
13432 +       cat >>confdefs.h <<\_ACEOF
13433  #define OPENSSL_PRNG_ONLY 1
13434 -EOF
13435 +_ACEOF
13436  
13437         RAND_MSG="OpenSSL internal ONLY"
13438         INSTALL_SSH_RAND_HELPER=""
13439 @@ -9154,6 +10935,7 @@
13440         INSTALL_SSH_RAND_HELPER="yes"
13441  fi
13442  
13443 +
13444  ### Configuration of ssh-rand-helper
13445  
13446  # PRNGD TCP socket
13447 @@ -9169,19 +10951,20 @@
13448                 [0-9]*)
13449                         ;;
13450                 *)
13451 -                       { { echo "$as_me:9172: error: You must specify a numeric port number for --with-prngd-port" >&5
13452 +                       { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
13453  echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
13454     { (exit 1); exit 1; }; }
13455                         ;;
13456                 esac
13457                 if test ! -z "$withval" ; then
13458                         PRNGD_PORT="$withval"
13459 -                       cat >>confdefs.h <<EOF
13460 +                       cat >>confdefs.h <<_ACEOF
13461  #define PRNGD_PORT $PRNGD_PORT
13462 -EOF
13463 +_ACEOF
13464  
13465                 fi
13466  
13467 +
13468  fi;
13469  
13470  # PRNGD Unix domain socket
13471 @@ -9200,7 +10983,7 @@
13472                 /*)
13473                         ;;
13474                 *)
13475 -                       { { echo "$as_me:9203: error: You must specify an absolute path to the entropy socket" >&5
13476 +                       { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
13477  echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
13478     { (exit 1); exit 1; }; }
13479                         ;;
13480 @@ -9208,18 +10991,18 @@
13481  
13482                 if test ! -z "$withval" ; then
13483                         if test ! -z "$PRNGD_PORT" ; then
13484 -                               { { echo "$as_me:9211: error: You may not specify both a PRNGD/EGD port and socket" >&5
13485 +                               { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
13486  echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
13487     { (exit 1); exit 1; }; }
13488                         fi
13489                         if test ! -r "$withval" ; then
13490 -                               { echo "$as_me:9216: WARNING: Entropy socket is not readable" >&5
13491 +                               { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
13492  echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
13493                         fi
13494                         PRNGD_SOCKET="$withval"
13495 -                       cat >>confdefs.h <<EOF
13496 +                       cat >>confdefs.h <<_ACEOF
13497  #define PRNGD_SOCKET "$PRNGD_SOCKET"
13498 -EOF
13499 +_ACEOF
13500  
13501                 fi
13502  
13503 @@ -9227,28 +11010,29 @@
13504  
13505                 # Check for existing socket only if we don't have a random device already
13506                 if test "$USE_RAND_HELPER" = yes ; then
13507 -                       echo "$as_me:9230: checking for PRNGD/EGD socket" >&5
13508 +                       echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
13509  echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
13510                         # Insert other locations here
13511                         for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
13512                                 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
13513                                         PRNGD_SOCKET="$sock"
13514 -                                       cat >>confdefs.h <<EOF
13515 +                                       cat >>confdefs.h <<_ACEOF
13516  #define PRNGD_SOCKET "$PRNGD_SOCKET"
13517 -EOF
13518 +_ACEOF
13519  
13520                                         break;
13521                                 fi
13522                         done
13523                         if test ! -z "$PRNGD_SOCKET" ; then
13524 -                               echo "$as_me:9244: result: $PRNGD_SOCKET" >&5
13525 +                               echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
13526  echo "${ECHO_T}$PRNGD_SOCKET" >&6
13527                         else
13528 -                               echo "$as_me:9247: result: not found" >&5
13529 +                               echo "$as_me:$LINENO: result: not found" >&5
13530  echo "${ECHO_T}not found" >&6
13531                         fi
13532                 fi
13533  
13534 +
13535  fi;
13536  
13537  # Change default command timeout for hashing entropy source
13538 @@ -9262,10 +11046,12 @@
13539                         entropy_timeout=$withval
13540                 fi
13541  
13542 +
13543  fi;
13544 -cat >>confdefs.h <<EOF
13545 +cat >>confdefs.h <<_ACEOF
13546  #define ENTROPY_TIMEOUT_MSEC $entropy_timeout
13547 -EOF
13548 +_ACEOF
13549 +
13550  
13551  SSH_PRIVSEP_USER=sshd
13552  
13553 @@ -9277,10 +11063,13 @@
13554                         SSH_PRIVSEP_USER=$withval
13555                 fi
13556  
13557 +
13558  fi;
13559 -cat >>confdefs.h <<EOF
13560 +cat >>confdefs.h <<_ACEOF
13561  #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
13562 -EOF
13563 +_ACEOF
13564 +
13565 +
13566  
13567  # We do this little dance with the search path to insure
13568  # that programs that we select for use by installed programs
13569 @@ -9300,7 +11089,7 @@
13570  
13571         # Extract the first word of "ls", so it can be a program name with args.
13572  set dummy ls; ac_word=$2
13573 -echo "$as_me:9303: 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_LS+set}" = set; then
13577    echo $ECHO_N "(cached) $ECHO_C" >&6
13578 @@ -9310,16 +11099,18 @@
13579    ac_cv_path_PROG_LS="$PROG_LS" # 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_LS="$ac_dir/$ac_word"
13589 -   echo "$as_me:9320: 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_LS="$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 @@ -9328,10 +11119,10 @@
13608  PROG_LS=$ac_cv_path_PROG_LS
13609  
13610  if test -n "$PROG_LS"; then
13611 -  echo "$as_me:9331: result: $PROG_LS" >&5
13612 +  echo "$as_me:$LINENO: result: $PROG_LS" >&5
13613  echo "${ECHO_T}$PROG_LS" >&6
13614  else
13615 -  echo "$as_me:9334: result: no" >&5
13616 +  echo "$as_me:$LINENO: result: no" >&5
13617  echo "${ECHO_T}no" >&6
13618  fi
13619  
13620 @@ -9339,9 +11130,11 @@
13621                 PROG_LS="undef"
13622         fi
13623  
13624 +
13625 +
13626         # Extract the first word of "netstat", so it can be a program name with args.
13627  set dummy netstat; ac_word=$2
13628 -echo "$as_me:9344: 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_NETSTAT+set}" = set; then
13632    echo $ECHO_N "(cached) $ECHO_C" >&6
13633 @@ -9351,16 +11144,18 @@
13634    ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # 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_NETSTAT="$ac_dir/$ac_word"
13644 -   echo "$as_me:9361: 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_NETSTAT="$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 @@ -9369,10 +11164,10 @@
13663  PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
13664  
13665  if test -n "$PROG_NETSTAT"; then
13666 -  echo "$as_me:9372: result: $PROG_NETSTAT" >&5
13667 +  echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
13668  echo "${ECHO_T}$PROG_NETSTAT" >&6
13669  else
13670 -  echo "$as_me:9375: result: no" >&5
13671 +  echo "$as_me:$LINENO: result: no" >&5
13672  echo "${ECHO_T}no" >&6
13673  fi
13674  
13675 @@ -9380,9 +11175,11 @@
13676                 PROG_NETSTAT="undef"
13677         fi
13678  
13679 +
13680 +
13681         # Extract the first word of "arp", so it can be a program name with args.
13682  set dummy arp; ac_word=$2
13683 -echo "$as_me:9385: 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_ARP+set}" = set; then
13687    echo $ECHO_N "(cached) $ECHO_C" >&6
13688 @@ -9392,16 +11189,18 @@
13689    ac_cv_path_PROG_ARP="$PROG_ARP" # 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_ARP="$ac_dir/$ac_word"
13699 -   echo "$as_me:9402: 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_ARP="$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 @@ -9410,10 +11209,10 @@
13718  PROG_ARP=$ac_cv_path_PROG_ARP
13719  
13720  if test -n "$PROG_ARP"; then
13721 -  echo "$as_me:9413: result: $PROG_ARP" >&5
13722 +  echo "$as_me:$LINENO: result: $PROG_ARP" >&5
13723  echo "${ECHO_T}$PROG_ARP" >&6
13724  else
13725 -  echo "$as_me:9416: result: no" >&5
13726 +  echo "$as_me:$LINENO: result: no" >&5
13727  echo "${ECHO_T}no" >&6
13728  fi
13729  
13730 @@ -9421,9 +11220,11 @@
13731                 PROG_ARP="undef"
13732         fi
13733  
13734 +
13735 +
13736         # Extract the first word of "ifconfig", so it can be a program name with args.
13737  set dummy ifconfig; ac_word=$2
13738 -echo "$as_me:9426: 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_IFCONFIG+set}" = set; then
13742    echo $ECHO_N "(cached) $ECHO_C" >&6
13743 @@ -9433,16 +11234,18 @@
13744    ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # 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_IFCONFIG="$ac_dir/$ac_word"
13754 -   echo "$as_me:9443: 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_IFCONFIG="$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 @@ -9451,10 +11254,10 @@
13773  PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
13774  
13775  if test -n "$PROG_IFCONFIG"; then
13776 -  echo "$as_me:9454: result: $PROG_IFCONFIG" >&5
13777 +  echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
13778  echo "${ECHO_T}$PROG_IFCONFIG" >&6
13779  else
13780 -  echo "$as_me:9457: result: no" >&5
13781 +  echo "$as_me:$LINENO: result: no" >&5
13782  echo "${ECHO_T}no" >&6
13783  fi
13784  
13785 @@ -9462,9 +11265,11 @@
13786                 PROG_IFCONFIG="undef"
13787         fi
13788  
13789 +
13790 +
13791         # Extract the first word of "jstat", so it can be a program name with args.
13792  set dummy jstat; ac_word=$2
13793 -echo "$as_me:9467: 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_JSTAT+set}" = set; then
13797    echo $ECHO_N "(cached) $ECHO_C" >&6
13798 @@ -9474,16 +11279,18 @@
13799    ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # 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_JSTAT="$ac_dir/$ac_word"
13809 -   echo "$as_me:9484: 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_JSTAT="$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 @@ -9492,10 +11299,10 @@
13828  PROG_JSTAT=$ac_cv_path_PROG_JSTAT
13829  
13830  if test -n "$PROG_JSTAT"; then
13831 -  echo "$as_me:9495: result: $PROG_JSTAT" >&5
13832 +  echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
13833  echo "${ECHO_T}$PROG_JSTAT" >&6
13834  else
13835 -  echo "$as_me:9498: result: no" >&5
13836 +  echo "$as_me:$LINENO: result: no" >&5
13837  echo "${ECHO_T}no" >&6
13838  fi
13839  
13840 @@ -9503,9 +11310,11 @@
13841                 PROG_JSTAT="undef"
13842         fi
13843  
13844 +
13845 +
13846         # Extract the first word of "ps", so it can be a program name with args.
13847  set dummy ps; ac_word=$2
13848 -echo "$as_me:9508: 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_PS+set}" = set; then
13852    echo $ECHO_N "(cached) $ECHO_C" >&6
13853 @@ -9515,16 +11324,18 @@
13854    ac_cv_path_PROG_PS="$PROG_PS" # 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_PS="$ac_dir/$ac_word"
13864 -   echo "$as_me:9525: 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_PS="$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 @@ -9533,10 +11344,10 @@
13883  PROG_PS=$ac_cv_path_PROG_PS
13884  
13885  if test -n "$PROG_PS"; then
13886 -  echo "$as_me:9536: result: $PROG_PS" >&5
13887 +  echo "$as_me:$LINENO: result: $PROG_PS" >&5
13888  echo "${ECHO_T}$PROG_PS" >&6
13889  else
13890 -  echo "$as_me:9539: result: no" >&5
13891 +  echo "$as_me:$LINENO: result: no" >&5
13892  echo "${ECHO_T}no" >&6
13893  fi
13894  
13895 @@ -9544,9 +11355,11 @@
13896                 PROG_PS="undef"
13897         fi
13898  
13899 +
13900 +
13901         # Extract the first word of "sar", so it can be a program name with args.
13902  set dummy sar; ac_word=$2
13903 -echo "$as_me:9549: 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_SAR+set}" = set; then
13907    echo $ECHO_N "(cached) $ECHO_C" >&6
13908 @@ -9556,16 +11369,18 @@
13909    ac_cv_path_PROG_SAR="$PROG_SAR" # 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_SAR="$ac_dir/$ac_word"
13919 -   echo "$as_me:9566: 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_SAR="$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 @@ -9574,10 +11389,10 @@
13938  PROG_SAR=$ac_cv_path_PROG_SAR
13939  
13940  if test -n "$PROG_SAR"; then
13941 -  echo "$as_me:9577: result: $PROG_SAR" >&5
13942 +  echo "$as_me:$LINENO: result: $PROG_SAR" >&5
13943  echo "${ECHO_T}$PROG_SAR" >&6
13944  else
13945 -  echo "$as_me:9580: result: no" >&5
13946 +  echo "$as_me:$LINENO: result: no" >&5
13947  echo "${ECHO_T}no" >&6
13948  fi
13949  
13950 @@ -9585,9 +11400,11 @@
13951                 PROG_SAR="undef"
13952         fi
13953  
13954 +
13955 +
13956         # Extract the first word of "w", so it can be a program name with args.
13957  set dummy w; ac_word=$2
13958 -echo "$as_me:9590: 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_W+set}" = set; then
13962    echo $ECHO_N "(cached) $ECHO_C" >&6
13963 @@ -9597,16 +11414,18 @@
13964    ac_cv_path_PROG_W="$PROG_W" # 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_W="$ac_dir/$ac_word"
13974 -   echo "$as_me:9607: 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_W="$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 @@ -9615,10 +11434,10 @@
13993  PROG_W=$ac_cv_path_PROG_W
13994  
13995  if test -n "$PROG_W"; then
13996 -  echo "$as_me:9618: result: $PROG_W" >&5
13997 +  echo "$as_me:$LINENO: result: $PROG_W" >&5
13998  echo "${ECHO_T}$PROG_W" >&6
13999  else
14000 -  echo "$as_me:9621: result: no" >&5
14001 +  echo "$as_me:$LINENO: result: no" >&5
14002  echo "${ECHO_T}no" >&6
14003  fi
14004  
14005 @@ -9626,9 +11445,11 @@
14006                 PROG_W="undef"
14007         fi
14008  
14009 +
14010 +
14011         # Extract the first word of "who", so it can be a program name with args.
14012  set dummy who; ac_word=$2
14013 -echo "$as_me:9631: 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_WHO+set}" = set; then
14017    echo $ECHO_N "(cached) $ECHO_C" >&6
14018 @@ -9638,16 +11459,18 @@
14019    ac_cv_path_PROG_WHO="$PROG_WHO" # 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_WHO="$ac_dir/$ac_word"
14029 -   echo "$as_me:9648: 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_WHO="$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 @@ -9656,10 +11479,10 @@
14048  PROG_WHO=$ac_cv_path_PROG_WHO
14049  
14050  if test -n "$PROG_WHO"; then
14051 -  echo "$as_me:9659: result: $PROG_WHO" >&5
14052 +  echo "$as_me:$LINENO: result: $PROG_WHO" >&5
14053  echo "${ECHO_T}$PROG_WHO" >&6
14054  else
14055 -  echo "$as_me:9662: result: no" >&5
14056 +  echo "$as_me:$LINENO: result: no" >&5
14057  echo "${ECHO_T}no" >&6
14058  fi
14059  
14060 @@ -9667,9 +11490,11 @@
14061                 PROG_WHO="undef"
14062         fi
14063  
14064 +
14065 +
14066         # Extract the first word of "last", so it can be a program name with args.
14067  set dummy last; ac_word=$2
14068 -echo "$as_me:9672: 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_LAST+set}" = set; then
14072    echo $ECHO_N "(cached) $ECHO_C" >&6
14073 @@ -9679,16 +11504,18 @@
14074    ac_cv_path_PROG_LAST="$PROG_LAST" # 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_LAST="$ac_dir/$ac_word"
14084 -   echo "$as_me:9689: 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_LAST="$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 @@ -9697,10 +11524,10 @@
14103  PROG_LAST=$ac_cv_path_PROG_LAST
14104  
14105  if test -n "$PROG_LAST"; then
14106 -  echo "$as_me:9700: result: $PROG_LAST" >&5
14107 +  echo "$as_me:$LINENO: result: $PROG_LAST" >&5
14108  echo "${ECHO_T}$PROG_LAST" >&6
14109  else
14110 -  echo "$as_me:9703: result: no" >&5
14111 +  echo "$as_me:$LINENO: result: no" >&5
14112  echo "${ECHO_T}no" >&6
14113  fi
14114  
14115 @@ -9708,9 +11535,11 @@
14116                 PROG_LAST="undef"
14117         fi
14118  
14119 +
14120 +
14121         # Extract the first word of "lastlog", so it can be a program name with args.
14122  set dummy lastlog; ac_word=$2
14123 -echo "$as_me:9713: 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_LASTLOG+set}" = set; then
14127    echo $ECHO_N "(cached) $ECHO_C" >&6
14128 @@ -9720,16 +11549,18 @@
14129    ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # 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_LASTLOG="$ac_dir/$ac_word"
14139 -   echo "$as_me:9730: 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_LASTLOG="$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 @@ -9738,10 +11569,10 @@
14158  PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
14159  
14160  if test -n "$PROG_LASTLOG"; then
14161 -  echo "$as_me:9741: result: $PROG_LASTLOG" >&5
14162 +  echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
14163  echo "${ECHO_T}$PROG_LASTLOG" >&6
14164  else
14165 -  echo "$as_me:9744: result: no" >&5
14166 +  echo "$as_me:$LINENO: result: no" >&5
14167  echo "${ECHO_T}no" >&6
14168  fi
14169  
14170 @@ -9749,9 +11580,11 @@
14171                 PROG_LASTLOG="undef"
14172         fi
14173  
14174 +
14175 +
14176         # Extract the first word of "df", so it can be a program name with args.
14177  set dummy df; ac_word=$2
14178 -echo "$as_me:9754: checking for $ac_word" >&5
14179 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14180  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14181  if test "${ac_cv_path_PROG_DF+set}" = set; then
14182    echo $ECHO_N "(cached) $ECHO_C" >&6
14183 @@ -9761,16 +11594,18 @@
14184    ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
14185    ;;
14186    *)
14187 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14188 -ac_dummy="$PATH"
14189 -for ac_dir in $ac_dummy; do
14190 -  IFS=$ac_save_IFS
14191 -  test -z "$ac_dir" && ac_dir=.
14192 -  if $as_executable_p "$ac_dir/$ac_word"; then
14193 -   ac_cv_path_PROG_DF="$ac_dir/$ac_word"
14194 -   echo "$as_me:9771: found $ac_dir/$ac_word" >&5
14195 -   break
14196 -fi
14197 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14198 +for as_dir in $PATH
14199 +do
14200 +  IFS=$as_save_IFS
14201 +  test -z "$as_dir" && as_dir=.
14202 +  for ac_exec_ext in '' $ac_executable_extensions; do
14203 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14204 +    ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
14205 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14206 +    break 2
14207 +  fi
14208 +done
14209  done
14210  
14211    ;;
14212 @@ -9779,10 +11614,10 @@
14213  PROG_DF=$ac_cv_path_PROG_DF
14214  
14215  if test -n "$PROG_DF"; then
14216 -  echo "$as_me:9782: result: $PROG_DF" >&5
14217 +  echo "$as_me:$LINENO: result: $PROG_DF" >&5
14218  echo "${ECHO_T}$PROG_DF" >&6
14219  else
14220 -  echo "$as_me:9785: result: no" >&5
14221 +  echo "$as_me:$LINENO: result: no" >&5
14222  echo "${ECHO_T}no" >&6
14223  fi
14224  
14225 @@ -9790,9 +11625,11 @@
14226                 PROG_DF="undef"
14227         fi
14228  
14229 +
14230 +
14231         # Extract the first word of "vmstat", so it can be a program name with args.
14232  set dummy vmstat; ac_word=$2
14233 -echo "$as_me:9795: checking for $ac_word" >&5
14234 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14235  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14236  if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
14237    echo $ECHO_N "(cached) $ECHO_C" >&6
14238 @@ -9802,16 +11639,18 @@
14239    ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
14240    ;;
14241    *)
14242 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14243 -ac_dummy="$PATH"
14244 -for ac_dir in $ac_dummy; do
14245 -  IFS=$ac_save_IFS
14246 -  test -z "$ac_dir" && ac_dir=.
14247 -  if $as_executable_p "$ac_dir/$ac_word"; then
14248 -   ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word"
14249 -   echo "$as_me:9812: found $ac_dir/$ac_word" >&5
14250 -   break
14251 -fi
14252 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14253 +for as_dir in $PATH
14254 +do
14255 +  IFS=$as_save_IFS
14256 +  test -z "$as_dir" && as_dir=.
14257 +  for ac_exec_ext in '' $ac_executable_extensions; do
14258 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14259 +    ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
14260 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14261 +    break 2
14262 +  fi
14263 +done
14264  done
14265  
14266    ;;
14267 @@ -9820,10 +11659,10 @@
14268  PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
14269  
14270  if test -n "$PROG_VMSTAT"; then
14271 -  echo "$as_me:9823: result: $PROG_VMSTAT" >&5
14272 +  echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
14273  echo "${ECHO_T}$PROG_VMSTAT" >&6
14274  else
14275 -  echo "$as_me:9826: result: no" >&5
14276 +  echo "$as_me:$LINENO: result: no" >&5
14277  echo "${ECHO_T}no" >&6
14278  fi
14279  
14280 @@ -9831,9 +11670,11 @@
14281                 PROG_VMSTAT="undef"
14282         fi
14283  
14284 +
14285 +
14286         # Extract the first word of "uptime", so it can be a program name with args.
14287  set dummy uptime; ac_word=$2
14288 -echo "$as_me:9836: checking for $ac_word" >&5
14289 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14290  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14291  if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
14292    echo $ECHO_N "(cached) $ECHO_C" >&6
14293 @@ -9843,16 +11684,18 @@
14294    ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
14295    ;;
14296    *)
14297 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14298 -ac_dummy="$PATH"
14299 -for ac_dir in $ac_dummy; do
14300 -  IFS=$ac_save_IFS
14301 -  test -z "$ac_dir" && ac_dir=.
14302 -  if $as_executable_p "$ac_dir/$ac_word"; then
14303 -   ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word"
14304 -   echo "$as_me:9853: found $ac_dir/$ac_word" >&5
14305 -   break
14306 -fi
14307 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14308 +for as_dir in $PATH
14309 +do
14310 +  IFS=$as_save_IFS
14311 +  test -z "$as_dir" && as_dir=.
14312 +  for ac_exec_ext in '' $ac_executable_extensions; do
14313 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14314 +    ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
14315 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14316 +    break 2
14317 +  fi
14318 +done
14319  done
14320  
14321    ;;
14322 @@ -9861,10 +11704,10 @@
14323  PROG_UPTIME=$ac_cv_path_PROG_UPTIME
14324  
14325  if test -n "$PROG_UPTIME"; then
14326 -  echo "$as_me:9864: result: $PROG_UPTIME" >&5
14327 +  echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
14328  echo "${ECHO_T}$PROG_UPTIME" >&6
14329  else
14330 -  echo "$as_me:9867: result: no" >&5
14331 +  echo "$as_me:$LINENO: result: no" >&5
14332  echo "${ECHO_T}no" >&6
14333  fi
14334  
14335 @@ -9872,9 +11715,11 @@
14336                 PROG_UPTIME="undef"
14337         fi
14338  
14339 +
14340 +
14341         # Extract the first word of "ipcs", so it can be a program name with args.
14342  set dummy ipcs; ac_word=$2
14343 -echo "$as_me:9877: checking for $ac_word" >&5
14344 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14345  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14346  if test "${ac_cv_path_PROG_IPCS+set}" = set; then
14347    echo $ECHO_N "(cached) $ECHO_C" >&6
14348 @@ -9884,16 +11729,18 @@
14349    ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
14350    ;;
14351    *)
14352 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14353 -ac_dummy="$PATH"
14354 -for ac_dir in $ac_dummy; do
14355 -  IFS=$ac_save_IFS
14356 -  test -z "$ac_dir" && ac_dir=.
14357 -  if $as_executable_p "$ac_dir/$ac_word"; then
14358 -   ac_cv_path_PROG_IPCS="$ac_dir/$ac_word"
14359 -   echo "$as_me:9894: found $ac_dir/$ac_word" >&5
14360 -   break
14361 -fi
14362 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363 +for as_dir in $PATH
14364 +do
14365 +  IFS=$as_save_IFS
14366 +  test -z "$as_dir" && as_dir=.
14367 +  for ac_exec_ext in '' $ac_executable_extensions; do
14368 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14369 +    ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
14370 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14371 +    break 2
14372 +  fi
14373 +done
14374  done
14375  
14376    ;;
14377 @@ -9902,10 +11749,10 @@
14378  PROG_IPCS=$ac_cv_path_PROG_IPCS
14379  
14380  if test -n "$PROG_IPCS"; then
14381 -  echo "$as_me:9905: result: $PROG_IPCS" >&5
14382 +  echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
14383  echo "${ECHO_T}$PROG_IPCS" >&6
14384  else
14385 -  echo "$as_me:9908: result: no" >&5
14386 +  echo "$as_me:$LINENO: result: no" >&5
14387  echo "${ECHO_T}no" >&6
14388  fi
14389  
14390 @@ -9913,9 +11760,11 @@
14391                 PROG_IPCS="undef"
14392         fi
14393  
14394 +
14395 +
14396         # Extract the first word of "tail", so it can be a program name with args.
14397  set dummy tail; ac_word=$2
14398 -echo "$as_me:9918: checking for $ac_word" >&5
14399 +echo "$as_me:$LINENO: checking for $ac_word" >&5
14400  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14401  if test "${ac_cv_path_PROG_TAIL+set}" = set; then
14402    echo $ECHO_N "(cached) $ECHO_C" >&6
14403 @@ -9925,16 +11774,18 @@
14404    ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
14405    ;;
14406    *)
14407 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
14408 -ac_dummy="$PATH"
14409 -for ac_dir in $ac_dummy; do
14410 -  IFS=$ac_save_IFS
14411 -  test -z "$ac_dir" && ac_dir=.
14412 -  if $as_executable_p "$ac_dir/$ac_word"; then
14413 -   ac_cv_path_PROG_TAIL="$ac_dir/$ac_word"
14414 -   echo "$as_me:9935: found $ac_dir/$ac_word" >&5
14415 -   break
14416 -fi
14417 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14418 +for as_dir in $PATH
14419 +do
14420 +  IFS=$as_save_IFS
14421 +  test -z "$as_dir" && as_dir=.
14422 +  for ac_exec_ext in '' $ac_executable_extensions; do
14423 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14424 +    ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
14425 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14426 +    break 2
14427 +  fi
14428 +done
14429  done
14430  
14431    ;;
14432 @@ -9943,10 +11794,10 @@
14433  PROG_TAIL=$ac_cv_path_PROG_TAIL
14434  
14435  if test -n "$PROG_TAIL"; then
14436 -  echo "$as_me:9946: result: $PROG_TAIL" >&5
14437 +  echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
14438  echo "${ECHO_T}$PROG_TAIL" >&6
14439  else
14440 -  echo "$as_me:9949: result: no" >&5
14441 +  echo "$as_me:$LINENO: result: no" >&5
14442  echo "${ECHO_T}no" >&6
14443  fi
14444  
14445 @@ -9954,6 +11805,7 @@
14446                 PROG_TAIL="undef"
14447         fi
14448  
14449 +
14450  # restore PATH
14451  PATH=$OPATH
14452  
14453 @@ -9971,20 +11823,26 @@
14454         fi
14455  fi
14456  
14457 +
14458 +
14459  # Cheap hack to ensure NEWS-OS libraries are arranged right.
14460  if test ! -z "$SONY" ; then
14461    LIBS="$LIBS -liberty";
14462  fi
14463  
14464  # Checks for data types
14465 -echo "$as_me:9980: checking for char" >&5
14466 +echo "$as_me:$LINENO: checking for char" >&5
14467  echo $ECHO_N "checking for char... $ECHO_C" >&6
14468  if test "${ac_cv_type_char+set}" = set; then
14469    echo $ECHO_N "(cached) $ECHO_C" >&6
14470  else
14471    cat >conftest.$ac_ext <<_ACEOF
14472 -#line 9986 "configure"
14473 -#include "confdefs.h"
14474 +#line $LINENO "configure"
14475 +/* confdefs.h.  */
14476 +_ACEOF
14477 +cat confdefs.h >>conftest.$ac_ext
14478 +cat >>conftest.$ac_ext <<_ACEOF
14479 +/* end confdefs.h.  */
14480  $ac_includes_default
14481  int
14482  main ()
14483 @@ -9998,209 +11856,328 @@
14484  }
14485  _ACEOF
14486  rm -f conftest.$ac_objext
14487 -if { (eval echo "$as_me:10001: \"$ac_compile\"") >&5
14488 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489    (eval $ac_compile) 2>&5
14490    ac_status=$?
14491 -  echo "$as_me:10004: \$? = $ac_status" >&5
14492 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493    (exit $ac_status); } &&
14494           { ac_try='test -s conftest.$ac_objext'
14495 -  { (eval echo "$as_me:10007: \"$ac_try\"") >&5
14496 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14497    (eval $ac_try) 2>&5
14498    ac_status=$?
14499 -  echo "$as_me:10010: \$? = $ac_status" >&5
14500 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501    (exit $ac_status); }; }; then
14502    ac_cv_type_char=yes
14503  else
14504    echo "$as_me: failed program was:" >&5
14505 -cat conftest.$ac_ext >&5
14506 +sed 's/^/| /' conftest.$ac_ext >&5
14507 +
14508  ac_cv_type_char=no
14509  fi
14510  rm -f conftest.$ac_objext conftest.$ac_ext
14511  fi
14512 -echo "$as_me:10020: result: $ac_cv_type_char" >&5
14513 +echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14514  echo "${ECHO_T}$ac_cv_type_char" >&6
14515  
14516 -echo "$as_me:10023: checking size of char" >&5
14517 +echo "$as_me:$LINENO: checking size of char" >&5
14518  echo $ECHO_N "checking size of char... $ECHO_C" >&6
14519  if test "${ac_cv_sizeof_char+set}" = set; then
14520    echo $ECHO_N "(cached) $ECHO_C" >&6
14521  else
14522    if test "$ac_cv_type_char" = yes; then
14523 +  # The cast to unsigned long works around a bug in the HP C Compiler
14524 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14525 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14526 +  # This bug is HP SR number 8606223364.
14527    if test "$cross_compiling" = yes; then
14528    # Depending upon the size, compute the lo and hi bounds.
14529  cat >conftest.$ac_ext <<_ACEOF
14530 -#line 10032 "configure"
14531 -#include "confdefs.h"
14532 +#line $LINENO "configure"
14533 +/* confdefs.h.  */
14534 +_ACEOF
14535 +cat confdefs.h >>conftest.$ac_ext
14536 +cat >>conftest.$ac_ext <<_ACEOF
14537 +/* end confdefs.h.  */
14538  $ac_includes_default
14539  int
14540  main ()
14541  {
14542 -int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
14543 +static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14544 +test_array [0] = 0
14545 +
14546    ;
14547    return 0;
14548  }
14549  _ACEOF
14550  rm -f conftest.$ac_objext
14551 -if { (eval echo "$as_me:10044: \"$ac_compile\"") >&5
14552 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14553    (eval $ac_compile) 2>&5
14554    ac_status=$?
14555 -  echo "$as_me:10047: \$? = $ac_status" >&5
14556 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557    (exit $ac_status); } &&
14558           { ac_try='test -s conftest.$ac_objext'
14559 -  { (eval echo "$as_me:10050: \"$ac_try\"") >&5
14560 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561    (eval $ac_try) 2>&5
14562    ac_status=$?
14563 -  echo "$as_me:10053: \$? = $ac_status" >&5
14564 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565    (exit $ac_status); }; }; then
14566    ac_lo=0 ac_mid=0
14567    while :; do
14568      cat >conftest.$ac_ext <<_ACEOF
14569 -#line 10058 "configure"
14570 -#include "confdefs.h"
14571 +#line $LINENO "configure"
14572 +/* confdefs.h.  */
14573 +_ACEOF
14574 +cat confdefs.h >>conftest.$ac_ext
14575 +cat >>conftest.$ac_ext <<_ACEOF
14576 +/* end confdefs.h.  */
14577  $ac_includes_default
14578  int
14579  main ()
14580  {
14581 -int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
14582 +static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14583 +test_array [0] = 0
14584 +
14585    ;
14586    return 0;
14587  }
14588  _ACEOF
14589  rm -f conftest.$ac_objext
14590 -if { (eval echo "$as_me:10070: \"$ac_compile\"") >&5
14591 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592    (eval $ac_compile) 2>&5
14593    ac_status=$?
14594 -  echo "$as_me:10073: \$? = $ac_status" >&5
14595 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596    (exit $ac_status); } &&
14597           { ac_try='test -s conftest.$ac_objext'
14598 -  { (eval echo "$as_me:10076: \"$ac_try\"") >&5
14599 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600    (eval $ac_try) 2>&5
14601    ac_status=$?
14602 -  echo "$as_me:10079: \$? = $ac_status" >&5
14603 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604    (exit $ac_status); }; }; then
14605    ac_hi=$ac_mid; break
14606  else
14607    echo "$as_me: failed program was:" >&5
14608 -cat conftest.$ac_ext >&5
14609 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
14610 +sed 's/^/| /' conftest.$ac_ext >&5
14611 +
14612 +ac_lo=`expr $ac_mid + 1`
14613 +                    if test $ac_lo -le $ac_mid; then
14614 +                      ac_lo= ac_hi=
14615 +                      break
14616 +                    fi
14617 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
14618  fi
14619  rm -f conftest.$ac_objext conftest.$ac_ext
14620    done
14621  else
14622    echo "$as_me: failed program was:" >&5
14623 -cat conftest.$ac_ext >&5
14624 -ac_hi=-1 ac_mid=-1
14625 +sed 's/^/| /' conftest.$ac_ext >&5
14626 +
14627 +cat >conftest.$ac_ext <<_ACEOF
14628 +#line $LINENO "configure"
14629 +/* confdefs.h.  */
14630 +_ACEOF
14631 +cat confdefs.h >>conftest.$ac_ext
14632 +cat >>conftest.$ac_ext <<_ACEOF
14633 +/* end confdefs.h.  */
14634 +$ac_includes_default
14635 +int
14636 +main ()
14637 +{
14638 +static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14639 +test_array [0] = 0
14640 +
14641 +  ;
14642 +  return 0;
14643 +}
14644 +_ACEOF
14645 +rm -f conftest.$ac_objext
14646 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14647 +  (eval $ac_compile) 2>&5
14648 +  ac_status=$?
14649 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 +  (exit $ac_status); } &&
14651 +         { ac_try='test -s conftest.$ac_objext'
14652 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 +  (eval $ac_try) 2>&5
14654 +  ac_status=$?
14655 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 +  (exit $ac_status); }; }; then
14657 +  ac_hi=-1 ac_mid=-1
14658    while :; do
14659      cat >conftest.$ac_ext <<_ACEOF
14660 -#line 10095 "configure"
14661 -#include "confdefs.h"
14662 +#line $LINENO "configure"
14663 +/* confdefs.h.  */
14664 +_ACEOF
14665 +cat confdefs.h >>conftest.$ac_ext
14666 +cat >>conftest.$ac_ext <<_ACEOF
14667 +/* end confdefs.h.  */
14668  $ac_includes_default
14669  int
14670  main ()
14671  {
14672 -int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)]
14673 +static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14674 +test_array [0] = 0
14675 +
14676    ;
14677    return 0;
14678  }
14679  _ACEOF
14680  rm -f conftest.$ac_objext
14681 -if { (eval echo "$as_me:10107: \"$ac_compile\"") >&5
14682 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14683    (eval $ac_compile) 2>&5
14684    ac_status=$?
14685 -  echo "$as_me:10110: \$? = $ac_status" >&5
14686 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687    (exit $ac_status); } &&
14688           { ac_try='test -s conftest.$ac_objext'
14689 -  { (eval echo "$as_me:10113: \"$ac_try\"") >&5
14690 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14691    (eval $ac_try) 2>&5
14692    ac_status=$?
14693 -  echo "$as_me:10116: \$? = $ac_status" >&5
14694 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695    (exit $ac_status); }; }; then
14696    ac_lo=$ac_mid; break
14697  else
14698    echo "$as_me: failed program was:" >&5
14699 -cat conftest.$ac_ext >&5
14700 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
14701 +sed 's/^/| /' conftest.$ac_ext >&5
14702 +
14703 +ac_hi=`expr '(' $ac_mid ')' - 1`
14704 +                       if test $ac_mid -le $ac_hi; then
14705 +                         ac_lo= ac_hi=
14706 +                         break
14707 +                       fi
14708 +                       ac_mid=`expr 2 '*' $ac_mid`
14709  fi
14710  rm -f conftest.$ac_objext conftest.$ac_ext
14711    done
14712 +else
14713 +  echo "$as_me: failed program was:" >&5
14714 +sed 's/^/| /' conftest.$ac_ext >&5
14715 +
14716 +ac_lo= ac_hi=
14717 +fi
14718 +rm -f conftest.$ac_objext conftest.$ac_ext
14719  fi
14720  rm -f conftest.$ac_objext conftest.$ac_ext
14721  # Binary search between lo and hi bounds.
14722  while test "x$ac_lo" != "x$ac_hi"; do
14723    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14724    cat >conftest.$ac_ext <<_ACEOF
14725 -#line 10132 "configure"
14726 -#include "confdefs.h"
14727 +#line $LINENO "configure"
14728 +/* confdefs.h.  */
14729 +_ACEOF
14730 +cat confdefs.h >>conftest.$ac_ext
14731 +cat >>conftest.$ac_ext <<_ACEOF
14732 +/* end confdefs.h.  */
14733  $ac_includes_default
14734  int
14735  main ()
14736  {
14737 -int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)]
14738 +static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14739 +test_array [0] = 0
14740 +
14741    ;
14742    return 0;
14743  }
14744  _ACEOF
14745  rm -f conftest.$ac_objext
14746 -if { (eval echo "$as_me:10144: \"$ac_compile\"") >&5
14747 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14748    (eval $ac_compile) 2>&5
14749    ac_status=$?
14750 -  echo "$as_me:10147: \$? = $ac_status" >&5
14751 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752    (exit $ac_status); } &&
14753           { ac_try='test -s conftest.$ac_objext'
14754 -  { (eval echo "$as_me:10150: \"$ac_try\"") >&5
14755 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756    (eval $ac_try) 2>&5
14757    ac_status=$?
14758 -  echo "$as_me:10153: \$? = $ac_status" >&5
14759 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760    (exit $ac_status); }; }; then
14761    ac_hi=$ac_mid
14762  else
14763    echo "$as_me: failed program was:" >&5
14764 -cat conftest.$ac_ext >&5
14765 -ac_lo=`expr $ac_mid + 1`
14766 +sed 's/^/| /' conftest.$ac_ext >&5
14767 +
14768 +ac_lo=`expr '(' $ac_mid ')' + 1`
14769  fi
14770  rm -f conftest.$ac_objext conftest.$ac_ext
14771  done
14772 -ac_cv_sizeof_char=$ac_lo
14773 +case $ac_lo in
14774 +?*) ac_cv_sizeof_char=$ac_lo;;
14775 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14776 +See \`config.log' for more details." >&5
14777 +echo "$as_me: error: cannot compute sizeof (char), 77
14778 +See \`config.log' for more details." >&2;}
14779 +   { (exit 1); exit 1; }; } ;;
14780 +esac
14781  else
14782    if test "$cross_compiling" = yes; then
14783 -  { { echo "$as_me:10166: error: cannot run test program while cross compiling" >&5
14784 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
14785 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14786 +See \`config.log' for more details." >&5
14787 +echo "$as_me: error: cannot run test program while cross compiling
14788 +See \`config.log' for more details." >&2;}
14789     { (exit 1); exit 1; }; }
14790  else
14791    cat >conftest.$ac_ext <<_ACEOF
14792 -#line 10171 "configure"
14793 -#include "confdefs.h"
14794 +#line $LINENO "configure"
14795 +/* confdefs.h.  */
14796 +_ACEOF
14797 +cat confdefs.h >>conftest.$ac_ext
14798 +cat >>conftest.$ac_ext <<_ACEOF
14799 +/* end confdefs.h.  */
14800  $ac_includes_default
14801 +long longval () { return (long) (sizeof (char)); }
14802 +unsigned long ulongval () { return (long) (sizeof (char)); }
14803 +#include <stdio.h>
14804 +#include <stdlib.h>
14805  int
14806  main ()
14807  {
14808 -FILE *f = fopen ("conftest.val", "w");
14809 -if (!f)
14810 -  exit (1);
14811 -fprintf (f, "%d", (sizeof (char)));
14812 -fclose (f);
14813 +
14814 +  FILE *f = fopen ("conftest.val", "w");
14815 +  if (! f)
14816 +    exit (1);
14817 +  if (((long) (sizeof (char))) < 0)
14818 +    {
14819 +      long i = longval ();
14820 +      if (i != ((long) (sizeof (char))))
14821 +       exit (1);
14822 +      fprintf (f, "%ld\n", i);
14823 +    }
14824 +  else
14825 +    {
14826 +      unsigned long i = ulongval ();
14827 +      if (i != ((long) (sizeof (char))))
14828 +       exit (1);
14829 +      fprintf (f, "%lu\n", i);
14830 +    }
14831 +  exit (ferror (f) || fclose (f) != 0);
14832 +
14833    ;
14834    return 0;
14835  }
14836  _ACEOF
14837  rm -f conftest$ac_exeext
14838 -if { (eval echo "$as_me:10187: \"$ac_link\"") >&5
14839 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14840    (eval $ac_link) 2>&5
14841    ac_status=$?
14842 -  echo "$as_me:10190: \$? = $ac_status" >&5
14843 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14845 -  { (eval echo "$as_me:10192: \"$ac_try\"") >&5
14846 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847    (eval $ac_try) 2>&5
14848    ac_status=$?
14849 -  echo "$as_me:10195: \$? = $ac_status" >&5
14850 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851    (exit $ac_status); }; }; then
14852    ac_cv_sizeof_char=`cat conftest.val`
14853  else
14854    echo "$as_me: program exited with status $ac_status" >&5
14855  echo "$as_me: failed program was:" >&5
14856 -cat conftest.$ac_ext >&5
14857 +sed 's/^/| /' conftest.$ac_ext >&5
14858 +
14859 +( exit $ac_status )
14860 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14861 +See \`config.log' for more details." >&5
14862 +echo "$as_me: error: cannot compute sizeof (char), 77
14863 +See \`config.log' for more details." >&2;}
14864 +   { (exit 1); exit 1; }; }
14865  fi
14866 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14867 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14868  fi
14869  fi
14870  rm -f conftest.val
14871 @@ -10208,20 +12185,25 @@
14872    ac_cv_sizeof_char=0
14873  fi
14874  fi
14875 -echo "$as_me:10211: result: $ac_cv_sizeof_char" >&5
14876 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14877  echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14878 -cat >>confdefs.h <<EOF
14879 +cat >>confdefs.h <<_ACEOF
14880  #define SIZEOF_CHAR $ac_cv_sizeof_char
14881 -EOF
14882 +_ACEOF
14883  
14884 -echo "$as_me:10217: checking for short int" >&5
14885 +
14886 +echo "$as_me:$LINENO: checking for short int" >&5
14887  echo $ECHO_N "checking for short int... $ECHO_C" >&6
14888  if test "${ac_cv_type_short_int+set}" = set; then
14889    echo $ECHO_N "(cached) $ECHO_C" >&6
14890  else
14891    cat >conftest.$ac_ext <<_ACEOF
14892 -#line 10223 "configure"
14893 -#include "confdefs.h"
14894 +#line $LINENO "configure"
14895 +/* confdefs.h.  */
14896 +_ACEOF
14897 +cat confdefs.h >>conftest.$ac_ext
14898 +cat >>conftest.$ac_ext <<_ACEOF
14899 +/* end confdefs.h.  */
14900  $ac_includes_default
14901  int
14902  main ()
14903 @@ -10235,209 +12217,328 @@
14904  }
14905  _ACEOF
14906  rm -f conftest.$ac_objext
14907 -if { (eval echo "$as_me:10238: \"$ac_compile\"") >&5
14908 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14909    (eval $ac_compile) 2>&5
14910    ac_status=$?
14911 -  echo "$as_me:10241: \$? = $ac_status" >&5
14912 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913    (exit $ac_status); } &&
14914           { ac_try='test -s conftest.$ac_objext'
14915 -  { (eval echo "$as_me:10244: \"$ac_try\"") >&5
14916 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917    (eval $ac_try) 2>&5
14918    ac_status=$?
14919 -  echo "$as_me:10247: \$? = $ac_status" >&5
14920 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921    (exit $ac_status); }; }; then
14922    ac_cv_type_short_int=yes
14923  else
14924    echo "$as_me: failed program was:" >&5
14925 -cat conftest.$ac_ext >&5
14926 +sed 's/^/| /' conftest.$ac_ext >&5
14927 +
14928  ac_cv_type_short_int=no
14929  fi
14930  rm -f conftest.$ac_objext conftest.$ac_ext
14931  fi
14932 -echo "$as_me:10257: result: $ac_cv_type_short_int" >&5
14933 +echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
14934  echo "${ECHO_T}$ac_cv_type_short_int" >&6
14935  
14936 -echo "$as_me:10260: checking size of short int" >&5
14937 +echo "$as_me:$LINENO: checking size of short int" >&5
14938  echo $ECHO_N "checking size of short int... $ECHO_C" >&6
14939  if test "${ac_cv_sizeof_short_int+set}" = set; then
14940    echo $ECHO_N "(cached) $ECHO_C" >&6
14941  else
14942    if test "$ac_cv_type_short_int" = yes; then
14943 +  # The cast to unsigned long works around a bug in the HP C Compiler
14944 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14945 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14946 +  # This bug is HP SR number 8606223364.
14947    if test "$cross_compiling" = yes; then
14948    # Depending upon the size, compute the lo and hi bounds.
14949  cat >conftest.$ac_ext <<_ACEOF
14950 -#line 10269 "configure"
14951 -#include "confdefs.h"
14952 +#line $LINENO "configure"
14953 +/* confdefs.h.  */
14954 +_ACEOF
14955 +cat confdefs.h >>conftest.$ac_ext
14956 +cat >>conftest.$ac_ext <<_ACEOF
14957 +/* end confdefs.h.  */
14958  $ac_includes_default
14959  int
14960  main ()
14961  {
14962 -int _array_ [1 - 2 * !((sizeof (short int)) >= 0)]
14963 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
14964 +test_array [0] = 0
14965 +
14966    ;
14967    return 0;
14968  }
14969  _ACEOF
14970  rm -f conftest.$ac_objext
14971 -if { (eval echo "$as_me:10281: \"$ac_compile\"") >&5
14972 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973    (eval $ac_compile) 2>&5
14974    ac_status=$?
14975 -  echo "$as_me:10284: \$? = $ac_status" >&5
14976 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977    (exit $ac_status); } &&
14978           { ac_try='test -s conftest.$ac_objext'
14979 -  { (eval echo "$as_me:10287: \"$ac_try\"") >&5
14980 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981    (eval $ac_try) 2>&5
14982    ac_status=$?
14983 -  echo "$as_me:10290: \$? = $ac_status" >&5
14984 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985    (exit $ac_status); }; }; then
14986    ac_lo=0 ac_mid=0
14987    while :; do
14988      cat >conftest.$ac_ext <<_ACEOF
14989 -#line 10295 "configure"
14990 -#include "confdefs.h"
14991 +#line $LINENO "configure"
14992 +/* confdefs.h.  */
14993 +_ACEOF
14994 +cat confdefs.h >>conftest.$ac_ext
14995 +cat >>conftest.$ac_ext <<_ACEOF
14996 +/* end confdefs.h.  */
14997  $ac_includes_default
14998  int
14999  main ()
15000  {
15001 -int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
15002 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
15003 +test_array [0] = 0
15004 +
15005    ;
15006    return 0;
15007  }
15008  _ACEOF
15009  rm -f conftest.$ac_objext
15010 -if { (eval echo "$as_me:10307: \"$ac_compile\"") >&5
15011 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15012    (eval $ac_compile) 2>&5
15013    ac_status=$?
15014 -  echo "$as_me:10310: \$? = $ac_status" >&5
15015 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016    (exit $ac_status); } &&
15017           { ac_try='test -s conftest.$ac_objext'
15018 -  { (eval echo "$as_me:10313: \"$ac_try\"") >&5
15019 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15020    (eval $ac_try) 2>&5
15021    ac_status=$?
15022 -  echo "$as_me:10316: \$? = $ac_status" >&5
15023 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024    (exit $ac_status); }; }; then
15025    ac_hi=$ac_mid; break
15026  else
15027    echo "$as_me: failed program was:" >&5
15028 -cat conftest.$ac_ext >&5
15029 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
15030 +sed 's/^/| /' conftest.$ac_ext >&5
15031 +
15032 +ac_lo=`expr $ac_mid + 1`
15033 +                    if test $ac_lo -le $ac_mid; then
15034 +                      ac_lo= ac_hi=
15035 +                      break
15036 +                    fi
15037 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
15038  fi
15039  rm -f conftest.$ac_objext conftest.$ac_ext
15040    done
15041  else
15042    echo "$as_me: failed program was:" >&5
15043 -cat conftest.$ac_ext >&5
15044 -ac_hi=-1 ac_mid=-1
15045 +sed 's/^/| /' conftest.$ac_ext >&5
15046 +
15047 +cat >conftest.$ac_ext <<_ACEOF
15048 +#line $LINENO "configure"
15049 +/* confdefs.h.  */
15050 +_ACEOF
15051 +cat confdefs.h >>conftest.$ac_ext
15052 +cat >>conftest.$ac_ext <<_ACEOF
15053 +/* end confdefs.h.  */
15054 +$ac_includes_default
15055 +int
15056 +main ()
15057 +{
15058 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
15059 +test_array [0] = 0
15060 +
15061 +  ;
15062 +  return 0;
15063 +}
15064 +_ACEOF
15065 +rm -f conftest.$ac_objext
15066 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15067 +  (eval $ac_compile) 2>&5
15068 +  ac_status=$?
15069 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 +  (exit $ac_status); } &&
15071 +         { ac_try='test -s conftest.$ac_objext'
15072 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 +  (eval $ac_try) 2>&5
15074 +  ac_status=$?
15075 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 +  (exit $ac_status); }; }; then
15077 +  ac_hi=-1 ac_mid=-1
15078    while :; do
15079      cat >conftest.$ac_ext <<_ACEOF
15080 -#line 10332 "configure"
15081 -#include "confdefs.h"
15082 +#line $LINENO "configure"
15083 +/* confdefs.h.  */
15084 +_ACEOF
15085 +cat confdefs.h >>conftest.$ac_ext
15086 +cat >>conftest.$ac_ext <<_ACEOF
15087 +/* end confdefs.h.  */
15088  $ac_includes_default
15089  int
15090  main ()
15091  {
15092 -int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)]
15093 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
15094 +test_array [0] = 0
15095 +
15096    ;
15097    return 0;
15098  }
15099  _ACEOF
15100  rm -f conftest.$ac_objext
15101 -if { (eval echo "$as_me:10344: \"$ac_compile\"") >&5
15102 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103    (eval $ac_compile) 2>&5
15104    ac_status=$?
15105 -  echo "$as_me:10347: \$? = $ac_status" >&5
15106 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107    (exit $ac_status); } &&
15108           { ac_try='test -s conftest.$ac_objext'
15109 -  { (eval echo "$as_me:10350: \"$ac_try\"") >&5
15110 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111    (eval $ac_try) 2>&5
15112    ac_status=$?
15113 -  echo "$as_me:10353: \$? = $ac_status" >&5
15114 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115    (exit $ac_status); }; }; then
15116    ac_lo=$ac_mid; break
15117  else
15118    echo "$as_me: failed program was:" >&5
15119 -cat conftest.$ac_ext >&5
15120 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
15121 +sed 's/^/| /' conftest.$ac_ext >&5
15122 +
15123 +ac_hi=`expr '(' $ac_mid ')' - 1`
15124 +                       if test $ac_mid -le $ac_hi; then
15125 +                         ac_lo= ac_hi=
15126 +                         break
15127 +                       fi
15128 +                       ac_mid=`expr 2 '*' $ac_mid`
15129  fi
15130  rm -f conftest.$ac_objext conftest.$ac_ext
15131    done
15132 +else
15133 +  echo "$as_me: failed program was:" >&5
15134 +sed 's/^/| /' conftest.$ac_ext >&5
15135 +
15136 +ac_lo= ac_hi=
15137 +fi
15138 +rm -f conftest.$ac_objext conftest.$ac_ext
15139  fi
15140  rm -f conftest.$ac_objext conftest.$ac_ext
15141  # Binary search between lo and hi bounds.
15142  while test "x$ac_lo" != "x$ac_hi"; do
15143    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15144    cat >conftest.$ac_ext <<_ACEOF
15145 -#line 10369 "configure"
15146 -#include "confdefs.h"
15147 +#line $LINENO "configure"
15148 +/* confdefs.h.  */
15149 +_ACEOF
15150 +cat confdefs.h >>conftest.$ac_ext
15151 +cat >>conftest.$ac_ext <<_ACEOF
15152 +/* end confdefs.h.  */
15153  $ac_includes_default
15154  int
15155  main ()
15156  {
15157 -int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)]
15158 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
15159 +test_array [0] = 0
15160 +
15161    ;
15162    return 0;
15163  }
15164  _ACEOF
15165  rm -f conftest.$ac_objext
15166 -if { (eval echo "$as_me:10381: \"$ac_compile\"") >&5
15167 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15168    (eval $ac_compile) 2>&5
15169    ac_status=$?
15170 -  echo "$as_me:10384: \$? = $ac_status" >&5
15171 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172    (exit $ac_status); } &&
15173           { ac_try='test -s conftest.$ac_objext'
15174 -  { (eval echo "$as_me:10387: \"$ac_try\"") >&5
15175 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15176    (eval $ac_try) 2>&5
15177    ac_status=$?
15178 -  echo "$as_me:10390: \$? = $ac_status" >&5
15179 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180    (exit $ac_status); }; }; then
15181    ac_hi=$ac_mid
15182  else
15183    echo "$as_me: failed program was:" >&5
15184 -cat conftest.$ac_ext >&5
15185 -ac_lo=`expr $ac_mid + 1`
15186 +sed 's/^/| /' conftest.$ac_ext >&5
15187 +
15188 +ac_lo=`expr '(' $ac_mid ')' + 1`
15189  fi
15190  rm -f conftest.$ac_objext conftest.$ac_ext
15191  done
15192 -ac_cv_sizeof_short_int=$ac_lo
15193 +case $ac_lo in
15194 +?*) ac_cv_sizeof_short_int=$ac_lo;;
15195 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15196 +See \`config.log' for more details." >&5
15197 +echo "$as_me: error: cannot compute sizeof (short int), 77
15198 +See \`config.log' for more details." >&2;}
15199 +   { (exit 1); exit 1; }; } ;;
15200 +esac
15201  else
15202    if test "$cross_compiling" = yes; then
15203 -  { { echo "$as_me:10403: error: cannot run test program while cross compiling" >&5
15204 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15205 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15206 +See \`config.log' for more details." >&5
15207 +echo "$as_me: error: cannot run test program while cross compiling
15208 +See \`config.log' for more details." >&2;}
15209     { (exit 1); exit 1; }; }
15210  else
15211    cat >conftest.$ac_ext <<_ACEOF
15212 -#line 10408 "configure"
15213 -#include "confdefs.h"
15214 +#line $LINENO "configure"
15215 +/* confdefs.h.  */
15216 +_ACEOF
15217 +cat confdefs.h >>conftest.$ac_ext
15218 +cat >>conftest.$ac_ext <<_ACEOF
15219 +/* end confdefs.h.  */
15220  $ac_includes_default
15221 +long longval () { return (long) (sizeof (short int)); }
15222 +unsigned long ulongval () { return (long) (sizeof (short int)); }
15223 +#include <stdio.h>
15224 +#include <stdlib.h>
15225  int
15226  main ()
15227  {
15228 -FILE *f = fopen ("conftest.val", "w");
15229 -if (!f)
15230 -  exit (1);
15231 -fprintf (f, "%d", (sizeof (short int)));
15232 -fclose (f);
15233 +
15234 +  FILE *f = fopen ("conftest.val", "w");
15235 +  if (! f)
15236 +    exit (1);
15237 +  if (((long) (sizeof (short int))) < 0)
15238 +    {
15239 +      long i = longval ();
15240 +      if (i != ((long) (sizeof (short int))))
15241 +       exit (1);
15242 +      fprintf (f, "%ld\n", i);
15243 +    }
15244 +  else
15245 +    {
15246 +      unsigned long i = ulongval ();
15247 +      if (i != ((long) (sizeof (short int))))
15248 +       exit (1);
15249 +      fprintf (f, "%lu\n", i);
15250 +    }
15251 +  exit (ferror (f) || fclose (f) != 0);
15252 +
15253    ;
15254    return 0;
15255  }
15256  _ACEOF
15257  rm -f conftest$ac_exeext
15258 -if { (eval echo "$as_me:10424: \"$ac_link\"") >&5
15259 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15260    (eval $ac_link) 2>&5
15261    ac_status=$?
15262 -  echo "$as_me:10427: \$? = $ac_status" >&5
15263 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15265 -  { (eval echo "$as_me:10429: \"$ac_try\"") >&5
15266 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267    (eval $ac_try) 2>&5
15268    ac_status=$?
15269 -  echo "$as_me:10432: \$? = $ac_status" >&5
15270 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271    (exit $ac_status); }; }; then
15272    ac_cv_sizeof_short_int=`cat conftest.val`
15273  else
15274    echo "$as_me: program exited with status $ac_status" >&5
15275  echo "$as_me: failed program was:" >&5
15276 -cat conftest.$ac_ext >&5
15277 +sed 's/^/| /' conftest.$ac_ext >&5
15278 +
15279 +( exit $ac_status )
15280 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15281 +See \`config.log' for more details." >&5
15282 +echo "$as_me: error: cannot compute sizeof (short int), 77
15283 +See \`config.log' for more details." >&2;}
15284 +   { (exit 1); exit 1; }; }
15285  fi
15286 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15287 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15288  fi
15289  fi
15290  rm -f conftest.val
15291 @@ -10445,20 +12546,25 @@
15292    ac_cv_sizeof_short_int=0
15293  fi
15294  fi
15295 -echo "$as_me:10448: result: $ac_cv_sizeof_short_int" >&5
15296 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
15297  echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
15298 -cat >>confdefs.h <<EOF
15299 +cat >>confdefs.h <<_ACEOF
15300  #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
15301 -EOF
15302 +_ACEOF
15303  
15304 -echo "$as_me:10454: checking for int" >&5
15305 +
15306 +echo "$as_me:$LINENO: checking for int" >&5
15307  echo $ECHO_N "checking for int... $ECHO_C" >&6
15308  if test "${ac_cv_type_int+set}" = set; then
15309    echo $ECHO_N "(cached) $ECHO_C" >&6
15310  else
15311    cat >conftest.$ac_ext <<_ACEOF
15312 -#line 10460 "configure"
15313 -#include "confdefs.h"
15314 +#line $LINENO "configure"
15315 +/* confdefs.h.  */
15316 +_ACEOF
15317 +cat confdefs.h >>conftest.$ac_ext
15318 +cat >>conftest.$ac_ext <<_ACEOF
15319 +/* end confdefs.h.  */
15320  $ac_includes_default
15321  int
15322  main ()
15323 @@ -10472,209 +12578,328 @@
15324  }
15325  _ACEOF
15326  rm -f conftest.$ac_objext
15327 -if { (eval echo "$as_me:10475: \"$ac_compile\"") >&5
15328 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15329    (eval $ac_compile) 2>&5
15330    ac_status=$?
15331 -  echo "$as_me:10478: \$? = $ac_status" >&5
15332 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333    (exit $ac_status); } &&
15334           { ac_try='test -s conftest.$ac_objext'
15335 -  { (eval echo "$as_me:10481: \"$ac_try\"") >&5
15336 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337    (eval $ac_try) 2>&5
15338    ac_status=$?
15339 -  echo "$as_me:10484: \$? = $ac_status" >&5
15340 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341    (exit $ac_status); }; }; then
15342    ac_cv_type_int=yes
15343  else
15344    echo "$as_me: failed program was:" >&5
15345 -cat conftest.$ac_ext >&5
15346 +sed 's/^/| /' conftest.$ac_ext >&5
15347 +
15348  ac_cv_type_int=no
15349  fi
15350  rm -f conftest.$ac_objext conftest.$ac_ext
15351  fi
15352 -echo "$as_me:10494: result: $ac_cv_type_int" >&5
15353 +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15354  echo "${ECHO_T}$ac_cv_type_int" >&6
15355  
15356 -echo "$as_me:10497: checking size of int" >&5
15357 +echo "$as_me:$LINENO: checking size of int" >&5
15358  echo $ECHO_N "checking size of int... $ECHO_C" >&6
15359  if test "${ac_cv_sizeof_int+set}" = set; then
15360    echo $ECHO_N "(cached) $ECHO_C" >&6
15361  else
15362    if test "$ac_cv_type_int" = yes; then
15363 +  # The cast to unsigned long works around a bug in the HP C Compiler
15364 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15365 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15366 +  # This bug is HP SR number 8606223364.
15367    if test "$cross_compiling" = yes; then
15368    # Depending upon the size, compute the lo and hi bounds.
15369  cat >conftest.$ac_ext <<_ACEOF
15370 -#line 10506 "configure"
15371 -#include "confdefs.h"
15372 +#line $LINENO "configure"
15373 +/* confdefs.h.  */
15374 +_ACEOF
15375 +cat confdefs.h >>conftest.$ac_ext
15376 +cat >>conftest.$ac_ext <<_ACEOF
15377 +/* end confdefs.h.  */
15378  $ac_includes_default
15379  int
15380  main ()
15381  {
15382 -int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
15383 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15384 +test_array [0] = 0
15385 +
15386    ;
15387    return 0;
15388  }
15389  _ACEOF
15390  rm -f conftest.$ac_objext
15391 -if { (eval echo "$as_me:10518: \"$ac_compile\"") >&5
15392 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15393    (eval $ac_compile) 2>&5
15394    ac_status=$?
15395 -  echo "$as_me:10521: \$? = $ac_status" >&5
15396 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397    (exit $ac_status); } &&
15398           { ac_try='test -s conftest.$ac_objext'
15399 -  { (eval echo "$as_me:10524: \"$ac_try\"") >&5
15400 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401    (eval $ac_try) 2>&5
15402    ac_status=$?
15403 -  echo "$as_me:10527: \$? = $ac_status" >&5
15404 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405    (exit $ac_status); }; }; then
15406    ac_lo=0 ac_mid=0
15407    while :; do
15408      cat >conftest.$ac_ext <<_ACEOF
15409 -#line 10532 "configure"
15410 -#include "confdefs.h"
15411 +#line $LINENO "configure"
15412 +/* confdefs.h.  */
15413 +_ACEOF
15414 +cat confdefs.h >>conftest.$ac_ext
15415 +cat >>conftest.$ac_ext <<_ACEOF
15416 +/* end confdefs.h.  */
15417  $ac_includes_default
15418  int
15419  main ()
15420  {
15421 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
15422 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15423 +test_array [0] = 0
15424 +
15425    ;
15426    return 0;
15427  }
15428  _ACEOF
15429  rm -f conftest.$ac_objext
15430 -if { (eval echo "$as_me:10544: \"$ac_compile\"") >&5
15431 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15432    (eval $ac_compile) 2>&5
15433    ac_status=$?
15434 -  echo "$as_me:10547: \$? = $ac_status" >&5
15435 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436    (exit $ac_status); } &&
15437           { ac_try='test -s conftest.$ac_objext'
15438 -  { (eval echo "$as_me:10550: \"$ac_try\"") >&5
15439 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440    (eval $ac_try) 2>&5
15441    ac_status=$?
15442 -  echo "$as_me:10553: \$? = $ac_status" >&5
15443 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444    (exit $ac_status); }; }; then
15445    ac_hi=$ac_mid; break
15446  else
15447    echo "$as_me: failed program was:" >&5
15448 -cat conftest.$ac_ext >&5
15449 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
15450 +sed 's/^/| /' conftest.$ac_ext >&5
15451 +
15452 +ac_lo=`expr $ac_mid + 1`
15453 +                    if test $ac_lo -le $ac_mid; then
15454 +                      ac_lo= ac_hi=
15455 +                      break
15456 +                    fi
15457 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
15458  fi
15459  rm -f conftest.$ac_objext conftest.$ac_ext
15460    done
15461  else
15462    echo "$as_me: failed program was:" >&5
15463 -cat conftest.$ac_ext >&5
15464 -ac_hi=-1 ac_mid=-1
15465 +sed 's/^/| /' conftest.$ac_ext >&5
15466 +
15467 +cat >conftest.$ac_ext <<_ACEOF
15468 +#line $LINENO "configure"
15469 +/* confdefs.h.  */
15470 +_ACEOF
15471 +cat confdefs.h >>conftest.$ac_ext
15472 +cat >>conftest.$ac_ext <<_ACEOF
15473 +/* end confdefs.h.  */
15474 +$ac_includes_default
15475 +int
15476 +main ()
15477 +{
15478 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15479 +test_array [0] = 0
15480 +
15481 +  ;
15482 +  return 0;
15483 +}
15484 +_ACEOF
15485 +rm -f conftest.$ac_objext
15486 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 +  (eval $ac_compile) 2>&5
15488 +  ac_status=$?
15489 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 +  (exit $ac_status); } &&
15491 +         { ac_try='test -s conftest.$ac_objext'
15492 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493 +  (eval $ac_try) 2>&5
15494 +  ac_status=$?
15495 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 +  (exit $ac_status); }; }; then
15497 +  ac_hi=-1 ac_mid=-1
15498    while :; do
15499      cat >conftest.$ac_ext <<_ACEOF
15500 -#line 10569 "configure"
15501 -#include "confdefs.h"
15502 +#line $LINENO "configure"
15503 +/* confdefs.h.  */
15504 +_ACEOF
15505 +cat confdefs.h >>conftest.$ac_ext
15506 +cat >>conftest.$ac_ext <<_ACEOF
15507 +/* end confdefs.h.  */
15508  $ac_includes_default
15509  int
15510  main ()
15511  {
15512 -int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
15513 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15514 +test_array [0] = 0
15515 +
15516    ;
15517    return 0;
15518  }
15519  _ACEOF
15520  rm -f conftest.$ac_objext
15521 -if { (eval echo "$as_me:10581: \"$ac_compile\"") >&5
15522 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15523    (eval $ac_compile) 2>&5
15524    ac_status=$?
15525 -  echo "$as_me:10584: \$? = $ac_status" >&5
15526 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527    (exit $ac_status); } &&
15528           { ac_try='test -s conftest.$ac_objext'
15529 -  { (eval echo "$as_me:10587: \"$ac_try\"") >&5
15530 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531    (eval $ac_try) 2>&5
15532    ac_status=$?
15533 -  echo "$as_me:10590: \$? = $ac_status" >&5
15534 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535    (exit $ac_status); }; }; then
15536    ac_lo=$ac_mid; break
15537  else
15538    echo "$as_me: failed program was:" >&5
15539 -cat conftest.$ac_ext >&5
15540 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
15541 +sed 's/^/| /' conftest.$ac_ext >&5
15542 +
15543 +ac_hi=`expr '(' $ac_mid ')' - 1`
15544 +                       if test $ac_mid -le $ac_hi; then
15545 +                         ac_lo= ac_hi=
15546 +                         break
15547 +                       fi
15548 +                       ac_mid=`expr 2 '*' $ac_mid`
15549  fi
15550  rm -f conftest.$ac_objext conftest.$ac_ext
15551    done
15552 +else
15553 +  echo "$as_me: failed program was:" >&5
15554 +sed 's/^/| /' conftest.$ac_ext >&5
15555 +
15556 +ac_lo= ac_hi=
15557 +fi
15558 +rm -f conftest.$ac_objext conftest.$ac_ext
15559  fi
15560  rm -f conftest.$ac_objext conftest.$ac_ext
15561  # Binary search between lo and hi bounds.
15562  while test "x$ac_lo" != "x$ac_hi"; do
15563    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15564    cat >conftest.$ac_ext <<_ACEOF
15565 -#line 10606 "configure"
15566 -#include "confdefs.h"
15567 +#line $LINENO "configure"
15568 +/* confdefs.h.  */
15569 +_ACEOF
15570 +cat confdefs.h >>conftest.$ac_ext
15571 +cat >>conftest.$ac_ext <<_ACEOF
15572 +/* end confdefs.h.  */
15573  $ac_includes_default
15574  int
15575  main ()
15576  {
15577 -int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
15578 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15579 +test_array [0] = 0
15580 +
15581    ;
15582    return 0;
15583  }
15584  _ACEOF
15585  rm -f conftest.$ac_objext
15586 -if { (eval echo "$as_me:10618: \"$ac_compile\"") >&5
15587 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15588    (eval $ac_compile) 2>&5
15589    ac_status=$?
15590 -  echo "$as_me:10621: \$? = $ac_status" >&5
15591 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592    (exit $ac_status); } &&
15593           { ac_try='test -s conftest.$ac_objext'
15594 -  { (eval echo "$as_me:10624: \"$ac_try\"") >&5
15595 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596    (eval $ac_try) 2>&5
15597    ac_status=$?
15598 -  echo "$as_me:10627: \$? = $ac_status" >&5
15599 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600    (exit $ac_status); }; }; then
15601    ac_hi=$ac_mid
15602  else
15603    echo "$as_me: failed program was:" >&5
15604 -cat conftest.$ac_ext >&5
15605 -ac_lo=`expr $ac_mid + 1`
15606 +sed 's/^/| /' conftest.$ac_ext >&5
15607 +
15608 +ac_lo=`expr '(' $ac_mid ')' + 1`
15609  fi
15610  rm -f conftest.$ac_objext conftest.$ac_ext
15611  done
15612 -ac_cv_sizeof_int=$ac_lo
15613 +case $ac_lo in
15614 +?*) ac_cv_sizeof_int=$ac_lo;;
15615 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15616 +See \`config.log' for more details." >&5
15617 +echo "$as_me: error: cannot compute sizeof (int), 77
15618 +See \`config.log' for more details." >&2;}
15619 +   { (exit 1); exit 1; }; } ;;
15620 +esac
15621  else
15622    if test "$cross_compiling" = yes; then
15623 -  { { echo "$as_me:10640: error: cannot run test program while cross compiling" >&5
15624 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15625 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15626 +See \`config.log' for more details." >&5
15627 +echo "$as_me: error: cannot run test program while cross compiling
15628 +See \`config.log' for more details." >&2;}
15629     { (exit 1); exit 1; }; }
15630  else
15631    cat >conftest.$ac_ext <<_ACEOF
15632 -#line 10645 "configure"
15633 -#include "confdefs.h"
15634 +#line $LINENO "configure"
15635 +/* confdefs.h.  */
15636 +_ACEOF
15637 +cat confdefs.h >>conftest.$ac_ext
15638 +cat >>conftest.$ac_ext <<_ACEOF
15639 +/* end confdefs.h.  */
15640  $ac_includes_default
15641 +long longval () { return (long) (sizeof (int)); }
15642 +unsigned long ulongval () { return (long) (sizeof (int)); }
15643 +#include <stdio.h>
15644 +#include <stdlib.h>
15645  int
15646  main ()
15647  {
15648 -FILE *f = fopen ("conftest.val", "w");
15649 -if (!f)
15650 -  exit (1);
15651 -fprintf (f, "%d", (sizeof (int)));
15652 -fclose (f);
15653 +
15654 +  FILE *f = fopen ("conftest.val", "w");
15655 +  if (! f)
15656 +    exit (1);
15657 +  if (((long) (sizeof (int))) < 0)
15658 +    {
15659 +      long i = longval ();
15660 +      if (i != ((long) (sizeof (int))))
15661 +       exit (1);
15662 +      fprintf (f, "%ld\n", i);
15663 +    }
15664 +  else
15665 +    {
15666 +      unsigned long i = ulongval ();
15667 +      if (i != ((long) (sizeof (int))))
15668 +       exit (1);
15669 +      fprintf (f, "%lu\n", i);
15670 +    }
15671 +  exit (ferror (f) || fclose (f) != 0);
15672 +
15673    ;
15674    return 0;
15675  }
15676  _ACEOF
15677  rm -f conftest$ac_exeext
15678 -if { (eval echo "$as_me:10661: \"$ac_link\"") >&5
15679 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15680    (eval $ac_link) 2>&5
15681    ac_status=$?
15682 -  echo "$as_me:10664: \$? = $ac_status" >&5
15683 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15685 -  { (eval echo "$as_me:10666: \"$ac_try\"") >&5
15686 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687    (eval $ac_try) 2>&5
15688    ac_status=$?
15689 -  echo "$as_me:10669: \$? = $ac_status" >&5
15690 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691    (exit $ac_status); }; }; then
15692    ac_cv_sizeof_int=`cat conftest.val`
15693  else
15694    echo "$as_me: program exited with status $ac_status" >&5
15695  echo "$as_me: failed program was:" >&5
15696 -cat conftest.$ac_ext >&5
15697 +sed 's/^/| /' conftest.$ac_ext >&5
15698 +
15699 +( exit $ac_status )
15700 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15701 +See \`config.log' for more details." >&5
15702 +echo "$as_me: error: cannot compute sizeof (int), 77
15703 +See \`config.log' for more details." >&2;}
15704 +   { (exit 1); exit 1; }; }
15705  fi
15706 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15707 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15708  fi
15709  fi
15710  rm -f conftest.val
15711 @@ -10682,20 +12907,25 @@
15712    ac_cv_sizeof_int=0
15713  fi
15714  fi
15715 -echo "$as_me:10685: result: $ac_cv_sizeof_int" >&5
15716 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15717  echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15718 -cat >>confdefs.h <<EOF
15719 +cat >>confdefs.h <<_ACEOF
15720  #define SIZEOF_INT $ac_cv_sizeof_int
15721 -EOF
15722 +_ACEOF
15723  
15724 -echo "$as_me:10691: checking for long int" >&5
15725 +
15726 +echo "$as_me:$LINENO: checking for long int" >&5
15727  echo $ECHO_N "checking for long int... $ECHO_C" >&6
15728  if test "${ac_cv_type_long_int+set}" = set; then
15729    echo $ECHO_N "(cached) $ECHO_C" >&6
15730  else
15731    cat >conftest.$ac_ext <<_ACEOF
15732 -#line 10697 "configure"
15733 -#include "confdefs.h"
15734 +#line $LINENO "configure"
15735 +/* confdefs.h.  */
15736 +_ACEOF
15737 +cat confdefs.h >>conftest.$ac_ext
15738 +cat >>conftest.$ac_ext <<_ACEOF
15739 +/* end confdefs.h.  */
15740  $ac_includes_default
15741  int
15742  main ()
15743 @@ -10709,209 +12939,328 @@
15744  }
15745  _ACEOF
15746  rm -f conftest.$ac_objext
15747 -if { (eval echo "$as_me:10712: \"$ac_compile\"") >&5
15748 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15749    (eval $ac_compile) 2>&5
15750    ac_status=$?
15751 -  echo "$as_me:10715: \$? = $ac_status" >&5
15752 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753    (exit $ac_status); } &&
15754           { ac_try='test -s conftest.$ac_objext'
15755 -  { (eval echo "$as_me:10718: \"$ac_try\"") >&5
15756 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757    (eval $ac_try) 2>&5
15758    ac_status=$?
15759 -  echo "$as_me:10721: \$? = $ac_status" >&5
15760 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761    (exit $ac_status); }; }; then
15762    ac_cv_type_long_int=yes
15763  else
15764    echo "$as_me: failed program was:" >&5
15765 -cat conftest.$ac_ext >&5
15766 +sed 's/^/| /' conftest.$ac_ext >&5
15767 +
15768  ac_cv_type_long_int=no
15769  fi
15770  rm -f conftest.$ac_objext conftest.$ac_ext
15771  fi
15772 -echo "$as_me:10731: result: $ac_cv_type_long_int" >&5
15773 +echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
15774  echo "${ECHO_T}$ac_cv_type_long_int" >&6
15775  
15776 -echo "$as_me:10734: checking size of long int" >&5
15777 +echo "$as_me:$LINENO: checking size of long int" >&5
15778  echo $ECHO_N "checking size of long int... $ECHO_C" >&6
15779  if test "${ac_cv_sizeof_long_int+set}" = set; then
15780    echo $ECHO_N "(cached) $ECHO_C" >&6
15781  else
15782    if test "$ac_cv_type_long_int" = yes; then
15783 +  # The cast to unsigned long works around a bug in the HP C Compiler
15784 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15785 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15786 +  # This bug is HP SR number 8606223364.
15787    if test "$cross_compiling" = yes; then
15788    # Depending upon the size, compute the lo and hi bounds.
15789  cat >conftest.$ac_ext <<_ACEOF
15790 -#line 10743 "configure"
15791 -#include "confdefs.h"
15792 +#line $LINENO "configure"
15793 +/* confdefs.h.  */
15794 +_ACEOF
15795 +cat confdefs.h >>conftest.$ac_ext
15796 +cat >>conftest.$ac_ext <<_ACEOF
15797 +/* end confdefs.h.  */
15798  $ac_includes_default
15799  int
15800  main ()
15801  {
15802 -int _array_ [1 - 2 * !((sizeof (long int)) >= 0)]
15803 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
15804 +test_array [0] = 0
15805 +
15806    ;
15807    return 0;
15808  }
15809  _ACEOF
15810  rm -f conftest.$ac_objext
15811 -if { (eval echo "$as_me:10755: \"$ac_compile\"") >&5
15812 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15813    (eval $ac_compile) 2>&5
15814    ac_status=$?
15815 -  echo "$as_me:10758: \$? = $ac_status" >&5
15816 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817    (exit $ac_status); } &&
15818           { ac_try='test -s conftest.$ac_objext'
15819 -  { (eval echo "$as_me:10761: \"$ac_try\"") >&5
15820 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821    (eval $ac_try) 2>&5
15822    ac_status=$?
15823 -  echo "$as_me:10764: \$? = $ac_status" >&5
15824 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825    (exit $ac_status); }; }; then
15826    ac_lo=0 ac_mid=0
15827    while :; do
15828      cat >conftest.$ac_ext <<_ACEOF
15829 -#line 10769 "configure"
15830 -#include "confdefs.h"
15831 +#line $LINENO "configure"
15832 +/* confdefs.h.  */
15833 +_ACEOF
15834 +cat confdefs.h >>conftest.$ac_ext
15835 +cat >>conftest.$ac_ext <<_ACEOF
15836 +/* end confdefs.h.  */
15837  $ac_includes_default
15838  int
15839  main ()
15840  {
15841 -int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
15842 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15843 +test_array [0] = 0
15844 +
15845    ;
15846    return 0;
15847  }
15848  _ACEOF
15849  rm -f conftest.$ac_objext
15850 -if { (eval echo "$as_me:10781: \"$ac_compile\"") >&5
15851 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15852    (eval $ac_compile) 2>&5
15853    ac_status=$?
15854 -  echo "$as_me:10784: \$? = $ac_status" >&5
15855 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856    (exit $ac_status); } &&
15857           { ac_try='test -s conftest.$ac_objext'
15858 -  { (eval echo "$as_me:10787: \"$ac_try\"") >&5
15859 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860    (eval $ac_try) 2>&5
15861    ac_status=$?
15862 -  echo "$as_me:10790: \$? = $ac_status" >&5
15863 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864    (exit $ac_status); }; }; then
15865    ac_hi=$ac_mid; break
15866  else
15867    echo "$as_me: failed program was:" >&5
15868 -cat conftest.$ac_ext >&5
15869 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
15870 +sed 's/^/| /' conftest.$ac_ext >&5
15871 +
15872 +ac_lo=`expr $ac_mid + 1`
15873 +                    if test $ac_lo -le $ac_mid; then
15874 +                      ac_lo= ac_hi=
15875 +                      break
15876 +                    fi
15877 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
15878  fi
15879  rm -f conftest.$ac_objext conftest.$ac_ext
15880    done
15881  else
15882    echo "$as_me: failed program was:" >&5
15883 -cat conftest.$ac_ext >&5
15884 -ac_hi=-1 ac_mid=-1
15885 +sed 's/^/| /' conftest.$ac_ext >&5
15886 +
15887 +cat >conftest.$ac_ext <<_ACEOF
15888 +#line $LINENO "configure"
15889 +/* confdefs.h.  */
15890 +_ACEOF
15891 +cat confdefs.h >>conftest.$ac_ext
15892 +cat >>conftest.$ac_ext <<_ACEOF
15893 +/* end confdefs.h.  */
15894 +$ac_includes_default
15895 +int
15896 +main ()
15897 +{
15898 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15899 +test_array [0] = 0
15900 +
15901 +  ;
15902 +  return 0;
15903 +}
15904 +_ACEOF
15905 +rm -f conftest.$ac_objext
15906 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 +  (eval $ac_compile) 2>&5
15908 +  ac_status=$?
15909 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 +  (exit $ac_status); } &&
15911 +         { ac_try='test -s conftest.$ac_objext'
15912 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 +  (eval $ac_try) 2>&5
15914 +  ac_status=$?
15915 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 +  (exit $ac_status); }; }; then
15917 +  ac_hi=-1 ac_mid=-1
15918    while :; do
15919      cat >conftest.$ac_ext <<_ACEOF
15920 -#line 10806 "configure"
15921 -#include "confdefs.h"
15922 +#line $LINENO "configure"
15923 +/* confdefs.h.  */
15924 +_ACEOF
15925 +cat confdefs.h >>conftest.$ac_ext
15926 +cat >>conftest.$ac_ext <<_ACEOF
15927 +/* end confdefs.h.  */
15928  $ac_includes_default
15929  int
15930  main ()
15931  {
15932 -int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)]
15933 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
15934 +test_array [0] = 0
15935 +
15936    ;
15937    return 0;
15938  }
15939  _ACEOF
15940  rm -f conftest.$ac_objext
15941 -if { (eval echo "$as_me:10818: \"$ac_compile\"") >&5
15942 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943    (eval $ac_compile) 2>&5
15944    ac_status=$?
15945 -  echo "$as_me:10821: \$? = $ac_status" >&5
15946 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947    (exit $ac_status); } &&
15948           { ac_try='test -s conftest.$ac_objext'
15949 -  { (eval echo "$as_me:10824: \"$ac_try\"") >&5
15950 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951    (eval $ac_try) 2>&5
15952    ac_status=$?
15953 -  echo "$as_me:10827: \$? = $ac_status" >&5
15954 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955    (exit $ac_status); }; }; then
15956    ac_lo=$ac_mid; break
15957  else
15958    echo "$as_me: failed program was:" >&5
15959 -cat conftest.$ac_ext >&5
15960 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
15961 +sed 's/^/| /' conftest.$ac_ext >&5
15962 +
15963 +ac_hi=`expr '(' $ac_mid ')' - 1`
15964 +                       if test $ac_mid -le $ac_hi; then
15965 +                         ac_lo= ac_hi=
15966 +                         break
15967 +                       fi
15968 +                       ac_mid=`expr 2 '*' $ac_mid`
15969  fi
15970  rm -f conftest.$ac_objext conftest.$ac_ext
15971    done
15972 +else
15973 +  echo "$as_me: failed program was:" >&5
15974 +sed 's/^/| /' conftest.$ac_ext >&5
15975 +
15976 +ac_lo= ac_hi=
15977 +fi
15978 +rm -f conftest.$ac_objext conftest.$ac_ext
15979  fi
15980  rm -f conftest.$ac_objext conftest.$ac_ext
15981  # Binary search between lo and hi bounds.
15982  while test "x$ac_lo" != "x$ac_hi"; do
15983    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15984    cat >conftest.$ac_ext <<_ACEOF
15985 -#line 10843 "configure"
15986 -#include "confdefs.h"
15987 +#line $LINENO "configure"
15988 +/* confdefs.h.  */
15989 +_ACEOF
15990 +cat confdefs.h >>conftest.$ac_ext
15991 +cat >>conftest.$ac_ext <<_ACEOF
15992 +/* end confdefs.h.  */
15993  $ac_includes_default
15994  int
15995  main ()
15996  {
15997 -int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)]
15998 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15999 +test_array [0] = 0
16000 +
16001    ;
16002    return 0;
16003  }
16004  _ACEOF
16005  rm -f conftest.$ac_objext
16006 -if { (eval echo "$as_me:10855: \"$ac_compile\"") >&5
16007 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16008    (eval $ac_compile) 2>&5
16009    ac_status=$?
16010 -  echo "$as_me:10858: \$? = $ac_status" >&5
16011 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012    (exit $ac_status); } &&
16013           { ac_try='test -s conftest.$ac_objext'
16014 -  { (eval echo "$as_me:10861: \"$ac_try\"") >&5
16015 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016    (eval $ac_try) 2>&5
16017    ac_status=$?
16018 -  echo "$as_me:10864: \$? = $ac_status" >&5
16019 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020    (exit $ac_status); }; }; then
16021    ac_hi=$ac_mid
16022  else
16023    echo "$as_me: failed program was:" >&5
16024 -cat conftest.$ac_ext >&5
16025 -ac_lo=`expr $ac_mid + 1`
16026 +sed 's/^/| /' conftest.$ac_ext >&5
16027 +
16028 +ac_lo=`expr '(' $ac_mid ')' + 1`
16029  fi
16030  rm -f conftest.$ac_objext conftest.$ac_ext
16031  done
16032 -ac_cv_sizeof_long_int=$ac_lo
16033 +case $ac_lo in
16034 +?*) ac_cv_sizeof_long_int=$ac_lo;;
16035 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
16036 +See \`config.log' for more details." >&5
16037 +echo "$as_me: error: cannot compute sizeof (long int), 77
16038 +See \`config.log' for more details." >&2;}
16039 +   { (exit 1); exit 1; }; } ;;
16040 +esac
16041  else
16042    if test "$cross_compiling" = yes; then
16043 -  { { echo "$as_me:10877: error: cannot run test program while cross compiling" >&5
16044 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
16045 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16046 +See \`config.log' for more details." >&5
16047 +echo "$as_me: error: cannot run test program while cross compiling
16048 +See \`config.log' for more details." >&2;}
16049     { (exit 1); exit 1; }; }
16050  else
16051    cat >conftest.$ac_ext <<_ACEOF
16052 -#line 10882 "configure"
16053 -#include "confdefs.h"
16054 +#line $LINENO "configure"
16055 +/* confdefs.h.  */
16056 +_ACEOF
16057 +cat confdefs.h >>conftest.$ac_ext
16058 +cat >>conftest.$ac_ext <<_ACEOF
16059 +/* end confdefs.h.  */
16060  $ac_includes_default
16061 +long longval () { return (long) (sizeof (long int)); }
16062 +unsigned long ulongval () { return (long) (sizeof (long int)); }
16063 +#include <stdio.h>
16064 +#include <stdlib.h>
16065  int
16066  main ()
16067  {
16068 -FILE *f = fopen ("conftest.val", "w");
16069 -if (!f)
16070 -  exit (1);
16071 -fprintf (f, "%d", (sizeof (long int)));
16072 -fclose (f);
16073 +
16074 +  FILE *f = fopen ("conftest.val", "w");
16075 +  if (! f)
16076 +    exit (1);
16077 +  if (((long) (sizeof (long int))) < 0)
16078 +    {
16079 +      long i = longval ();
16080 +      if (i != ((long) (sizeof (long int))))
16081 +       exit (1);
16082 +      fprintf (f, "%ld\n", i);
16083 +    }
16084 +  else
16085 +    {
16086 +      unsigned long i = ulongval ();
16087 +      if (i != ((long) (sizeof (long int))))
16088 +       exit (1);
16089 +      fprintf (f, "%lu\n", i);
16090 +    }
16091 +  exit (ferror (f) || fclose (f) != 0);
16092 +
16093    ;
16094    return 0;
16095  }
16096  _ACEOF
16097  rm -f conftest$ac_exeext
16098 -if { (eval echo "$as_me:10898: \"$ac_link\"") >&5
16099 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16100    (eval $ac_link) 2>&5
16101    ac_status=$?
16102 -  echo "$as_me:10901: \$? = $ac_status" >&5
16103 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16105 -  { (eval echo "$as_me:10903: \"$ac_try\"") >&5
16106 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107    (eval $ac_try) 2>&5
16108    ac_status=$?
16109 -  echo "$as_me:10906: \$? = $ac_status" >&5
16110 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111    (exit $ac_status); }; }; then
16112    ac_cv_sizeof_long_int=`cat conftest.val`
16113  else
16114    echo "$as_me: program exited with status $ac_status" >&5
16115  echo "$as_me: failed program was:" >&5
16116 -cat conftest.$ac_ext >&5
16117 +sed 's/^/| /' conftest.$ac_ext >&5
16118 +
16119 +( exit $ac_status )
16120 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
16121 +See \`config.log' for more details." >&5
16122 +echo "$as_me: error: cannot compute sizeof (long int), 77
16123 +See \`config.log' for more details." >&2;}
16124 +   { (exit 1); exit 1; }; }
16125  fi
16126 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16127 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16128  fi
16129  fi
16130  rm -f conftest.val
16131 @@ -10919,20 +13268,25 @@
16132    ac_cv_sizeof_long_int=0
16133  fi
16134  fi
16135 -echo "$as_me:10922: result: $ac_cv_sizeof_long_int" >&5
16136 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
16137  echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
16138 -cat >>confdefs.h <<EOF
16139 +cat >>confdefs.h <<_ACEOF
16140  #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
16141 -EOF
16142 +_ACEOF
16143  
16144 -echo "$as_me:10928: checking for long long int" >&5
16145 +
16146 +echo "$as_me:$LINENO: checking for long long int" >&5
16147  echo $ECHO_N "checking for long long int... $ECHO_C" >&6
16148  if test "${ac_cv_type_long_long_int+set}" = set; then
16149    echo $ECHO_N "(cached) $ECHO_C" >&6
16150  else
16151    cat >conftest.$ac_ext <<_ACEOF
16152 -#line 10934 "configure"
16153 -#include "confdefs.h"
16154 +#line $LINENO "configure"
16155 +/* confdefs.h.  */
16156 +_ACEOF
16157 +cat confdefs.h >>conftest.$ac_ext
16158 +cat >>conftest.$ac_ext <<_ACEOF
16159 +/* end confdefs.h.  */
16160  $ac_includes_default
16161  int
16162  main ()
16163 @@ -10946,209 +13300,328 @@
16164  }
16165  _ACEOF
16166  rm -f conftest.$ac_objext
16167 -if { (eval echo "$as_me:10949: \"$ac_compile\"") >&5
16168 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16169    (eval $ac_compile) 2>&5
16170    ac_status=$?
16171 -  echo "$as_me:10952: \$? = $ac_status" >&5
16172 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173    (exit $ac_status); } &&
16174           { ac_try='test -s conftest.$ac_objext'
16175 -  { (eval echo "$as_me:10955: \"$ac_try\"") >&5
16176 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177    (eval $ac_try) 2>&5
16178    ac_status=$?
16179 -  echo "$as_me:10958: \$? = $ac_status" >&5
16180 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181    (exit $ac_status); }; }; then
16182    ac_cv_type_long_long_int=yes
16183  else
16184    echo "$as_me: failed program was:" >&5
16185 -cat conftest.$ac_ext >&5
16186 +sed 's/^/| /' conftest.$ac_ext >&5
16187 +
16188  ac_cv_type_long_long_int=no
16189  fi
16190  rm -f conftest.$ac_objext conftest.$ac_ext
16191  fi
16192 -echo "$as_me:10968: result: $ac_cv_type_long_long_int" >&5
16193 +echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
16194  echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
16195  
16196 -echo "$as_me:10971: checking size of long long int" >&5
16197 +echo "$as_me:$LINENO: checking size of long long int" >&5
16198  echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
16199  if test "${ac_cv_sizeof_long_long_int+set}" = set; then
16200    echo $ECHO_N "(cached) $ECHO_C" >&6
16201  else
16202    if test "$ac_cv_type_long_long_int" = yes; then
16203 +  # The cast to unsigned long works around a bug in the HP C Compiler
16204 +  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16205 +  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16206 +  # This bug is HP SR number 8606223364.
16207    if test "$cross_compiling" = yes; then
16208    # Depending upon the size, compute the lo and hi bounds.
16209  cat >conftest.$ac_ext <<_ACEOF
16210 -#line 10980 "configure"
16211 -#include "confdefs.h"
16212 +#line $LINENO "configure"
16213 +/* confdefs.h.  */
16214 +_ACEOF
16215 +cat confdefs.h >>conftest.$ac_ext
16216 +cat >>conftest.$ac_ext <<_ACEOF
16217 +/* end confdefs.h.  */
16218  $ac_includes_default
16219  int
16220  main ()
16221  {
16222 -int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)]
16223 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
16224 +test_array [0] = 0
16225 +
16226    ;
16227    return 0;
16228  }
16229  _ACEOF
16230  rm -f conftest.$ac_objext
16231 -if { (eval echo "$as_me:10992: \"$ac_compile\"") >&5
16232 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233    (eval $ac_compile) 2>&5
16234    ac_status=$?
16235 -  echo "$as_me:10995: \$? = $ac_status" >&5
16236 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237    (exit $ac_status); } &&
16238           { ac_try='test -s conftest.$ac_objext'
16239 -  { (eval echo "$as_me:10998: \"$ac_try\"") >&5
16240 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241    (eval $ac_try) 2>&5
16242    ac_status=$?
16243 -  echo "$as_me:11001: \$? = $ac_status" >&5
16244 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245    (exit $ac_status); }; }; then
16246    ac_lo=0 ac_mid=0
16247    while :; do
16248      cat >conftest.$ac_ext <<_ACEOF
16249 -#line 11006 "configure"
16250 -#include "confdefs.h"
16251 +#line $LINENO "configure"
16252 +/* confdefs.h.  */
16253 +_ACEOF
16254 +cat confdefs.h >>conftest.$ac_ext
16255 +cat >>conftest.$ac_ext <<_ACEOF
16256 +/* end confdefs.h.  */
16257  $ac_includes_default
16258  int
16259  main ()
16260  {
16261 -int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
16262 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16263 +test_array [0] = 0
16264 +
16265    ;
16266    return 0;
16267  }
16268  _ACEOF
16269  rm -f conftest.$ac_objext
16270 -if { (eval echo "$as_me:11018: \"$ac_compile\"") >&5
16271 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16272    (eval $ac_compile) 2>&5
16273    ac_status=$?
16274 -  echo "$as_me:11021: \$? = $ac_status" >&5
16275 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276    (exit $ac_status); } &&
16277           { ac_try='test -s conftest.$ac_objext'
16278 -  { (eval echo "$as_me:11024: \"$ac_try\"") >&5
16279 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280    (eval $ac_try) 2>&5
16281    ac_status=$?
16282 -  echo "$as_me:11027: \$? = $ac_status" >&5
16283 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284    (exit $ac_status); }; }; then
16285    ac_hi=$ac_mid; break
16286  else
16287    echo "$as_me: failed program was:" >&5
16288 -cat conftest.$ac_ext >&5
16289 -ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
16290 +sed 's/^/| /' conftest.$ac_ext >&5
16291 +
16292 +ac_lo=`expr $ac_mid + 1`
16293 +                    if test $ac_lo -le $ac_mid; then
16294 +                      ac_lo= ac_hi=
16295 +                      break
16296 +                    fi
16297 +                    ac_mid=`expr 2 '*' $ac_mid + 1`
16298  fi
16299  rm -f conftest.$ac_objext conftest.$ac_ext
16300    done
16301  else
16302    echo "$as_me: failed program was:" >&5
16303 -cat conftest.$ac_ext >&5
16304 -ac_hi=-1 ac_mid=-1
16305 +sed 's/^/| /' conftest.$ac_ext >&5
16306 +
16307 +cat >conftest.$ac_ext <<_ACEOF
16308 +#line $LINENO "configure"
16309 +/* confdefs.h.  */
16310 +_ACEOF
16311 +cat confdefs.h >>conftest.$ac_ext
16312 +cat >>conftest.$ac_ext <<_ACEOF
16313 +/* end confdefs.h.  */
16314 +$ac_includes_default
16315 +int
16316 +main ()
16317 +{
16318 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16319 +test_array [0] = 0
16320 +
16321 +  ;
16322 +  return 0;
16323 +}
16324 +_ACEOF
16325 +rm -f conftest.$ac_objext
16326 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16327 +  (eval $ac_compile) 2>&5
16328 +  ac_status=$?
16329 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 +  (exit $ac_status); } &&
16331 +         { ac_try='test -s conftest.$ac_objext'
16332 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 +  (eval $ac_try) 2>&5
16334 +  ac_status=$?
16335 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 +  (exit $ac_status); }; }; then
16337 +  ac_hi=-1 ac_mid=-1
16338    while :; do
16339      cat >conftest.$ac_ext <<_ACEOF
16340 -#line 11043 "configure"
16341 -#include "confdefs.h"
16342 +#line $LINENO "configure"
16343 +/* confdefs.h.  */
16344 +_ACEOF
16345 +cat confdefs.h >>conftest.$ac_ext
16346 +cat >>conftest.$ac_ext <<_ACEOF
16347 +/* end confdefs.h.  */
16348  $ac_includes_default
16349  int
16350  main ()
16351  {
16352 -int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)]
16353 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
16354 +test_array [0] = 0
16355 +
16356    ;
16357    return 0;
16358  }
16359  _ACEOF
16360  rm -f conftest.$ac_objext
16361 -if { (eval echo "$as_me:11055: \"$ac_compile\"") >&5
16362 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16363    (eval $ac_compile) 2>&5
16364    ac_status=$?
16365 -  echo "$as_me:11058: \$? = $ac_status" >&5
16366 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367    (exit $ac_status); } &&
16368           { ac_try='test -s conftest.$ac_objext'
16369 -  { (eval echo "$as_me:11061: \"$ac_try\"") >&5
16370 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16371    (eval $ac_try) 2>&5
16372    ac_status=$?
16373 -  echo "$as_me:11064: \$? = $ac_status" >&5
16374 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375    (exit $ac_status); }; }; then
16376    ac_lo=$ac_mid; break
16377  else
16378    echo "$as_me: failed program was:" >&5
16379 -cat conftest.$ac_ext >&5
16380 -ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
16381 +sed 's/^/| /' conftest.$ac_ext >&5
16382 +
16383 +ac_hi=`expr '(' $ac_mid ')' - 1`
16384 +                       if test $ac_mid -le $ac_hi; then
16385 +                         ac_lo= ac_hi=
16386 +                         break
16387 +                       fi
16388 +                       ac_mid=`expr 2 '*' $ac_mid`
16389  fi
16390  rm -f conftest.$ac_objext conftest.$ac_ext
16391    done
16392 +else
16393 +  echo "$as_me: failed program was:" >&5
16394 +sed 's/^/| /' conftest.$ac_ext >&5
16395 +
16396 +ac_lo= ac_hi=
16397 +fi
16398 +rm -f conftest.$ac_objext conftest.$ac_ext
16399  fi
16400  rm -f conftest.$ac_objext conftest.$ac_ext
16401  # Binary search between lo and hi bounds.
16402  while test "x$ac_lo" != "x$ac_hi"; do
16403    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16404    cat >conftest.$ac_ext <<_ACEOF
16405 -#line 11080 "configure"
16406 -#include "confdefs.h"
16407 +#line $LINENO "configure"
16408 +/* confdefs.h.  */
16409 +_ACEOF
16410 +cat confdefs.h >>conftest.$ac_ext
16411 +cat >>conftest.$ac_ext <<_ACEOF
16412 +/* end confdefs.h.  */
16413  $ac_includes_default
16414  int
16415  main ()
16416  {
16417 -int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)]
16418 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16419 +test_array [0] = 0
16420 +
16421    ;
16422    return 0;
16423  }
16424  _ACEOF
16425  rm -f conftest.$ac_objext
16426 -if { (eval echo "$as_me:11092: \"$ac_compile\"") >&5
16427 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428    (eval $ac_compile) 2>&5
16429    ac_status=$?
16430 -  echo "$as_me:11095: \$? = $ac_status" >&5
16431 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432    (exit $ac_status); } &&
16433           { ac_try='test -s conftest.$ac_objext'
16434 -  { (eval echo "$as_me:11098: \"$ac_try\"") >&5
16435 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436    (eval $ac_try) 2>&5
16437    ac_status=$?
16438 -  echo "$as_me:11101: \$? = $ac_status" >&5
16439 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440    (exit $ac_status); }; }; then
16441    ac_hi=$ac_mid
16442  else
16443    echo "$as_me: failed program was:" >&5
16444 -cat conftest.$ac_ext >&5
16445 -ac_lo=`expr $ac_mid + 1`
16446 +sed 's/^/| /' conftest.$ac_ext >&5
16447 +
16448 +ac_lo=`expr '(' $ac_mid ')' + 1`
16449  fi
16450  rm -f conftest.$ac_objext conftest.$ac_ext
16451  done
16452 -ac_cv_sizeof_long_long_int=$ac_lo
16453 +case $ac_lo in
16454 +?*) ac_cv_sizeof_long_long_int=$ac_lo;;
16455 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16456 +See \`config.log' for more details." >&5
16457 +echo "$as_me: error: cannot compute sizeof (long long int), 77
16458 +See \`config.log' for more details." >&2;}
16459 +   { (exit 1); exit 1; }; } ;;
16460 +esac
16461  else
16462    if test "$cross_compiling" = yes; then
16463 -  { { echo "$as_me:11114: error: cannot run test program while cross compiling" >&5
16464 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
16465 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16466 +See \`config.log' for more details." >&5
16467 +echo "$as_me: error: cannot run test program while cross compiling
16468 +See \`config.log' for more details." >&2;}
16469     { (exit 1); exit 1; }; }
16470  else
16471    cat >conftest.$ac_ext <<_ACEOF
16472 -#line 11119 "configure"
16473 -#include "confdefs.h"
16474 +#line $LINENO "configure"
16475 +/* confdefs.h.  */
16476 +_ACEOF
16477 +cat confdefs.h >>conftest.$ac_ext
16478 +cat >>conftest.$ac_ext <<_ACEOF
16479 +/* end confdefs.h.  */
16480  $ac_includes_default
16481 +long longval () { return (long) (sizeof (long long int)); }
16482 +unsigned long ulongval () { return (long) (sizeof (long long int)); }
16483 +#include <stdio.h>
16484 +#include <stdlib.h>
16485  int
16486  main ()
16487  {
16488 -FILE *f = fopen ("conftest.val", "w");
16489 -if (!f)
16490 -  exit (1);
16491 -fprintf (f, "%d", (sizeof (long long int)));
16492 -fclose (f);
16493 +
16494 +  FILE *f = fopen ("conftest.val", "w");
16495 +  if (! f)
16496 +    exit (1);
16497 +  if (((long) (sizeof (long long int))) < 0)
16498 +    {
16499 +      long i = longval ();
16500 +      if (i != ((long) (sizeof (long long int))))
16501 +       exit (1);
16502 +      fprintf (f, "%ld\n", i);
16503 +    }
16504 +  else
16505 +    {
16506 +      unsigned long i = ulongval ();
16507 +      if (i != ((long) (sizeof (long long int))))
16508 +       exit (1);
16509 +      fprintf (f, "%lu\n", i);
16510 +    }
16511 +  exit (ferror (f) || fclose (f) != 0);
16512 +
16513    ;
16514    return 0;
16515  }
16516  _ACEOF
16517  rm -f conftest$ac_exeext
16518 -if { (eval echo "$as_me:11135: \"$ac_link\"") >&5
16519 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16520    (eval $ac_link) 2>&5
16521    ac_status=$?
16522 -  echo "$as_me:11138: \$? = $ac_status" >&5
16523 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16525 -  { (eval echo "$as_me:11140: \"$ac_try\"") >&5
16526 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16527    (eval $ac_try) 2>&5
16528    ac_status=$?
16529 -  echo "$as_me:11143: \$? = $ac_status" >&5
16530 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531    (exit $ac_status); }; }; then
16532    ac_cv_sizeof_long_long_int=`cat conftest.val`
16533  else
16534    echo "$as_me: program exited with status $ac_status" >&5
16535  echo "$as_me: failed program was:" >&5
16536 -cat conftest.$ac_ext >&5
16537 +sed 's/^/| /' conftest.$ac_ext >&5
16538 +
16539 +( exit $ac_status )
16540 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16541 +See \`config.log' for more details." >&5
16542 +echo "$as_me: error: cannot compute sizeof (long long int), 77
16543 +See \`config.log' for more details." >&2;}
16544 +   { (exit 1); exit 1; }; }
16545  fi
16546 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16547 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16548  fi
16549  fi
16550  rm -f conftest.val
16551 @@ -11156,11 +13629,13 @@
16552    ac_cv_sizeof_long_long_int=0
16553  fi
16554  fi
16555 -echo "$as_me:11159: result: $ac_cv_sizeof_long_long_int" >&5
16556 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
16557  echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
16558 -cat >>confdefs.h <<EOF
16559 +cat >>confdefs.h <<_ACEOF
16560  #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
16561 -EOF
16562 +_ACEOF
16563 +
16564 +
16565  
16566  # Sanity check long long for some platforms (AIX)
16567  if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
16568 @@ -11168,15 +13643,19 @@
16569  fi
16570  
16571  # More checks for data types
16572 -echo "$as_me:11171: checking for u_int type" >&5
16573 +echo "$as_me:$LINENO: checking for u_int type" >&5
16574  echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
16575  if test "${ac_cv_have_u_int+set}" = set; then
16576    echo $ECHO_N "(cached) $ECHO_C" >&6
16577  else
16578  
16579         cat >conftest.$ac_ext <<_ACEOF
16580 -#line 11178 "configure"
16581 -#include "confdefs.h"
16582 +#line $LINENO "configure"
16583 +/* confdefs.h.  */
16584 +_ACEOF
16585 +cat confdefs.h >>conftest.$ac_ext
16586 +cat >>conftest.$ac_ext <<_ACEOF
16587 +/* end confdefs.h.  */
16588   #include <sys/types.h>
16589  int
16590  main ()
16591 @@ -11187,46 +13666,51 @@
16592  }
16593  _ACEOF
16594  rm -f conftest.$ac_objext
16595 -if { (eval echo "$as_me:11190: \"$ac_compile\"") >&5
16596 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597    (eval $ac_compile) 2>&5
16598    ac_status=$?
16599 -  echo "$as_me:11193: \$? = $ac_status" >&5
16600 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601    (exit $ac_status); } &&
16602           { ac_try='test -s conftest.$ac_objext'
16603 -  { (eval echo "$as_me:11196: \"$ac_try\"") >&5
16604 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605    (eval $ac_try) 2>&5
16606    ac_status=$?
16607 -  echo "$as_me:11199: \$? = $ac_status" >&5
16608 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609    (exit $ac_status); }; }; then
16610     ac_cv_have_u_int="yes"
16611  else
16612    echo "$as_me: failed program was:" >&5
16613 -cat conftest.$ac_ext >&5
16614 +sed 's/^/| /' conftest.$ac_ext >&5
16615 +
16616   ac_cv_have_u_int="no"
16617  
16618  fi
16619  rm -f conftest.$ac_objext conftest.$ac_ext
16620  
16621  fi
16622 -echo "$as_me:11211: result: $ac_cv_have_u_int" >&5
16623 +echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
16624  echo "${ECHO_T}$ac_cv_have_u_int" >&6
16625  if test "x$ac_cv_have_u_int" = "xyes" ; then
16626 -       cat >>confdefs.h <<\EOF
16627 +       cat >>confdefs.h <<\_ACEOF
16628  #define HAVE_U_INT 1
16629 -EOF
16630 +_ACEOF
16631  
16632         have_u_int=1
16633  fi
16634  
16635 -echo "$as_me:11221: checking for intXX_t types" >&5
16636 +echo "$as_me:$LINENO: checking for intXX_t types" >&5
16637  echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
16638  if test "${ac_cv_have_intxx_t+set}" = set; then
16639    echo $ECHO_N "(cached) $ECHO_C" >&6
16640  else
16641  
16642         cat >conftest.$ac_ext <<_ACEOF
16643 -#line 11228 "configure"
16644 -#include "confdefs.h"
16645 +#line $LINENO "configure"
16646 +/* confdefs.h.  */
16647 +_ACEOF
16648 +cat confdefs.h >>conftest.$ac_ext
16649 +cat >>conftest.$ac_ext <<_ACEOF
16650 +/* end confdefs.h.  */
16651   #include <sys/types.h>
16652  int
16653  main ()
16654 @@ -11237,33 +13721,34 @@
16655  }
16656  _ACEOF
16657  rm -f conftest.$ac_objext
16658 -if { (eval echo "$as_me:11240: \"$ac_compile\"") >&5
16659 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16660    (eval $ac_compile) 2>&5
16661    ac_status=$?
16662 -  echo "$as_me:11243: \$? = $ac_status" >&5
16663 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664    (exit $ac_status); } &&
16665           { ac_try='test -s conftest.$ac_objext'
16666 -  { (eval echo "$as_me:11246: \"$ac_try\"") >&5
16667 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668    (eval $ac_try) 2>&5
16669    ac_status=$?
16670 -  echo "$as_me:11249: \$? = $ac_status" >&5
16671 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672    (exit $ac_status); }; }; then
16673     ac_cv_have_intxx_t="yes"
16674  else
16675    echo "$as_me: failed program was:" >&5
16676 -cat conftest.$ac_ext >&5
16677 +sed 's/^/| /' conftest.$ac_ext >&5
16678 +
16679   ac_cv_have_intxx_t="no"
16680  
16681  fi
16682  rm -f conftest.$ac_objext conftest.$ac_ext
16683  
16684  fi
16685 -echo "$as_me:11261: result: $ac_cv_have_intxx_t" >&5
16686 +echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
16687  echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
16688  if test "x$ac_cv_have_intxx_t" = "xyes" ; then
16689 -       cat >>confdefs.h <<\EOF
16690 +       cat >>confdefs.h <<\_ACEOF
16691  #define HAVE_INTXX_T 1
16692 -EOF
16693 +_ACEOF
16694  
16695         have_intxx_t=1
16696  fi
16697 @@ -11271,11 +13756,15 @@
16698  if (test -z "$have_intxx_t" && \
16699             test "x$ac_cv_header_stdint_h" = "xyes")
16700  then
16701 -    echo "$as_me:11274: checking for intXX_t types in stdint.h" >&5
16702 +    echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
16703  echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
16704         cat >conftest.$ac_ext <<_ACEOF
16705 -#line 11277 "configure"
16706 -#include "confdefs.h"
16707 +#line $LINENO "configure"
16708 +/* confdefs.h.  */
16709 +_ACEOF
16710 +cat confdefs.h >>conftest.$ac_ext
16711 +cat >>conftest.$ac_ext <<_ACEOF
16712 +/* end confdefs.h.  */
16713   #include <stdint.h>
16714  int
16715  main ()
16716 @@ -11286,44 +13775,49 @@
16717  }
16718  _ACEOF
16719  rm -f conftest.$ac_objext
16720 -if { (eval echo "$as_me:11289: \"$ac_compile\"") >&5
16721 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16722    (eval $ac_compile) 2>&5
16723    ac_status=$?
16724 -  echo "$as_me:11292: \$? = $ac_status" >&5
16725 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726    (exit $ac_status); } &&
16727           { ac_try='test -s conftest.$ac_objext'
16728 -  { (eval echo "$as_me:11295: \"$ac_try\"") >&5
16729 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730    (eval $ac_try) 2>&5
16731    ac_status=$?
16732 -  echo "$as_me:11298: \$? = $ac_status" >&5
16733 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734    (exit $ac_status); }; }; then
16735  
16736 -                       cat >>confdefs.h <<\EOF
16737 +                       cat >>confdefs.h <<\_ACEOF
16738  #define HAVE_INTXX_T 1
16739 -EOF
16740 +_ACEOF
16741  
16742 -                       echo "$as_me:11305: result: yes" >&5
16743 +                       echo "$as_me:$LINENO: result: yes" >&5
16744  echo "${ECHO_T}yes" >&6
16745  
16746  else
16747    echo "$as_me: failed program was:" >&5
16748 -cat conftest.$ac_ext >&5
16749 - echo "$as_me:11311: result: no" >&5
16750 +sed 's/^/| /' conftest.$ac_ext >&5
16751 +
16752 + echo "$as_me:$LINENO: result: no" >&5
16753  echo "${ECHO_T}no" >&6
16754  
16755  fi
16756  rm -f conftest.$ac_objext conftest.$ac_ext
16757  fi
16758  
16759 -echo "$as_me:11318: checking for int64_t type" >&5
16760 +echo "$as_me:$LINENO: checking for int64_t type" >&5
16761  echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
16762  if test "${ac_cv_have_int64_t+set}" = set; then
16763    echo $ECHO_N "(cached) $ECHO_C" >&6
16764  else
16765  
16766         cat >conftest.$ac_ext <<_ACEOF
16767 -#line 11325 "configure"
16768 -#include "confdefs.h"
16769 +#line $LINENO "configure"
16770 +/* confdefs.h.  */
16771 +_ACEOF
16772 +cat confdefs.h >>conftest.$ac_ext
16773 +cat >>conftest.$ac_ext <<_ACEOF
16774 +/* end confdefs.h.  */
16775  
16776  #include <sys/types.h>
16777  #ifdef HAVE_STDINT_H
16778 @@ -11343,45 +13837,50 @@
16779  }
16780  _ACEOF
16781  rm -f conftest.$ac_objext
16782 -if { (eval echo "$as_me:11346: \"$ac_compile\"") >&5
16783 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784    (eval $ac_compile) 2>&5
16785    ac_status=$?
16786 -  echo "$as_me:11349: \$? = $ac_status" >&5
16787 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788    (exit $ac_status); } &&
16789           { ac_try='test -s conftest.$ac_objext'
16790 -  { (eval echo "$as_me:11352: \"$ac_try\"") >&5
16791 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792    (eval $ac_try) 2>&5
16793    ac_status=$?
16794 -  echo "$as_me:11355: \$? = $ac_status" >&5
16795 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796    (exit $ac_status); }; }; then
16797     ac_cv_have_int64_t="yes"
16798  else
16799    echo "$as_me: failed program was:" >&5
16800 -cat conftest.$ac_ext >&5
16801 +sed 's/^/| /' conftest.$ac_ext >&5
16802 +
16803   ac_cv_have_int64_t="no"
16804  
16805  fi
16806  rm -f conftest.$ac_objext conftest.$ac_ext
16807  
16808  fi
16809 -echo "$as_me:11367: result: $ac_cv_have_int64_t" >&5
16810 +echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
16811  echo "${ECHO_T}$ac_cv_have_int64_t" >&6
16812  if test "x$ac_cv_have_int64_t" = "xyes" ; then
16813 -       cat >>confdefs.h <<\EOF
16814 +       cat >>confdefs.h <<\_ACEOF
16815  #define HAVE_INT64_T 1
16816 -EOF
16817 +_ACEOF
16818  
16819  fi
16820  
16821 -echo "$as_me:11376: checking for u_intXX_t types" >&5
16822 +echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
16823  echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
16824  if test "${ac_cv_have_u_intxx_t+set}" = set; then
16825    echo $ECHO_N "(cached) $ECHO_C" >&6
16826  else
16827  
16828         cat >conftest.$ac_ext <<_ACEOF
16829 -#line 11383 "configure"
16830 -#include "confdefs.h"
16831 +#line $LINENO "configure"
16832 +/* confdefs.h.  */
16833 +_ACEOF
16834 +cat confdefs.h >>conftest.$ac_ext
16835 +cat >>conftest.$ac_ext <<_ACEOF
16836 +/* end confdefs.h.  */
16837   #include <sys/types.h>
16838  int
16839  main ()
16840 @@ -11392,43 +13891,48 @@
16841  }
16842  _ACEOF
16843  rm -f conftest.$ac_objext
16844 -if { (eval echo "$as_me:11395: \"$ac_compile\"") >&5
16845 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846    (eval $ac_compile) 2>&5
16847    ac_status=$?
16848 -  echo "$as_me:11398: \$? = $ac_status" >&5
16849 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850    (exit $ac_status); } &&
16851           { ac_try='test -s conftest.$ac_objext'
16852 -  { (eval echo "$as_me:11401: \"$ac_try\"") >&5
16853 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854    (eval $ac_try) 2>&5
16855    ac_status=$?
16856 -  echo "$as_me:11404: \$? = $ac_status" >&5
16857 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858    (exit $ac_status); }; }; then
16859     ac_cv_have_u_intxx_t="yes"
16860  else
16861    echo "$as_me: failed program was:" >&5
16862 -cat conftest.$ac_ext >&5
16863 +sed 's/^/| /' conftest.$ac_ext >&5
16864 +
16865   ac_cv_have_u_intxx_t="no"
16866  
16867  fi
16868  rm -f conftest.$ac_objext conftest.$ac_ext
16869  
16870  fi
16871 -echo "$as_me:11416: result: $ac_cv_have_u_intxx_t" >&5
16872 +echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
16873  echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
16874  if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
16875 -       cat >>confdefs.h <<\EOF
16876 +       cat >>confdefs.h <<\_ACEOF
16877  #define HAVE_U_INTXX_T 1
16878 -EOF
16879 +_ACEOF
16880  
16881         have_u_intxx_t=1
16882  fi
16883  
16884  if test -z "$have_u_intxx_t" ; then
16885 -    echo "$as_me:11427: checking for u_intXX_t types in sys/socket.h" >&5
16886 +    echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
16887  echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
16888         cat >conftest.$ac_ext <<_ACEOF
16889 -#line 11430 "configure"
16890 -#include "confdefs.h"
16891 +#line $LINENO "configure"
16892 +/* confdefs.h.  */
16893 +_ACEOF
16894 +cat confdefs.h >>conftest.$ac_ext
16895 +cat >>conftest.$ac_ext <<_ACEOF
16896 +/* end confdefs.h.  */
16897   #include <sys/socket.h>
16898  int
16899  main ()
16900 @@ -11439,44 +13943,49 @@
16901  }
16902  _ACEOF
16903  rm -f conftest.$ac_objext
16904 -if { (eval echo "$as_me:11442: \"$ac_compile\"") >&5
16905 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906    (eval $ac_compile) 2>&5
16907    ac_status=$?
16908 -  echo "$as_me:11445: \$? = $ac_status" >&5
16909 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910    (exit $ac_status); } &&
16911           { ac_try='test -s conftest.$ac_objext'
16912 -  { (eval echo "$as_me:11448: \"$ac_try\"") >&5
16913 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914    (eval $ac_try) 2>&5
16915    ac_status=$?
16916 -  echo "$as_me:11451: \$? = $ac_status" >&5
16917 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918    (exit $ac_status); }; }; then
16919  
16920 -                       cat >>confdefs.h <<\EOF
16921 +                       cat >>confdefs.h <<\_ACEOF
16922  #define HAVE_U_INTXX_T 1
16923 -EOF
16924 +_ACEOF
16925  
16926 -                       echo "$as_me:11458: result: yes" >&5
16927 +                       echo "$as_me:$LINENO: result: yes" >&5
16928  echo "${ECHO_T}yes" >&6
16929  
16930  else
16931    echo "$as_me: failed program was:" >&5
16932 -cat conftest.$ac_ext >&5
16933 - echo "$as_me:11464: result: no" >&5
16934 +sed 's/^/| /' conftest.$ac_ext >&5
16935 +
16936 + echo "$as_me:$LINENO: result: no" >&5
16937  echo "${ECHO_T}no" >&6
16938  
16939  fi
16940  rm -f conftest.$ac_objext conftest.$ac_ext
16941  fi
16942  
16943 -echo "$as_me:11471: checking for u_int64_t types" >&5
16944 +echo "$as_me:$LINENO: checking for u_int64_t types" >&5
16945  echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
16946  if test "${ac_cv_have_u_int64_t+set}" = set; then
16947    echo $ECHO_N "(cached) $ECHO_C" >&6
16948  else
16949  
16950         cat >conftest.$ac_ext <<_ACEOF
16951 -#line 11478 "configure"
16952 -#include "confdefs.h"
16953 +#line $LINENO "configure"
16954 +/* confdefs.h.  */
16955 +_ACEOF
16956 +cat confdefs.h >>conftest.$ac_ext
16957 +cat >>conftest.$ac_ext <<_ACEOF
16958 +/* end confdefs.h.  */
16959   #include <sys/types.h>
16960  int
16961  main ()
16962 @@ -11487,43 +13996,48 @@
16963  }
16964  _ACEOF
16965  rm -f conftest.$ac_objext
16966 -if { (eval echo "$as_me:11490: \"$ac_compile\"") >&5
16967 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968    (eval $ac_compile) 2>&5
16969    ac_status=$?
16970 -  echo "$as_me:11493: \$? = $ac_status" >&5
16971 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972    (exit $ac_status); } &&
16973           { ac_try='test -s conftest.$ac_objext'
16974 -  { (eval echo "$as_me:11496: \"$ac_try\"") >&5
16975 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976    (eval $ac_try) 2>&5
16977    ac_status=$?
16978 -  echo "$as_me:11499: \$? = $ac_status" >&5
16979 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980    (exit $ac_status); }; }; then
16981     ac_cv_have_u_int64_t="yes"
16982  else
16983    echo "$as_me: failed program was:" >&5
16984 -cat conftest.$ac_ext >&5
16985 +sed 's/^/| /' conftest.$ac_ext >&5
16986 +
16987   ac_cv_have_u_int64_t="no"
16988  
16989  fi
16990  rm -f conftest.$ac_objext conftest.$ac_ext
16991  
16992  fi
16993 -echo "$as_me:11511: result: $ac_cv_have_u_int64_t" >&5
16994 +echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
16995  echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
16996  if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
16997 -       cat >>confdefs.h <<\EOF
16998 +       cat >>confdefs.h <<\_ACEOF
16999  #define HAVE_U_INT64_T 1
17000 -EOF
17001 +_ACEOF
17002  
17003         have_u_int64_t=1
17004  fi
17005  
17006  if test -z "$have_u_int64_t" ; then
17007 -    echo "$as_me:11522: checking for u_int64_t type in sys/bitypes.h" >&5
17008 +    echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
17009  echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
17010         cat >conftest.$ac_ext <<_ACEOF
17011 -#line 11525 "configure"
17012 -#include "confdefs.h"
17013 +#line $LINENO "configure"
17014 +/* confdefs.h.  */
17015 +_ACEOF
17016 +cat confdefs.h >>conftest.$ac_ext
17017 +cat >>conftest.$ac_ext <<_ACEOF
17018 +/* end confdefs.h.  */
17019   #include <sys/bitypes.h>
17020  int
17021  main ()
17022 @@ -11534,29 +14048,30 @@
17023  }
17024  _ACEOF
17025  rm -f conftest.$ac_objext
17026 -if { (eval echo "$as_me:11537: \"$ac_compile\"") >&5
17027 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17028    (eval $ac_compile) 2>&5
17029    ac_status=$?
17030 -  echo "$as_me:11540: \$? = $ac_status" >&5
17031 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032    (exit $ac_status); } &&
17033           { ac_try='test -s conftest.$ac_objext'
17034 -  { (eval echo "$as_me:11543: \"$ac_try\"") >&5
17035 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036    (eval $ac_try) 2>&5
17037    ac_status=$?
17038 -  echo "$as_me:11546: \$? = $ac_status" >&5
17039 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040    (exit $ac_status); }; }; then
17041  
17042 -                       cat >>confdefs.h <<\EOF
17043 +                       cat >>confdefs.h <<\_ACEOF
17044  #define HAVE_U_INT64_T 1
17045 -EOF
17046 +_ACEOF
17047  
17048 -                       echo "$as_me:11553: result: yes" >&5
17049 +                       echo "$as_me:$LINENO: result: yes" >&5
17050  echo "${ECHO_T}yes" >&6
17051  
17052  else
17053    echo "$as_me: failed program was:" >&5
17054 -cat conftest.$ac_ext >&5
17055 - echo "$as_me:11559: result: no" >&5
17056 +sed 's/^/| /' conftest.$ac_ext >&5
17057 +
17058 + echo "$as_me:$LINENO: result: no" >&5
17059  echo "${ECHO_T}no" >&6
17060  
17061  fi
17062 @@ -11564,15 +14079,19 @@
17063  fi
17064  
17065  if test -z "$have_u_intxx_t" ; then
17066 -       echo "$as_me:11567: checking for uintXX_t types" >&5
17067 +       echo "$as_me:$LINENO: checking for uintXX_t types" >&5
17068  echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
17069  if test "${ac_cv_have_uintxx_t+set}" = set; then
17070    echo $ECHO_N "(cached) $ECHO_C" >&6
17071  else
17072  
17073                 cat >conftest.$ac_ext <<_ACEOF
17074 -#line 11574 "configure"
17075 -#include "confdefs.h"
17076 +#line $LINENO "configure"
17077 +/* confdefs.h.  */
17078 +_ACEOF
17079 +cat confdefs.h >>conftest.$ac_ext
17080 +cat >>conftest.$ac_ext <<_ACEOF
17081 +/* end confdefs.h.  */
17082  
17083  #include <sys/types.h>
17084  
17085 @@ -11585,43 +14104,48 @@
17086  }
17087  _ACEOF
17088  rm -f conftest.$ac_objext
17089 -if { (eval echo "$as_me:11588: \"$ac_compile\"") >&5
17090 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17091    (eval $ac_compile) 2>&5
17092    ac_status=$?
17093 -  echo "$as_me:11591: \$? = $ac_status" >&5
17094 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095    (exit $ac_status); } &&
17096           { ac_try='test -s conftest.$ac_objext'
17097 -  { (eval echo "$as_me:11594: \"$ac_try\"") >&5
17098 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099    (eval $ac_try) 2>&5
17100    ac_status=$?
17101 -  echo "$as_me:11597: \$? = $ac_status" >&5
17102 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103    (exit $ac_status); }; }; then
17104     ac_cv_have_uintxx_t="yes"
17105  else
17106    echo "$as_me: failed program was:" >&5
17107 -cat conftest.$ac_ext >&5
17108 +sed 's/^/| /' conftest.$ac_ext >&5
17109 +
17110   ac_cv_have_uintxx_t="no"
17111  
17112  fi
17113  rm -f conftest.$ac_objext conftest.$ac_ext
17114  
17115  fi
17116 -echo "$as_me:11609: result: $ac_cv_have_uintxx_t" >&5
17117 +echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
17118  echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
17119         if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
17120 -               cat >>confdefs.h <<\EOF
17121 +               cat >>confdefs.h <<\_ACEOF
17122  #define HAVE_UINTXX_T 1
17123 -EOF
17124 +_ACEOF
17125  
17126         fi
17127  fi
17128  
17129  if test -z "$have_uintxx_t" ; then
17130 -    echo "$as_me:11620: checking for uintXX_t types in stdint.h" >&5
17131 +    echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
17132  echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
17133         cat >conftest.$ac_ext <<_ACEOF
17134 -#line 11623 "configure"
17135 -#include "confdefs.h"
17136 +#line $LINENO "configure"
17137 +/* confdefs.h.  */
17138 +_ACEOF
17139 +cat confdefs.h >>conftest.$ac_ext
17140 +cat >>conftest.$ac_ext <<_ACEOF
17141 +/* end confdefs.h.  */
17142   #include <stdint.h>
17143  int
17144  main ()
17145 @@ -11632,29 +14156,30 @@
17146  }
17147  _ACEOF
17148  rm -f conftest.$ac_objext
17149 -if { (eval echo "$as_me:11635: \"$ac_compile\"") >&5
17150 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151    (eval $ac_compile) 2>&5
17152    ac_status=$?
17153 -  echo "$as_me:11638: \$? = $ac_status" >&5
17154 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155    (exit $ac_status); } &&
17156           { ac_try='test -s conftest.$ac_objext'
17157 -  { (eval echo "$as_me:11641: \"$ac_try\"") >&5
17158 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159    (eval $ac_try) 2>&5
17160    ac_status=$?
17161 -  echo "$as_me:11644: \$? = $ac_status" >&5
17162 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163    (exit $ac_status); }; }; then
17164  
17165 -                       cat >>confdefs.h <<\EOF
17166 +                       cat >>confdefs.h <<\_ACEOF
17167  #define HAVE_UINTXX_T 1
17168 -EOF
17169 +_ACEOF
17170  
17171 -                       echo "$as_me:11651: result: yes" >&5
17172 +                       echo "$as_me:$LINENO: result: yes" >&5
17173  echo "${ECHO_T}yes" >&6
17174  
17175  else
17176    echo "$as_me: failed program was:" >&5
17177 -cat conftest.$ac_ext >&5
17178 - echo "$as_me:11657: result: no" >&5
17179 +sed 's/^/| /' conftest.$ac_ext >&5
17180 +
17181 + echo "$as_me:$LINENO: result: no" >&5
17182  echo "${ECHO_T}no" >&6
17183  
17184  fi
17185 @@ -11664,11 +14189,15 @@
17186  if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
17187             test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17188  then
17189 -       echo "$as_me:11667: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
17190 +       echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
17191  echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
17192         cat >conftest.$ac_ext <<_ACEOF
17193 -#line 11670 "configure"
17194 -#include "confdefs.h"
17195 +#line $LINENO "configure"
17196 +/* confdefs.h.  */
17197 +_ACEOF
17198 +cat confdefs.h >>conftest.$ac_ext
17199 +cat >>conftest.$ac_ext <<_ACEOF
17200 +/* end confdefs.h.  */
17201  
17202  #include <sys/bitypes.h>
17203  
17204 @@ -11685,48 +14214,54 @@
17205  }
17206  _ACEOF
17207  rm -f conftest.$ac_objext
17208 -if { (eval echo "$as_me:11688: \"$ac_compile\"") >&5
17209 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210    (eval $ac_compile) 2>&5
17211    ac_status=$?
17212 -  echo "$as_me:11691: \$? = $ac_status" >&5
17213 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214    (exit $ac_status); } &&
17215           { ac_try='test -s conftest.$ac_objext'
17216 -  { (eval echo "$as_me:11694: \"$ac_try\"") >&5
17217 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218    (eval $ac_try) 2>&5
17219    ac_status=$?
17220 -  echo "$as_me:11697: \$? = $ac_status" >&5
17221 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222    (exit $ac_status); }; }; then
17223  
17224 -                       cat >>confdefs.h <<\EOF
17225 +                       cat >>confdefs.h <<\_ACEOF
17226  #define HAVE_U_INTXX_T 1
17227 -EOF
17228 +_ACEOF
17229  
17230 -                       cat >>confdefs.h <<\EOF
17231 +                       cat >>confdefs.h <<\_ACEOF
17232  #define HAVE_INTXX_T 1
17233 -EOF
17234 +_ACEOF
17235  
17236 -                       echo "$as_me:11708: result: yes" >&5
17237 +                       echo "$as_me:$LINENO: result: yes" >&5
17238  echo "${ECHO_T}yes" >&6
17239  
17240  else
17241    echo "$as_me: failed program was:" >&5
17242 -cat conftest.$ac_ext >&5
17243 -echo "$as_me:11714: result: no" >&5
17244 +sed 's/^/| /' conftest.$ac_ext >&5
17245 +
17246 +echo "$as_me:$LINENO: result: no" >&5
17247  echo "${ECHO_T}no" >&6
17248  
17249  fi
17250  rm -f conftest.$ac_objext conftest.$ac_ext
17251  fi
17252  
17253 -echo "$as_me:11721: checking for u_char" >&5
17254 +
17255 +echo "$as_me:$LINENO: checking for u_char" >&5
17256  echo $ECHO_N "checking for u_char... $ECHO_C" >&6
17257  if test "${ac_cv_have_u_char+set}" = set; then
17258    echo $ECHO_N "(cached) $ECHO_C" >&6
17259  else
17260  
17261         cat >conftest.$ac_ext <<_ACEOF
17262 -#line 11728 "configure"
17263 -#include "confdefs.h"
17264 +#line $LINENO "configure"
17265 +/* confdefs.h.  */
17266 +_ACEOF
17267 +cat confdefs.h >>conftest.$ac_ext
17268 +cat >>conftest.$ac_ext <<_ACEOF
17269 +/* end confdefs.h.  */
17270  
17271  #include <sys/types.h>
17272  
17273 @@ -11739,44 +14274,50 @@
17274  }
17275  _ACEOF
17276  rm -f conftest.$ac_objext
17277 -if { (eval echo "$as_me:11742: \"$ac_compile\"") >&5
17278 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17279    (eval $ac_compile) 2>&5
17280    ac_status=$?
17281 -  echo "$as_me:11745: \$? = $ac_status" >&5
17282 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283    (exit $ac_status); } &&
17284           { ac_try='test -s conftest.$ac_objext'
17285 -  { (eval echo "$as_me:11748: \"$ac_try\"") >&5
17286 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287    (eval $ac_try) 2>&5
17288    ac_status=$?
17289 -  echo "$as_me:11751: \$? = $ac_status" >&5
17290 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291    (exit $ac_status); }; }; then
17292     ac_cv_have_u_char="yes"
17293  else
17294    echo "$as_me: failed program was:" >&5
17295 -cat conftest.$ac_ext >&5
17296 +sed 's/^/| /' conftest.$ac_ext >&5
17297 +
17298   ac_cv_have_u_char="no"
17299  
17300  fi
17301  rm -f conftest.$ac_objext conftest.$ac_ext
17302  
17303  fi
17304 -echo "$as_me:11763: result: $ac_cv_have_u_char" >&5
17305 +echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
17306  echo "${ECHO_T}$ac_cv_have_u_char" >&6
17307  if test "x$ac_cv_have_u_char" = "xyes" ; then
17308 -       cat >>confdefs.h <<\EOF
17309 +       cat >>confdefs.h <<\_ACEOF
17310  #define HAVE_U_CHAR 1
17311 -EOF
17312 +_ACEOF
17313  
17314  fi
17315  
17316 -   echo "$as_me:11772: checking for socklen_t" >&5
17317 +
17318 +   echo "$as_me:$LINENO: checking for socklen_t" >&5
17319  echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
17320  if test "${ac_cv_type_socklen_t+set}" = set; then
17321    echo $ECHO_N "(cached) $ECHO_C" >&6
17322  else
17323    cat >conftest.$ac_ext <<_ACEOF
17324 -#line 11778 "configure"
17325 -#include "confdefs.h"
17326 +#line $LINENO "configure"
17327 +/* confdefs.h.  */
17328 +_ACEOF
17329 +cat confdefs.h >>conftest.$ac_ext
17330 +cat >>conftest.$ac_ext <<_ACEOF
17331 +/* end confdefs.h.  */
17332  #include <sys/types.h>
17333  #include <sys/socket.h>
17334  
17335 @@ -11792,32 +14333,33 @@
17336  }
17337  _ACEOF
17338  rm -f conftest.$ac_objext
17339 -if { (eval echo "$as_me:11795: \"$ac_compile\"") >&5
17340 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341    (eval $ac_compile) 2>&5
17342    ac_status=$?
17343 -  echo "$as_me:11798: \$? = $ac_status" >&5
17344 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345    (exit $ac_status); } &&
17346           { ac_try='test -s conftest.$ac_objext'
17347 -  { (eval echo "$as_me:11801: \"$ac_try\"") >&5
17348 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349    (eval $ac_try) 2>&5
17350    ac_status=$?
17351 -  echo "$as_me:11804: \$? = $ac_status" >&5
17352 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353    (exit $ac_status); }; }; then
17354    ac_cv_type_socklen_t=yes
17355  else
17356    echo "$as_me: failed program was:" >&5
17357 -cat conftest.$ac_ext >&5
17358 +sed 's/^/| /' conftest.$ac_ext >&5
17359 +
17360  ac_cv_type_socklen_t=no
17361  fi
17362  rm -f conftest.$ac_objext conftest.$ac_ext
17363  fi
17364 -echo "$as_me:11814: result: $ac_cv_type_socklen_t" >&5
17365 +echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
17366  echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
17367  if test $ac_cv_type_socklen_t = yes; then
17368    :
17369  else
17370  
17371 -      echo "$as_me:11820: checking for socklen_t equivalent" >&5
17372 +      echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
17373  echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
17374        if test "${curl_cv_socklen_t_equiv+set}" = set; then
17375    echo $ECHO_N "(cached) $ECHO_C" >&6
17376 @@ -11829,8 +14371,12 @@
17377          for arg2 in "struct sockaddr" void; do
17378             for t in int size_t unsigned long "unsigned long"; do
17379                cat >conftest.$ac_ext <<_ACEOF
17380 -#line 11832 "configure"
17381 -#include "confdefs.h"
17382 +#line $LINENO "configure"
17383 +/* confdefs.h.  */
17384 +_ACEOF
17385 +cat confdefs.h >>conftest.$ac_ext
17386 +cat >>conftest.$ac_ext <<_ACEOF
17387 +/* end confdefs.h.  */
17388  
17389                   #include <sys/types.h>
17390                   #include <sys/socket.h>
17391 @@ -11849,16 +14395,16 @@
17392  }
17393  _ACEOF
17394  rm -f conftest.$ac_objext
17395 -if { (eval echo "$as_me:11852: \"$ac_compile\"") >&5
17396 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397    (eval $ac_compile) 2>&5
17398    ac_status=$?
17399 -  echo "$as_me:11855: \$? = $ac_status" >&5
17400 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401    (exit $ac_status); } &&
17402           { ac_try='test -s conftest.$ac_objext'
17403 -  { (eval echo "$as_me:11858: \"$ac_try\"") >&5
17404 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405    (eval $ac_try) 2>&5
17406    ac_status=$?
17407 -  echo "$as_me:11861: \$? = $ac_status" >&5
17408 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409    (exit $ac_status); }; }; then
17410  
17411                   curl_cv_socklen_t_equiv="$t"
17412 @@ -11866,37 +14412,44 @@
17413  
17414  else
17415    echo "$as_me: failed program was:" >&5
17416 -cat conftest.$ac_ext >&5
17417 +sed 's/^/| /' conftest.$ac_ext >&5
17418 +
17419  fi
17420  rm -f conftest.$ac_objext conftest.$ac_ext
17421             done
17422          done
17423  
17424          if test "x$curl_cv_socklen_t_equiv" = x; then
17425 -           { { echo "$as_me:11876: error: Cannot find a type to use in place of socklen_t" >&5
17426 +           { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
17427  echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
17428     { (exit 1); exit 1; }; }
17429          fi
17430  
17431  fi
17432  
17433 -      echo "$as_me:11883: result: $curl_cv_socklen_t_equiv" >&5
17434 +      echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
17435  echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
17436  
17437 -cat >>confdefs.h <<EOF
17438 +cat >>confdefs.h <<_ACEOF
17439  #define socklen_t $curl_cv_socklen_t_equiv
17440 -EOF
17441 +_ACEOF
17442  
17443  fi
17444  
17445 -echo "$as_me:11892: checking for sig_atomic_t" >&5
17446 +
17447 +
17448 +echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
17449  echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
17450  if test "${ac_cv_type_sig_atomic_t+set}" = set; then
17451    echo $ECHO_N "(cached) $ECHO_C" >&6
17452  else
17453    cat >conftest.$ac_ext <<_ACEOF
17454 -#line 11898 "configure"
17455 -#include "confdefs.h"
17456 +#line $LINENO "configure"
17457 +/* confdefs.h.  */
17458 +_ACEOF
17459 +cat confdefs.h >>conftest.$ac_ext
17460 +cat >>conftest.$ac_ext <<_ACEOF
17461 +/* end confdefs.h.  */
17462  #include <signal.h>
17463  
17464  int
17465 @@ -11911,44 +14464,51 @@
17466  }
17467  _ACEOF
17468  rm -f conftest.$ac_objext
17469 -if { (eval echo "$as_me:11914: \"$ac_compile\"") >&5
17470 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471    (eval $ac_compile) 2>&5
17472    ac_status=$?
17473 -  echo "$as_me:11917: \$? = $ac_status" >&5
17474 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475    (exit $ac_status); } &&
17476           { ac_try='test -s conftest.$ac_objext'
17477 -  { (eval echo "$as_me:11920: \"$ac_try\"") >&5
17478 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479    (eval $ac_try) 2>&5
17480    ac_status=$?
17481 -  echo "$as_me:11923: \$? = $ac_status" >&5
17482 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483    (exit $ac_status); }; }; then
17484    ac_cv_type_sig_atomic_t=yes
17485  else
17486    echo "$as_me: failed program was:" >&5
17487 -cat conftest.$ac_ext >&5
17488 +sed 's/^/| /' conftest.$ac_ext >&5
17489 +
17490  ac_cv_type_sig_atomic_t=no
17491  fi
17492  rm -f conftest.$ac_objext conftest.$ac_ext
17493  fi
17494 -echo "$as_me:11933: result: $ac_cv_type_sig_atomic_t" >&5
17495 +echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
17496  echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
17497  if test $ac_cv_type_sig_atomic_t = yes; then
17498  
17499 -cat >>confdefs.h <<EOF
17500 +cat >>confdefs.h <<_ACEOF
17501  #define HAVE_SIG_ATOMIC_T 1
17502 -EOF
17503 +_ACEOF
17504 +
17505  
17506  fi
17507  
17508 -echo "$as_me:11943: checking for size_t" >&5
17509 +
17510 +echo "$as_me:$LINENO: checking for size_t" >&5
17511  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17512  if test "${ac_cv_have_size_t+set}" = set; then
17513    echo $ECHO_N "(cached) $ECHO_C" >&6
17514  else
17515  
17516         cat >conftest.$ac_ext <<_ACEOF
17517 -#line 11950 "configure"
17518 -#include "confdefs.h"
17519 +#line $LINENO "configure"
17520 +/* confdefs.h.  */
17521 +_ACEOF
17522 +cat confdefs.h >>conftest.$ac_ext
17523 +cat >>conftest.$ac_ext <<_ACEOF
17524 +/* end confdefs.h.  */
17525  
17526  #include <sys/types.h>
17527  
17528 @@ -11961,45 +14521,50 @@
17529  }
17530  _ACEOF
17531  rm -f conftest.$ac_objext
17532 -if { (eval echo "$as_me:11964: \"$ac_compile\"") >&5
17533 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17534    (eval $ac_compile) 2>&5
17535    ac_status=$?
17536 -  echo "$as_me:11967: \$? = $ac_status" >&5
17537 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538    (exit $ac_status); } &&
17539           { ac_try='test -s conftest.$ac_objext'
17540 -  { (eval echo "$as_me:11970: \"$ac_try\"") >&5
17541 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542    (eval $ac_try) 2>&5
17543    ac_status=$?
17544 -  echo "$as_me:11973: \$? = $ac_status" >&5
17545 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546    (exit $ac_status); }; }; then
17547     ac_cv_have_size_t="yes"
17548  else
17549    echo "$as_me: failed program was:" >&5
17550 -cat conftest.$ac_ext >&5
17551 +sed 's/^/| /' conftest.$ac_ext >&5
17552 +
17553   ac_cv_have_size_t="no"
17554  
17555  fi
17556  rm -f conftest.$ac_objext conftest.$ac_ext
17557  
17558  fi
17559 -echo "$as_me:11985: result: $ac_cv_have_size_t" >&5
17560 +echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
17561  echo "${ECHO_T}$ac_cv_have_size_t" >&6
17562  if test "x$ac_cv_have_size_t" = "xyes" ; then
17563 -       cat >>confdefs.h <<\EOF
17564 +       cat >>confdefs.h <<\_ACEOF
17565  #define HAVE_SIZE_T 1
17566 -EOF
17567 +_ACEOF
17568  
17569  fi
17570  
17571 -echo "$as_me:11994: checking for ssize_t" >&5
17572 +echo "$as_me:$LINENO: checking for ssize_t" >&5
17573  echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17574  if test "${ac_cv_have_ssize_t+set}" = set; then
17575    echo $ECHO_N "(cached) $ECHO_C" >&6
17576  else
17577  
17578         cat >conftest.$ac_ext <<_ACEOF
17579 -#line 12001 "configure"
17580 -#include "confdefs.h"
17581 +#line $LINENO "configure"
17582 +/* confdefs.h.  */
17583 +_ACEOF
17584 +cat confdefs.h >>conftest.$ac_ext
17585 +cat >>conftest.$ac_ext <<_ACEOF
17586 +/* end confdefs.h.  */
17587  
17588  #include <sys/types.h>
17589  
17590 @@ -12012,45 +14577,50 @@
17591  }
17592  _ACEOF
17593  rm -f conftest.$ac_objext
17594 -if { (eval echo "$as_me:12015: \"$ac_compile\"") >&5
17595 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596    (eval $ac_compile) 2>&5
17597    ac_status=$?
17598 -  echo "$as_me:12018: \$? = $ac_status" >&5
17599 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600    (exit $ac_status); } &&
17601           { ac_try='test -s conftest.$ac_objext'
17602 -  { (eval echo "$as_me:12021: \"$ac_try\"") >&5
17603 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604    (eval $ac_try) 2>&5
17605    ac_status=$?
17606 -  echo "$as_me:12024: \$? = $ac_status" >&5
17607 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608    (exit $ac_status); }; }; then
17609     ac_cv_have_ssize_t="yes"
17610  else
17611    echo "$as_me: failed program was:" >&5
17612 -cat conftest.$ac_ext >&5
17613 +sed 's/^/| /' conftest.$ac_ext >&5
17614 +
17615   ac_cv_have_ssize_t="no"
17616  
17617  fi
17618  rm -f conftest.$ac_objext conftest.$ac_ext
17619  
17620  fi
17621 -echo "$as_me:12036: result: $ac_cv_have_ssize_t" >&5
17622 +echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
17623  echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
17624  if test "x$ac_cv_have_ssize_t" = "xyes" ; then
17625 -       cat >>confdefs.h <<\EOF
17626 +       cat >>confdefs.h <<\_ACEOF
17627  #define HAVE_SSIZE_T 1
17628 -EOF
17629 +_ACEOF
17630  
17631  fi
17632  
17633 -echo "$as_me:12045: checking for clock_t" >&5
17634 +echo "$as_me:$LINENO: checking for clock_t" >&5
17635  echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
17636  if test "${ac_cv_have_clock_t+set}" = set; then
17637    echo $ECHO_N "(cached) $ECHO_C" >&6
17638  else
17639  
17640         cat >conftest.$ac_ext <<_ACEOF
17641 -#line 12052 "configure"
17642 -#include "confdefs.h"
17643 +#line $LINENO "configure"
17644 +/* confdefs.h.  */
17645 +_ACEOF
17646 +cat confdefs.h >>conftest.$ac_ext
17647 +cat >>conftest.$ac_ext <<_ACEOF
17648 +/* end confdefs.h.  */
17649  
17650  #include <time.h>
17651  
17652 @@ -12063,45 +14633,50 @@
17653  }
17654  _ACEOF
17655  rm -f conftest.$ac_objext
17656 -if { (eval echo "$as_me:12066: \"$ac_compile\"") >&5
17657 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17658    (eval $ac_compile) 2>&5
17659    ac_status=$?
17660 -  echo "$as_me:12069: \$? = $ac_status" >&5
17661 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662    (exit $ac_status); } &&
17663           { ac_try='test -s conftest.$ac_objext'
17664 -  { (eval echo "$as_me:12072: \"$ac_try\"") >&5
17665 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666    (eval $ac_try) 2>&5
17667    ac_status=$?
17668 -  echo "$as_me:12075: \$? = $ac_status" >&5
17669 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670    (exit $ac_status); }; }; then
17671     ac_cv_have_clock_t="yes"
17672  else
17673    echo "$as_me: failed program was:" >&5
17674 -cat conftest.$ac_ext >&5
17675 +sed 's/^/| /' conftest.$ac_ext >&5
17676 +
17677   ac_cv_have_clock_t="no"
17678  
17679  fi
17680  rm -f conftest.$ac_objext conftest.$ac_ext
17681  
17682  fi
17683 -echo "$as_me:12087: result: $ac_cv_have_clock_t" >&5
17684 +echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
17685  echo "${ECHO_T}$ac_cv_have_clock_t" >&6
17686  if test "x$ac_cv_have_clock_t" = "xyes" ; then
17687 -       cat >>confdefs.h <<\EOF
17688 +       cat >>confdefs.h <<\_ACEOF
17689  #define HAVE_CLOCK_T 1
17690 -EOF
17691 +_ACEOF
17692  
17693  fi
17694  
17695 -echo "$as_me:12096: checking for sa_family_t" >&5
17696 +echo "$as_me:$LINENO: checking for sa_family_t" >&5
17697  echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
17698  if test "${ac_cv_have_sa_family_t+set}" = set; then
17699    echo $ECHO_N "(cached) $ECHO_C" >&6
17700  else
17701  
17702         cat >conftest.$ac_ext <<_ACEOF
17703 -#line 12103 "configure"
17704 -#include "confdefs.h"
17705 +#line $LINENO "configure"
17706 +/* confdefs.h.  */
17707 +_ACEOF
17708 +cat confdefs.h >>conftest.$ac_ext
17709 +cat >>conftest.$ac_ext <<_ACEOF
17710 +/* end confdefs.h.  */
17711  
17712  #include <sys/types.h>
17713  #include <sys/socket.h>
17714 @@ -12115,24 +14690,29 @@
17715  }
17716  _ACEOF
17717  rm -f conftest.$ac_objext
17718 -if { (eval echo "$as_me:12118: \"$ac_compile\"") >&5
17719 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720    (eval $ac_compile) 2>&5
17721    ac_status=$?
17722 -  echo "$as_me:12121: \$? = $ac_status" >&5
17723 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724    (exit $ac_status); } &&
17725           { ac_try='test -s conftest.$ac_objext'
17726 -  { (eval echo "$as_me:12124: \"$ac_try\"") >&5
17727 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728    (eval $ac_try) 2>&5
17729    ac_status=$?
17730 -  echo "$as_me:12127: \$? = $ac_status" >&5
17731 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732    (exit $ac_status); }; }; then
17733     ac_cv_have_sa_family_t="yes"
17734  else
17735    echo "$as_me: failed program was:" >&5
17736 -cat conftest.$ac_ext >&5
17737 - cat >conftest.$ac_ext <<_ACEOF
17738 -#line 12134 "configure"
17739 -#include "confdefs.h"
17740 +sed 's/^/| /' conftest.$ac_ext >&5
17741 +
17742 + _au_changequote(,)cat >conftest.$ac_ext <<_ACEOF
17743 +#line $LINENO "configure"
17744 +/* confdefs.h.  */
17745 +_ACEOF
17746 +cat confdefs.h >>conftest.$ac_ext
17747 +cat >>conftest.$ac_ext <<_ACEOF
17748 +/* end confdefs.h.  */
17749  
17750  #include <sys/types.h>
17751  #include <sys/socket.h>
17752 @@ -12147,21 +14727,22 @@
17753  }
17754  _ACEOF
17755  rm -f conftest.$ac_objext
17756 -if { (eval echo "$as_me:12150: \"$ac_compile\"") >&5
17757 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758    (eval $ac_compile) 2>&5
17759    ac_status=$?
17760 -  echo "$as_me:12153: \$? = $ac_status" >&5
17761 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762    (exit $ac_status); } &&
17763           { ac_try='test -s conftest.$ac_objext'
17764 -  { (eval echo "$as_me:12156: \"$ac_try\"") >&5
17765 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766    (eval $ac_try) 2>&5
17767    ac_status=$?
17768 -  echo "$as_me:12159: \$? = $ac_status" >&5
17769 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770    (exit $ac_status); }; }; then
17771     ac_cv_have_sa_family_t="yes"
17772  else
17773    echo "$as_me: failed program was:" >&5
17774 -cat conftest.$ac_ext >&5
17775 +sed 's/^/| /' conftest.$ac_ext >&5
17776 +
17777   ac_cv_have_sa_family_t="no"
17778  
17779  fi
17780 @@ -12171,24 +14752,28 @@
17781  rm -f conftest.$ac_objext conftest.$ac_ext
17782  
17783  fi
17784 -echo "$as_me:12174: result: $ac_cv_have_sa_family_t" >&5
17785 +echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
17786  echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
17787  if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
17788 -       cat >>confdefs.h <<\EOF
17789 +       cat >>confdefs.h <<\_ACEOF
17790  #define HAVE_SA_FAMILY_T 1
17791 -EOF
17792 +_ACEOF
17793  
17794  fi
17795  
17796 -echo "$as_me:12183: checking for pid_t" >&5
17797 +echo "$as_me:$LINENO: checking for pid_t" >&5
17798  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17799  if test "${ac_cv_have_pid_t+set}" = set; then
17800    echo $ECHO_N "(cached) $ECHO_C" >&6
17801  else
17802  
17803         cat >conftest.$ac_ext <<_ACEOF
17804 -#line 12190 "configure"
17805 -#include "confdefs.h"
17806 +#line $LINENO "configure"
17807 +/* confdefs.h.  */
17808 +_ACEOF
17809 +cat confdefs.h >>conftest.$ac_ext
17810 +cat >>conftest.$ac_ext <<_ACEOF
17811 +/* end confdefs.h.  */
17812  
17813  #include <sys/types.h>
17814  
17815 @@ -12201,45 +14786,50 @@
17816  }
17817  _ACEOF
17818  rm -f conftest.$ac_objext
17819 -if { (eval echo "$as_me:12204: \"$ac_compile\"") >&5
17820 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17821    (eval $ac_compile) 2>&5
17822    ac_status=$?
17823 -  echo "$as_me:12207: \$? = $ac_status" >&5
17824 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825    (exit $ac_status); } &&
17826           { ac_try='test -s conftest.$ac_objext'
17827 -  { (eval echo "$as_me:12210: \"$ac_try\"") >&5
17828 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829    (eval $ac_try) 2>&5
17830    ac_status=$?
17831 -  echo "$as_me:12213: \$? = $ac_status" >&5
17832 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833    (exit $ac_status); }; }; then
17834     ac_cv_have_pid_t="yes"
17835  else
17836    echo "$as_me: failed program was:" >&5
17837 -cat conftest.$ac_ext >&5
17838 +sed 's/^/| /' conftest.$ac_ext >&5
17839 +
17840   ac_cv_have_pid_t="no"
17841  
17842  fi
17843  rm -f conftest.$ac_objext conftest.$ac_ext
17844  
17845  fi
17846 -echo "$as_me:12225: result: $ac_cv_have_pid_t" >&5
17847 +echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
17848  echo "${ECHO_T}$ac_cv_have_pid_t" >&6
17849  if test "x$ac_cv_have_pid_t" = "xyes" ; then
17850 -       cat >>confdefs.h <<\EOF
17851 +       cat >>confdefs.h <<\_ACEOF
17852  #define HAVE_PID_T 1
17853 -EOF
17854 +_ACEOF
17855  
17856  fi
17857  
17858 -echo "$as_me:12234: checking for mode_t" >&5
17859 +echo "$as_me:$LINENO: checking for mode_t" >&5
17860  echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17861  if test "${ac_cv_have_mode_t+set}" = set; then
17862    echo $ECHO_N "(cached) $ECHO_C" >&6
17863  else
17864  
17865         cat >conftest.$ac_ext <<_ACEOF
17866 -#line 12241 "configure"
17867 -#include "confdefs.h"
17868 +#line $LINENO "configure"
17869 +/* confdefs.h.  */
17870 +_ACEOF
17871 +cat confdefs.h >>conftest.$ac_ext
17872 +cat >>conftest.$ac_ext <<_ACEOF
17873 +/* end confdefs.h.  */
17874  
17875  #include <sys/types.h>
17876  
17877 @@ -12252,45 +14842,51 @@
17878  }
17879  _ACEOF
17880  rm -f conftest.$ac_objext
17881 -if { (eval echo "$as_me:12255: \"$ac_compile\"") >&5
17882 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883    (eval $ac_compile) 2>&5
17884    ac_status=$?
17885 -  echo "$as_me:12258: \$? = $ac_status" >&5
17886 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887    (exit $ac_status); } &&
17888           { ac_try='test -s conftest.$ac_objext'
17889 -  { (eval echo "$as_me:12261: \"$ac_try\"") >&5
17890 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891    (eval $ac_try) 2>&5
17892    ac_status=$?
17893 -  echo "$as_me:12264: \$? = $ac_status" >&5
17894 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895    (exit $ac_status); }; }; then
17896     ac_cv_have_mode_t="yes"
17897  else
17898    echo "$as_me: failed program was:" >&5
17899 -cat conftest.$ac_ext >&5
17900 +sed 's/^/| /' conftest.$ac_ext >&5
17901 +
17902   ac_cv_have_mode_t="no"
17903  
17904  fi
17905  rm -f conftest.$ac_objext conftest.$ac_ext
17906  
17907  fi
17908 -echo "$as_me:12276: result: $ac_cv_have_mode_t" >&5
17909 +echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
17910  echo "${ECHO_T}$ac_cv_have_mode_t" >&6
17911  if test "x$ac_cv_have_mode_t" = "xyes" ; then
17912 -       cat >>confdefs.h <<\EOF
17913 +       cat >>confdefs.h <<\_ACEOF
17914  #define HAVE_MODE_T 1
17915 -EOF
17916 +_ACEOF
17917  
17918  fi
17919  
17920 -echo "$as_me:12285: checking for struct sockaddr_storage" >&5
17921 +
17922 +echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
17923  echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
17924  if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
17925    echo $ECHO_N "(cached) $ECHO_C" >&6
17926  else
17927  
17928         cat >conftest.$ac_ext <<_ACEOF
17929 -#line 12292 "configure"
17930 -#include "confdefs.h"
17931 +#line $LINENO "configure"
17932 +/* confdefs.h.  */
17933 +_ACEOF
17934 +cat confdefs.h >>conftest.$ac_ext
17935 +cat >>conftest.$ac_ext <<_ACEOF
17936 +/* end confdefs.h.  */
17937  
17938  #include <sys/types.h>
17939  #include <sys/socket.h>
17940 @@ -12304,45 +14900,50 @@
17941  }
17942  _ACEOF
17943  rm -f conftest.$ac_objext
17944 -if { (eval echo "$as_me:12307: \"$ac_compile\"") >&5
17945 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17946    (eval $ac_compile) 2>&5
17947    ac_status=$?
17948 -  echo "$as_me:12310: \$? = $ac_status" >&5
17949 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950    (exit $ac_status); } &&
17951           { ac_try='test -s conftest.$ac_objext'
17952 -  { (eval echo "$as_me:12313: \"$ac_try\"") >&5
17953 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954    (eval $ac_try) 2>&5
17955    ac_status=$?
17956 -  echo "$as_me:12316: \$? = $ac_status" >&5
17957 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958    (exit $ac_status); }; }; then
17959     ac_cv_have_struct_sockaddr_storage="yes"
17960  else
17961    echo "$as_me: failed program was:" >&5
17962 -cat conftest.$ac_ext >&5
17963 +sed 's/^/| /' conftest.$ac_ext >&5
17964 +
17965   ac_cv_have_struct_sockaddr_storage="no"
17966  
17967  fi
17968  rm -f conftest.$ac_objext conftest.$ac_ext
17969  
17970  fi
17971 -echo "$as_me:12328: result: $ac_cv_have_struct_sockaddr_storage" >&5
17972 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
17973  echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
17974  if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
17975 -       cat >>confdefs.h <<\EOF
17976 +       cat >>confdefs.h <<\_ACEOF
17977  #define HAVE_STRUCT_SOCKADDR_STORAGE 1
17978 -EOF
17979 +_ACEOF
17980  
17981  fi
17982  
17983 -echo "$as_me:12337: checking for struct sockaddr_in6" >&5
17984 +echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
17985  echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
17986  if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
17987    echo $ECHO_N "(cached) $ECHO_C" >&6
17988  else
17989  
17990         cat >conftest.$ac_ext <<_ACEOF
17991 -#line 12344 "configure"
17992 -#include "confdefs.h"
17993 +#line $LINENO "configure"
17994 +/* confdefs.h.  */
17995 +_ACEOF
17996 +cat confdefs.h >>conftest.$ac_ext
17997 +cat >>conftest.$ac_ext <<_ACEOF
17998 +/* end confdefs.h.  */
17999  
18000  #include <sys/types.h>
18001  #include <netinet/in.h>
18002 @@ -12356,45 +14957,50 @@
18003  }
18004  _ACEOF
18005  rm -f conftest.$ac_objext
18006 -if { (eval echo "$as_me:12359: \"$ac_compile\"") >&5
18007 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008    (eval $ac_compile) 2>&5
18009    ac_status=$?
18010 -  echo "$as_me:12362: \$? = $ac_status" >&5
18011 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012    (exit $ac_status); } &&
18013           { ac_try='test -s conftest.$ac_objext'
18014 -  { (eval echo "$as_me:12365: \"$ac_try\"") >&5
18015 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016    (eval $ac_try) 2>&5
18017    ac_status=$?
18018 -  echo "$as_me:12368: \$? = $ac_status" >&5
18019 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020    (exit $ac_status); }; }; then
18021     ac_cv_have_struct_sockaddr_in6="yes"
18022  else
18023    echo "$as_me: failed program was:" >&5
18024 -cat conftest.$ac_ext >&5
18025 +sed 's/^/| /' conftest.$ac_ext >&5
18026 +
18027   ac_cv_have_struct_sockaddr_in6="no"
18028  
18029  fi
18030  rm -f conftest.$ac_objext conftest.$ac_ext
18031  
18032  fi
18033 -echo "$as_me:12380: result: $ac_cv_have_struct_sockaddr_in6" >&5
18034 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
18035  echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
18036  if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
18037 -       cat >>confdefs.h <<\EOF
18038 +       cat >>confdefs.h <<\_ACEOF
18039  #define HAVE_STRUCT_SOCKADDR_IN6 1
18040 -EOF
18041 +_ACEOF
18042  
18043  fi
18044  
18045 -echo "$as_me:12389: checking for struct in6_addr" >&5
18046 +echo "$as_me:$LINENO: checking for struct in6_addr" >&5
18047  echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
18048  if test "${ac_cv_have_struct_in6_addr+set}" = set; then
18049    echo $ECHO_N "(cached) $ECHO_C" >&6
18050  else
18051  
18052         cat >conftest.$ac_ext <<_ACEOF
18053 -#line 12396 "configure"
18054 -#include "confdefs.h"
18055 +#line $LINENO "configure"
18056 +/* confdefs.h.  */
18057 +_ACEOF
18058 +cat confdefs.h >>conftest.$ac_ext
18059 +cat >>conftest.$ac_ext <<_ACEOF
18060 +/* end confdefs.h.  */
18061  
18062  #include <sys/types.h>
18063  #include <netinet/in.h>
18064 @@ -12408,45 +15014,50 @@
18065  }
18066  _ACEOF
18067  rm -f conftest.$ac_objext
18068 -if { (eval echo "$as_me:12411: \"$ac_compile\"") >&5
18069 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18070    (eval $ac_compile) 2>&5
18071    ac_status=$?
18072 -  echo "$as_me:12414: \$? = $ac_status" >&5
18073 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074    (exit $ac_status); } &&
18075           { ac_try='test -s conftest.$ac_objext'
18076 -  { (eval echo "$as_me:12417: \"$ac_try\"") >&5
18077 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078    (eval $ac_try) 2>&5
18079    ac_status=$?
18080 -  echo "$as_me:12420: \$? = $ac_status" >&5
18081 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082    (exit $ac_status); }; }; then
18083     ac_cv_have_struct_in6_addr="yes"
18084  else
18085    echo "$as_me: failed program was:" >&5
18086 -cat conftest.$ac_ext >&5
18087 +sed 's/^/| /' conftest.$ac_ext >&5
18088 +
18089   ac_cv_have_struct_in6_addr="no"
18090  
18091  fi
18092  rm -f conftest.$ac_objext conftest.$ac_ext
18093  
18094  fi
18095 -echo "$as_me:12432: result: $ac_cv_have_struct_in6_addr" >&5
18096 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
18097  echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
18098  if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
18099 -       cat >>confdefs.h <<\EOF
18100 +       cat >>confdefs.h <<\_ACEOF
18101  #define HAVE_STRUCT_IN6_ADDR 1
18102 -EOF
18103 +_ACEOF
18104  
18105  fi
18106  
18107 -echo "$as_me:12441: checking for struct addrinfo" >&5
18108 +echo "$as_me:$LINENO: checking for struct addrinfo" >&5
18109  echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
18110  if test "${ac_cv_have_struct_addrinfo+set}" = set; then
18111    echo $ECHO_N "(cached) $ECHO_C" >&6
18112  else
18113  
18114         cat >conftest.$ac_ext <<_ACEOF
18115 -#line 12448 "configure"
18116 -#include "confdefs.h"
18117 +#line $LINENO "configure"
18118 +/* confdefs.h.  */
18119 +_ACEOF
18120 +cat confdefs.h >>conftest.$ac_ext
18121 +cat >>conftest.$ac_ext <<_ACEOF
18122 +/* end confdefs.h.  */
18123  
18124  #include <sys/types.h>
18125  #include <sys/socket.h>
18126 @@ -12461,45 +15072,50 @@
18127  }
18128  _ACEOF
18129  rm -f conftest.$ac_objext
18130 -if { (eval echo "$as_me:12464: \"$ac_compile\"") >&5
18131 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18132    (eval $ac_compile) 2>&5
18133    ac_status=$?
18134 -  echo "$as_me:12467: \$? = $ac_status" >&5
18135 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136    (exit $ac_status); } &&
18137           { ac_try='test -s conftest.$ac_objext'
18138 -  { (eval echo "$as_me:12470: \"$ac_try\"") >&5
18139 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140    (eval $ac_try) 2>&5
18141    ac_status=$?
18142 -  echo "$as_me:12473: \$? = $ac_status" >&5
18143 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144    (exit $ac_status); }; }; then
18145     ac_cv_have_struct_addrinfo="yes"
18146  else
18147    echo "$as_me: failed program was:" >&5
18148 -cat conftest.$ac_ext >&5
18149 +sed 's/^/| /' conftest.$ac_ext >&5
18150 +
18151   ac_cv_have_struct_addrinfo="no"
18152  
18153  fi
18154  rm -f conftest.$ac_objext conftest.$ac_ext
18155  
18156  fi
18157 -echo "$as_me:12485: result: $ac_cv_have_struct_addrinfo" >&5
18158 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
18159  echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
18160  if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
18161 -       cat >>confdefs.h <<\EOF
18162 +       cat >>confdefs.h <<\_ACEOF
18163  #define HAVE_STRUCT_ADDRINFO 1
18164 -EOF
18165 +_ACEOF
18166  
18167  fi
18168  
18169 -echo "$as_me:12494: checking for struct timeval" >&5
18170 +echo "$as_me:$LINENO: checking for struct timeval" >&5
18171  echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
18172  if test "${ac_cv_have_struct_timeval+set}" = set; then
18173    echo $ECHO_N "(cached) $ECHO_C" >&6
18174  else
18175  
18176         cat >conftest.$ac_ext <<_ACEOF
18177 -#line 12501 "configure"
18178 -#include "confdefs.h"
18179 +#line $LINENO "configure"
18180 +/* confdefs.h.  */
18181 +_ACEOF
18182 +cat confdefs.h >>conftest.$ac_ext
18183 +cat >>conftest.$ac_ext <<_ACEOF
18184 +/* end confdefs.h.  */
18185   #include <sys/time.h>
18186  int
18187  main ()
18188 @@ -12510,45 +15126,50 @@
18189  }
18190  _ACEOF
18191  rm -f conftest.$ac_objext
18192 -if { (eval echo "$as_me:12513: \"$ac_compile\"") >&5
18193 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18194    (eval $ac_compile) 2>&5
18195    ac_status=$?
18196 -  echo "$as_me:12516: \$? = $ac_status" >&5
18197 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198    (exit $ac_status); } &&
18199           { ac_try='test -s conftest.$ac_objext'
18200 -  { (eval echo "$as_me:12519: \"$ac_try\"") >&5
18201 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202    (eval $ac_try) 2>&5
18203    ac_status=$?
18204 -  echo "$as_me:12522: \$? = $ac_status" >&5
18205 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206    (exit $ac_status); }; }; then
18207     ac_cv_have_struct_timeval="yes"
18208  else
18209    echo "$as_me: failed program was:" >&5
18210 -cat conftest.$ac_ext >&5
18211 +sed 's/^/| /' conftest.$ac_ext >&5
18212 +
18213   ac_cv_have_struct_timeval="no"
18214  
18215  fi
18216  rm -f conftest.$ac_objext conftest.$ac_ext
18217  
18218  fi
18219 -echo "$as_me:12534: result: $ac_cv_have_struct_timeval" >&5
18220 +echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
18221  echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
18222  if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
18223 -       cat >>confdefs.h <<\EOF
18224 +       cat >>confdefs.h <<\_ACEOF
18225  #define HAVE_STRUCT_TIMEVAL 1
18226 -EOF
18227 +_ACEOF
18228  
18229         have_struct_timeval=1
18230  fi
18231  
18232 -echo "$as_me:12544: checking for struct timespec" >&5
18233 +echo "$as_me:$LINENO: checking for struct timespec" >&5
18234  echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
18235  if test "${ac_cv_type_struct_timespec+set}" = set; then
18236    echo $ECHO_N "(cached) $ECHO_C" >&6
18237  else
18238    cat >conftest.$ac_ext <<_ACEOF
18239 -#line 12550 "configure"
18240 -#include "confdefs.h"
18241 +#line $LINENO "configure"
18242 +/* confdefs.h.  */
18243 +_ACEOF
18244 +cat confdefs.h >>conftest.$ac_ext
18245 +cat >>conftest.$ac_ext <<_ACEOF
18246 +/* end confdefs.h.  */
18247  $ac_includes_default
18248  int
18249  main ()
18250 @@ -12562,35 +15183,38 @@
18251  }
18252  _ACEOF
18253  rm -f conftest.$ac_objext
18254 -if { (eval echo "$as_me:12565: \"$ac_compile\"") >&5
18255 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18256    (eval $ac_compile) 2>&5
18257    ac_status=$?
18258 -  echo "$as_me:12568: \$? = $ac_status" >&5
18259 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260    (exit $ac_status); } &&
18261           { ac_try='test -s conftest.$ac_objext'
18262 -  { (eval echo "$as_me:12571: \"$ac_try\"") >&5
18263 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264    (eval $ac_try) 2>&5
18265    ac_status=$?
18266 -  echo "$as_me:12574: \$? = $ac_status" >&5
18267 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268    (exit $ac_status); }; }; then
18269    ac_cv_type_struct_timespec=yes
18270  else
18271    echo "$as_me: failed program was:" >&5
18272 -cat conftest.$ac_ext >&5
18273 +sed 's/^/| /' conftest.$ac_ext >&5
18274 +
18275  ac_cv_type_struct_timespec=no
18276  fi
18277  rm -f conftest.$ac_objext conftest.$ac_ext
18278  fi
18279 -echo "$as_me:12584: result: $ac_cv_type_struct_timespec" >&5
18280 +echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
18281  echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
18282  if test $ac_cv_type_struct_timespec = yes; then
18283  
18284 -cat >>confdefs.h <<EOF
18285 +cat >>confdefs.h <<_ACEOF
18286  #define HAVE_STRUCT_TIMESPEC 1
18287 -EOF
18288 +_ACEOF
18289 +
18290  
18291  fi
18292  
18293 +
18294  # We need int64_t or else certian parts of the compile will fail.
18295  if test "x$ac_cv_have_int64_t" = "xno" -a \
18296         "x$ac_cv_sizeof_long_int" != "x8" -a \
18297 @@ -12600,81 +15224,113 @@
18298         echo ""
18299         exit 1;
18300  else
18301 -       if test "$cross_compiling" = yes; then
18302 -  { { echo "$as_me:12604: error: cannot run test program while cross compiling" >&5
18303 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
18304 +       if test "x$ac_cv_have_broken_snprintf" != "xyes" ; then
18305 +#              no need to test again if we already know its broken :)
18306 +               echo "$as_me:$LINENO: checking whether snprintf is broken" >&5
18307 +echo $ECHO_N "checking whether snprintf is broken... $ECHO_C" >&6
18308 +if test "${ac_cv_have_broken_snprintf+set}" = set; then
18309 +  echo $ECHO_N "(cached) $ECHO_C" >&6
18310 +else
18311 +
18312 +                       if test "$cross_compiling" = yes; then
18313 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18314 +See \`config.log' for more details." >&5
18315 +echo "$as_me: error: cannot run test program while cross compiling
18316 +See \`config.log' for more details." >&2;}
18317     { (exit 1); exit 1; }; }
18318  else
18319    cat >conftest.$ac_ext <<_ACEOF
18320 -#line 12609 "configure"
18321 -#include "confdefs.h"
18322 +#line $LINENO "configure"
18323 +/* confdefs.h.  */
18324 +_ACEOF
18325 +cat confdefs.h >>conftest.$ac_ext
18326 +cat >>conftest.$ac_ext <<_ACEOF
18327 +/* end confdefs.h.  */
18328  
18329 -#include <stdio.h>
18330 -#include <string.h>
18331 -#ifdef HAVE_SNPRINTF
18332 -main()
18333 -{
18334 -       char buf[50];
18335 -       char expected_out[50];
18336 -       int mazsize = 50 ;
18337 -#if (SIZEOF_LONG_INT == 8)
18338 -       long int num = 0x7fffffffffffffff;
18339 -#else
18340 -       long long num = 0x7fffffffffffffffll;
18341 -#endif
18342 -       strcpy(expected_out, "9223372036854775807");
18343 -       snprintf(buf, mazsize, "%lld", num);
18344 -       if(strcmp(buf, expected_out) != 0)
18345 -               exit(1);
18346 -       exit(0);
18347 -}
18348 -#else
18349 -main() { exit(0); }
18350 -#endif
18351 +               #include <stdio.h>
18352 +               #include <string.h>
18353 +               #ifdef HAVE_SNPRINTF
18354 +               main()
18355 +               {
18356 +                       char buf[50];
18357 +                       char expected_out[50];
18358 +                       int mazsize = 50 ;
18359 +               #if (SIZEOF_LONG_INT == 8)
18360 +                       long int num = 0x7fffffffffffffff;
18361 +               #else
18362 +                       long long num = 0x7fffffffffffffffll;
18363 +               #endif
18364 +                       strcpy(expected_out, "9223372036854775807");
18365 +                       snprintf(buf, mazsize, "%lld", num);
18366 +                       if(strcmp(buf, expected_out) != 0)
18367 +                               exit(1);
18368 +                       exit(0);
18369 +               }
18370 +               #else
18371 +               main() { exit(0); }
18372 +               #endif
18373  
18374  _ACEOF
18375  rm -f conftest$ac_exeext
18376 -if { (eval echo "$as_me:12637: \"$ac_link\"") >&5
18377 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378    (eval $ac_link) 2>&5
18379    ac_status=$?
18380 -  echo "$as_me:12640: \$? = $ac_status" >&5
18381 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18383 -  { (eval echo "$as_me:12642: \"$ac_try\"") >&5
18384 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385    (eval $ac_try) 2>&5
18386    ac_status=$?
18387 -  echo "$as_me:12645: \$? = $ac_status" >&5
18388 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389    (exit $ac_status); }; }; then
18390     true
18391  else
18392    echo "$as_me: program exited with status $ac_status" >&5
18393  echo "$as_me: failed program was:" >&5
18394 -cat conftest.$ac_ext >&5
18395 - cat >>confdefs.h <<\EOF
18396 -#define BROKEN_SNPRINTF 1
18397 -EOF
18398 +sed 's/^/| /' conftest.$ac_ext >&5
18399 +
18400 +( exit $ac_status )
18401 +
18402 +                                       ac_cv_have_broken_snprintf="yes"
18403 +
18404  
18405  fi
18406 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18407 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18408  fi
18409 +
18410 +fi
18411 +echo "$as_me:$LINENO: result: $ac_cv_have_broken_snprintf" >&5
18412 +echo "${ECHO_T}$ac_cv_have_broken_snprintf" >&6
18413 +               if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
18414 +                       cat >>confdefs.h <<\_ACEOF
18415 +#define BROKEN_SNPRINTF 1
18416 +_ACEOF
18417 +
18418 +               fi
18419 +       fi
18420  fi
18421  
18422 +
18423  # look for field 'ut_host' in header 'utmp.h'
18424                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18425                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
18426 -       echo "$as_me:12664: checking for ut_host field in utmp.h" >&5
18427 +       echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
18428  echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
18429         if eval "test \"\${$ossh_varname+set}\" = set"; then
18430    echo $ECHO_N "(cached) $ECHO_C" >&6
18431  else
18432  
18433                 cat >conftest.$ac_ext <<_ACEOF
18434 -#line 12671 "configure"
18435 -#include "confdefs.h"
18436 +#line $LINENO "configure"
18437 +/* confdefs.h.  */
18438 +_ACEOF
18439 +cat confdefs.h >>conftest.$ac_ext
18440 +cat >>conftest.$ac_ext <<_ACEOF
18441 +/* end confdefs.h.  */
18442  #include <utmp.h>
18443  
18444  _ACEOF
18445  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18446 -  egrep "ut_host" >/dev/null 2>&1; then
18447 +  $EGREP "ut_host" >/dev/null 2>&1; then
18448                         eval "$ossh_varname=yes"
18449  else
18450                         eval "$ossh_varname=no"
18451 @@ -12685,36 +15341,41 @@
18452  
18453         ossh_result=`eval 'echo $'"$ossh_varname"`
18454         if test -n "`echo $ossh_varname`"; then
18455 -               echo "$as_me:12688: result: $ossh_result" >&5
18456 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18457  echo "${ECHO_T}$ossh_result" >&6
18458                 if test "x$ossh_result" = "xyes"; then
18459 -                       cat >>confdefs.h <<\EOF
18460 +                       cat >>confdefs.h <<\_ACEOF
18461  #define HAVE_HOST_IN_UTMP 1
18462 -EOF
18463 +_ACEOF
18464  
18465                 fi
18466         else
18467 -               echo "$as_me:12697: result: no" >&5
18468 +               echo "$as_me:$LINENO: result: no" >&5
18469  echo "${ECHO_T}no" >&6
18470         fi
18471  
18472 +
18473  # look for field 'ut_host' in header 'utmpx.h'
18474                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18475                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
18476 -       echo "$as_me:12704: checking for ut_host field in utmpx.h" >&5
18477 +       echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
18478  echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
18479         if eval "test \"\${$ossh_varname+set}\" = set"; then
18480    echo $ECHO_N "(cached) $ECHO_C" >&6
18481  else
18482  
18483                 cat >conftest.$ac_ext <<_ACEOF
18484 -#line 12711 "configure"
18485 -#include "confdefs.h"
18486 +#line $LINENO "configure"
18487 +/* confdefs.h.  */
18488 +_ACEOF
18489 +cat confdefs.h >>conftest.$ac_ext
18490 +cat >>conftest.$ac_ext <<_ACEOF
18491 +/* end confdefs.h.  */
18492  #include <utmpx.h>
18493  
18494  _ACEOF
18495  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18496 -  egrep "ut_host" >/dev/null 2>&1; then
18497 +  $EGREP "ut_host" >/dev/null 2>&1; then
18498                         eval "$ossh_varname=yes"
18499  else
18500                         eval "$ossh_varname=no"
18501 @@ -12725,36 +15386,41 @@
18502  
18503         ossh_result=`eval 'echo $'"$ossh_varname"`
18504         if test -n "`echo $ossh_varname`"; then
18505 -               echo "$as_me:12728: result: $ossh_result" >&5
18506 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18507  echo "${ECHO_T}$ossh_result" >&6
18508                 if test "x$ossh_result" = "xyes"; then
18509 -                       cat >>confdefs.h <<\EOF
18510 +                       cat >>confdefs.h <<\_ACEOF
18511  #define HAVE_HOST_IN_UTMPX 1
18512 -EOF
18513 +_ACEOF
18514  
18515                 fi
18516         else
18517 -               echo "$as_me:12737: result: no" >&5
18518 +               echo "$as_me:$LINENO: result: no" >&5
18519  echo "${ECHO_T}no" >&6
18520         fi
18521  
18522 +
18523  # look for field 'syslen' in header 'utmpx.h'
18524                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18525                 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
18526 -       echo "$as_me:12744: checking for syslen field in utmpx.h" >&5
18527 +       echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
18528  echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
18529         if eval "test \"\${$ossh_varname+set}\" = set"; then
18530    echo $ECHO_N "(cached) $ECHO_C" >&6
18531  else
18532  
18533                 cat >conftest.$ac_ext <<_ACEOF
18534 -#line 12751 "configure"
18535 -#include "confdefs.h"
18536 +#line $LINENO "configure"
18537 +/* confdefs.h.  */
18538 +_ACEOF
18539 +cat confdefs.h >>conftest.$ac_ext
18540 +cat >>conftest.$ac_ext <<_ACEOF
18541 +/* end confdefs.h.  */
18542  #include <utmpx.h>
18543  
18544  _ACEOF
18545  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18546 -  egrep "syslen" >/dev/null 2>&1; then
18547 +  $EGREP "syslen" >/dev/null 2>&1; then
18548                         eval "$ossh_varname=yes"
18549  else
18550                         eval "$ossh_varname=no"
18551 @@ -12765,36 +15431,41 @@
18552  
18553         ossh_result=`eval 'echo $'"$ossh_varname"`
18554         if test -n "`echo $ossh_varname`"; then
18555 -               echo "$as_me:12768: result: $ossh_result" >&5
18556 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18557  echo "${ECHO_T}$ossh_result" >&6
18558                 if test "x$ossh_result" = "xyes"; then
18559 -                       cat >>confdefs.h <<\EOF
18560 +                       cat >>confdefs.h <<\_ACEOF
18561  #define HAVE_SYSLEN_IN_UTMPX 1
18562 -EOF
18563 +_ACEOF
18564  
18565                 fi
18566         else
18567 -               echo "$as_me:12777: result: no" >&5
18568 +               echo "$as_me:$LINENO: result: no" >&5
18569  echo "${ECHO_T}no" >&6
18570         fi
18571  
18572 +
18573  # look for field 'ut_pid' in header 'utmp.h'
18574                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18575                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
18576 -       echo "$as_me:12784: checking for ut_pid field in utmp.h" >&5
18577 +       echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
18578  echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
18579         if eval "test \"\${$ossh_varname+set}\" = set"; then
18580    echo $ECHO_N "(cached) $ECHO_C" >&6
18581  else
18582  
18583                 cat >conftest.$ac_ext <<_ACEOF
18584 -#line 12791 "configure"
18585 -#include "confdefs.h"
18586 +#line $LINENO "configure"
18587 +/* confdefs.h.  */
18588 +_ACEOF
18589 +cat confdefs.h >>conftest.$ac_ext
18590 +cat >>conftest.$ac_ext <<_ACEOF
18591 +/* end confdefs.h.  */
18592  #include <utmp.h>
18593  
18594  _ACEOF
18595  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18596 -  egrep "ut_pid" >/dev/null 2>&1; then
18597 +  $EGREP "ut_pid" >/dev/null 2>&1; then
18598                         eval "$ossh_varname=yes"
18599  else
18600                         eval "$ossh_varname=no"
18601 @@ -12805,36 +15476,41 @@
18602  
18603         ossh_result=`eval 'echo $'"$ossh_varname"`
18604         if test -n "`echo $ossh_varname`"; then
18605 -               echo "$as_me:12808: result: $ossh_result" >&5
18606 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18607  echo "${ECHO_T}$ossh_result" >&6
18608                 if test "x$ossh_result" = "xyes"; then
18609 -                       cat >>confdefs.h <<\EOF
18610 +                       cat >>confdefs.h <<\_ACEOF
18611  #define HAVE_PID_IN_UTMP 1
18612 -EOF
18613 +_ACEOF
18614  
18615                 fi
18616         else
18617 -               echo "$as_me:12817: result: no" >&5
18618 +               echo "$as_me:$LINENO: result: no" >&5
18619  echo "${ECHO_T}no" >&6
18620         fi
18621  
18622 +
18623  # look for field 'ut_type' in header 'utmp.h'
18624                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18625                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
18626 -       echo "$as_me:12824: checking for ut_type field in utmp.h" >&5
18627 +       echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
18628  echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
18629         if eval "test \"\${$ossh_varname+set}\" = set"; then
18630    echo $ECHO_N "(cached) $ECHO_C" >&6
18631  else
18632  
18633                 cat >conftest.$ac_ext <<_ACEOF
18634 -#line 12831 "configure"
18635 -#include "confdefs.h"
18636 +#line $LINENO "configure"
18637 +/* confdefs.h.  */
18638 +_ACEOF
18639 +cat confdefs.h >>conftest.$ac_ext
18640 +cat >>conftest.$ac_ext <<_ACEOF
18641 +/* end confdefs.h.  */
18642  #include <utmp.h>
18643  
18644  _ACEOF
18645  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18646 -  egrep "ut_type" >/dev/null 2>&1; then
18647 +  $EGREP "ut_type" >/dev/null 2>&1; then
18648                         eval "$ossh_varname=yes"
18649  else
18650                         eval "$ossh_varname=no"
18651 @@ -12845,36 +15521,41 @@
18652  
18653         ossh_result=`eval 'echo $'"$ossh_varname"`
18654         if test -n "`echo $ossh_varname`"; then
18655 -               echo "$as_me:12848: result: $ossh_result" >&5
18656 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18657  echo "${ECHO_T}$ossh_result" >&6
18658                 if test "x$ossh_result" = "xyes"; then
18659 -                       cat >>confdefs.h <<\EOF
18660 +                       cat >>confdefs.h <<\_ACEOF
18661  #define HAVE_TYPE_IN_UTMP 1
18662 -EOF
18663 +_ACEOF
18664  
18665                 fi
18666         else
18667 -               echo "$as_me:12857: result: no" >&5
18668 +               echo "$as_me:$LINENO: result: no" >&5
18669  echo "${ECHO_T}no" >&6
18670         fi
18671  
18672 +
18673  # look for field 'ut_type' in header 'utmpx.h'
18674                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18675                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
18676 -       echo "$as_me:12864: checking for ut_type field in utmpx.h" >&5
18677 +       echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
18678  echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
18679         if eval "test \"\${$ossh_varname+set}\" = set"; then
18680    echo $ECHO_N "(cached) $ECHO_C" >&6
18681  else
18682  
18683                 cat >conftest.$ac_ext <<_ACEOF
18684 -#line 12871 "configure"
18685 -#include "confdefs.h"
18686 +#line $LINENO "configure"
18687 +/* confdefs.h.  */
18688 +_ACEOF
18689 +cat confdefs.h >>conftest.$ac_ext
18690 +cat >>conftest.$ac_ext <<_ACEOF
18691 +/* end confdefs.h.  */
18692  #include <utmpx.h>
18693  
18694  _ACEOF
18695  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18696 -  egrep "ut_type" >/dev/null 2>&1; then
18697 +  $EGREP "ut_type" >/dev/null 2>&1; then
18698                         eval "$ossh_varname=yes"
18699  else
18700                         eval "$ossh_varname=no"
18701 @@ -12885,36 +15566,41 @@
18702  
18703         ossh_result=`eval 'echo $'"$ossh_varname"`
18704         if test -n "`echo $ossh_varname`"; then
18705 -               echo "$as_me:12888: result: $ossh_result" >&5
18706 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18707  echo "${ECHO_T}$ossh_result" >&6
18708                 if test "x$ossh_result" = "xyes"; then
18709 -                       cat >>confdefs.h <<\EOF
18710 +                       cat >>confdefs.h <<\_ACEOF
18711  #define HAVE_TYPE_IN_UTMPX 1
18712 -EOF
18713 +_ACEOF
18714  
18715                 fi
18716         else
18717 -               echo "$as_me:12897: result: no" >&5
18718 +               echo "$as_me:$LINENO: result: no" >&5
18719  echo "${ECHO_T}no" >&6
18720         fi
18721  
18722 +
18723  # look for field 'ut_tv' in header 'utmp.h'
18724                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18725                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
18726 -       echo "$as_me:12904: checking for ut_tv field in utmp.h" >&5
18727 +       echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
18728  echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
18729         if eval "test \"\${$ossh_varname+set}\" = set"; then
18730    echo $ECHO_N "(cached) $ECHO_C" >&6
18731  else
18732  
18733                 cat >conftest.$ac_ext <<_ACEOF
18734 -#line 12911 "configure"
18735 -#include "confdefs.h"
18736 +#line $LINENO "configure"
18737 +/* confdefs.h.  */
18738 +_ACEOF
18739 +cat confdefs.h >>conftest.$ac_ext
18740 +cat >>conftest.$ac_ext <<_ACEOF
18741 +/* end confdefs.h.  */
18742  #include <utmp.h>
18743  
18744  _ACEOF
18745  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18746 -  egrep "ut_tv" >/dev/null 2>&1; then
18747 +  $EGREP "ut_tv" >/dev/null 2>&1; then
18748                         eval "$ossh_varname=yes"
18749  else
18750                         eval "$ossh_varname=no"
18751 @@ -12925,36 +15611,41 @@
18752  
18753         ossh_result=`eval 'echo $'"$ossh_varname"`
18754         if test -n "`echo $ossh_varname`"; then
18755 -               echo "$as_me:12928: result: $ossh_result" >&5
18756 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18757  echo "${ECHO_T}$ossh_result" >&6
18758                 if test "x$ossh_result" = "xyes"; then
18759 -                       cat >>confdefs.h <<\EOF
18760 +                       cat >>confdefs.h <<\_ACEOF
18761  #define HAVE_TV_IN_UTMP 1
18762 -EOF
18763 +_ACEOF
18764  
18765                 fi
18766         else
18767 -               echo "$as_me:12937: result: no" >&5
18768 +               echo "$as_me:$LINENO: result: no" >&5
18769  echo "${ECHO_T}no" >&6
18770         fi
18771  
18772 +
18773  # look for field 'ut_id' in header 'utmp.h'
18774                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18775                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
18776 -       echo "$as_me:12944: checking for ut_id field in utmp.h" >&5
18777 +       echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
18778  echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
18779         if eval "test \"\${$ossh_varname+set}\" = set"; then
18780    echo $ECHO_N "(cached) $ECHO_C" >&6
18781  else
18782  
18783                 cat >conftest.$ac_ext <<_ACEOF
18784 -#line 12951 "configure"
18785 -#include "confdefs.h"
18786 +#line $LINENO "configure"
18787 +/* confdefs.h.  */
18788 +_ACEOF
18789 +cat confdefs.h >>conftest.$ac_ext
18790 +cat >>conftest.$ac_ext <<_ACEOF
18791 +/* end confdefs.h.  */
18792  #include <utmp.h>
18793  
18794  _ACEOF
18795  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18796 -  egrep "ut_id" >/dev/null 2>&1; then
18797 +  $EGREP "ut_id" >/dev/null 2>&1; then
18798                         eval "$ossh_varname=yes"
18799  else
18800                         eval "$ossh_varname=no"
18801 @@ -12965,36 +15656,41 @@
18802  
18803         ossh_result=`eval 'echo $'"$ossh_varname"`
18804         if test -n "`echo $ossh_varname`"; then
18805 -               echo "$as_me:12968: result: $ossh_result" >&5
18806 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18807  echo "${ECHO_T}$ossh_result" >&6
18808                 if test "x$ossh_result" = "xyes"; then
18809 -                       cat >>confdefs.h <<\EOF
18810 +                       cat >>confdefs.h <<\_ACEOF
18811  #define HAVE_ID_IN_UTMP 1
18812 -EOF
18813 +_ACEOF
18814  
18815                 fi
18816         else
18817 -               echo "$as_me:12977: result: no" >&5
18818 +               echo "$as_me:$LINENO: result: no" >&5
18819  echo "${ECHO_T}no" >&6
18820         fi
18821  
18822 +
18823  # look for field 'ut_id' in header 'utmpx.h'
18824                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18825                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
18826 -       echo "$as_me:12984: checking for ut_id field in utmpx.h" >&5
18827 +       echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
18828  echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
18829         if eval "test \"\${$ossh_varname+set}\" = set"; then
18830    echo $ECHO_N "(cached) $ECHO_C" >&6
18831  else
18832  
18833                 cat >conftest.$ac_ext <<_ACEOF
18834 -#line 12991 "configure"
18835 -#include "confdefs.h"
18836 +#line $LINENO "configure"
18837 +/* confdefs.h.  */
18838 +_ACEOF
18839 +cat confdefs.h >>conftest.$ac_ext
18840 +cat >>conftest.$ac_ext <<_ACEOF
18841 +/* end confdefs.h.  */
18842  #include <utmpx.h>
18843  
18844  _ACEOF
18845  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18846 -  egrep "ut_id" >/dev/null 2>&1; then
18847 +  $EGREP "ut_id" >/dev/null 2>&1; then
18848                         eval "$ossh_varname=yes"
18849  else
18850                         eval "$ossh_varname=no"
18851 @@ -13005,36 +15701,41 @@
18852  
18853         ossh_result=`eval 'echo $'"$ossh_varname"`
18854         if test -n "`echo $ossh_varname`"; then
18855 -               echo "$as_me:13008: result: $ossh_result" >&5
18856 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18857  echo "${ECHO_T}$ossh_result" >&6
18858                 if test "x$ossh_result" = "xyes"; then
18859 -                       cat >>confdefs.h <<\EOF
18860 +                       cat >>confdefs.h <<\_ACEOF
18861  #define HAVE_ID_IN_UTMPX 1
18862 -EOF
18863 +_ACEOF
18864  
18865                 fi
18866         else
18867 -               echo "$as_me:13017: result: no" >&5
18868 +               echo "$as_me:$LINENO: result: no" >&5
18869  echo "${ECHO_T}no" >&6
18870         fi
18871  
18872 +
18873  # look for field 'ut_addr' in header 'utmp.h'
18874                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18875                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
18876 -       echo "$as_me:13024: checking for ut_addr field in utmp.h" >&5
18877 +       echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
18878  echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
18879         if eval "test \"\${$ossh_varname+set}\" = set"; then
18880    echo $ECHO_N "(cached) $ECHO_C" >&6
18881  else
18882  
18883                 cat >conftest.$ac_ext <<_ACEOF
18884 -#line 13031 "configure"
18885 -#include "confdefs.h"
18886 +#line $LINENO "configure"
18887 +/* confdefs.h.  */
18888 +_ACEOF
18889 +cat confdefs.h >>conftest.$ac_ext
18890 +cat >>conftest.$ac_ext <<_ACEOF
18891 +/* end confdefs.h.  */
18892  #include <utmp.h>
18893  
18894  _ACEOF
18895  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18896 -  egrep "ut_addr" >/dev/null 2>&1; then
18897 +  $EGREP "ut_addr" >/dev/null 2>&1; then
18898                         eval "$ossh_varname=yes"
18899  else
18900                         eval "$ossh_varname=no"
18901 @@ -13045,36 +15746,41 @@
18902  
18903         ossh_result=`eval 'echo $'"$ossh_varname"`
18904         if test -n "`echo $ossh_varname`"; then
18905 -               echo "$as_me:13048: result: $ossh_result" >&5
18906 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18907  echo "${ECHO_T}$ossh_result" >&6
18908                 if test "x$ossh_result" = "xyes"; then
18909 -                       cat >>confdefs.h <<\EOF
18910 +                       cat >>confdefs.h <<\_ACEOF
18911  #define HAVE_ADDR_IN_UTMP 1
18912 -EOF
18913 +_ACEOF
18914  
18915                 fi
18916         else
18917 -               echo "$as_me:13057: result: no" >&5
18918 +               echo "$as_me:$LINENO: result: no" >&5
18919  echo "${ECHO_T}no" >&6
18920         fi
18921  
18922 +
18923  # look for field 'ut_addr' in header 'utmpx.h'
18924                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
18925                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
18926 -       echo "$as_me:13064: checking for ut_addr field in utmpx.h" >&5
18927 +       echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
18928  echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
18929         if eval "test \"\${$ossh_varname+set}\" = set"; then
18930    echo $ECHO_N "(cached) $ECHO_C" >&6
18931  else
18932  
18933                 cat >conftest.$ac_ext <<_ACEOF
18934 -#line 13071 "configure"
18935 -#include "confdefs.h"
18936 +#line $LINENO "configure"
18937 +/* confdefs.h.  */
18938 +_ACEOF
18939 +cat confdefs.h >>conftest.$ac_ext
18940 +cat >>conftest.$ac_ext <<_ACEOF
18941 +/* end confdefs.h.  */
18942  #include <utmpx.h>
18943  
18944  _ACEOF
18945  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18946 -  egrep "ut_addr" >/dev/null 2>&1; then
18947 +  $EGREP "ut_addr" >/dev/null 2>&1; then
18948                         eval "$ossh_varname=yes"
18949  else
18950                         eval "$ossh_varname=no"
18951 @@ -13085,36 +15791,41 @@
18952  
18953         ossh_result=`eval 'echo $'"$ossh_varname"`
18954         if test -n "`echo $ossh_varname`"; then
18955 -               echo "$as_me:13088: result: $ossh_result" >&5
18956 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
18957  echo "${ECHO_T}$ossh_result" >&6
18958                 if test "x$ossh_result" = "xyes"; then
18959 -                       cat >>confdefs.h <<\EOF
18960 +                       cat >>confdefs.h <<\_ACEOF
18961  #define HAVE_ADDR_IN_UTMPX 1
18962 -EOF
18963 +_ACEOF
18964  
18965                 fi
18966         else
18967 -               echo "$as_me:13097: result: no" >&5
18968 +               echo "$as_me:$LINENO: result: no" >&5
18969  echo "${ECHO_T}no" >&6
18970         fi
18971  
18972 +
18973  # look for field 'ut_addr_v6' in header 'utmp.h'
18974                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
18975                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
18976 -       echo "$as_me:13104: checking for ut_addr_v6 field in utmp.h" >&5
18977 +       echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
18978  echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
18979         if eval "test \"\${$ossh_varname+set}\" = set"; then
18980    echo $ECHO_N "(cached) $ECHO_C" >&6
18981  else
18982  
18983                 cat >conftest.$ac_ext <<_ACEOF
18984 -#line 13111 "configure"
18985 -#include "confdefs.h"
18986 +#line $LINENO "configure"
18987 +/* confdefs.h.  */
18988 +_ACEOF
18989 +cat confdefs.h >>conftest.$ac_ext
18990 +cat >>conftest.$ac_ext <<_ACEOF
18991 +/* end confdefs.h.  */
18992  #include <utmp.h>
18993  
18994  _ACEOF
18995  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18996 -  egrep "ut_addr_v6" >/dev/null 2>&1; then
18997 +  $EGREP "ut_addr_v6" >/dev/null 2>&1; then
18998                         eval "$ossh_varname=yes"
18999  else
19000                         eval "$ossh_varname=no"
19001 @@ -13125,36 +15836,41 @@
19002  
19003         ossh_result=`eval 'echo $'"$ossh_varname"`
19004         if test -n "`echo $ossh_varname`"; then
19005 -               echo "$as_me:13128: result: $ossh_result" >&5
19006 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19007  echo "${ECHO_T}$ossh_result" >&6
19008                 if test "x$ossh_result" = "xyes"; then
19009 -                       cat >>confdefs.h <<\EOF
19010 +                       cat >>confdefs.h <<\_ACEOF
19011  #define HAVE_ADDR_V6_IN_UTMP 1
19012 -EOF
19013 +_ACEOF
19014  
19015                 fi
19016         else
19017 -               echo "$as_me:13137: result: no" >&5
19018 +               echo "$as_me:$LINENO: result: no" >&5
19019  echo "${ECHO_T}no" >&6
19020         fi
19021  
19022 +
19023  # look for field 'ut_addr_v6' in header 'utmpx.h'
19024                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
19025                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
19026 -       echo "$as_me:13144: checking for ut_addr_v6 field in utmpx.h" >&5
19027 +       echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
19028  echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
19029         if eval "test \"\${$ossh_varname+set}\" = set"; then
19030    echo $ECHO_N "(cached) $ECHO_C" >&6
19031  else
19032  
19033                 cat >conftest.$ac_ext <<_ACEOF
19034 -#line 13151 "configure"
19035 -#include "confdefs.h"
19036 +#line $LINENO "configure"
19037 +/* confdefs.h.  */
19038 +_ACEOF
19039 +cat confdefs.h >>conftest.$ac_ext
19040 +cat >>conftest.$ac_ext <<_ACEOF
19041 +/* end confdefs.h.  */
19042  #include <utmpx.h>
19043  
19044  _ACEOF
19045  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19046 -  egrep "ut_addr_v6" >/dev/null 2>&1; then
19047 +  $EGREP "ut_addr_v6" >/dev/null 2>&1; then
19048                         eval "$ossh_varname=yes"
19049  else
19050                         eval "$ossh_varname=no"
19051 @@ -13165,36 +15881,41 @@
19052  
19053         ossh_result=`eval 'echo $'"$ossh_varname"`
19054         if test -n "`echo $ossh_varname`"; then
19055 -               echo "$as_me:13168: result: $ossh_result" >&5
19056 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19057  echo "${ECHO_T}$ossh_result" >&6
19058                 if test "x$ossh_result" = "xyes"; then
19059 -                       cat >>confdefs.h <<\EOF
19060 +                       cat >>confdefs.h <<\_ACEOF
19061  #define HAVE_ADDR_V6_IN_UTMPX 1
19062 -EOF
19063 +_ACEOF
19064  
19065                 fi
19066         else
19067 -               echo "$as_me:13177: result: no" >&5
19068 +               echo "$as_me:$LINENO: result: no" >&5
19069  echo "${ECHO_T}no" >&6
19070         fi
19071  
19072 +
19073  # look for field 'ut_exit' in header 'utmp.h'
19074                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
19075                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
19076 -       echo "$as_me:13184: checking for ut_exit field in utmp.h" >&5
19077 +       echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
19078  echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
19079         if eval "test \"\${$ossh_varname+set}\" = set"; then
19080    echo $ECHO_N "(cached) $ECHO_C" >&6
19081  else
19082  
19083                 cat >conftest.$ac_ext <<_ACEOF
19084 -#line 13191 "configure"
19085 -#include "confdefs.h"
19086 +#line $LINENO "configure"
19087 +/* confdefs.h.  */
19088 +_ACEOF
19089 +cat confdefs.h >>conftest.$ac_ext
19090 +cat >>conftest.$ac_ext <<_ACEOF
19091 +/* end confdefs.h.  */
19092  #include <utmp.h>
19093  
19094  _ACEOF
19095  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19096 -  egrep "ut_exit" >/dev/null 2>&1; then
19097 +  $EGREP "ut_exit" >/dev/null 2>&1; then
19098                         eval "$ossh_varname=yes"
19099  else
19100                         eval "$ossh_varname=no"
19101 @@ -13205,36 +15926,41 @@
19102  
19103         ossh_result=`eval 'echo $'"$ossh_varname"`
19104         if test -n "`echo $ossh_varname`"; then
19105 -               echo "$as_me:13208: result: $ossh_result" >&5
19106 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19107  echo "${ECHO_T}$ossh_result" >&6
19108                 if test "x$ossh_result" = "xyes"; then
19109 -                       cat >>confdefs.h <<\EOF
19110 +                       cat >>confdefs.h <<\_ACEOF
19111  #define HAVE_EXIT_IN_UTMP 1
19112 -EOF
19113 +_ACEOF
19114  
19115                 fi
19116         else
19117 -               echo "$as_me:13217: result: no" >&5
19118 +               echo "$as_me:$LINENO: result: no" >&5
19119  echo "${ECHO_T}no" >&6
19120         fi
19121  
19122 +
19123  # look for field 'ut_time' in header 'utmp.h'
19124                 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
19125                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
19126 -       echo "$as_me:13224: checking for ut_time field in utmp.h" >&5
19127 +       echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
19128  echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
19129         if eval "test \"\${$ossh_varname+set}\" = set"; then
19130    echo $ECHO_N "(cached) $ECHO_C" >&6
19131  else
19132  
19133                 cat >conftest.$ac_ext <<_ACEOF
19134 -#line 13231 "configure"
19135 -#include "confdefs.h"
19136 +#line $LINENO "configure"
19137 +/* confdefs.h.  */
19138 +_ACEOF
19139 +cat confdefs.h >>conftest.$ac_ext
19140 +cat >>conftest.$ac_ext <<_ACEOF
19141 +/* end confdefs.h.  */
19142  #include <utmp.h>
19143  
19144  _ACEOF
19145  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19146 -  egrep "ut_time" >/dev/null 2>&1; then
19147 +  $EGREP "ut_time" >/dev/null 2>&1; then
19148                         eval "$ossh_varname=yes"
19149  else
19150                         eval "$ossh_varname=no"
19151 @@ -13245,36 +15971,41 @@
19152  
19153         ossh_result=`eval 'echo $'"$ossh_varname"`
19154         if test -n "`echo $ossh_varname`"; then
19155 -               echo "$as_me:13248: result: $ossh_result" >&5
19156 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19157  echo "${ECHO_T}$ossh_result" >&6
19158                 if test "x$ossh_result" = "xyes"; then
19159 -                       cat >>confdefs.h <<\EOF
19160 +                       cat >>confdefs.h <<\_ACEOF
19161  #define HAVE_TIME_IN_UTMP 1
19162 -EOF
19163 +_ACEOF
19164  
19165                 fi
19166         else
19167 -               echo "$as_me:13257: result: no" >&5
19168 +               echo "$as_me:$LINENO: result: no" >&5
19169  echo "${ECHO_T}no" >&6
19170         fi
19171  
19172 +
19173  # look for field 'ut_time' in header 'utmpx.h'
19174                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
19175                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
19176 -       echo "$as_me:13264: checking for ut_time field in utmpx.h" >&5
19177 +       echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
19178  echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
19179         if eval "test \"\${$ossh_varname+set}\" = set"; then
19180    echo $ECHO_N "(cached) $ECHO_C" >&6
19181  else
19182  
19183                 cat >conftest.$ac_ext <<_ACEOF
19184 -#line 13271 "configure"
19185 -#include "confdefs.h"
19186 +#line $LINENO "configure"
19187 +/* confdefs.h.  */
19188 +_ACEOF
19189 +cat confdefs.h >>conftest.$ac_ext
19190 +cat >>conftest.$ac_ext <<_ACEOF
19191 +/* end confdefs.h.  */
19192  #include <utmpx.h>
19193  
19194  _ACEOF
19195  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19196 -  egrep "ut_time" >/dev/null 2>&1; then
19197 +  $EGREP "ut_time" >/dev/null 2>&1; then
19198                         eval "$ossh_varname=yes"
19199  else
19200                         eval "$ossh_varname=no"
19201 @@ -13285,36 +16016,41 @@
19202  
19203         ossh_result=`eval 'echo $'"$ossh_varname"`
19204         if test -n "`echo $ossh_varname`"; then
19205 -               echo "$as_me:13288: result: $ossh_result" >&5
19206 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19207  echo "${ECHO_T}$ossh_result" >&6
19208                 if test "x$ossh_result" = "xyes"; then
19209 -                       cat >>confdefs.h <<\EOF
19210 +                       cat >>confdefs.h <<\_ACEOF
19211  #define HAVE_TIME_IN_UTMPX 1
19212 -EOF
19213 +_ACEOF
19214  
19215                 fi
19216         else
19217 -               echo "$as_me:13297: result: no" >&5
19218 +               echo "$as_me:$LINENO: result: no" >&5
19219  echo "${ECHO_T}no" >&6
19220         fi
19221  
19222 +
19223  # look for field 'ut_tv' in header 'utmpx.h'
19224                 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
19225                 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
19226 -       echo "$as_me:13304: checking for ut_tv field in utmpx.h" >&5
19227 +       echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
19228  echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
19229         if eval "test \"\${$ossh_varname+set}\" = set"; then
19230    echo $ECHO_N "(cached) $ECHO_C" >&6
19231  else
19232  
19233                 cat >conftest.$ac_ext <<_ACEOF
19234 -#line 13311 "configure"
19235 -#include "confdefs.h"
19236 +#line $LINENO "configure"
19237 +/* confdefs.h.  */
19238 +_ACEOF
19239 +cat confdefs.h >>conftest.$ac_ext
19240 +cat >>conftest.$ac_ext <<_ACEOF
19241 +/* end confdefs.h.  */
19242  #include <utmpx.h>
19243  
19244  _ACEOF
19245  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19246 -  egrep "ut_tv" >/dev/null 2>&1; then
19247 +  $EGREP "ut_tv" >/dev/null 2>&1; then
19248                         eval "$ossh_varname=yes"
19249  else
19250                         eval "$ossh_varname=no"
19251 @@ -13325,27 +16061,32 @@
19252  
19253         ossh_result=`eval 'echo $'"$ossh_varname"`
19254         if test -n "`echo $ossh_varname`"; then
19255 -               echo "$as_me:13328: result: $ossh_result" >&5
19256 +               echo "$as_me:$LINENO: result: $ossh_result" >&5
19257  echo "${ECHO_T}$ossh_result" >&6
19258                 if test "x$ossh_result" = "xyes"; then
19259 -                       cat >>confdefs.h <<\EOF
19260 +                       cat >>confdefs.h <<\_ACEOF
19261  #define HAVE_TV_IN_UTMPX 1
19262 -EOF
19263 +_ACEOF
19264  
19265                 fi
19266         else
19267 -               echo "$as_me:13337: result: no" >&5
19268 +               echo "$as_me:$LINENO: result: no" >&5
19269  echo "${ECHO_T}no" >&6
19270         fi
19271  
19272 -echo "$as_me:13341: checking for struct stat.st_blksize" >&5
19273 +
19274 +echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
19275  echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
19276  if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
19277    echo $ECHO_N "(cached) $ECHO_C" >&6
19278  else
19279    cat >conftest.$ac_ext <<_ACEOF
19280 -#line 13347 "configure"
19281 -#include "confdefs.h"
19282 +#line $LINENO "configure"
19283 +/* confdefs.h.  */
19284 +_ACEOF
19285 +cat confdefs.h >>conftest.$ac_ext
19286 +cat >>conftest.$ac_ext <<_ACEOF
19287 +/* end confdefs.h.  */
19288  $ac_includes_default
19289  int
19290  main ()
19291 @@ -13358,44 +16099,88 @@
19292  }
19293  _ACEOF
19294  rm -f conftest.$ac_objext
19295 -if { (eval echo "$as_me:13361: \"$ac_compile\"") >&5
19296 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19297    (eval $ac_compile) 2>&5
19298    ac_status=$?
19299 -  echo "$as_me:13364: \$? = $ac_status" >&5
19300 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301    (exit $ac_status); } &&
19302           { ac_try='test -s conftest.$ac_objext'
19303 -  { (eval echo "$as_me:13367: \"$ac_try\"") >&5
19304 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305    (eval $ac_try) 2>&5
19306    ac_status=$?
19307 -  echo "$as_me:13370: \$? = $ac_status" >&5
19308 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309    (exit $ac_status); }; }; then
19310    ac_cv_member_struct_stat_st_blksize=yes
19311  else
19312    echo "$as_me: failed program was:" >&5
19313 -cat conftest.$ac_ext >&5
19314 +sed 's/^/| /' conftest.$ac_ext >&5
19315 +
19316 +cat >conftest.$ac_ext <<_ACEOF
19317 +#line $LINENO "configure"
19318 +/* confdefs.h.  */
19319 +_ACEOF
19320 +cat confdefs.h >>conftest.$ac_ext
19321 +cat >>conftest.$ac_ext <<_ACEOF
19322 +/* end confdefs.h.  */
19323 +$ac_includes_default
19324 +int
19325 +main ()
19326 +{
19327 +static struct stat ac_aggr;
19328 +if (sizeof ac_aggr.st_blksize)
19329 +return 0;
19330 +  ;
19331 +  return 0;
19332 +}
19333 +_ACEOF
19334 +rm -f conftest.$ac_objext
19335 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 +  (eval $ac_compile) 2>&5
19337 +  ac_status=$?
19338 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 +  (exit $ac_status); } &&
19340 +         { ac_try='test -s conftest.$ac_objext'
19341 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 +  (eval $ac_try) 2>&5
19343 +  ac_status=$?
19344 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 +  (exit $ac_status); }; }; then
19346 +  ac_cv_member_struct_stat_st_blksize=yes
19347 +else
19348 +  echo "$as_me: failed program was:" >&5
19349 +sed 's/^/| /' conftest.$ac_ext >&5
19350 +
19351  ac_cv_member_struct_stat_st_blksize=no
19352  fi
19353  rm -f conftest.$ac_objext conftest.$ac_ext
19354  fi
19355 -echo "$as_me:13380: result: $ac_cv_member_struct_stat_st_blksize" >&5
19356 +rm -f conftest.$ac_objext conftest.$ac_ext
19357 +fi
19358 +echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
19359  echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
19360  if test $ac_cv_member_struct_stat_st_blksize = yes; then
19361  
19362 -cat >>confdefs.h <<EOF
19363 +cat >>confdefs.h <<_ACEOF
19364  #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19365 -EOF
19366 +_ACEOF
19367 +
19368  
19369  fi
19370  
19371 -echo "$as_me:13390: checking for ss_family field in struct sockaddr_storage" >&5
19372 +
19373 +echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
19374  echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
19375  if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
19376    echo $ECHO_N "(cached) $ECHO_C" >&6
19377  else
19378  
19379         cat >conftest.$ac_ext <<_ACEOF
19380 -#line 13397 "configure"
19381 -#include "confdefs.h"
19382 +#line $LINENO "configure"
19383 +/* confdefs.h.  */
19384 +_ACEOF
19385 +cat confdefs.h >>conftest.$ac_ext
19386 +cat >>conftest.$ac_ext <<_ACEOF
19387 +/* end confdefs.h.  */
19388  
19389  #include <sys/types.h>
19390  #include <sys/socket.h>
19391 @@ -13409,44 +16194,49 @@
19392  }
19393  _ACEOF
19394  rm -f conftest.$ac_objext
19395 -if { (eval echo "$as_me:13412: \"$ac_compile\"") >&5
19396 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19397    (eval $ac_compile) 2>&5
19398    ac_status=$?
19399 -  echo "$as_me:13415: \$? = $ac_status" >&5
19400 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401    (exit $ac_status); } &&
19402           { ac_try='test -s conftest.$ac_objext'
19403 -  { (eval echo "$as_me:13418: \"$ac_try\"") >&5
19404 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405    (eval $ac_try) 2>&5
19406    ac_status=$?
19407 -  echo "$as_me:13421: \$? = $ac_status" >&5
19408 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409    (exit $ac_status); }; }; then
19410     ac_cv_have_ss_family_in_struct_ss="yes"
19411  else
19412    echo "$as_me: failed program was:" >&5
19413 -cat conftest.$ac_ext >&5
19414 +sed 's/^/| /' conftest.$ac_ext >&5
19415 +
19416   ac_cv_have_ss_family_in_struct_ss="no"
19417  fi
19418  rm -f conftest.$ac_objext conftest.$ac_ext
19419  
19420  fi
19421 -echo "$as_me:13432: result: $ac_cv_have_ss_family_in_struct_ss" >&5
19422 +echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
19423  echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
19424  if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
19425 -       cat >>confdefs.h <<\EOF
19426 +       cat >>confdefs.h <<\_ACEOF
19427  #define HAVE_SS_FAMILY_IN_SS 1
19428 -EOF
19429 +_ACEOF
19430  
19431  fi
19432  
19433 -echo "$as_me:13441: checking for __ss_family field in struct sockaddr_storage" >&5
19434 +echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
19435  echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
19436  if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
19437    echo $ECHO_N "(cached) $ECHO_C" >&6
19438  else
19439  
19440         cat >conftest.$ac_ext <<_ACEOF
19441 -#line 13448 "configure"
19442 -#include "confdefs.h"
19443 +#line $LINENO "configure"
19444 +/* confdefs.h.  */
19445 +_ACEOF
19446 +cat confdefs.h >>conftest.$ac_ext
19447 +cat >>conftest.$ac_ext <<_ACEOF
19448 +/* end confdefs.h.  */
19449  
19450  #include <sys/types.h>
19451  #include <sys/socket.h>
19452 @@ -13460,45 +16250,50 @@
19453  }
19454  _ACEOF
19455  rm -f conftest.$ac_objext
19456 -if { (eval echo "$as_me:13463: \"$ac_compile\"") >&5
19457 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458    (eval $ac_compile) 2>&5
19459    ac_status=$?
19460 -  echo "$as_me:13466: \$? = $ac_status" >&5
19461 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462    (exit $ac_status); } &&
19463           { ac_try='test -s conftest.$ac_objext'
19464 -  { (eval echo "$as_me:13469: \"$ac_try\"") >&5
19465 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466    (eval $ac_try) 2>&5
19467    ac_status=$?
19468 -  echo "$as_me:13472: \$? = $ac_status" >&5
19469 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470    (exit $ac_status); }; }; then
19471     ac_cv_have___ss_family_in_struct_ss="yes"
19472  else
19473    echo "$as_me: failed program was:" >&5
19474 -cat conftest.$ac_ext >&5
19475 +sed 's/^/| /' conftest.$ac_ext >&5
19476 +
19477   ac_cv_have___ss_family_in_struct_ss="no"
19478  
19479  fi
19480  rm -f conftest.$ac_objext conftest.$ac_ext
19481  
19482  fi
19483 -echo "$as_me:13484: result: $ac_cv_have___ss_family_in_struct_ss" >&5
19484 +echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
19485  echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
19486  if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
19487 -       cat >>confdefs.h <<\EOF
19488 +       cat >>confdefs.h <<\_ACEOF
19489  #define HAVE___SS_FAMILY_IN_SS 1
19490 -EOF
19491 +_ACEOF
19492  
19493  fi
19494  
19495 -echo "$as_me:13493: checking for pw_class field in struct passwd" >&5
19496 +echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
19497  echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
19498  if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
19499    echo $ECHO_N "(cached) $ECHO_C" >&6
19500  else
19501  
19502         cat >conftest.$ac_ext <<_ACEOF
19503 -#line 13500 "configure"
19504 -#include "confdefs.h"
19505 +#line $LINENO "configure"
19506 +/* confdefs.h.  */
19507 +_ACEOF
19508 +cat confdefs.h >>conftest.$ac_ext
19509 +cat >>conftest.$ac_ext <<_ACEOF
19510 +/* end confdefs.h.  */
19511  
19512  #include <pwd.h>
19513  
19514 @@ -13511,45 +16306,50 @@
19515  }
19516  _ACEOF
19517  rm -f conftest.$ac_objext
19518 -if { (eval echo "$as_me:13514: \"$ac_compile\"") >&5
19519 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520    (eval $ac_compile) 2>&5
19521    ac_status=$?
19522 -  echo "$as_me:13517: \$? = $ac_status" >&5
19523 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524    (exit $ac_status); } &&
19525           { ac_try='test -s conftest.$ac_objext'
19526 -  { (eval echo "$as_me:13520: \"$ac_try\"") >&5
19527 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528    (eval $ac_try) 2>&5
19529    ac_status=$?
19530 -  echo "$as_me:13523: \$? = $ac_status" >&5
19531 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532    (exit $ac_status); }; }; then
19533     ac_cv_have_pw_class_in_struct_passwd="yes"
19534  else
19535    echo "$as_me: failed program was:" >&5
19536 -cat conftest.$ac_ext >&5
19537 +sed 's/^/| /' conftest.$ac_ext >&5
19538 +
19539   ac_cv_have_pw_class_in_struct_passwd="no"
19540  
19541  fi
19542  rm -f conftest.$ac_objext conftest.$ac_ext
19543  
19544  fi
19545 -echo "$as_me:13535: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
19546 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
19547  echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
19548  if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
19549 -       cat >>confdefs.h <<\EOF
19550 +       cat >>confdefs.h <<\_ACEOF
19551  #define HAVE_PW_CLASS_IN_PASSWD 1
19552 -EOF
19553 +_ACEOF
19554  
19555  fi
19556  
19557 -echo "$as_me:13544: checking for pw_expire field in struct passwd" >&5
19558 +echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
19559  echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
19560  if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
19561    echo $ECHO_N "(cached) $ECHO_C" >&6
19562  else
19563  
19564         cat >conftest.$ac_ext <<_ACEOF
19565 -#line 13551 "configure"
19566 -#include "confdefs.h"
19567 +#line $LINENO "configure"
19568 +/* confdefs.h.  */
19569 +_ACEOF
19570 +cat confdefs.h >>conftest.$ac_ext
19571 +cat >>conftest.$ac_ext <<_ACEOF
19572 +/* end confdefs.h.  */
19573  
19574  #include <pwd.h>
19575  
19576 @@ -13562,45 +16362,50 @@
19577  }
19578  _ACEOF
19579  rm -f conftest.$ac_objext
19580 -if { (eval echo "$as_me:13565: \"$ac_compile\"") >&5
19581 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19582    (eval $ac_compile) 2>&5
19583    ac_status=$?
19584 -  echo "$as_me:13568: \$? = $ac_status" >&5
19585 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586    (exit $ac_status); } &&
19587           { ac_try='test -s conftest.$ac_objext'
19588 -  { (eval echo "$as_me:13571: \"$ac_try\"") >&5
19589 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19590    (eval $ac_try) 2>&5
19591    ac_status=$?
19592 -  echo "$as_me:13574: \$? = $ac_status" >&5
19593 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594    (exit $ac_status); }; }; then
19595     ac_cv_have_pw_expire_in_struct_passwd="yes"
19596  else
19597    echo "$as_me: failed program was:" >&5
19598 -cat conftest.$ac_ext >&5
19599 +sed 's/^/| /' conftest.$ac_ext >&5
19600 +
19601   ac_cv_have_pw_expire_in_struct_passwd="no"
19602  
19603  fi
19604  rm -f conftest.$ac_objext conftest.$ac_ext
19605  
19606  fi
19607 -echo "$as_me:13586: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
19608 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
19609  echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
19610  if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
19611 -       cat >>confdefs.h <<\EOF
19612 +       cat >>confdefs.h <<\_ACEOF
19613  #define HAVE_PW_EXPIRE_IN_PASSWD 1
19614 -EOF
19615 +_ACEOF
19616  
19617  fi
19618  
19619 -echo "$as_me:13595: checking for pw_change field in struct passwd" >&5
19620 +echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
19621  echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
19622  if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
19623    echo $ECHO_N "(cached) $ECHO_C" >&6
19624  else
19625  
19626         cat >conftest.$ac_ext <<_ACEOF
19627 -#line 13602 "configure"
19628 -#include "confdefs.h"
19629 +#line $LINENO "configure"
19630 +/* confdefs.h.  */
19631 +_ACEOF
19632 +cat confdefs.h >>conftest.$ac_ext
19633 +cat >>conftest.$ac_ext <<_ACEOF
19634 +/* end confdefs.h.  */
19635  
19636  #include <pwd.h>
19637  
19638 @@ -13613,50 +16418,57 @@
19639  }
19640  _ACEOF
19641  rm -f conftest.$ac_objext
19642 -if { (eval echo "$as_me:13616: \"$ac_compile\"") >&5
19643 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644    (eval $ac_compile) 2>&5
19645    ac_status=$?
19646 -  echo "$as_me:13619: \$? = $ac_status" >&5
19647 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648    (exit $ac_status); } &&
19649           { ac_try='test -s conftest.$ac_objext'
19650 -  { (eval echo "$as_me:13622: \"$ac_try\"") >&5
19651 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652    (eval $ac_try) 2>&5
19653    ac_status=$?
19654 -  echo "$as_me:13625: \$? = $ac_status" >&5
19655 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656    (exit $ac_status); }; }; then
19657     ac_cv_have_pw_change_in_struct_passwd="yes"
19658  else
19659    echo "$as_me: failed program was:" >&5
19660 -cat conftest.$ac_ext >&5
19661 +sed 's/^/| /' conftest.$ac_ext >&5
19662 +
19663   ac_cv_have_pw_change_in_struct_passwd="no"
19664  
19665  fi
19666  rm -f conftest.$ac_objext conftest.$ac_ext
19667  
19668  fi
19669 -echo "$as_me:13637: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
19670 +echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
19671  echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
19672  if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
19673 -       cat >>confdefs.h <<\EOF
19674 +       cat >>confdefs.h <<\_ACEOF
19675  #define HAVE_PW_CHANGE_IN_PASSWD 1
19676 -EOF
19677 +_ACEOF
19678  
19679  fi
19680  
19681 -echo "$as_me:13646: checking for msg_accrights field in struct msghdr" >&5
19682 +echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
19683  echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
19684  if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
19685    echo $ECHO_N "(cached) $ECHO_C" >&6
19686  else
19687  
19688         if test "$cross_compiling" = yes; then
19689 -  { { echo "$as_me:13653: error: cannot run test program while cross compiling" >&5
19690 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
19691 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19692 +See \`config.log' for more details." >&5
19693 +echo "$as_me: error: cannot run test program while cross compiling
19694 +See \`config.log' for more details." >&2;}
19695     { (exit 1); exit 1; }; }
19696  else
19697    cat >conftest.$ac_ext <<_ACEOF
19698 -#line 13658 "configure"
19699 -#include "confdefs.h"
19700 +#line $LINENO "configure"
19701 +/* confdefs.h.  */
19702 +_ACEOF
19703 +cat confdefs.h >>conftest.$ac_ext
19704 +cat >>conftest.$ac_ext <<_ACEOF
19705 +/* end confdefs.h.  */
19706  
19707  #include <sys/types.h>
19708  #include <sys/socket.h>
19709 @@ -13672,51 +16484,59 @@
19710  
19711  _ACEOF
19712  rm -f conftest$ac_exeext
19713 -if { (eval echo "$as_me:13675: \"$ac_link\"") >&5
19714 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715    (eval $ac_link) 2>&5
19716    ac_status=$?
19717 -  echo "$as_me:13678: \$? = $ac_status" >&5
19718 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19720 -  { (eval echo "$as_me:13680: \"$ac_try\"") >&5
19721 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722    (eval $ac_try) 2>&5
19723    ac_status=$?
19724 -  echo "$as_me:13683: \$? = $ac_status" >&5
19725 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726    (exit $ac_status); }; }; then
19727     ac_cv_have_accrights_in_msghdr="yes"
19728  else
19729    echo "$as_me: program exited with status $ac_status" >&5
19730  echo "$as_me: failed program was:" >&5
19731 -cat conftest.$ac_ext >&5
19732 +sed 's/^/| /' conftest.$ac_ext >&5
19733 +
19734 +( exit $ac_status )
19735   ac_cv_have_accrights_in_msghdr="no"
19736  
19737  fi
19738 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19739 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19740  fi
19741  
19742  fi
19743 -echo "$as_me:13697: result: $ac_cv_have_accrights_in_msghdr" >&5
19744 +echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
19745  echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
19746  if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
19747 -       cat >>confdefs.h <<\EOF
19748 +       cat >>confdefs.h <<\_ACEOF
19749  #define HAVE_ACCRIGHTS_IN_MSGHDR 1
19750 -EOF
19751 +_ACEOF
19752  
19753  fi
19754  
19755 -echo "$as_me:13706: checking for msg_control field in struct msghdr" >&5
19756 +echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
19757  echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
19758  if test "${ac_cv_have_control_in_msghdr+set}" = set; then
19759    echo $ECHO_N "(cached) $ECHO_C" >&6
19760  else
19761  
19762         if test "$cross_compiling" = yes; then
19763 -  { { echo "$as_me:13713: error: cannot run test program while cross compiling" >&5
19764 -echo "$as_me: error: cannot run test program while cross compiling" >&2;}
19765 +  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19766 +See \`config.log' for more details." >&5
19767 +echo "$as_me: error: cannot run test program while cross compiling
19768 +See \`config.log' for more details." >&2;}
19769     { (exit 1); exit 1; }; }
19770  else
19771    cat >conftest.$ac_ext <<_ACEOF
19772 -#line 13718 "configure"
19773 -#include "confdefs.h"
19774 +#line $LINENO "configure"
19775 +/* confdefs.h.  */
19776 +_ACEOF
19777 +cat confdefs.h >>conftest.$ac_ext
19778 +cat >>conftest.$ac_ext <<_ACEOF
19779 +/* end confdefs.h.  */
19780  
19781  #include <sys/types.h>
19782  #include <sys/socket.h>
19783 @@ -13732,46 +16552,52 @@
19784  
19785  _ACEOF
19786  rm -f conftest$ac_exeext
19787 -if { (eval echo "$as_me:13735: \"$ac_link\"") >&5
19788 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19789    (eval $ac_link) 2>&5
19790    ac_status=$?
19791 -  echo "$as_me:13738: \$? = $ac_status" >&5
19792 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19794 -  { (eval echo "$as_me:13740: \"$ac_try\"") >&5
19795 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796    (eval $ac_try) 2>&5
19797    ac_status=$?
19798 -  echo "$as_me:13743: \$? = $ac_status" >&5
19799 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800    (exit $ac_status); }; }; then
19801     ac_cv_have_control_in_msghdr="yes"
19802  else
19803    echo "$as_me: program exited with status $ac_status" >&5
19804  echo "$as_me: failed program was:" >&5
19805 -cat conftest.$ac_ext >&5
19806 +sed 's/^/| /' conftest.$ac_ext >&5
19807 +
19808 +( exit $ac_status )
19809   ac_cv_have_control_in_msghdr="no"
19810  
19811  fi
19812 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19813 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19814  fi
19815  
19816  fi
19817 -echo "$as_me:13757: result: $ac_cv_have_control_in_msghdr" >&5
19818 +echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
19819  echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
19820  if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
19821 -       cat >>confdefs.h <<\EOF
19822 +       cat >>confdefs.h <<\_ACEOF
19823  #define HAVE_CONTROL_IN_MSGHDR 1
19824 -EOF
19825 +_ACEOF
19826  
19827  fi
19828  
19829 -echo "$as_me:13766: checking if libc defines __progname" >&5
19830 +echo "$as_me:$LINENO: checking if libc defines __progname" >&5
19831  echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
19832  if test "${ac_cv_libc_defines___progname+set}" = set; then
19833    echo $ECHO_N "(cached) $ECHO_C" >&6
19834  else
19835  
19836         cat >conftest.$ac_ext <<_ACEOF
19837 -#line 13773 "configure"
19838 -#include "confdefs.h"
19839 +#line $LINENO "configure"
19840 +/* confdefs.h.  */
19841 +_ACEOF
19842 +cat confdefs.h >>conftest.$ac_ext
19843 +cat >>conftest.$ac_ext <<_ACEOF
19844 +/* end confdefs.h.  */
19845  
19846  int
19847  main ()
19848 @@ -13782,45 +16608,50 @@
19849  }
19850  _ACEOF
19851  rm -f conftest.$ac_objext conftest$ac_exeext
19852 -if { (eval echo "$as_me:13785: \"$ac_link\"") >&5
19853 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19854    (eval $ac_link) 2>&5
19855    ac_status=$?
19856 -  echo "$as_me:13788: \$? = $ac_status" >&5
19857 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858    (exit $ac_status); } &&
19859           { ac_try='test -s conftest$ac_exeext'
19860 -  { (eval echo "$as_me:13791: \"$ac_try\"") >&5
19861 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862    (eval $ac_try) 2>&5
19863    ac_status=$?
19864 -  echo "$as_me:13794: \$? = $ac_status" >&5
19865 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866    (exit $ac_status); }; }; then
19867     ac_cv_libc_defines___progname="yes"
19868  else
19869    echo "$as_me: failed program was:" >&5
19870 -cat conftest.$ac_ext >&5
19871 +sed 's/^/| /' conftest.$ac_ext >&5
19872 +
19873   ac_cv_libc_defines___progname="no"
19874  
19875  fi
19876  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19877  
19878  fi
19879 -echo "$as_me:13806: result: $ac_cv_libc_defines___progname" >&5
19880 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
19881  echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
19882  if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
19883 -       cat >>confdefs.h <<\EOF
19884 +       cat >>confdefs.h <<\_ACEOF
19885  #define HAVE___PROGNAME 1
19886 -EOF
19887 +_ACEOF
19888  
19889  fi
19890  
19891 -echo "$as_me:13815: checking whether $CC implements __FUNCTION__" >&5
19892 +echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
19893  echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
19894  if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
19895    echo $ECHO_N "(cached) $ECHO_C" >&6
19896  else
19897  
19898         cat >conftest.$ac_ext <<_ACEOF
19899 -#line 13822 "configure"
19900 -#include "confdefs.h"
19901 +#line $LINENO "configure"
19902 +/* confdefs.h.  */
19903 +_ACEOF
19904 +cat confdefs.h >>conftest.$ac_ext
19905 +cat >>conftest.$ac_ext <<_ACEOF
19906 +/* end confdefs.h.  */
19907  
19908  #include <stdio.h>
19909  
19910 @@ -13833,45 +16664,50 @@
19911  }
19912  _ACEOF
19913  rm -f conftest.$ac_objext conftest$ac_exeext
19914 -if { (eval echo "$as_me:13836: \"$ac_link\"") >&5
19915 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19916    (eval $ac_link) 2>&5
19917    ac_status=$?
19918 -  echo "$as_me:13839: \$? = $ac_status" >&5
19919 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920    (exit $ac_status); } &&
19921           { ac_try='test -s conftest$ac_exeext'
19922 -  { (eval echo "$as_me:13842: \"$ac_try\"") >&5
19923 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924    (eval $ac_try) 2>&5
19925    ac_status=$?
19926 -  echo "$as_me:13845: \$? = $ac_status" >&5
19927 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928    (exit $ac_status); }; }; then
19929     ac_cv_cc_implements___FUNCTION__="yes"
19930  else
19931    echo "$as_me: failed program was:" >&5
19932 -cat conftest.$ac_ext >&5
19933 +sed 's/^/| /' conftest.$ac_ext >&5
19934 +
19935   ac_cv_cc_implements___FUNCTION__="no"
19936  
19937  fi
19938  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19939  
19940  fi
19941 -echo "$as_me:13857: result: $ac_cv_cc_implements___FUNCTION__" >&5
19942 +echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
19943  echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
19944  if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
19945 -       cat >>confdefs.h <<\EOF
19946 +       cat >>confdefs.h <<\_ACEOF
19947  #define HAVE___FUNCTION__ 1
19948 -EOF
19949 +_ACEOF
19950  
19951  fi
19952  
19953 -echo "$as_me:13866: checking whether $CC implements __func__" >&5
19954 +echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
19955  echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
19956  if test "${ac_cv_cc_implements___func__+set}" = set; then
19957    echo $ECHO_N "(cached) $ECHO_C" >&6
19958  else
19959  
19960         cat >conftest.$ac_ext <<_ACEOF
19961 -#line 13873 "configure"
19962 -#include "confdefs.h"
19963 +#line $LINENO "configure"
19964 +/* confdefs.h.  */
19965 +_ACEOF
19966 +cat confdefs.h >>conftest.$ac_ext
19967 +cat >>conftest.$ac_ext <<_ACEOF
19968 +/* end confdefs.h.  */
19969  
19970  #include <stdio.h>
19971  
19972 @@ -13884,45 +16720,50 @@
19973  }
19974  _ACEOF
19975  rm -f conftest.$ac_objext conftest$ac_exeext
19976 -if { (eval echo "$as_me:13887: \"$ac_link\"") >&5
19977 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19978    (eval $ac_link) 2>&5
19979    ac_status=$?
19980 -  echo "$as_me:13890: \$? = $ac_status" >&5
19981 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982    (exit $ac_status); } &&
19983           { ac_try='test -s conftest$ac_exeext'
19984 -  { (eval echo "$as_me:13893: \"$ac_try\"") >&5
19985 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986    (eval $ac_try) 2>&5
19987    ac_status=$?
19988 -  echo "$as_me:13896: \$? = $ac_status" >&5
19989 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990    (exit $ac_status); }; }; then
19991     ac_cv_cc_implements___func__="yes"
19992  else
19993    echo "$as_me: failed program was:" >&5
19994 -cat conftest.$ac_ext >&5
19995 +sed 's/^/| /' conftest.$ac_ext >&5
19996 +
19997   ac_cv_cc_implements___func__="no"
19998  
19999  fi
20000  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20001  
20002  fi
20003 -echo "$as_me:13908: result: $ac_cv_cc_implements___func__" >&5
20004 +echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
20005  echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
20006  if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
20007 -       cat >>confdefs.h <<\EOF
20008 +       cat >>confdefs.h <<\_ACEOF
20009  #define HAVE___func__ 1
20010 -EOF
20011 +_ACEOF
20012  
20013  fi
20014  
20015 -echo "$as_me:13917: checking whether getopt has optreset support" >&5
20016 +echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
20017  echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
20018  if test "${ac_cv_have_getopt_optreset+set}" = set; then
20019    echo $ECHO_N "(cached) $ECHO_C" >&6
20020  else
20021  
20022         cat >conftest.$ac_ext <<_ACEOF
20023 -#line 13924 "configure"
20024 -#include "confdefs.h"
20025 +#line $LINENO "configure"
20026 +/* confdefs.h.  */
20027 +_ACEOF
20028 +cat confdefs.h >>conftest.$ac_ext
20029 +cat >>conftest.$ac_ext <<_ACEOF
20030 +/* end confdefs.h.  */
20031  
20032  #include <getopt.h>
20033  
20034 @@ -13935,45 +16776,50 @@
20035  }
20036  _ACEOF
20037  rm -f conftest.$ac_objext conftest$ac_exeext
20038 -if { (eval echo "$as_me:13938: \"$ac_link\"") >&5
20039 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20040    (eval $ac_link) 2>&5
20041    ac_status=$?
20042 -  echo "$as_me:13941: \$? = $ac_status" >&5
20043 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044    (exit $ac_status); } &&
20045           { ac_try='test -s conftest$ac_exeext'
20046 -  { (eval echo "$as_me:13944: \"$ac_try\"") >&5
20047 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048    (eval $ac_try) 2>&5
20049    ac_status=$?
20050 -  echo "$as_me:13947: \$? = $ac_status" >&5
20051 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052    (exit $ac_status); }; }; then
20053     ac_cv_have_getopt_optreset="yes"
20054  else
20055    echo "$as_me: failed program was:" >&5
20056 -cat conftest.$ac_ext >&5
20057 +sed 's/^/| /' conftest.$ac_ext >&5
20058 +
20059   ac_cv_have_getopt_optreset="no"
20060  
20061  fi
20062  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20063  
20064  fi
20065 -echo "$as_me:13959: result: $ac_cv_have_getopt_optreset" >&5
20066 +echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
20067  echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
20068  if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
20069 -       cat >>confdefs.h <<\EOF
20070 +       cat >>confdefs.h <<\_ACEOF
20071  #define HAVE_GETOPT_OPTRESET 1
20072 -EOF
20073 +_ACEOF
20074  
20075  fi
20076  
20077 -echo "$as_me:13968: checking if libc defines sys_errlist" >&5
20078 +echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
20079  echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
20080  if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
20081    echo $ECHO_N "(cached) $ECHO_C" >&6
20082  else
20083  
20084         cat >conftest.$ac_ext <<_ACEOF
20085 -#line 13975 "configure"
20086 -#include "confdefs.h"
20087 +#line $LINENO "configure"
20088 +/* confdefs.h.  */
20089 +_ACEOF
20090 +cat confdefs.h >>conftest.$ac_ext
20091 +cat >>conftest.$ac_ext <<_ACEOF
20092 +/* end confdefs.h.  */
20093  
20094  int
20095  main ()
20096 @@ -13984,45 +16830,51 @@
20097  }
20098  _ACEOF
20099  rm -f conftest.$ac_objext conftest$ac_exeext
20100 -if { (eval echo "$as_me:13987: \"$ac_link\"") >&5
20101 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20102    (eval $ac_link) 2>&5
20103    ac_status=$?
20104 -  echo "$as_me:13990: \$? = $ac_status" >&5
20105 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106    (exit $ac_status); } &&
20107           { ac_try='test -s conftest$ac_exeext'
20108 -  { (eval echo "$as_me:13993: \"$ac_try\"") >&5
20109 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110    (eval $ac_try) 2>&5
20111    ac_status=$?
20112 -  echo "$as_me:13996: \$? = $ac_status" >&5
20113 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114    (exit $ac_status); }; }; then
20115     ac_cv_libc_defines_sys_errlist="yes"
20116  else
20117    echo "$as_me: failed program was:" >&5
20118 -cat conftest.$ac_ext >&5
20119 +sed 's/^/| /' conftest.$ac_ext >&5
20120 +
20121   ac_cv_libc_defines_sys_errlist="no"
20122  
20123  fi
20124  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20125  
20126  fi
20127 -echo "$as_me:14008: result: $ac_cv_libc_defines_sys_errlist" >&5
20128 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
20129  echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
20130  if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
20131 -       cat >>confdefs.h <<\EOF
20132 +       cat >>confdefs.h <<\_ACEOF
20133  #define HAVE_SYS_ERRLIST 1
20134 -EOF
20135 +_ACEOF
20136  
20137  fi
20138  
20139 -echo "$as_me:14017: checking if libc defines sys_nerr" >&5
20140 +
20141 +echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
20142  echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
20143  if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
20144    echo $ECHO_N "(cached) $ECHO_C" >&6
20145  else
20146  
20147         cat >conftest.$ac_ext <<_ACEOF
20148 -#line 14024 "configure"
20149 -#include "confdefs.h"
20150 +#line $LINENO "configure"
20151 +/* confdefs.h.  */
20152 +_ACEOF
20153 +cat confdefs.h >>conftest.$ac_ext
20154 +cat >>conftest.$ac_ext <<_ACEOF
20155 +/* end confdefs.h.  */
20156  
20157  int
20158  main ()
20159 @@ -14033,33 +16885,34 @@
20160  }
20161  _ACEOF
20162  rm -f conftest.$ac_objext conftest$ac_exeext
20163 -if { (eval echo "$as_me:14036: \"$ac_link\"") >&5
20164 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165    (eval $ac_link) 2>&5
20166    ac_status=$?
20167 -  echo "$as_me:14039: \$? = $ac_status" >&5
20168 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169    (exit $ac_status); } &&
20170           { ac_try='test -s conftest$ac_exeext'
20171 -  { (eval echo "$as_me:14042: \"$ac_try\"") >&5
20172 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173    (eval $ac_try) 2>&5
20174    ac_status=$?
20175 -  echo "$as_me:14045: \$? = $ac_status" >&5
20176 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177    (exit $ac_status); }; }; then
20178     ac_cv_libc_defines_sys_nerr="yes"
20179  else
20180    echo "$as_me: failed program was:" >&5
20181 -cat conftest.$ac_ext >&5
20182 +sed 's/^/| /' conftest.$ac_ext >&5
20183 +
20184   ac_cv_libc_defines_sys_nerr="no"
20185  
20186  fi
20187  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20188  
20189  fi
20190 -echo "$as_me:14057: result: $ac_cv_libc_defines_sys_nerr" >&5
20191 +echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
20192  echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
20193  if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
20194 -       cat >>confdefs.h <<\EOF
20195 +       cat >>confdefs.h <<\_ACEOF
20196  #define HAVE_SYS_NERR 1
20197 -EOF
20198 +_ACEOF
20199  
20200  fi
20201  
20202 @@ -14085,23 +16938,70 @@
20203  for ac_header in sectok.h
20204  do
20205  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20206 -echo "$as_me:14088: checking for $ac_header" >&5
20207 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20208 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
20209  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20210  if eval "test \"\${$as_ac_Header+set}\" = set"; then
20211    echo $ECHO_N "(cached) $ECHO_C" >&6
20212 +fi
20213 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20214 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20215  else
20216 -  cat >conftest.$ac_ext <<_ACEOF
20217 -#line 14094 "configure"
20218 -#include "confdefs.h"
20219 +  # Is the header compilable?
20220 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
20221 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20222 +cat >conftest.$ac_ext <<_ACEOF
20223 +#line $LINENO "configure"
20224 +/* confdefs.h.  */
20225 +_ACEOF
20226 +cat confdefs.h >>conftest.$ac_ext
20227 +cat >>conftest.$ac_ext <<_ACEOF
20228 +/* end confdefs.h.  */
20229 +$ac_includes_default
20230  #include <$ac_header>
20231  _ACEOF
20232 -if { (eval echo "$as_me:14098: \"$ac_cpp conftest.$ac_ext\"") >&5
20233 +rm -f conftest.$ac_objext
20234 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 +  (eval $ac_compile) 2>&5
20236 +  ac_status=$?
20237 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 +  (exit $ac_status); } &&
20239 +         { ac_try='test -s conftest.$ac_objext'
20240 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 +  (eval $ac_try) 2>&5
20242 +  ac_status=$?
20243 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 +  (exit $ac_status); }; }; then
20245 +  ac_header_compiler=yes
20246 +else
20247 +  echo "$as_me: failed program was:" >&5
20248 +sed 's/^/| /' conftest.$ac_ext >&5
20249 +
20250 +ac_header_compiler=no
20251 +fi
20252 +rm -f conftest.$ac_objext conftest.$ac_ext
20253 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20254 +echo "${ECHO_T}$ac_header_compiler" >&6
20255 +
20256 +# Is the header present?
20257 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
20258 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20259 +cat >conftest.$ac_ext <<_ACEOF
20260 +#line $LINENO "configure"
20261 +/* confdefs.h.  */
20262 +_ACEOF
20263 +cat confdefs.h >>conftest.$ac_ext
20264 +cat >>conftest.$ac_ext <<_ACEOF
20265 +/* end confdefs.h.  */
20266 +#include <$ac_header>
20267 +_ACEOF
20268 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20269    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20270    ac_status=$?
20271 -  egrep -v '^ *\+' conftest.er1 >conftest.err
20272 +  grep -v '^ *+' conftest.er1 >conftest.err
20273    rm -f conftest.er1
20274    cat conftest.err >&5
20275 -  echo "$as_me:14104: \$? = $ac_status" >&5
20276 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277    (exit $ac_status); } >/dev/null; then
20278    if test -s conftest.err; then
20279      ac_cpp_err=$ac_c_preproc_warn_flag
20280 @@ -14112,31 +17012,77 @@
20281    ac_cpp_err=yes
20282  fi
20283  if test -z "$ac_cpp_err"; then
20284 -  eval "$as_ac_Header=yes"
20285 +  ac_header_preproc=yes
20286  else
20287    echo "$as_me: failed program was:" >&5
20288 -  cat conftest.$ac_ext >&5
20289 -  eval "$as_ac_Header=no"
20290 +sed 's/^/| /' conftest.$ac_ext >&5
20291 +
20292 +  ac_header_preproc=no
20293  fi
20294  rm -f conftest.err conftest.$ac_ext
20295 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20296 +echo "${ECHO_T}$ac_header_preproc" >&6
20297 +
20298 +# So?  What about this header?
20299 +case $ac_header_compiler:$ac_header_preproc in
20300 +  yes:no )
20301 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20302 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20303 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20304 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20305 +    (
20306 +      cat <<\_ASBOX
20307 +## ------------------------------------ ##
20308 +## Report this to bug-autoconf@gnu.org. ##
20309 +## ------------------------------------ ##
20310 +_ASBOX
20311 +    ) |
20312 +      sed "s/^/$as_me: WARNING:     /" >&2
20313 +    ;;
20314 +  no:yes )
20315 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20316 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20317 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20318 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20319 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20320 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20321 +    (
20322 +      cat <<\_ASBOX
20323 +## ------------------------------------ ##
20324 +## Report this to bug-autoconf@gnu.org. ##
20325 +## ------------------------------------ ##
20326 +_ASBOX
20327 +    ) |
20328 +      sed "s/^/$as_me: WARNING:     /" >&2
20329 +    ;;
20330 +esac
20331 +echo "$as_me:$LINENO: checking for $ac_header" >&5
20332 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20333 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20334 +  echo $ECHO_N "(cached) $ECHO_C" >&6
20335 +else
20336 +  eval "$as_ac_Header=$ac_header_preproc"
20337  fi
20338 -echo "$as_me:14123: result: `eval echo '${'$as_ac_Header'}'`" >&5
20339 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20340  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20341 +
20342 +fi
20343  if test `eval echo '${'$as_ac_Header'}'` = yes; then
20344 -  cat >>confdefs.h <<EOF
20345 +  cat >>confdefs.h <<_ACEOF
20346  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20347 -EOF
20348 +_ACEOF
20349  
20350  fi
20351 +
20352  done
20353  
20354                         if test "$ac_cv_header_sectok_h" != yes; then
20355 -                               { { echo "$as_me:14134: error: Can't find sectok.h" >&5
20356 +                               { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
20357  echo "$as_me: error: Can't find sectok.h" >&2;}
20358     { (exit 1); exit 1; }; }
20359                         fi
20360  
20361 -echo "$as_me:14139: checking for sectok_open in -lsectok" >&5
20362 +echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
20363  echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
20364  if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
20365    echo $ECHO_N "(cached) $ECHO_C" >&6
20366 @@ -14144,8 +17090,12 @@
20367    ac_check_lib_save_LIBS=$LIBS
20368  LIBS="-lsectok  $LIBS"
20369  cat >conftest.$ac_ext <<_ACEOF
20370 -#line 14147 "configure"
20371 -#include "confdefs.h"
20372 +#line $LINENO "configure"
20373 +/* confdefs.h.  */
20374 +_ACEOF
20375 +cat confdefs.h >>conftest.$ac_ext
20376 +cat >>conftest.$ac_ext <<_ACEOF
20377 +/* end confdefs.h.  */
20378  
20379  /* Override any gcc2 internal prototype to avoid an error.  */
20380  #ifdef __cplusplus
20381 @@ -14163,53 +17113,55 @@
20382  }
20383  _ACEOF
20384  rm -f conftest.$ac_objext conftest$ac_exeext
20385 -if { (eval echo "$as_me:14166: \"$ac_link\"") >&5
20386 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20387    (eval $ac_link) 2>&5
20388    ac_status=$?
20389 -  echo "$as_me:14169: \$? = $ac_status" >&5
20390 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391    (exit $ac_status); } &&
20392           { ac_try='test -s conftest$ac_exeext'
20393 -  { (eval echo "$as_me:14172: \"$ac_try\"") >&5
20394 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395    (eval $ac_try) 2>&5
20396    ac_status=$?
20397 -  echo "$as_me:14175: \$? = $ac_status" >&5
20398 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399    (exit $ac_status); }; }; then
20400    ac_cv_lib_sectok_sectok_open=yes
20401  else
20402    echo "$as_me: failed program was:" >&5
20403 -cat conftest.$ac_ext >&5
20404 +sed 's/^/| /' conftest.$ac_ext >&5
20405 +
20406  ac_cv_lib_sectok_sectok_open=no
20407  fi
20408  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20409  LIBS=$ac_check_lib_save_LIBS
20410  fi
20411 -echo "$as_me:14186: result: $ac_cv_lib_sectok_sectok_open" >&5
20412 +echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
20413  echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
20414  if test $ac_cv_lib_sectok_sectok_open = yes; then
20415 -  cat >>confdefs.h <<EOF
20416 +  cat >>confdefs.h <<_ACEOF
20417  #define HAVE_LIBSECTOK 1
20418 -EOF
20419 +_ACEOF
20420  
20421    LIBS="-lsectok $LIBS"
20422  
20423  fi
20424  
20425                         if test "$ac_cv_lib_sectok_sectok_open" != yes; then
20426 -                               { { echo "$as_me:14198: error: Can't find libsectok" >&5
20427 +                               { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
20428  echo "$as_me: error: Can't find libsectok" >&2;}
20429     { (exit 1); exit 1; }; }
20430                         fi
20431 -                       cat >>confdefs.h <<\EOF
20432 +                       cat >>confdefs.h <<\_ACEOF
20433  #define SMARTCARD 1
20434 -EOF
20435 +_ACEOF
20436  
20437 -                       cat >>confdefs.h <<\EOF
20438 +                       cat >>confdefs.h <<\_ACEOF
20439  #define USE_SECTOK 1
20440 -EOF
20441 +_ACEOF
20442  
20443                         SCARD_MSG="yes, using sectok"
20444                 fi
20445  
20446 +
20447  fi;
20448  
20449  # Check whether user wants OpenSC support
20450 @@ -14225,7 +17177,7 @@
20451    OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
20452    # Extract the first word of "opensc-config", so it can be a program name with args.
20453  set dummy opensc-config; ac_word=$2
20454 -echo "$as_me:14228: checking for $ac_word" >&5
20455 +echo "$as_me:$LINENO: checking for $ac_word" >&5
20456  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20457  if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
20458    echo $ECHO_N "(cached) $ECHO_C" >&6
20459 @@ -14235,16 +17187,18 @@
20460    ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
20461    ;;
20462    *)
20463 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
20464 -ac_dummy="$PATH"
20465 -for ac_dir in $ac_dummy; do
20466 -  IFS=$ac_save_IFS
20467 -  test -z "$ac_dir" && ac_dir=.
20468 -  if $as_executable_p "$ac_dir/$ac_word"; then
20469 -   ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word"
20470 -   echo "$as_me:14245: found $ac_dir/$ac_word" >&5
20471 -   break
20472 -fi
20473 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20474 +for as_dir in $PATH
20475 +do
20476 +  IFS=$as_save_IFS
20477 +  test -z "$as_dir" && as_dir=.
20478 +  for ac_exec_ext in '' $ac_executable_extensions; do
20479 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20480 +    ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20481 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20482 +    break 2
20483 +  fi
20484 +done
20485  done
20486  
20487    test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
20488 @@ -14254,10 +17208,10 @@
20489  OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
20490  
20491  if test -n "$OPENSC_CONFIG"; then
20492 -  echo "$as_me:14257: result: $OPENSC_CONFIG" >&5
20493 +  echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
20494  echo "${ECHO_T}$OPENSC_CONFIG" >&6
20495  else
20496 -  echo "$as_me:14260: result: no" >&5
20497 +  echo "$as_me:$LINENO: result: no" >&5
20498  echo "${ECHO_T}no" >&6
20499  fi
20500  
20501 @@ -14266,13 +17220,13 @@
20502      LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
20503      CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
20504      LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
20505 -    cat >>confdefs.h <<\EOF
20506 +    cat >>confdefs.h <<\_ACEOF
20507  #define SMARTCARD 1
20508 -EOF
20509 +_ACEOF
20510  
20511 -    cat >>confdefs.h <<\EOF
20512 +    cat >>confdefs.h <<\_ACEOF
20513  #define USE_OPENSC 1
20514 -EOF
20515 +_ACEOF
20516  
20517      SCARD_MSG="yes, using OpenSC"
20518    fi
20519 @@ -14287,11 +17241,11 @@
20520  
20521                 if test "x$withval" != "xno" ; then
20522                         DNS_MSG="yes"
20523 -                       cat >>confdefs.h <<\EOF
20524 +                       cat >>confdefs.h <<\_ACEOF
20525  #define DNS 1
20526 -EOF
20527 +_ACEOF
20528  
20529 -                       echo "$as_me:14294: checking for library containing getrrsetbyname" >&5
20530 +                       echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5
20531  echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6
20532  if test "${ac_cv_search_getrrsetbyname+set}" = set; then
20533    echo $ECHO_N "(cached) $ECHO_C" >&6
20534 @@ -14299,8 +17253,12 @@
20535    ac_func_search_save_LIBS=$LIBS
20536  ac_cv_search_getrrsetbyname=no
20537  cat >conftest.$ac_ext <<_ACEOF
20538 -#line 14302 "configure"
20539 -#include "confdefs.h"
20540 +#line $LINENO "configure"
20541 +/* confdefs.h.  */
20542 +_ACEOF
20543 +cat confdefs.h >>conftest.$ac_ext
20544 +cat >>conftest.$ac_ext <<_ACEOF
20545 +/* end confdefs.h.  */
20546  
20547  /* Override any gcc2 internal prototype to avoid an error.  */
20548  #ifdef __cplusplus
20549 @@ -14318,29 +17276,34 @@
20550  }
20551  _ACEOF
20552  rm -f conftest.$ac_objext conftest$ac_exeext
20553 -if { (eval echo "$as_me:14321: \"$ac_link\"") >&5
20554 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20555    (eval $ac_link) 2>&5
20556    ac_status=$?
20557 -  echo "$as_me:14324: \$? = $ac_status" >&5
20558 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559    (exit $ac_status); } &&
20560           { ac_try='test -s conftest$ac_exeext'
20561 -  { (eval echo "$as_me:14327: \"$ac_try\"") >&5
20562 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563    (eval $ac_try) 2>&5
20564    ac_status=$?
20565 -  echo "$as_me:14330: \$? = $ac_status" >&5
20566 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567    (exit $ac_status); }; }; then
20568    ac_cv_search_getrrsetbyname="none required"
20569  else
20570    echo "$as_me: failed program was:" >&5
20571 -cat conftest.$ac_ext >&5
20572 +sed 's/^/| /' conftest.$ac_ext >&5
20573 +
20574  fi
20575  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20576  if test "$ac_cv_search_getrrsetbyname" = no; then
20577    for ac_lib in resolv; do
20578      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20579      cat >conftest.$ac_ext <<_ACEOF
20580 -#line 14342 "configure"
20581 -#include "confdefs.h"
20582 +#line $LINENO "configure"
20583 +/* confdefs.h.  */
20584 +_ACEOF
20585 +cat confdefs.h >>conftest.$ac_ext
20586 +cat >>conftest.$ac_ext <<_ACEOF
20587 +/* end confdefs.h.  */
20588  
20589  /* Override any gcc2 internal prototype to avoid an error.  */
20590  #ifdef __cplusplus
20591 @@ -14358,40 +17321,41 @@
20592  }
20593  _ACEOF
20594  rm -f conftest.$ac_objext conftest$ac_exeext
20595 -if { (eval echo "$as_me:14361: \"$ac_link\"") >&5
20596 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20597    (eval $ac_link) 2>&5
20598    ac_status=$?
20599 -  echo "$as_me:14364: \$? = $ac_status" >&5
20600 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601    (exit $ac_status); } &&
20602           { ac_try='test -s conftest$ac_exeext'
20603 -  { (eval echo "$as_me:14367: \"$ac_try\"") >&5
20604 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605    (eval $ac_try) 2>&5
20606    ac_status=$?
20607 -  echo "$as_me:14370: \$? = $ac_status" >&5
20608 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609    (exit $ac_status); }; }; then
20610    ac_cv_search_getrrsetbyname="-l$ac_lib"
20611  break
20612  else
20613    echo "$as_me: failed program was:" >&5
20614 -cat conftest.$ac_ext >&5
20615 +sed 's/^/| /' conftest.$ac_ext >&5
20616 +
20617  fi
20618  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20619    done
20620  fi
20621  LIBS=$ac_func_search_save_LIBS
20622  fi
20623 -echo "$as_me:14383: result: $ac_cv_search_getrrsetbyname" >&5
20624 +echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
20625  echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
20626  if test "$ac_cv_search_getrrsetbyname" != no; then
20627    test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
20628 -  cat >>confdefs.h <<\EOF
20629 +  cat >>confdefs.h <<\_ACEOF
20630  #define HAVE_GETRRSETBYNAME 1
20631 -EOF
20632 +_ACEOF
20633  
20634  else
20635  
20636                                         # Needed by our getrrsetbyname()
20637 -                                       echo "$as_me:14394: checking for library containing res_query" >&5
20638 +                                       echo "$as_me:$LINENO: checking for library containing res_query" >&5
20639  echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6
20640  if test "${ac_cv_search_res_query+set}" = set; then
20641    echo $ECHO_N "(cached) $ECHO_C" >&6
20642 @@ -14399,8 +17363,12 @@
20643    ac_func_search_save_LIBS=$LIBS
20644  ac_cv_search_res_query=no
20645  cat >conftest.$ac_ext <<_ACEOF
20646 -#line 14402 "configure"
20647 -#include "confdefs.h"
20648 +#line $LINENO "configure"
20649 +/* confdefs.h.  */
20650 +_ACEOF
20651 +cat confdefs.h >>conftest.$ac_ext
20652 +cat >>conftest.$ac_ext <<_ACEOF
20653 +/* end confdefs.h.  */
20654  
20655  /* Override any gcc2 internal prototype to avoid an error.  */
20656  #ifdef __cplusplus
20657 @@ -14418,29 +17386,34 @@
20658  }
20659  _ACEOF
20660  rm -f conftest.$ac_objext conftest$ac_exeext
20661 -if { (eval echo "$as_me:14421: \"$ac_link\"") >&5
20662 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663    (eval $ac_link) 2>&5
20664    ac_status=$?
20665 -  echo "$as_me:14424: \$? = $ac_status" >&5
20666 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667    (exit $ac_status); } &&
20668           { ac_try='test -s conftest$ac_exeext'
20669 -  { (eval echo "$as_me:14427: \"$ac_try\"") >&5
20670 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671    (eval $ac_try) 2>&5
20672    ac_status=$?
20673 -  echo "$as_me:14430: \$? = $ac_status" >&5
20674 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675    (exit $ac_status); }; }; then
20676    ac_cv_search_res_query="none required"
20677  else
20678    echo "$as_me: failed program was:" >&5
20679 -cat conftest.$ac_ext >&5
20680 +sed 's/^/| /' conftest.$ac_ext >&5
20681 +
20682  fi
20683  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20684  if test "$ac_cv_search_res_query" = no; then
20685    for ac_lib in resolv; do
20686      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20687      cat >conftest.$ac_ext <<_ACEOF
20688 -#line 14442 "configure"
20689 -#include "confdefs.h"
20690 +#line $LINENO "configure"
20691 +/* confdefs.h.  */
20692 +_ACEOF
20693 +cat confdefs.h >>conftest.$ac_ext
20694 +cat >>conftest.$ac_ext <<_ACEOF
20695 +/* end confdefs.h.  */
20696  
20697  /* Override any gcc2 internal prototype to avoid an error.  */
20698  #ifdef __cplusplus
20699 @@ -14458,36 +17431,37 @@
20700  }
20701  _ACEOF
20702  rm -f conftest.$ac_objext conftest$ac_exeext
20703 -if { (eval echo "$as_me:14461: \"$ac_link\"") >&5
20704 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20705    (eval $ac_link) 2>&5
20706    ac_status=$?
20707 -  echo "$as_me:14464: \$? = $ac_status" >&5
20708 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709    (exit $ac_status); } &&
20710           { ac_try='test -s conftest$ac_exeext'
20711 -  { (eval echo "$as_me:14467: \"$ac_try\"") >&5
20712 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713    (eval $ac_try) 2>&5
20714    ac_status=$?
20715 -  echo "$as_me:14470: \$? = $ac_status" >&5
20716 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717    (exit $ac_status); }; }; then
20718    ac_cv_search_res_query="-l$ac_lib"
20719  break
20720  else
20721    echo "$as_me: failed program was:" >&5
20722 -cat conftest.$ac_ext >&5
20723 +sed 's/^/| /' conftest.$ac_ext >&5
20724 +
20725  fi
20726  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20727    done
20728  fi
20729  LIBS=$ac_func_search_save_LIBS
20730  fi
20731 -echo "$as_me:14483: result: $ac_cv_search_res_query" >&5
20732 +echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
20733  echo "${ECHO_T}$ac_cv_search_res_query" >&6
20734  if test "$ac_cv_search_res_query" != no; then
20735    test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS"
20736  
20737  fi
20738  
20739 -                                       echo "$as_me:14490: checking for library containing dn_expand" >&5
20740 +                                       echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
20741  echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
20742  if test "${ac_cv_search_dn_expand+set}" = set; then
20743    echo $ECHO_N "(cached) $ECHO_C" >&6
20744 @@ -14495,8 +17469,12 @@
20745    ac_func_search_save_LIBS=$LIBS
20746  ac_cv_search_dn_expand=no
20747  cat >conftest.$ac_ext <<_ACEOF
20748 -#line 14498 "configure"
20749 -#include "confdefs.h"
20750 +#line $LINENO "configure"
20751 +/* confdefs.h.  */
20752 +_ACEOF
20753 +cat confdefs.h >>conftest.$ac_ext
20754 +cat >>conftest.$ac_ext <<_ACEOF
20755 +/* end confdefs.h.  */
20756  
20757  /* Override any gcc2 internal prototype to avoid an error.  */
20758  #ifdef __cplusplus
20759 @@ -14514,29 +17492,34 @@
20760  }
20761  _ACEOF
20762  rm -f conftest.$ac_objext conftest$ac_exeext
20763 -if { (eval echo "$as_me:14517: \"$ac_link\"") >&5
20764 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20765    (eval $ac_link) 2>&5
20766    ac_status=$?
20767 -  echo "$as_me:14520: \$? = $ac_status" >&5
20768 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769    (exit $ac_status); } &&
20770           { ac_try='test -s conftest$ac_exeext'
20771 -  { (eval echo "$as_me:14523: \"$ac_try\"") >&5
20772 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773    (eval $ac_try) 2>&5
20774    ac_status=$?
20775 -  echo "$as_me:14526: \$? = $ac_status" >&5
20776 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777    (exit $ac_status); }; }; then
20778    ac_cv_search_dn_expand="none required"
20779  else
20780    echo "$as_me: failed program was:" >&5
20781 -cat conftest.$ac_ext >&5
20782 +sed 's/^/| /' conftest.$ac_ext >&5
20783 +
20784  fi
20785  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20786  if test "$ac_cv_search_dn_expand" = no; then
20787    for ac_lib in resolv; do
20788      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20789      cat >conftest.$ac_ext <<_ACEOF
20790 -#line 14538 "configure"
20791 -#include "confdefs.h"
20792 +#line $LINENO "configure"
20793 +/* confdefs.h.  */
20794 +_ACEOF
20795 +cat confdefs.h >>conftest.$ac_ext
20796 +cat >>conftest.$ac_ext <<_ACEOF
20797 +/* end confdefs.h.  */
20798  
20799  /* Override any gcc2 internal prototype to avoid an error.  */
20800  #ifdef __cplusplus
20801 @@ -14554,112 +17537,133 @@
20802  }
20803  _ACEOF
20804  rm -f conftest.$ac_objext conftest$ac_exeext
20805 -if { (eval echo "$as_me:14557: \"$ac_link\"") >&5
20806 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20807    (eval $ac_link) 2>&5
20808    ac_status=$?
20809 -  echo "$as_me:14560: \$? = $ac_status" >&5
20810 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811    (exit $ac_status); } &&
20812           { ac_try='test -s conftest$ac_exeext'
20813 -  { (eval echo "$as_me:14563: \"$ac_try\"") >&5
20814 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20815    (eval $ac_try) 2>&5
20816    ac_status=$?
20817 -  echo "$as_me:14566: \$? = $ac_status" >&5
20818 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819    (exit $ac_status); }; }; then
20820    ac_cv_search_dn_expand="-l$ac_lib"
20821  break
20822  else
20823    echo "$as_me: failed program was:" >&5
20824 -cat conftest.$ac_ext >&5
20825 +sed 's/^/| /' conftest.$ac_ext >&5
20826 +
20827  fi
20828  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20829    done
20830  fi
20831  LIBS=$ac_func_search_save_LIBS
20832  fi
20833 -echo "$as_me:14579: result: $ac_cv_search_dn_expand" >&5
20834 +echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
20835  echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
20836  if test "$ac_cv_search_dn_expand" != no; then
20837    test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
20838  
20839  fi
20840  
20841 +
20842 +
20843  for ac_func in _getshort _getlong
20844  do
20845  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20846 -echo "$as_me:14589: checking for $ac_func" >&5
20847 +echo "$as_me:$LINENO: checking for $ac_func" >&5
20848  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20849  if eval "test \"\${$as_ac_var+set}\" = set"; then
20850    echo $ECHO_N "(cached) $ECHO_C" >&6
20851  else
20852    cat >conftest.$ac_ext <<_ACEOF
20853 -#line 14595 "configure"
20854 -#include "confdefs.h"
20855 +#line $LINENO "configure"
20856 +/* confdefs.h.  */
20857 +_ACEOF
20858 +cat confdefs.h >>conftest.$ac_ext
20859 +cat >>conftest.$ac_ext <<_ACEOF
20860 +/* end confdefs.h.  */
20861  /* System header to define __stub macros and hopefully few prototypes,
20862 -    which can conflict with char $ac_func (); below.  */
20863 -#include <assert.h>
20864 +    which can conflict with char $ac_func (); below.
20865 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20866 +    <limits.h> exists even on freestanding compilers.  */
20867 +#ifdef __STDC__
20868 +# include <limits.h>
20869 +#else
20870 +# include <assert.h>
20871 +#endif
20872  /* Override any gcc2 internal prototype to avoid an error.  */
20873  #ifdef __cplusplus
20874  extern "C"
20875 +{
20876  #endif
20877  /* We use char because int might match the return type of a gcc2
20878     builtin and then its argument prototype would still apply.  */
20879  char $ac_func ();
20880 -char (*f) ();
20881 -
20882 -int
20883 -main ()
20884 -{
20885  /* The GNU C library defines this for functions which it implements
20886      to always fail with ENOSYS.  Some functions are actually named
20887      something starting with __ and the normal name is an alias.  */
20888  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20889  choke me
20890  #else
20891 -f = $ac_func;
20892 +char (*f) () = $ac_func;
20893 +#endif
20894 +#ifdef __cplusplus
20895 +}
20896  #endif
20897  
20898 +int
20899 +main ()
20900 +{
20901 +return f != $ac_func;
20902    ;
20903    return 0;
20904  }
20905  _ACEOF
20906  rm -f conftest.$ac_objext conftest$ac_exeext
20907 -if { (eval echo "$as_me:14626: \"$ac_link\"") >&5
20908 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20909    (eval $ac_link) 2>&5
20910    ac_status=$?
20911 -  echo "$as_me:14629: \$? = $ac_status" >&5
20912 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913    (exit $ac_status); } &&
20914           { ac_try='test -s conftest$ac_exeext'
20915 -  { (eval echo "$as_me:14632: \"$ac_try\"") >&5
20916 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20917    (eval $ac_try) 2>&5
20918    ac_status=$?
20919 -  echo "$as_me:14635: \$? = $ac_status" >&5
20920 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921    (exit $ac_status); }; }; then
20922    eval "$as_ac_var=yes"
20923  else
20924    echo "$as_me: failed program was:" >&5
20925 -cat conftest.$ac_ext >&5
20926 +sed 's/^/| /' conftest.$ac_ext >&5
20927 +
20928  eval "$as_ac_var=no"
20929  fi
20930  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20931  fi
20932 -echo "$as_me:14645: result: `eval echo '${'$as_ac_var'}'`" >&5
20933 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20934  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20935  if test `eval echo '${'$as_ac_var'}'` = yes; then
20936 -  cat >>confdefs.h <<EOF
20937 +  cat >>confdefs.h <<_ACEOF
20938  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20939 -EOF
20940 +_ACEOF
20941  
20942  fi
20943  done
20944  
20945 -                                       echo "$as_me:14655: checking for HEADER.ad" >&5
20946 +                                       echo "$as_me:$LINENO: checking for HEADER.ad" >&5
20947  echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
20948  if test "${ac_cv_member_HEADER_ad+set}" = set; then
20949    echo $ECHO_N "(cached) $ECHO_C" >&6
20950  else
20951    cat >conftest.$ac_ext <<_ACEOF
20952 -#line 14661 "configure"
20953 -#include "confdefs.h"
20954 +#line $LINENO "configure"
20955 +/* confdefs.h.  */
20956 +_ACEOF
20957 +cat confdefs.h >>conftest.$ac_ext
20958 +cat >>conftest.$ac_ext <<_ACEOF
20959 +/* end confdefs.h.  */
20960  #include <arpa/nameser.h>
20961  
20962  int
20963 @@ -14673,38 +17677,79 @@
20964  }
20965  _ACEOF
20966  rm -f conftest.$ac_objext
20967 -if { (eval echo "$as_me:14676: \"$ac_compile\"") >&5
20968 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20969    (eval $ac_compile) 2>&5
20970    ac_status=$?
20971 -  echo "$as_me:14679: \$? = $ac_status" >&5
20972 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973    (exit $ac_status); } &&
20974           { ac_try='test -s conftest.$ac_objext'
20975 -  { (eval echo "$as_me:14682: \"$ac_try\"") >&5
20976 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977    (eval $ac_try) 2>&5
20978    ac_status=$?
20979 -  echo "$as_me:14685: \$? = $ac_status" >&5
20980 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981    (exit $ac_status); }; }; then
20982    ac_cv_member_HEADER_ad=yes
20983  else
20984    echo "$as_me: failed program was:" >&5
20985 -cat conftest.$ac_ext >&5
20986 +sed 's/^/| /' conftest.$ac_ext >&5
20987 +
20988 +cat >conftest.$ac_ext <<_ACEOF
20989 +#line $LINENO "configure"
20990 +/* confdefs.h.  */
20991 +_ACEOF
20992 +cat confdefs.h >>conftest.$ac_ext
20993 +cat >>conftest.$ac_ext <<_ACEOF
20994 +/* end confdefs.h.  */
20995 +#include <arpa/nameser.h>
20996 +
20997 +int
20998 +main ()
20999 +{
21000 +static HEADER ac_aggr;
21001 +if (sizeof ac_aggr.ad)
21002 +return 0;
21003 +  ;
21004 +  return 0;
21005 +}
21006 +_ACEOF
21007 +rm -f conftest.$ac_objext
21008 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 +  (eval $ac_compile) 2>&5
21010 +  ac_status=$?
21011 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 +  (exit $ac_status); } &&
21013 +         { ac_try='test -s conftest.$ac_objext'
21014 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 +  (eval $ac_try) 2>&5
21016 +  ac_status=$?
21017 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 +  (exit $ac_status); }; }; then
21019 +  ac_cv_member_HEADER_ad=yes
21020 +else
21021 +  echo "$as_me: failed program was:" >&5
21022 +sed 's/^/| /' conftest.$ac_ext >&5
21023 +
21024  ac_cv_member_HEADER_ad=no
21025  fi
21026  rm -f conftest.$ac_objext conftest.$ac_ext
21027  fi
21028 -echo "$as_me:14695: result: $ac_cv_member_HEADER_ad" >&5
21029 +rm -f conftest.$ac_objext conftest.$ac_ext
21030 +fi
21031 +echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
21032  echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
21033  if test $ac_cv_member_HEADER_ad = yes; then
21034 -  cat >>confdefs.h <<\EOF
21035 +  cat >>confdefs.h <<\_ACEOF
21036  #define HAVE_HEADER_AD 1
21037 -EOF
21038 +_ACEOF
21039  
21040  fi
21041  
21042 +
21043  fi
21044  
21045                 fi
21046  
21047 +
21048  fi;
21049  
21050  # Check whether user wants Kerberos 5 support
21051 @@ -14722,16 +17767,20 @@
21052                          fi
21053                         CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
21054                          LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
21055 -                        cat >>confdefs.h <<\EOF
21056 +                        cat >>confdefs.h <<\_ACEOF
21057  #define KRB5 1
21058 -EOF
21059 +_ACEOF
21060  
21061                         KRB5_MSG="yes"
21062 -                        echo "$as_me:14730: checking whether we are using Heimdal" >&5
21063 +                        echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
21064  echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
21065                          cat >conftest.$ac_ext <<_ACEOF
21066 -#line 14733 "configure"
21067 -#include "confdefs.h"
21068 +#line $LINENO "configure"
21069 +/* confdefs.h.  */
21070 +_ACEOF
21071 +cat confdefs.h >>conftest.$ac_ext
21072 +cat >>conftest.$ac_ext <<_ACEOF
21073 +/* end confdefs.h.  */
21074   #include <krb5.h>
21075  int
21076  main ()
21077 @@ -14742,32 +17791,34 @@
21078  }
21079  _ACEOF
21080  rm -f conftest.$ac_objext
21081 -if { (eval echo "$as_me:14745: \"$ac_compile\"") >&5
21082 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21083    (eval $ac_compile) 2>&5
21084    ac_status=$?
21085 -  echo "$as_me:14748: \$? = $ac_status" >&5
21086 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087    (exit $ac_status); } &&
21088           { ac_try='test -s conftest.$ac_objext'
21089 -  { (eval echo "$as_me:14751: \"$ac_try\"") >&5
21090 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091    (eval $ac_try) 2>&5
21092    ac_status=$?
21093 -  echo "$as_me:14754: \$? = $ac_status" >&5
21094 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095    (exit $ac_status); }; }; then
21096 -   echo "$as_me:14756: result: yes" >&5
21097 +   echo "$as_me:$LINENO: result: yes" >&5
21098  echo "${ECHO_T}yes" >&6
21099 -                                         cat >>confdefs.h <<\EOF
21100 +                                         cat >>confdefs.h <<\_ACEOF
21101  #define HEIMDAL 1
21102 -EOF
21103 +_ACEOF
21104  
21105                                           K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
21106  
21107  else
21108    echo "$as_me: failed program was:" >&5
21109 -cat conftest.$ac_ext >&5
21110 - echo "$as_me:14767: result: no" >&5
21111 +sed 's/^/| /' conftest.$ac_ext >&5
21112 +
21113 + echo "$as_me:$LINENO: result: no" >&5
21114  echo "${ECHO_T}no" >&6
21115                                           K5LIBS="-lkrb5 -lk5crypto -lcom_err"
21116  
21117 +
21118  fi
21119  rm -f conftest.$ac_objext conftest.$ac_ext
21120                          if test ! -z "$need_dash_r" ; then
21121 @@ -14776,7 +17827,7 @@
21122                          if test ! -z "$blibpath" ; then
21123                                  blibpath="$blibpath:${KRB5ROOT}/lib"
21124                          fi
21125 -                       echo "$as_me:14779: checking for library containing dn_expand" >&5
21126 +                       echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
21127  echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
21128  if test "${ac_cv_search_dn_expand+set}" = set; then
21129    echo $ECHO_N "(cached) $ECHO_C" >&6
21130 @@ -14784,8 +17835,12 @@
21131    ac_func_search_save_LIBS=$LIBS
21132  ac_cv_search_dn_expand=no
21133  cat >conftest.$ac_ext <<_ACEOF
21134 -#line 14787 "configure"
21135 -#include "confdefs.h"
21136 +#line $LINENO "configure"
21137 +/* confdefs.h.  */
21138 +_ACEOF
21139 +cat confdefs.h >>conftest.$ac_ext
21140 +cat >>conftest.$ac_ext <<_ACEOF
21141 +/* end confdefs.h.  */
21142  
21143  /* Override any gcc2 internal prototype to avoid an error.  */
21144  #ifdef __cplusplus
21145 @@ -14803,29 +17858,34 @@
21146  }
21147  _ACEOF
21148  rm -f conftest.$ac_objext conftest$ac_exeext
21149 -if { (eval echo "$as_me:14806: \"$ac_link\"") >&5
21150 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21151    (eval $ac_link) 2>&5
21152    ac_status=$?
21153 -  echo "$as_me:14809: \$? = $ac_status" >&5
21154 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155    (exit $ac_status); } &&
21156           { ac_try='test -s conftest$ac_exeext'
21157 -  { (eval echo "$as_me:14812: \"$ac_try\"") >&5
21158 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159    (eval $ac_try) 2>&5
21160    ac_status=$?
21161 -  echo "$as_me:14815: \$? = $ac_status" >&5
21162 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163    (exit $ac_status); }; }; then
21164    ac_cv_search_dn_expand="none required"
21165  else
21166    echo "$as_me: failed program was:" >&5
21167 -cat conftest.$ac_ext >&5
21168 +sed 's/^/| /' conftest.$ac_ext >&5
21169 +
21170  fi
21171  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21172  if test "$ac_cv_search_dn_expand" = no; then
21173    for ac_lib in resolv; do
21174      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21175      cat >conftest.$ac_ext <<_ACEOF
21176 -#line 14827 "configure"
21177 -#include "confdefs.h"
21178 +#line $LINENO "configure"
21179 +/* confdefs.h.  */
21180 +_ACEOF
21181 +cat confdefs.h >>conftest.$ac_ext
21182 +cat >>conftest.$ac_ext <<_ACEOF
21183 +/* end confdefs.h.  */
21184  
21185  /* Override any gcc2 internal prototype to avoid an error.  */
21186  #ifdef __cplusplus
21187 @@ -14843,36 +17903,38 @@
21188  }
21189  _ACEOF
21190  rm -f conftest.$ac_objext conftest$ac_exeext
21191 -if { (eval echo "$as_me:14846: \"$ac_link\"") >&5
21192 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21193    (eval $ac_link) 2>&5
21194    ac_status=$?
21195 -  echo "$as_me:14849: \$? = $ac_status" >&5
21196 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197    (exit $ac_status); } &&
21198           { ac_try='test -s conftest$ac_exeext'
21199 -  { (eval echo "$as_me:14852: \"$ac_try\"") >&5
21200 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201    (eval $ac_try) 2>&5
21202    ac_status=$?
21203 -  echo "$as_me:14855: \$? = $ac_status" >&5
21204 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205    (exit $ac_status); }; }; then
21206    ac_cv_search_dn_expand="-l$ac_lib"
21207  break
21208  else
21209    echo "$as_me: failed program was:" >&5
21210 -cat conftest.$ac_ext >&5
21211 +sed 's/^/| /' conftest.$ac_ext >&5
21212 +
21213  fi
21214  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21215    done
21216  fi
21217  LIBS=$ac_func_search_save_LIBS
21218  fi
21219 -echo "$as_me:14868: result: $ac_cv_search_dn_expand" >&5
21220 +echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
21221  echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
21222  if test "$ac_cv_search_dn_expand" != no; then
21223    test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
21224  
21225  fi
21226  
21227 -                       echo "$as_me:14875: checking for gss_init_sec_context in -lgssapi" >&5
21228 +
21229 +                       echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
21230  echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6
21231  if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
21232    echo $ECHO_N "(cached) $ECHO_C" >&6
21233 @@ -14880,8 +17942,12 @@
21234    ac_check_lib_save_LIBS=$LIBS
21235  LIBS="-lgssapi $K5LIBS $LIBS"
21236  cat >conftest.$ac_ext <<_ACEOF
21237 -#line 14883 "configure"
21238 -#include "confdefs.h"
21239 +#line $LINENO "configure"
21240 +/* confdefs.h.  */
21241 +_ACEOF
21242 +cat confdefs.h >>conftest.$ac_ext
21243 +cat >>conftest.$ac_ext <<_ACEOF
21244 +/* end confdefs.h.  */
21245  
21246  /* Override any gcc2 internal prototype to avoid an error.  */
21247  #ifdef __cplusplus
21248 @@ -14899,36 +17965,37 @@
21249  }
21250  _ACEOF
21251  rm -f conftest.$ac_objext conftest$ac_exeext
21252 -if { (eval echo "$as_me:14902: \"$ac_link\"") >&5
21253 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21254    (eval $ac_link) 2>&5
21255    ac_status=$?
21256 -  echo "$as_me:14905: \$? = $ac_status" >&5
21257 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258    (exit $ac_status); } &&
21259           { ac_try='test -s conftest$ac_exeext'
21260 -  { (eval echo "$as_me:14908: \"$ac_try\"") >&5
21261 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21262    (eval $ac_try) 2>&5
21263    ac_status=$?
21264 -  echo "$as_me:14911: \$? = $ac_status" >&5
21265 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266    (exit $ac_status); }; }; then
21267    ac_cv_lib_gssapi_gss_init_sec_context=yes
21268  else
21269    echo "$as_me: failed program was:" >&5
21270 -cat conftest.$ac_ext >&5
21271 +sed 's/^/| /' conftest.$ac_ext >&5
21272 +
21273  ac_cv_lib_gssapi_gss_init_sec_context=no
21274  fi
21275  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21276  LIBS=$ac_check_lib_save_LIBS
21277  fi
21278 -echo "$as_me:14922: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
21279 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
21280  echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6
21281  if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
21282 -   cat >>confdefs.h <<\EOF
21283 +   cat >>confdefs.h <<\_ACEOF
21284  #define GSSAPI 1
21285 -EOF
21286 +_ACEOF
21287  
21288                                   K5LIBS="-lgssapi $K5LIBS"
21289  else
21290 -   echo "$as_me:14931: checking for gss_init_sec_context in -lgssapi_krb5" >&5
21291 +   echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
21292  echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6
21293  if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
21294    echo $ECHO_N "(cached) $ECHO_C" >&6
21295 @@ -14936,8 +18003,12 @@
21296    ac_check_lib_save_LIBS=$LIBS
21297  LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
21298  cat >conftest.$ac_ext <<_ACEOF
21299 -#line 14939 "configure"
21300 -#include "confdefs.h"
21301 +#line $LINENO "configure"
21302 +/* confdefs.h.  */
21303 +_ACEOF
21304 +cat confdefs.h >>conftest.$ac_ext
21305 +cat >>conftest.$ac_ext <<_ACEOF
21306 +/* end confdefs.h.  */
21307  
21308  /* Override any gcc2 internal prototype to avoid an error.  */
21309  #ifdef __cplusplus
21310 @@ -14955,58 +18026,108 @@
21311  }
21312  _ACEOF
21313  rm -f conftest.$ac_objext conftest$ac_exeext
21314 -if { (eval echo "$as_me:14958: \"$ac_link\"") >&5
21315 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316    (eval $ac_link) 2>&5
21317    ac_status=$?
21318 -  echo "$as_me:14961: \$? = $ac_status" >&5
21319 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320    (exit $ac_status); } &&
21321           { ac_try='test -s conftest$ac_exeext'
21322 -  { (eval echo "$as_me:14964: \"$ac_try\"") >&5
21323 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324    (eval $ac_try) 2>&5
21325    ac_status=$?
21326 -  echo "$as_me:14967: \$? = $ac_status" >&5
21327 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328    (exit $ac_status); }; }; then
21329    ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
21330  else
21331    echo "$as_me: failed program was:" >&5
21332 -cat conftest.$ac_ext >&5
21333 +sed 's/^/| /' conftest.$ac_ext >&5
21334 +
21335  ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
21336  fi
21337  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21338  LIBS=$ac_check_lib_save_LIBS
21339  fi
21340 -echo "$as_me:14978: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
21341 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
21342  echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6
21343  if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
21344 -   cat >>confdefs.h <<\EOF
21345 +   cat >>confdefs.h <<\_ACEOF
21346  #define GSSAPI 1
21347 -EOF
21348 +_ACEOF
21349  
21350                                           K5LIBS="-lgssapi_krb5 $K5LIBS"
21351  else
21352 -  { echo "$as_me:14987: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
21353 +  { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
21354  echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
21355  fi
21356  
21357 +
21358  fi
21359  
21360 -                       echo "$as_me:14993: checking for gssapi.h" >&5
21361 +
21362 +                       if test "${ac_cv_header_gssapi_h+set}" = set; then
21363 +  echo "$as_me:$LINENO: checking for gssapi.h" >&5
21364  echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
21365  if test "${ac_cv_header_gssapi_h+set}" = set; then
21366    echo $ECHO_N "(cached) $ECHO_C" >&6
21367 +fi
21368 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21369 +echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
21370  else
21371 -  cat >conftest.$ac_ext <<_ACEOF
21372 -#line 14999 "configure"
21373 -#include "confdefs.h"
21374 +  # Is the header compilable?
21375 +echo "$as_me:$LINENO: checking gssapi.h usability" >&5
21376 +echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6
21377 +cat >conftest.$ac_ext <<_ACEOF
21378 +#line $LINENO "configure"
21379 +/* confdefs.h.  */
21380 +_ACEOF
21381 +cat confdefs.h >>conftest.$ac_ext
21382 +cat >>conftest.$ac_ext <<_ACEOF
21383 +/* end confdefs.h.  */
21384 +$ac_includes_default
21385  #include <gssapi.h>
21386  _ACEOF
21387 -if { (eval echo "$as_me:15003: \"$ac_cpp conftest.$ac_ext\"") >&5
21388 +rm -f conftest.$ac_objext
21389 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21390 +  (eval $ac_compile) 2>&5
21391 +  ac_status=$?
21392 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 +  (exit $ac_status); } &&
21394 +         { ac_try='test -s conftest.$ac_objext'
21395 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 +  (eval $ac_try) 2>&5
21397 +  ac_status=$?
21398 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 +  (exit $ac_status); }; }; then
21400 +  ac_header_compiler=yes
21401 +else
21402 +  echo "$as_me: failed program was:" >&5
21403 +sed 's/^/| /' conftest.$ac_ext >&5
21404 +
21405 +ac_header_compiler=no
21406 +fi
21407 +rm -f conftest.$ac_objext conftest.$ac_ext
21408 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21409 +echo "${ECHO_T}$ac_header_compiler" >&6
21410 +
21411 +# Is the header present?
21412 +echo "$as_me:$LINENO: checking gssapi.h presence" >&5
21413 +echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6
21414 +cat >conftest.$ac_ext <<_ACEOF
21415 +#line $LINENO "configure"
21416 +/* confdefs.h.  */
21417 +_ACEOF
21418 +cat confdefs.h >>conftest.$ac_ext
21419 +cat >>conftest.$ac_ext <<_ACEOF
21420 +/* end confdefs.h.  */
21421 +#include <gssapi.h>
21422 +_ACEOF
21423 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21424    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21425    ac_status=$?
21426 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21427 +  grep -v '^ *+' conftest.er1 >conftest.err
21428    rm -f conftest.er1
21429    cat conftest.err >&5
21430 -  echo "$as_me:15009: \$? = $ac_status" >&5
21431 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432    (exit $ac_status); } >/dev/null; then
21433    if test -s conftest.err; then
21434      ac_cpp_err=$ac_c_preproc_warn_flag
21435 @@ -15017,16 +18138,61 @@
21436    ac_cpp_err=yes
21437  fi
21438  if test -z "$ac_cpp_err"; then
21439 -  ac_cv_header_gssapi_h=yes
21440 +  ac_header_preproc=yes
21441  else
21442    echo "$as_me: failed program was:" >&5
21443 -  cat conftest.$ac_ext >&5
21444 -  ac_cv_header_gssapi_h=no
21445 +sed 's/^/| /' conftest.$ac_ext >&5
21446 +
21447 +  ac_header_preproc=no
21448  fi
21449  rm -f conftest.err conftest.$ac_ext
21450 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21451 +echo "${ECHO_T}$ac_header_preproc" >&6
21452 +
21453 +# So?  What about this header?
21454 +case $ac_header_compiler:$ac_header_preproc in
21455 +  yes:no )
21456 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
21457 +echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21458 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
21459 +echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
21460 +    (
21461 +      cat <<\_ASBOX
21462 +## ------------------------------------ ##
21463 +## Report this to bug-autoconf@gnu.org. ##
21464 +## ------------------------------------ ##
21465 +_ASBOX
21466 +    ) |
21467 +      sed "s/^/$as_me: WARNING:     /" >&2
21468 +    ;;
21469 +  no:yes )
21470 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5
21471 +echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;}
21472 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5
21473 +echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;}
21474 +    { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
21475 +echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
21476 +    (
21477 +      cat <<\_ASBOX
21478 +## ------------------------------------ ##
21479 +## Report this to bug-autoconf@gnu.org. ##
21480 +## ------------------------------------ ##
21481 +_ASBOX
21482 +    ) |
21483 +      sed "s/^/$as_me: WARNING:     /" >&2
21484 +    ;;
21485 +esac
21486 +echo "$as_me:$LINENO: checking for gssapi.h" >&5
21487 +echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
21488 +if test "${ac_cv_header_gssapi_h+set}" = set; then
21489 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21490 +else
21491 +  ac_cv_header_gssapi_h=$ac_header_preproc
21492  fi
21493 -echo "$as_me:15028: result: $ac_cv_header_gssapi_h" >&5
21494 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21495  echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
21496 +
21497 +fi
21498  if test $ac_cv_header_gssapi_h = yes; then
21499    :
21500  else
21501 @@ -15036,23 +18202,70 @@
21502  for ac_header in gssapi.h
21503  do
21504  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21505 -echo "$as_me:15039: checking for $ac_header" >&5
21506 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21507 +  echo "$as_me:$LINENO: checking for $ac_header" >&5
21508  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21509  if eval "test \"\${$as_ac_Header+set}\" = set"; then
21510    echo $ECHO_N "(cached) $ECHO_C" >&6
21511 +fi
21512 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21513 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21514  else
21515 -  cat >conftest.$ac_ext <<_ACEOF
21516 -#line 15045 "configure"
21517 -#include "confdefs.h"
21518 +  # Is the header compilable?
21519 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
21520 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21521 +cat >conftest.$ac_ext <<_ACEOF
21522 +#line $LINENO "configure"
21523 +/* confdefs.h.  */
21524 +_ACEOF
21525 +cat confdefs.h >>conftest.$ac_ext
21526 +cat >>conftest.$ac_ext <<_ACEOF
21527 +/* end confdefs.h.  */
21528 +$ac_includes_default
21529  #include <$ac_header>
21530  _ACEOF
21531 -if { (eval echo "$as_me:15049: \"$ac_cpp conftest.$ac_ext\"") >&5
21532 +rm -f conftest.$ac_objext
21533 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21534 +  (eval $ac_compile) 2>&5
21535 +  ac_status=$?
21536 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 +  (exit $ac_status); } &&
21538 +         { ac_try='test -s conftest.$ac_objext'
21539 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 +  (eval $ac_try) 2>&5
21541 +  ac_status=$?
21542 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 +  (exit $ac_status); }; }; then
21544 +  ac_header_compiler=yes
21545 +else
21546 +  echo "$as_me: failed program was:" >&5
21547 +sed 's/^/| /' conftest.$ac_ext >&5
21548 +
21549 +ac_header_compiler=no
21550 +fi
21551 +rm -f conftest.$ac_objext conftest.$ac_ext
21552 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21553 +echo "${ECHO_T}$ac_header_compiler" >&6
21554 +
21555 +# Is the header present?
21556 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
21557 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21558 +cat >conftest.$ac_ext <<_ACEOF
21559 +#line $LINENO "configure"
21560 +/* confdefs.h.  */
21561 +_ACEOF
21562 +cat confdefs.h >>conftest.$ac_ext
21563 +cat >>conftest.$ac_ext <<_ACEOF
21564 +/* end confdefs.h.  */
21565 +#include <$ac_header>
21566 +_ACEOF
21567 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21569    ac_status=$?
21570 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21571 +  grep -v '^ *+' conftest.er1 >conftest.err
21572    rm -f conftest.er1
21573    cat conftest.err >&5
21574 -  echo "$as_me:15055: \$? = $ac_status" >&5
21575 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576    (exit $ac_status); } >/dev/null; then
21577    if test -s conftest.err; then
21578      ac_cpp_err=$ac_c_preproc_warn_flag
21579 @@ -15063,49 +18276,146 @@
21580    ac_cpp_err=yes
21581  fi
21582  if test -z "$ac_cpp_err"; then
21583 -  eval "$as_ac_Header=yes"
21584 +  ac_header_preproc=yes
21585  else
21586    echo "$as_me: failed program was:" >&5
21587 -  cat conftest.$ac_ext >&5
21588 -  eval "$as_ac_Header=no"
21589 +sed 's/^/| /' conftest.$ac_ext >&5
21590 +
21591 +  ac_header_preproc=no
21592  fi
21593  rm -f conftest.err conftest.$ac_ext
21594 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21595 +echo "${ECHO_T}$ac_header_preproc" >&6
21596 +
21597 +# So?  What about this header?
21598 +case $ac_header_compiler:$ac_header_preproc in
21599 +  yes:no )
21600 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21601 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21602 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21603 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21604 +    (
21605 +      cat <<\_ASBOX
21606 +## ------------------------------------ ##
21607 +## Report this to bug-autoconf@gnu.org. ##
21608 +## ------------------------------------ ##
21609 +_ASBOX
21610 +    ) |
21611 +      sed "s/^/$as_me: WARNING:     /" >&2
21612 +    ;;
21613 +  no:yes )
21614 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21615 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21616 +    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21617 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21618 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21619 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21620 +    (
21621 +      cat <<\_ASBOX
21622 +## ------------------------------------ ##
21623 +## Report this to bug-autoconf@gnu.org. ##
21624 +## ------------------------------------ ##
21625 +_ASBOX
21626 +    ) |
21627 +      sed "s/^/$as_me: WARNING:     /" >&2
21628 +    ;;
21629 +esac
21630 +echo "$as_me:$LINENO: checking for $ac_header" >&5
21631 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21632 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21633 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21634 +else
21635 +  eval "$as_ac_Header=$ac_header_preproc"
21636  fi
21637 -echo "$as_me:15074: result: `eval echo '${'$as_ac_Header'}'`" >&5
21638 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21639  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21640 +
21641 +fi
21642  if test `eval echo '${'$as_ac_Header'}'` = yes; then
21643 -  cat >>confdefs.h <<EOF
21644 +  cat >>confdefs.h <<_ACEOF
21645  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21646 -EOF
21647 +_ACEOF
21648  
21649  else
21650 -  { echo "$as_me:15082: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
21651 +  { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
21652  echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
21653  
21654  fi
21655 +
21656  done
21657  
21658 +
21659 +
21660  fi
21661  
21662 +
21663 +
21664                         oldCPP="$CPPFLAGS"
21665                         CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
21666 -                       echo "$as_me:15092: checking for gssapi_krb5.h" >&5
21667 +                       if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21668 +  echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
21669  echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
21670  if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21671    echo $ECHO_N "(cached) $ECHO_C" >&6
21672 +fi
21673 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21674 +echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
21675  else
21676 -  cat >conftest.$ac_ext <<_ACEOF
21677 -#line 15098 "configure"
21678 -#include "confdefs.h"
21679 +  # Is the header compilable?
21680 +echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5
21681 +echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6
21682 +cat >conftest.$ac_ext <<_ACEOF
21683 +#line $LINENO "configure"
21684 +/* confdefs.h.  */
21685 +_ACEOF
21686 +cat confdefs.h >>conftest.$ac_ext
21687 +cat >>conftest.$ac_ext <<_ACEOF
21688 +/* end confdefs.h.  */
21689 +$ac_includes_default
21690  #include <gssapi_krb5.h>
21691  _ACEOF
21692 -if { (eval echo "$as_me:15102: \"$ac_cpp conftest.$ac_ext\"") >&5
21693 +rm -f conftest.$ac_objext
21694 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21695 +  (eval $ac_compile) 2>&5
21696 +  ac_status=$?
21697 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 +  (exit $ac_status); } &&
21699 +         { ac_try='test -s conftest.$ac_objext'
21700 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 +  (eval $ac_try) 2>&5
21702 +  ac_status=$?
21703 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 +  (exit $ac_status); }; }; then
21705 +  ac_header_compiler=yes
21706 +else
21707 +  echo "$as_me: failed program was:" >&5
21708 +sed 's/^/| /' conftest.$ac_ext >&5
21709 +
21710 +ac_header_compiler=no
21711 +fi
21712 +rm -f conftest.$ac_objext conftest.$ac_ext
21713 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21714 +echo "${ECHO_T}$ac_header_compiler" >&6
21715 +
21716 +# Is the header present?
21717 +echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5
21718 +echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6
21719 +cat >conftest.$ac_ext <<_ACEOF
21720 +#line $LINENO "configure"
21721 +/* confdefs.h.  */
21722 +_ACEOF
21723 +cat confdefs.h >>conftest.$ac_ext
21724 +cat >>conftest.$ac_ext <<_ACEOF
21725 +/* end confdefs.h.  */
21726 +#include <gssapi_krb5.h>
21727 +_ACEOF
21728 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21729    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21730    ac_status=$?
21731 -  egrep -v '^ *\+' conftest.er1 >conftest.err
21732 +  grep -v '^ *+' conftest.er1 >conftest.err
21733    rm -f conftest.er1
21734    cat conftest.err >&5
21735 -  echo "$as_me:15108: \$? = $ac_status" >&5
21736 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737    (exit $ac_status); } >/dev/null; then
21738    if test -s conftest.err; then
21739      ac_cpp_err=$ac_c_preproc_warn_flag
21740 @@ -15116,25 +18426,73 @@
21741    ac_cpp_err=yes
21742  fi
21743  if test -z "$ac_cpp_err"; then
21744 -  ac_cv_header_gssapi_krb5_h=yes
21745 +  ac_header_preproc=yes
21746  else
21747    echo "$as_me: failed program was:" >&5
21748 -  cat conftest.$ac_ext >&5
21749 -  ac_cv_header_gssapi_krb5_h=no
21750 +sed 's/^/| /' conftest.$ac_ext >&5
21751 +
21752 +  ac_header_preproc=no
21753  fi
21754  rm -f conftest.err conftest.$ac_ext
21755 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21756 +echo "${ECHO_T}$ac_header_preproc" >&6
21757 +
21758 +# So?  What about this header?
21759 +case $ac_header_compiler:$ac_header_preproc in
21760 +  yes:no )
21761 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5
21762 +echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21763 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
21764 +echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
21765 +    (
21766 +      cat <<\_ASBOX
21767 +## ------------------------------------ ##
21768 +## Report this to bug-autoconf@gnu.org. ##
21769 +## ------------------------------------ ##
21770 +_ASBOX
21771 +    ) |
21772 +      sed "s/^/$as_me: WARNING:     /" >&2
21773 +    ;;
21774 +  no:yes )
21775 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5
21776 +echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;}
21777 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5
21778 +echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;}
21779 +    { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
21780 +echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
21781 +    (
21782 +      cat <<\_ASBOX
21783 +## ------------------------------------ ##
21784 +## Report this to bug-autoconf@gnu.org. ##
21785 +## ------------------------------------ ##
21786 +_ASBOX
21787 +    ) |
21788 +      sed "s/^/$as_me: WARNING:     /" >&2
21789 +    ;;
21790 +esac
21791 +echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
21792 +echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
21793 +if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21794 +  echo $ECHO_N "(cached) $ECHO_C" >&6
21795 +else
21796 +  ac_cv_header_gssapi_krb5_h=$ac_header_preproc
21797  fi
21798 -echo "$as_me:15127: result: $ac_cv_header_gssapi_krb5_h" >&5
21799 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21800  echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
21801 +
21802 +fi
21803  if test $ac_cv_header_gssapi_krb5_h = yes; then
21804    :
21805  else
21806     CPPFLAGS="$oldCPP"
21807  fi
21808  
21809 +
21810 +
21811                          KRB5=yes
21812                  fi
21813  
21814 +
21815  fi;
21816  LIBS="$LIBS $K5LIBS"
21817  
21818 @@ -15150,8 +18508,11 @@
21819                         PRIVSEP_PATH=$withval
21820                 fi
21821  
21822 +
21823  fi;
21824  
21825 +
21826 +
21827  # Check whether --with-xauth or --without-xauth was given.
21828  if test "${with_xauth+set}" = set; then
21829    withval="$with_xauth"
21830 @@ -15169,7 +18530,7 @@
21831                 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
21832                 # Extract the first word of "xauth", so it can be a program name with args.
21833  set dummy xauth; ac_word=$2
21834 -echo "$as_me:15172: checking for $ac_word" >&5
21835 +echo "$as_me:$LINENO: checking for $ac_word" >&5
21836  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21837  if test "${ac_cv_path_xauth_path+set}" = set; then
21838    echo $ECHO_N "(cached) $ECHO_C" >&6
21839 @@ -15179,16 +18540,18 @@
21840    ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
21841    ;;
21842    *)
21843 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
21844 -ac_dummy="$TestPath"
21845 -for ac_dir in $ac_dummy; do
21846 -  IFS=$ac_save_IFS
21847 -  test -z "$ac_dir" && ac_dir=.
21848 -  if $as_executable_p "$ac_dir/$ac_word"; then
21849 -   ac_cv_path_xauth_path="$ac_dir/$ac_word"
21850 -   echo "$as_me:15189: found $ac_dir/$ac_word" >&5
21851 -   break
21852 -fi
21853 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21854 +for as_dir in $TestPath
21855 +do
21856 +  IFS=$as_save_IFS
21857 +  test -z "$as_dir" && as_dir=.
21858 +  for ac_exec_ext in '' $ac_executable_extensions; do
21859 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21860 +    ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
21861 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21862 +    break 2
21863 +  fi
21864 +done
21865  done
21866  
21867    ;;
21868 @@ -15197,10 +18560,10 @@
21869  xauth_path=$ac_cv_path_xauth_path
21870  
21871  if test -n "$xauth_path"; then
21872 -  echo "$as_me:15200: result: $xauth_path" >&5
21873 +  echo "$as_me:$LINENO: result: $xauth_path" >&5
21874  echo "${ECHO_T}$xauth_path" >&6
21875  else
21876 -  echo "$as_me:15203: result: no" >&5
21877 +  echo "$as_me:$LINENO: result: no" >&5
21878  echo "${ECHO_T}no" >&6
21879  fi
21880  
21881 @@ -15208,6 +18571,7 @@
21882                         xauth_path="/usr/openwin/bin/xauth"
21883                 fi
21884  
21885 +
21886  fi;
21887  
21888  STRIP_OPT=-s
21889 @@ -15219,15 +18583,17 @@
21890                         STRIP_OPT=
21891                 fi
21892  
21893 +
21894  fi;
21895  
21896 +
21897  if test -z "$xauth_path" ; then
21898         XAUTH_PATH="undefined"
21899  
21900  else
21901 -       cat >>confdefs.h <<EOF
21902 +       cat >>confdefs.h <<_ACEOF
21903  #define XAUTH_PATH "$xauth_path"
21904 -EOF
21905 +_ACEOF
21906  
21907         XAUTH_PATH=$xauth_path
21908  
21909 @@ -15236,21 +18602,21 @@
21910  # Check for mail directory (last resort if we cannot get it from headers)
21911  if test ! -z "$MAIL" ; then
21912         maildir=`dirname $MAIL`
21913 -       cat >>confdefs.h <<EOF
21914 +       cat >>confdefs.h <<_ACEOF
21915  #define MAIL_DIRECTORY "$maildir"
21916 -EOF
21917 +_ACEOF
21918  
21919  fi
21920  
21921  if test -z "$no_dev_ptmx" ; then
21922         if test "x$disable_ptmx_check" != "xyes" ; then
21923 -               echo "$as_me:15247: checking for \"/dev/ptmx\"" >&5
21924 +               echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
21925  echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
21926  if test "${ac_cv_file___dev_ptmx_+set}" = set; then
21927    echo $ECHO_N "(cached) $ECHO_C" >&6
21928  else
21929    test "$cross_compiling" = yes &&
21930 -  { { echo "$as_me:15253: error: cannot check for file existence when cross compiling" >&5
21931 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21932  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21933     { (exit 1); exit 1; }; }
21934  if test -r ""/dev/ptmx""; then
21935 @@ -15259,27 +18625,29 @@
21936    ac_cv_file___dev_ptmx_=no
21937  fi
21938  fi
21939 -echo "$as_me:15262: result: $ac_cv_file___dev_ptmx_" >&5
21940 +echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
21941  echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
21942  if test $ac_cv_file___dev_ptmx_ = yes; then
21943  
21944 -                               cat >>confdefs.h <<EOF
21945 +                               cat >>confdefs.h <<_ACEOF
21946  #define HAVE_DEV_PTMX 1
21947 -EOF
21948 +_ACEOF
21949  
21950                                 have_dev_ptmx=1
21951  
21952 +
21953  fi
21954  
21955         fi
21956  fi
21957 -echo "$as_me:15276: checking for \"/dev/ptc\"" >&5
21958 +if test "$cross_compiling" != yes; then
21959 +echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
21960  echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
21961  if test "${ac_cv_file___dev_ptc_+set}" = set; then
21962    echo $ECHO_N "(cached) $ECHO_C" >&6
21963  else
21964    test "$cross_compiling" = yes &&
21965 -  { { echo "$as_me:15282: error: cannot check for file existence when cross compiling" >&5
21966 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21967  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21968     { (exit 1); exit 1; }; }
21969  if test -r ""/dev/ptc""; then
21970 @@ -15288,18 +18656,20 @@
21971    ac_cv_file___dev_ptc_=no
21972  fi
21973  fi
21974 -echo "$as_me:15291: result: $ac_cv_file___dev_ptc_" >&5
21975 +echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
21976  echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
21977  if test $ac_cv_file___dev_ptc_ = yes; then
21978  
21979 -               cat >>confdefs.h <<EOF
21980 +               cat >>confdefs.h <<_ACEOF
21981  #define HAVE_DEV_PTS_AND_PTC 1
21982 -EOF
21983 +_ACEOF
21984  
21985                 have_dev_ptc=1
21986  
21987 +
21988  fi
21989  
21990 +fi
21991  # Options from here on. Some of these are preset by platform above
21992  
21993  # Check whether --with-mantype or --without-mantype was given.
21994 @@ -15311,12 +18681,13 @@
21995                         MANTYPE=$withval
21996                         ;;
21997                 *)
21998 -                       { { echo "$as_me:15314: error: invalid man type: $withval" >&5
21999 +                       { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
22000  echo "$as_me: error: invalid man type: $withval" >&2;}
22001     { (exit 1); exit 1; }; }
22002                         ;;
22003                 esac
22004  
22005 +
22006  fi;
22007  if test -z "$MANTYPE"; then
22008         TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
22009 @@ -15324,7 +18695,7 @@
22010  do
22011    # Extract the first word of "$ac_prog", so it can be a program name with args.
22012  set dummy $ac_prog; ac_word=$2
22013 -echo "$as_me:15327: checking for $ac_word" >&5
22014 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22015  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22016  if test "${ac_cv_path_NROFF+set}" = set; then
22017    echo $ECHO_N "(cached) $ECHO_C" >&6
22018 @@ -15334,16 +18705,18 @@
22019    ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
22020    ;;
22021    *)
22022 -  ac_save_IFS=$IFS; IFS=$ac_path_separator
22023 -ac_dummy="$TestPath"
22024 -for ac_dir in $ac_dummy; do
22025 -  IFS=$ac_save_IFS
22026 -  test -z "$ac_dir" && ac_dir=.
22027 -  if $as_executable_p "$ac_dir/$ac_word"; then
22028 -   ac_cv_path_NROFF="$ac_dir/$ac_word"
22029 -   echo "$as_me:15344: found $ac_dir/$ac_word" >&5
22030 -   break
22031 -fi
22032 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22033 +for as_dir in $TestPath
22034 +do
22035 +  IFS=$as_save_IFS
22036 +  test -z "$as_dir" && as_dir=.
22037 +  for ac_exec_ext in '' $ac_executable_extensions; do
22038 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22039 +    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
22040 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22041 +    break 2
22042 +  fi
22043 +done
22044  done
22045  
22046    ;;
22047 @@ -15352,10 +18725,10 @@
22048  NROFF=$ac_cv_path_NROFF
22049  
22050  if test -n "$NROFF"; then
22051 -  echo "$as_me:15355: result: $NROFF" >&5
22052 +  echo "$as_me:$LINENO: result: $NROFF" >&5
22053  echo "${ECHO_T}$NROFF" >&6
22054  else
22055 -  echo "$as_me:15358: result: no" >&5
22056 +  echo "$as_me:$LINENO: result: no" >&5
22057  echo "${ECHO_T}no" >&6
22058  fi
22059  
22060 @@ -15378,6 +18751,7 @@
22061         mansubdir=$MANTYPE;
22062  fi
22063  
22064 +
22065  # Check whether to enable MD5 passwords
22066  MD5_MSG="no"
22067  
22068 @@ -15386,13 +18760,14 @@
22069    withval="$with_md5_passwords"
22070  
22071                 if test "x$withval" != "xno" ; then
22072 -                       cat >>confdefs.h <<\EOF
22073 +                       cat >>confdefs.h <<\_ACEOF
22074  #define HAVE_MD5_PASSWORDS 1
22075 -EOF
22076 +_ACEOF
22077  
22078                         MD5_MSG="yes"
22079                 fi
22080  
22081 +
22082  fi;
22083  
22084  # Whether to disable shadow password support
22085 @@ -15402,21 +18777,26 @@
22086    withval="$with_shadow"
22087  
22088                 if test "x$withval" = "xno" ; then
22089 -                       cat >>confdefs.h <<\EOF
22090 +                       cat >>confdefs.h <<\_ACEOF
22091  #define DISABLE_SHADOW 1
22092 -EOF
22093 +_ACEOF
22094  
22095                         disable_shadow=yes
22096                 fi
22097  
22098 +
22099  fi;
22100  
22101  if test -z "$disable_shadow" ; then
22102 -       echo "$as_me:15415: checking if the systems has expire shadow information" >&5
22103 +       echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
22104  echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
22105         cat >conftest.$ac_ext <<_ACEOF
22106 -#line 15418 "configure"
22107 -#include "confdefs.h"
22108 +#line $LINENO "configure"
22109 +/* confdefs.h.  */
22110 +_ACEOF
22111 +cat confdefs.h >>conftest.$ac_ext
22112 +cat >>conftest.$ac_ext <<_ACEOF
22113 +/* end confdefs.h.  */
22114  
22115  #include <sys/types.h>
22116  #include <shadow.h>
22117 @@ -15431,34 +18811,36 @@
22118  }
22119  _ACEOF
22120  rm -f conftest.$ac_objext
22121 -if { (eval echo "$as_me:15434: \"$ac_compile\"") >&5
22122 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22123    (eval $ac_compile) 2>&5
22124    ac_status=$?
22125 -  echo "$as_me:15437: \$? = $ac_status" >&5
22126 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127    (exit $ac_status); } &&
22128           { ac_try='test -s conftest.$ac_objext'
22129 -  { (eval echo "$as_me:15440: \"$ac_try\"") >&5
22130 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131    (eval $ac_try) 2>&5
22132    ac_status=$?
22133 -  echo "$as_me:15443: \$? = $ac_status" >&5
22134 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135    (exit $ac_status); }; }; then
22136     sp_expire_available=yes
22137  else
22138    echo "$as_me: failed program was:" >&5
22139 -cat conftest.$ac_ext >&5
22140 +sed 's/^/| /' conftest.$ac_ext >&5
22141 +
22142 +
22143  
22144  fi
22145  rm -f conftest.$ac_objext conftest.$ac_ext
22146  
22147         if test "x$sp_expire_available" = "xyes" ; then
22148 -               echo "$as_me:15454: result: yes" >&5
22149 +               echo "$as_me:$LINENO: result: yes" >&5
22150  echo "${ECHO_T}yes" >&6
22151 -               cat >>confdefs.h <<\EOF
22152 +               cat >>confdefs.h <<\_ACEOF
22153  #define HAS_SHADOW_EXPIRE 1
22154 -EOF
22155 +_ACEOF
22156  
22157         else
22158 -               echo "$as_me:15461: result: no" >&5
22159 +               echo "$as_me:$LINENO: result: no" >&5
22160  echo "${ECHO_T}no" >&6
22161         fi
22162  fi
22163 @@ -15466,9 +18848,9 @@
22164  # Use ip address instead of hostname in $DISPLAY
22165  if test ! -z "$IPADDR_IN_DISPLAY" ; then
22166         DISPLAY_HACK_MSG="yes"
22167 -       cat >>confdefs.h <<\EOF
22168 +       cat >>confdefs.h <<\_ACEOF
22169  #define IPADDR_IN_DISPLAY 1
22170 -EOF
22171 +_ACEOF
22172  
22173  else
22174         DISPLAY_HACK_MSG="no"
22175 @@ -15478,13 +18860,14 @@
22176    withval="$with_ipaddr_display"
22177  
22178                         if test "x$withval" != "xno" ; then
22179 -                               cat >>confdefs.h <<\EOF
22180 +                               cat >>confdefs.h <<\_ACEOF
22181  #define IPADDR_IN_DISPLAY 1
22182 -EOF
22183 +_ACEOF
22184  
22185                                 DISPLAY_HACK_MSG="yes"
22186                         fi
22187  
22188 +
22189  fi;
22190  fi
22191  
22192 @@ -15495,13 +18878,14 @@
22193  
22194  else
22195  
22196 -echo "$as_me:15498: checking for \"/etc/default/login\"" >&5
22197 +if test "x$cross_compiling" != "xyes"; then
22198 +echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
22199  echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
22200  if test "${ac_cv_file___etc_default_login_+set}" = set; then
22201    echo $ECHO_N "(cached) $ECHO_C" >&6
22202  else
22203    test "$cross_compiling" = yes &&
22204 -  { { echo "$as_me:15504: error: cannot check for file existence when cross compiling" >&5
22205 +  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
22206  echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
22207     { (exit 1); exit 1; }; }
22208  if test -r ""/etc/default/login""; then
22209 @@ -15510,16 +18894,18 @@
22210    ac_cv_file___etc_default_login_=no
22211  fi
22212  fi
22213 -echo "$as_me:15513: result: $ac_cv_file___etc_default_login_" >&5
22214 +echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5
22215  echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6
22216  if test $ac_cv_file___etc_default_login_ = yes; then
22217     external_path_file=/etc/default/login
22218  fi
22219  
22220 +fi
22221 +
22222  if test "x$external_path_file" = "x/etc/default/login"; then
22223 -       cat >>confdefs.h <<\EOF
22224 +       cat >>confdefs.h <<\_ACEOF
22225  #define HAVE_ETC_DEFAULT_LOGIN 1
22226 -EOF
22227 +_ACEOF
22228  
22229  fi
22230  
22231 @@ -15538,7 +18924,7 @@
22232    withval="$with_default_path"
22233  
22234                 if test "x$external_path_file" = "x/etc/login.conf" ; then
22235 -                       { echo "$as_me:15541: WARNING:
22236 +                       { echo "$as_me:$LINENO: WARNING:
22237  --with-default-path=PATH has no effect on this system.
22238  Edit /etc/login.conf instead." >&5
22239  echo "$as_me: WARNING:
22240 @@ -15546,7 +18932,7 @@
22241  Edit /etc/login.conf instead." >&2;}
22242                 elif test "x$withval" != "xno" ; then
22243                         if test ! -z "$external_path_file" ; then
22244 -                               { echo "$as_me:15549: WARNING:
22245 +                               { echo "$as_me:$LINENO: WARNING:
22246  --with-default-path=PATH will only be used if PATH is not defined in
22247  $external_path_file ." >&5
22248  echo "$as_me: WARNING:
22249 @@ -15559,11 +18945,11 @@
22250  
22251  else
22252     if test "x$external_path_file" = "x/etc/login.conf" ; then
22253 -               { echo "$as_me:15562: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
22254 +               { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
22255  echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
22256         else
22257                 if test ! -z "$external_path_file" ; then
22258 -                       { echo "$as_me:15566: WARNING:
22259 +                       { echo "$as_me:$LINENO: WARNING:
22260  If PATH is defined in $external_path_file, ensure the path to scp is included,
22261  otherwise scp will not work." >&5
22262  echo "$as_me: WARNING:
22263 @@ -15575,8 +18961,12 @@
22264  
22265  else
22266    cat >conftest.$ac_ext <<_ACEOF
22267 -#line 15578 "configure"
22268 -#include "confdefs.h"
22269 +#line $LINENO "configure"
22270 +/* confdefs.h.  */
22271 +_ACEOF
22272 +cat confdefs.h >>conftest.$ac_ext
22273 +cat >>conftest.$ac_ext <<_ACEOF
22274 +/* end confdefs.h.  */
22275  
22276  /* find out what STDPATH is */
22277  #include <stdio.h>
22278 @@ -15612,24 +19002,26 @@
22279  
22280  _ACEOF
22281  rm -f conftest$ac_exeext
22282 -if { (eval echo "$as_me:15615: \"$ac_link\"") >&5
22283 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22284    (eval $ac_link) 2>&5
22285    ac_status=$?
22286 -  echo "$as_me:15618: \$? = $ac_status" >&5
22287 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22289 -  { (eval echo "$as_me:15620: \"$ac_try\"") >&5
22290 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291    (eval $ac_try) 2>&5
22292    ac_status=$?
22293 -  echo "$as_me:15623: \$? = $ac_status" >&5
22294 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295    (exit $ac_status); }; }; then
22296     user_path=`cat conftest.stdpath`
22297  else
22298    echo "$as_me: program exited with status $ac_status" >&5
22299  echo "$as_me: failed program was:" >&5
22300 -cat conftest.$ac_ext >&5
22301 +sed 's/^/| /' conftest.$ac_ext >&5
22302 +
22303 +( exit $ac_status )
22304   user_path="/usr/bin:/bin:/usr/sbin:/sbin"
22305  fi
22306 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22307 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22308  fi
22309  # make sure $bindir is in USER_PATH so scp will work
22310                 t_bindir=`eval echo ${bindir}`
22311 @@ -15644,7 +19036,7 @@
22312                         echo $user_path | grep "^$t_bindir"  > /dev/null 2>&1
22313                         if test $? -ne 0  ; then
22314                                 user_path=$user_path:$t_bindir
22315 -                               echo "$as_me:15647: result: Adding $t_bindir to USER_PATH so scp will work" >&5
22316 +                               echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
22317  echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
22318                         fi
22319                 fi
22320 @@ -15652,9 +19044,10 @@
22321  
22322  fi;
22323  if test "x$external_path_file" != "x/etc/login.conf" ; then
22324 -       cat >>confdefs.h <<EOF
22325 +       cat >>confdefs.h <<_ACEOF
22326  #define USER_PATH "$user_path"
22327 -EOF
22328 +_ACEOF
22329 +
22330  
22331  fi
22332  
22333 @@ -15665,16 +19058,18 @@
22334    withval="$with_superuser_path"
22335  
22336                 if test "x$withval" != "xno" ; then
22337 -                       cat >>confdefs.h <<EOF
22338 +                       cat >>confdefs.h <<_ACEOF
22339  #define SUPERUSER_PATH "$withval"
22340 -EOF
22341 +_ACEOF
22342  
22343                         superuser_path=$withval
22344                 fi
22345  
22346 +
22347  fi;
22348  
22349 -echo "$as_me:15677: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
22350 +
22351 +echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
22352  echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
22353  IPV4_IN6_HACK_MSG="no"
22354  
22355 @@ -15683,33 +19078,34 @@
22356    withval="$with_4in6"
22357  
22358                 if test "x$withval" != "xno" ; then
22359 -                       echo "$as_me:15686: result: yes" >&5
22360 +                       echo "$as_me:$LINENO: result: yes" >&5
22361  echo "${ECHO_T}yes" >&6
22362 -                       cat >>confdefs.h <<\EOF
22363 +                       cat >>confdefs.h <<\_ACEOF
22364  #define IPV4_IN_IPV6 1
22365 -EOF
22366 +_ACEOF
22367  
22368                         IPV4_IN6_HACK_MSG="yes"
22369                 else
22370 -                       echo "$as_me:15694: result: no" >&5
22371 +                       echo "$as_me:$LINENO: result: no" >&5
22372  echo "${ECHO_T}no" >&6
22373                 fi
22374  
22375  else
22376  
22377                 if test "x$inet6_default_4in6" = "xyes"; then
22378 -                       echo "$as_me:15701: result: yes (default)" >&5
22379 +                       echo "$as_me:$LINENO: result: yes (default)" >&5
22380  echo "${ECHO_T}yes (default)" >&6
22381 -                       cat >>confdefs.h <<\EOF
22382 +                       cat >>confdefs.h <<\_ACEOF
22383  #define IPV4_IN_IPV6 1
22384 -EOF
22385 +_ACEOF
22386  
22387                         IPV4_IN6_HACK_MSG="yes"
22388                 else
22389 -                       echo "$as_me:15709: result: no (default)" >&5
22390 +                       echo "$as_me:$LINENO: result: no (default)" >&5
22391  echo "${ECHO_T}no (default)" >&6
22392                 fi
22393  
22394 +
22395  fi;
22396  
22397  # Whether to enable BSD auth support
22398 @@ -15720,13 +19116,14 @@
22399    withval="$with_bsd_auth"
22400  
22401                 if test "x$withval" != "xno" ; then
22402 -                       cat >>confdefs.h <<\EOF
22403 +                       cat >>confdefs.h <<\_ACEOF
22404  #define BSD_AUTH 1
22405 -EOF
22406 +_ACEOF
22407  
22408                         BSD_AUTH_MSG=yes
22409                 fi
22410  
22411 +
22412  fi;
22413  
22414  # Where to place sshd.pid
22415 @@ -15739,6 +19136,7 @@
22416         esac
22417  fi
22418  
22419 +
22420  # Check whether --with-pid-dir or --without-pid-dir was given.
22421  if test "${with_pid_dir+set}" = set; then
22422    withval="$with_pid_dir"
22423 @@ -15746,112 +19144,123 @@
22424                 if test "x$withval" != "xno" ; then
22425                         piddir=$withval
22426                         if test ! -d $piddir ; then
22427 -                       { echo "$as_me:15749: WARNING: ** no $piddir directory on this system **" >&5
22428 +                       { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
22429  echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
22430                         fi
22431                 fi
22432  
22433 +
22434  fi;
22435  
22436 -cat >>confdefs.h <<EOF
22437 +cat >>confdefs.h <<_ACEOF
22438  #define _PATH_SSH_PIDDIR "$piddir"
22439 -EOF
22440 +_ACEOF
22441 +
22442 +
22443  
22444  # Check whether --enable-lastlog or --disable-lastlog was given.
22445  if test "${enable_lastlog+set}" = set; then
22446    enableval="$enable_lastlog"
22447  
22448                 if test "x$enableval" = "xno" ; then
22449 -                       cat >>confdefs.h <<\EOF
22450 +                       cat >>confdefs.h <<\_ACEOF
22451  #define DISABLE_LASTLOG 1
22452 -EOF
22453 +_ACEOF
22454  
22455                 fi
22456  
22457 +
22458  fi;
22459  # Check whether --enable-utmp or --disable-utmp was given.
22460  if test "${enable_utmp+set}" = set; then
22461    enableval="$enable_utmp"
22462  
22463                 if test "x$enableval" = "xno" ; then
22464 -                       cat >>confdefs.h <<\EOF
22465 +                       cat >>confdefs.h <<\_ACEOF
22466  #define DISABLE_UTMP 1
22467 -EOF
22468 +_ACEOF
22469  
22470                 fi
22471  
22472 +
22473  fi;
22474  # Check whether --enable-utmpx or --disable-utmpx was given.
22475  if test "${enable_utmpx+set}" = set; then
22476    enableval="$enable_utmpx"
22477  
22478                 if test "x$enableval" = "xno" ; then
22479 -                       cat >>confdefs.h <<\EOF
22480 +                       cat >>confdefs.h <<\_ACEOF
22481  #define DISABLE_UTMPX 1
22482 -EOF
22483 +_ACEOF
22484  
22485                 fi
22486  
22487 +
22488  fi;
22489  # Check whether --enable-wtmp or --disable-wtmp was given.
22490  if test "${enable_wtmp+set}" = set; then
22491    enableval="$enable_wtmp"
22492  
22493                 if test "x$enableval" = "xno" ; then
22494 -                       cat >>confdefs.h <<\EOF
22495 +                       cat >>confdefs.h <<\_ACEOF
22496  #define DISABLE_WTMP 1
22497 -EOF
22498 +_ACEOF
22499  
22500                 fi
22501  
22502 +
22503  fi;
22504  # Check whether --enable-wtmpx or --disable-wtmpx was given.
22505  if test "${enable_wtmpx+set}" = set; then
22506    enableval="$enable_wtmpx"
22507  
22508                 if test "x$enableval" = "xno" ; then
22509 -                       cat >>confdefs.h <<\EOF
22510 +                       cat >>confdefs.h <<\_ACEOF
22511  #define DISABLE_WTMPX 1
22512 -EOF
22513 +_ACEOF
22514  
22515                 fi
22516  
22517 +
22518  fi;
22519  # Check whether --enable-libutil or --disable-libutil was given.
22520  if test "${enable_libutil+set}" = set; then
22521    enableval="$enable_libutil"
22522  
22523                 if test "x$enableval" = "xno" ; then
22524 -                       cat >>confdefs.h <<\EOF
22525 +                       cat >>confdefs.h <<\_ACEOF
22526  #define DISABLE_LOGIN 1
22527 -EOF
22528 +_ACEOF
22529  
22530                 fi
22531  
22532 +
22533  fi;
22534  # Check whether --enable-pututline or --disable-pututline was given.
22535  if test "${enable_pututline+set}" = set; then
22536    enableval="$enable_pututline"
22537  
22538                 if test "x$enableval" = "xno" ; then
22539 -                       cat >>confdefs.h <<\EOF
22540 +                       cat >>confdefs.h <<\_ACEOF
22541  #define DISABLE_PUTUTLINE 1
22542 -EOF
22543 +_ACEOF
22544  
22545                 fi
22546  
22547 +
22548  fi;
22549  # Check whether --enable-pututxline or --disable-pututxline was given.
22550  if test "${enable_pututxline+set}" = set; then
22551    enableval="$enable_pututxline"
22552  
22553                 if test "x$enableval" = "xno" ; then
22554 -                       cat >>confdefs.h <<\EOF
22555 +                       cat >>confdefs.h <<\_ACEOF
22556  #define DISABLE_PUTUTXLINE 1
22557 -EOF
22558 +_ACEOF
22559  
22560                 fi
22561  
22562 +
22563  fi;
22564  
22565  # Check whether --with-lastlog or --without-lastlog was given.
22566 @@ -15859,21 +19268,27 @@
22567    withval="$with_lastlog"
22568  
22569                 if test "x$withval" = "xno" ; then
22570 -                       cat >>confdefs.h <<\EOF
22571 +                       cat >>confdefs.h <<\_ACEOF
22572  #define DISABLE_LASTLOG 1
22573 -EOF
22574 +_ACEOF
22575  
22576                 else
22577                         conf_lastlog_location=$withval
22578                 fi
22579  
22580 +
22581  fi;
22582  
22583 -echo "$as_me:15872: checking if your system defines LASTLOG_FILE" >&5
22584 +
22585 +echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
22586  echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
22587  cat >conftest.$ac_ext <<_ACEOF
22588 -#line 15875 "configure"
22589 -#include "confdefs.h"
22590 +#line $LINENO "configure"
22591 +/* confdefs.h.  */
22592 +_ACEOF
22593 +cat confdefs.h >>conftest.$ac_ext
22594 +cat >>conftest.$ac_ext <<_ACEOF
22595 +/* end confdefs.h.  */
22596  
22597  #include <sys/types.h>
22598  #include <utmp.h>
22599 @@ -15896,30 +19311,35 @@
22600  }
22601  _ACEOF
22602  rm -f conftest.$ac_objext
22603 -if { (eval echo "$as_me:15899: \"$ac_compile\"") >&5
22604 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22605    (eval $ac_compile) 2>&5
22606    ac_status=$?
22607 -  echo "$as_me:15902: \$? = $ac_status" >&5
22608 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609    (exit $ac_status); } &&
22610           { ac_try='test -s conftest.$ac_objext'
22611 -  { (eval echo "$as_me:15905: \"$ac_try\"") >&5
22612 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613    (eval $ac_try) 2>&5
22614    ac_status=$?
22615 -  echo "$as_me:15908: \$? = $ac_status" >&5
22616 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617    (exit $ac_status); }; }; then
22618 -   echo "$as_me:15910: result: yes" >&5
22619 +   echo "$as_me:$LINENO: result: yes" >&5
22620  echo "${ECHO_T}yes" >&6
22621  else
22622    echo "$as_me: failed program was:" >&5
22623 -cat conftest.$ac_ext >&5
22624 +sed 's/^/| /' conftest.$ac_ext >&5
22625  
22626 -               echo "$as_me:15916: result: no" >&5
22627 +
22628 +               echo "$as_me:$LINENO: result: no" >&5
22629  echo "${ECHO_T}no" >&6
22630 -               echo "$as_me:15918: checking if your system defines _PATH_LASTLOG" >&5
22631 +               echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
22632  echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
22633 -               cat >conftest.$ac_ext <<_ACEOF
22634 -#line 15921 "configure"
22635 -#include "confdefs.h"
22636 +               _au_changequote(,)cat >conftest.$ac_ext <<_ACEOF
22637 +#line $LINENO "configure"
22638 +/* confdefs.h.  */
22639 +_ACEOF
22640 +cat confdefs.h >>conftest.$ac_ext
22641 +cat >>conftest.$ac_ext <<_ACEOF
22642 +/* end confdefs.h.  */
22643  
22644  #include <sys/types.h>
22645  #include <utmp.h>
22646 @@ -15939,30 +19359,32 @@
22647  }
22648  _ACEOF
22649  rm -f conftest.$ac_objext
22650 -if { (eval echo "$as_me:15942: \"$ac_compile\"") >&5
22651 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22652    (eval $ac_compile) 2>&5
22653    ac_status=$?
22654 -  echo "$as_me:15945: \$? = $ac_status" >&5
22655 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656    (exit $ac_status); } &&
22657           { ac_try='test -s conftest.$ac_objext'
22658 -  { (eval echo "$as_me:15948: \"$ac_try\"") >&5
22659 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660    (eval $ac_try) 2>&5
22661    ac_status=$?
22662 -  echo "$as_me:15951: \$? = $ac_status" >&5
22663 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664    (exit $ac_status); }; }; then
22665 -   echo "$as_me:15953: result: yes" >&5
22666 +   echo "$as_me:$LINENO: result: yes" >&5
22667  echo "${ECHO_T}yes" >&6
22668  else
22669    echo "$as_me: failed program was:" >&5
22670 -cat conftest.$ac_ext >&5
22671 +sed 's/^/| /' conftest.$ac_ext >&5
22672  
22673 -                       echo "$as_me:15959: result: no" >&5
22674 +
22675 +                       echo "$as_me:$LINENO: result: no" >&5
22676  echo "${ECHO_T}no" >&6
22677                         system_lastlog_path=no
22678  
22679  fi
22680  rm -f conftest.$ac_objext conftest.$ac_ext
22681  
22682 +
22683  fi
22684  rm -f conftest.$ac_objext conftest.$ac_ext
22685  
22686 @@ -15974,24 +19396,28 @@
22687                                 fi
22688                 done
22689                 if test -z "$conf_lastlog_location"; then
22690 -                       { echo "$as_me:15977: WARNING: ** Cannot find lastlog **" >&5
22691 +                       { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
22692  echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
22693                                         fi
22694         fi
22695  fi
22696  
22697  if test -n "$conf_lastlog_location"; then
22698 -       cat >>confdefs.h <<EOF
22699 +       cat >>confdefs.h <<_ACEOF
22700  #define CONF_LASTLOG_FILE "$conf_lastlog_location"
22701 -EOF
22702 +_ACEOF
22703  
22704  fi
22705  
22706 -echo "$as_me:15990: checking if your system defines UTMP_FILE" >&5
22707 +echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
22708  echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
22709  cat >conftest.$ac_ext <<_ACEOF
22710 -#line 15993 "configure"
22711 -#include "confdefs.h"
22712 +#line $LINENO "configure"
22713 +/* confdefs.h.  */
22714 +_ACEOF
22715 +cat confdefs.h >>conftest.$ac_ext
22716 +cat >>conftest.$ac_ext <<_ACEOF
22717 +/* end confdefs.h.  */
22718  
22719  #include <sys/types.h>
22720  #include <utmp.h>
22721 @@ -16008,23 +19434,24 @@
22722  }
22723  _ACEOF
22724  rm -f conftest.$ac_objext
22725 -if { (eval echo "$as_me:16011: \"$ac_compile\"") >&5
22726 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22727    (eval $ac_compile) 2>&5
22728    ac_status=$?
22729 -  echo "$as_me:16014: \$? = $ac_status" >&5
22730 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731    (exit $ac_status); } &&
22732           { ac_try='test -s conftest.$ac_objext'
22733 -  { (eval echo "$as_me:16017: \"$ac_try\"") >&5
22734 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735    (eval $ac_try) 2>&5
22736    ac_status=$?
22737 -  echo "$as_me:16020: \$? = $ac_status" >&5
22738 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739    (exit $ac_status); }; }; then
22740 -   echo "$as_me:16022: result: yes" >&5
22741 +   echo "$as_me:$LINENO: result: yes" >&5
22742  echo "${ECHO_T}yes" >&6
22743  else
22744    echo "$as_me: failed program was:" >&5
22745 -cat conftest.$ac_ext >&5
22746 - echo "$as_me:16027: result: no" >&5
22747 +sed 's/^/| /' conftest.$ac_ext >&5
22748 +
22749 + echo "$as_me:$LINENO: result: no" >&5
22750  echo "${ECHO_T}no" >&6
22751           system_utmp_path=no
22752  
22753 @@ -16038,25 +19465,29 @@
22754                         fi
22755                 done
22756                 if test -z "$conf_utmp_location"; then
22757 -                       cat >>confdefs.h <<\EOF
22758 +                       cat >>confdefs.h <<\_ACEOF
22759  #define DISABLE_UTMP 1
22760 -EOF
22761 +_ACEOF
22762  
22763                 fi
22764         fi
22765  fi
22766  if test -n "$conf_utmp_location"; then
22767 -       cat >>confdefs.h <<EOF
22768 +       cat >>confdefs.h <<_ACEOF
22769  #define CONF_UTMP_FILE "$conf_utmp_location"
22770 -EOF
22771 +_ACEOF
22772  
22773  fi
22774  
22775 -echo "$as_me:16055: checking if your system defines WTMP_FILE" >&5
22776 +echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
22777  echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
22778  cat >conftest.$ac_ext <<_ACEOF
22779 -#line 16058 "configure"
22780 -#include "confdefs.h"
22781 +#line $LINENO "configure"
22782 +/* confdefs.h.  */
22783 +_ACEOF
22784 +cat confdefs.h >>conftest.$ac_ext
22785 +cat >>conftest.$ac_ext <<_ACEOF
22786 +/* end confdefs.h.  */
22787  
22788  #include <sys/types.h>
22789  #include <utmp.h>
22790 @@ -16073,23 +19504,24 @@
22791  }
22792  _ACEOF
22793  rm -f conftest.$ac_objext
22794 -if { (eval echo "$as_me:16076: \"$ac_compile\"") >&5
22795 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22796    (eval $ac_compile) 2>&5
22797    ac_status=$?
22798 -  echo "$as_me:16079: \$? = $ac_status" >&5
22799 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800    (exit $ac_status); } &&
22801           { ac_try='test -s conftest.$ac_objext'
22802 -  { (eval echo "$as_me:16082: \"$ac_try\"") >&5
22803 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804    (eval $ac_try) 2>&5
22805    ac_status=$?
22806 -  echo "$as_me:16085: \$? = $ac_status" >&5
22807 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808    (exit $ac_status); }; }; then
22809 -   echo "$as_me:16087: result: yes" >&5
22810 +   echo "$as_me:$LINENO: result: yes" >&5
22811  echo "${ECHO_T}yes" >&6
22812  else
22813    echo "$as_me: failed program was:" >&5
22814 -cat conftest.$ac_ext >&5
22815 - echo "$as_me:16092: result: no" >&5
22816 +sed 's/^/| /' conftest.$ac_ext >&5
22817 +
22818 + echo "$as_me:$LINENO: result: no" >&5
22819  echo "${ECHO_T}no" >&6
22820           system_wtmp_path=no
22821  
22822 @@ -16103,25 +19535,30 @@
22823                         fi
22824                 done
22825                 if test -z "$conf_wtmp_location"; then
22826 -                       cat >>confdefs.h <<\EOF
22827 +                       cat >>confdefs.h <<\_ACEOF
22828  #define DISABLE_WTMP 1
22829 -EOF
22830 +_ACEOF
22831  
22832                 fi
22833         fi
22834  fi
22835  if test -n "$conf_wtmp_location"; then
22836 -       cat >>confdefs.h <<EOF
22837 +       cat >>confdefs.h <<_ACEOF
22838  #define CONF_WTMP_FILE "$conf_wtmp_location"
22839 -EOF
22840 +_ACEOF
22841  
22842  fi
22843  
22844 -echo "$as_me:16120: checking if your system defines UTMPX_FILE" >&5
22845 +
22846 +echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
22847  echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
22848  cat >conftest.$ac_ext <<_ACEOF
22849 -#line 16123 "configure"
22850 -#include "confdefs.h"
22851 +#line $LINENO "configure"
22852 +/* confdefs.h.  */
22853 +_ACEOF
22854 +cat confdefs.h >>conftest.$ac_ext
22855 +cat >>conftest.$ac_ext <<_ACEOF
22856 +/* end confdefs.h.  */
22857  
22858  #include <sys/types.h>
22859  #include <utmp.h>
22860 @@ -16141,23 +19578,24 @@
22861  }
22862  _ACEOF
22863  rm -f conftest.$ac_objext
22864 -if { (eval echo "$as_me:16144: \"$ac_compile\"") >&5
22865 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22866    (eval $ac_compile) 2>&5
22867    ac_status=$?
22868 -  echo "$as_me:16147: \$? = $ac_status" >&5
22869 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870    (exit $ac_status); } &&
22871           { ac_try='test -s conftest.$ac_objext'
22872 -  { (eval echo "$as_me:16150: \"$ac_try\"") >&5
22873 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22874    (eval $ac_try) 2>&5
22875    ac_status=$?
22876 -  echo "$as_me:16153: \$? = $ac_status" >&5
22877 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878    (exit $ac_status); }; }; then
22879 -   echo "$as_me:16155: result: yes" >&5
22880 +   echo "$as_me:$LINENO: result: yes" >&5
22881  echo "${ECHO_T}yes" >&6
22882  else
22883    echo "$as_me: failed program was:" >&5
22884 -cat conftest.$ac_ext >&5
22885 - echo "$as_me:16160: result: no" >&5
22886 +sed 's/^/| /' conftest.$ac_ext >&5
22887 +
22888 + echo "$as_me:$LINENO: result: no" >&5
22889  echo "${ECHO_T}no" >&6
22890           system_utmpx_path=no
22891  
22892 @@ -16165,23 +19603,27 @@
22893  rm -f conftest.$ac_objext conftest.$ac_ext
22894  if test -z "$conf_utmpx_location"; then
22895         if test x"$system_utmpx_path" = x"no" ; then
22896 -               cat >>confdefs.h <<\EOF
22897 +               cat >>confdefs.h <<\_ACEOF
22898  #define DISABLE_UTMPX 1
22899 -EOF
22900 +_ACEOF
22901  
22902         fi
22903  else
22904 -       cat >>confdefs.h <<EOF
22905 +       cat >>confdefs.h <<_ACEOF
22906  #define CONF_UTMPX_FILE "$conf_utmpx_location"
22907 -EOF
22908 +_ACEOF
22909  
22910  fi
22911  
22912 -echo "$as_me:16180: checking if your system defines WTMPX_FILE" >&5
22913 +echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
22914  echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
22915  cat >conftest.$ac_ext <<_ACEOF
22916 -#line 16183 "configure"
22917 -#include "confdefs.h"
22918 +#line $LINENO "configure"
22919 +/* confdefs.h.  */
22920 +_ACEOF
22921 +cat confdefs.h >>conftest.$ac_ext
22922 +cat >>conftest.$ac_ext <<_ACEOF
22923 +/* end confdefs.h.  */
22924  
22925  #include <sys/types.h>
22926  #include <utmp.h>
22927 @@ -16201,23 +19643,24 @@
22928  }
22929  _ACEOF
22930  rm -f conftest.$ac_objext
22931 -if { (eval echo "$as_me:16204: \"$ac_compile\"") >&5
22932 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22933    (eval $ac_compile) 2>&5
22934    ac_status=$?
22935 -  echo "$as_me:16207: \$? = $ac_status" >&5
22936 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937    (exit $ac_status); } &&
22938           { ac_try='test -s conftest.$ac_objext'
22939 -  { (eval echo "$as_me:16210: \"$ac_try\"") >&5
22940 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941    (eval $ac_try) 2>&5
22942    ac_status=$?
22943 -  echo "$as_me:16213: \$? = $ac_status" >&5
22944 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945    (exit $ac_status); }; }; then
22946 -   echo "$as_me:16215: result: yes" >&5
22947 +   echo "$as_me:$LINENO: result: yes" >&5
22948  echo "${ECHO_T}yes" >&6
22949  else
22950    echo "$as_me: failed program was:" >&5
22951 -cat conftest.$ac_ext >&5
22952 - echo "$as_me:16220: result: no" >&5
22953 +sed 's/^/| /' conftest.$ac_ext >&5
22954 +
22955 + echo "$as_me:$LINENO: result: no" >&5
22956  echo "${ECHO_T}no" >&6
22957           system_wtmpx_path=no
22958  
22959 @@ -16225,21 +19668,22 @@
22960  rm -f conftest.$ac_objext conftest.$ac_ext
22961  if test -z "$conf_wtmpx_location"; then
22962         if test x"$system_wtmpx_path" = x"no" ; then
22963 -               cat >>confdefs.h <<\EOF
22964 +               cat >>confdefs.h <<\_ACEOF
22965  #define DISABLE_WTMPX 1
22966 -EOF
22967 +_ACEOF
22968  
22969         fi
22970  else
22971 -       cat >>confdefs.h <<EOF
22972 +       cat >>confdefs.h <<_ACEOF
22973  #define CONF_WTMPX_FILE "$conf_wtmpx_location"
22974 -EOF
22975 +_ACEOF
22976  
22977  fi
22978  
22979 +
22980  if test ! -z "$blibpath" ; then
22981         LDFLAGS="$LDFLAGS $blibflags$blibpath"
22982 -       { echo "$as_me:16242: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
22983 +       { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
22984  echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
22985  fi
22986  
22987 @@ -16250,7 +19694,8 @@
22988         LIBS=`echo $LIBS | sed 's/-ldl //'`
22989  fi
22990  
22991 -ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
22992 +
22993 +                                        ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
22994  
22995  cat >confcache <<\_ACEOF
22996  # This file is a shell script that caches the results of configure
22997 @@ -16262,7 +19707,7 @@
22998  # config.status only pays attention to the cache file if you give it
22999  # the --recheck option to rerun configure.
23000  #
23001 -# `ac_cv_env_foo' variables (set or unset) will be overriden when
23002 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
23003  # loading this file, other *unset* `ac_cv_foo' will be assigned the
23004  # following values.
23005  
23006 @@ -16297,7 +19742,7 @@
23007       t end
23008       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23009       : end' >>confcache
23010 -if cmp -s $cache_file confcache; then :; else
23011 +if diff $cache_file confcache >/dev/null 2>&1; then :; else
23012    if test -w $cache_file; then
23013      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23014      cat confcache >$cache_file
23015 @@ -16328,35 +19773,227 @@
23016  
23017  DEFS=-DHAVE_CONFIG_H
23018  
23019 +ac_libobjs=
23020 +ac_ltlibobjs=
23021 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23022 +  # 1. Remove the extension, and $U if already installed.
23023 +  ac_i=`echo "$ac_i" |
23024 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23025 +  # 2. Add them.
23026 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23027 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23028 +done
23029 +LIBOBJS=$ac_libobjs
23030 +
23031 +LTLIBOBJS=$ac_ltlibobjs
23032 +
23033 +
23034 +
23035  : ${CONFIG_STATUS=./config.status}
23036  ac_clean_files_save=$ac_clean_files
23037  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23038 -{ echo "$as_me:16334: creating $CONFIG_STATUS" >&5
23039 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23040  echo "$as_me: creating $CONFIG_STATUS" >&6;}
23041  cat >$CONFIG_STATUS <<_ACEOF
23042  #! $SHELL
23043 -# Generated automatically by configure.
23044 +# Generated by $as_me.
23045  # Run this file to recreate the current configuration.
23046  # Compiler output produced by configure, useful for debugging
23047  # configure, is in config.log if it exists.
23048  
23049  debug=false
23050 +ac_cs_recheck=false
23051 +ac_cs_silent=false
23052  SHELL=\${CONFIG_SHELL-$SHELL}
23053 -ac_cs_invocation="\$0 \$@"
23054 -
23055  _ACEOF
23056  
23057  cat >>$CONFIG_STATUS <<\_ACEOF
23058 +## --------------------- ##
23059 +## M4sh Initialization.  ##
23060 +## --------------------- ##
23061 +
23062  # Be Bourne compatible
23063  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23064    emulate sh
23065    NULLCMD=:
23066 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23067 +  # is contrary to our usage.  Disable this feature.
23068 +  alias -g '${1+"$@"}'='"$@"'
23069  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23070    set -o posix
23071  fi
23072  
23073 +# Support unset when possible.
23074 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23075 +  as_unset=unset
23076 +else
23077 +  as_unset=false
23078 +fi
23079 +
23080 +
23081 +# Work around bugs in pre-3.0 UWIN ksh.
23082 +$as_unset ENV MAIL MAILPATH
23083 +PS1='$ '
23084 +PS2='> '
23085 +PS4='+ '
23086 +
23087 +# NLS nuisances.
23088 +for as_var in \
23089 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23090 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23091 +  LC_TELEPHONE LC_TIME
23092 +do
23093 +  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23094 +    eval $as_var=C; export $as_var
23095 +  else
23096 +    $as_unset $as_var
23097 +  fi
23098 +done
23099 +
23100 +# Required to use basename.
23101 +if expr a : '\(a\)' >/dev/null 2>&1; then
23102 +  as_expr=expr
23103 +else
23104 +  as_expr=false
23105 +fi
23106 +
23107 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23108 +  as_basename=basename
23109 +else
23110 +  as_basename=false
23111 +fi
23112 +
23113 +
23114  # Name of the executable.
23115 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
23116 +as_me=`$as_basename "$0" ||
23117 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23118 +        X"$0" : 'X\(//\)$' \| \
23119 +        X"$0" : 'X\(/\)$' \| \
23120 +        .     : '\(.\)' 2>/dev/null ||
23121 +echo X/"$0" |
23122 +    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23123 +         /^X\/\(\/\/\)$/{ s//\1/; q; }
23124 +         /^X\/\(\/\).*/{ s//\1/; q; }
23125 +         s/.*/./; q'`
23126 +
23127 +
23128 +# PATH needs CR, and LINENO needs CR and PATH.
23129 +# Avoid depending upon Character Ranges.
23130 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23131 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23132 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23133 +as_cr_digits='0123456789'
23134 +as_cr_alnum=$as_cr_Letters$as_cr_digits
23135 +
23136 +# The user is always right.
23137 +if test "${PATH_SEPARATOR+set}" != set; then
23138 +  echo "#! /bin/sh" >conf$$.sh
23139 +  echo  "exit 0"   >>conf$$.sh
23140 +  chmod +x conf$$.sh
23141 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23142 +    PATH_SEPARATOR=';'
23143 +  else
23144 +    PATH_SEPARATOR=:
23145 +  fi
23146 +  rm -f conf$$.sh
23147 +fi
23148 +
23149 +
23150 +  as_lineno_1=$LINENO
23151 +  as_lineno_2=$LINENO
23152 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23153 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
23154 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
23155 +  # Find who we are.  Look in the path if we contain no path at all
23156 +  # relative or not.
23157 +  case $0 in
23158 +    *[\\/]* ) as_myself=$0 ;;
23159 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23160 +for as_dir in $PATH
23161 +do
23162 +  IFS=$as_save_IFS
23163 +  test -z "$as_dir" && as_dir=.
23164 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23165 +done
23166 +
23167 +       ;;
23168 +  esac
23169 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
23170 +  # in which case we are not to be found in the path.
23171 +  if test "x$as_myself" = x; then
23172 +    as_myself=$0
23173 +  fi
23174 +  if test ! -f "$as_myself"; then
23175 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23176 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23177 +   { (exit 1); exit 1; }; }
23178 +  fi
23179 +  case $CONFIG_SHELL in
23180 +  '')
23181 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23182 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23183 +do
23184 +  IFS=$as_save_IFS
23185 +  test -z "$as_dir" && as_dir=.
23186 +  for as_base in sh bash ksh sh5; do
23187 +        case $as_dir in
23188 +        /*)
23189 +          if ("$as_dir/$as_base" -c '
23190 +  as_lineno_1=$LINENO
23191 +  as_lineno_2=$LINENO
23192 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23193 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
23194 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
23195 +            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23196 +            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23197 +            CONFIG_SHELL=$as_dir/$as_base
23198 +            export CONFIG_SHELL
23199 +            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23200 +          fi;;
23201 +        esac
23202 +       done
23203 +done
23204 +;;
23205 +  esac
23206 +
23207 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23208 +  # uniformly replaced by the line number.  The first 'sed' inserts a
23209 +  # line-number line before each line; the second 'sed' does the real
23210 +  # work.  The second script uses 'N' to pair each line-number line
23211 +  # with the numbered line, and appends trailing '-' during
23212 +  # substitution so that $LINENO is not a special case at line end.
23213 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23214 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
23215 +  sed '=' <$as_myself |
23216 +    sed '
23217 +      N
23218 +      s,$,-,
23219 +      : loop
23220 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23221 +      t loop
23222 +      s,-$,,
23223 +      s,^['$as_cr_digits']*\n,,
23224 +    ' >$as_me.lineno &&
23225 +  chmod +x $as_me.lineno ||
23226 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23227 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23228 +   { (exit 1); exit 1; }; }
23229 +
23230 +  # Don't try to exec as it changes $[0], causing all sort of problems
23231 +  # (the dirname of $[0] is not the place where we might find the
23232 +  # original and so on.  Autoconf is especially sensible to this).
23233 +  . ./$as_me.lineno
23234 +  # Exit status is that of the last command.
23235 +  exit
23236 +}
23237 +
23238 +
23239 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23240 +  *c*,-n*) ECHO_N= ECHO_C='
23241 +' ECHO_T='     ' ;;
23242 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23243 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
23244 +esac
23245  
23246  if expr a : '\(a\)' >/dev/null 2>&1; then
23247    as_expr=expr
23248 @@ -16382,24 +20019,20 @@
23249  fi
23250  rm -f conf$$ conf$$.exe conf$$.file
23251  
23252 -as_executable_p="test -f"
23253 -
23254 -# Support unset when possible.
23255 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23256 -  as_unset=unset
23257 +if mkdir -p . 2>/dev/null; then
23258 +  as_mkdir_p=:
23259  else
23260 -  as_unset=false
23261 +  as_mkdir_p=false
23262  fi
23263  
23264 -# NLS nuisances.
23265 -$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
23266 -$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
23267 -$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
23268 -$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
23269 -$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
23270 -$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
23271 -$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
23272 -$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
23273 +as_executable_p="test -f"
23274 +
23275 +# Sed expression to map a string onto a valid CPP name.
23276 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23277 +
23278 +# Sed expression to map a string onto a valid variable name.
23279 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23280 +
23281  
23282  # IFS
23283  # We need space, tab and new line, in precisely that order.
23284 @@ -16408,10 +20041,34 @@
23285  IFS="  $as_nl"
23286  
23287  # CDPATH.
23288 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
23289 +$as_unset CDPATH
23290  
23291  exec 6>&1
23292  
23293 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
23294 +# report actual input values of CONFIG_FILES etc. instead of their
23295 +# values after options handling.  Logging --version etc. is OK.
23296 +exec 5>>config.log
23297 +{
23298 +  echo
23299 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23300 +## Running $as_me. ##
23301 +_ASBOX
23302 +} >&5
23303 +cat >&5 <<_CSEOF
23304 +
23305 +This file was extended by $as_me, which was
23306 +generated by GNU Autoconf 2.57.  Invocation command line was
23307 +
23308 +  CONFIG_FILES    = $CONFIG_FILES
23309 +  CONFIG_HEADERS  = $CONFIG_HEADERS
23310 +  CONFIG_LINKS    = $CONFIG_LINKS
23311 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
23312 +  $ $0 $@
23313 +
23314 +_CSEOF
23315 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23316 +echo >&5
23317  _ACEOF
23318  
23319  # Files that config.status was made for.
23320 @@ -16431,7 +20088,7 @@
23321    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23322  fi
23323  
23324 -cat >>$CONFIG_STATUS <<\EOF
23325 +cat >>$CONFIG_STATUS <<\_ACEOF
23326  
23327  ac_cs_usage="\
23328  \`$as_me' instantiates files from templates according to the
23329 @@ -16441,6 +20098,7 @@
23330  
23331    -h, --help       print this help, then exit
23332    -V, --version    print version number, then exit
23333 +  -q, --quiet      do not print progress messages
23334    -d, --debug      don't remove temporary files
23335        --recheck    update $as_me by reconfiguring in the same conditions
23336    --file=FILE[:TEMPLATE]
23337 @@ -16455,12 +20113,12 @@
23338  $config_headers
23339  
23340  Report bugs to <bug-autoconf@gnu.org>."
23341 -EOF
23342 +_ACEOF
23343  
23344 -cat >>$CONFIG_STATUS <<EOF
23345 +cat >>$CONFIG_STATUS <<_ACEOF
23346  ac_cs_version="\\
23347  config.status
23348 -configured by $0, generated by GNU Autoconf 2.52,
23349 +configured by $0, generated by GNU Autoconf 2.57,
23350    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23351  
23352  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23353 @@ -16469,9 +20127,9 @@
23354  gives unlimited permission to copy, distribute and modify it."
23355  srcdir=$srcdir
23356  INSTALL="$INSTALL"
23357 -EOF
23358 +_ACEOF
23359  
23360 -cat >>$CONFIG_STATUS <<\EOF
23361 +cat >>$CONFIG_STATUS <<\_ACEOF
23362  # If no file are specified by the user, then we need to provide default
23363  # value.  By we need to know if files were specified by the user.
23364  ac_need_defaults=:
23365 @@ -16481,30 +20139,30 @@
23366    --*=*)
23367      ac_option=`expr "x$1" : 'x\([^=]*\)='`
23368      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23369 -    shift
23370 -    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
23371 -    shift
23372 +    ac_shift=:
23373 +    ;;
23374 +  -*)
23375 +    ac_option=$1
23376 +    ac_optarg=$2
23377 +    ac_shift=shift
23378      ;;
23379 -  -*);;
23380    *) # This is not an option, so the user has probably given explicit
23381       # arguments.
23382 +     ac_option=$1
23383       ac_need_defaults=false;;
23384    esac
23385  
23386 -  case $1 in
23387 +  case $ac_option in
23388    # Handling of the options.
23389 -EOF
23390 -cat >>$CONFIG_STATUS <<EOF
23391 +_ACEOF
23392 +cat >>$CONFIG_STATUS <<\_ACEOF
23393    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23394 -    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
23395 -    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
23396 -EOF
23397 -cat >>$CONFIG_STATUS <<\EOF
23398 +    ac_cs_recheck=: ;;
23399    --version | --vers* | -V )
23400      echo "$ac_cs_version"; exit 0 ;;
23401    --he | --h)
23402      # Conflict between --help and --header
23403 -    { { echo "$as_me:16507: error: ambiguous option: $1
23404 +    { { echo "$as_me:$LINENO: error: ambiguous option: $1
23405  Try \`$0 --help' for more information." >&5
23406  echo "$as_me: error: ambiguous option: $1
23407  Try \`$0 --help' for more information." >&2;}
23408 @@ -16514,16 +20172,19 @@
23409    --debug | --d* | -d )
23410      debug=: ;;
23411    --file | --fil | --fi | --f )
23412 -    shift
23413 -    CONFIG_FILES="$CONFIG_FILES $1"
23414 +    $ac_shift
23415 +    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23416      ac_need_defaults=false;;
23417    --header | --heade | --head | --hea )
23418 -    shift
23419 -    CONFIG_HEADERS="$CONFIG_HEADERS $1"
23420 +    $ac_shift
23421 +    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23422      ac_need_defaults=false;;
23423 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23424 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23425 +    ac_cs_silent=: ;;
23426  
23427    # This is an error.
23428 -  -*) { { echo "$as_me:16526: error: unrecognized option: $1
23429 +  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23430  Try \`$0 --help' for more information." >&5
23431  echo "$as_me: error: unrecognized option: $1
23432  Try \`$0 --help' for more information." >&2;}
23433 @@ -16535,25 +20196,27 @@
23434    shift
23435  done
23436  
23437 -exec 5>>config.log
23438 -cat >&5 << _ACEOF
23439 +ac_configure_extra_args=
23440  
23441 -## ----------------------- ##
23442 -## Running config.status.  ##
23443 -## ----------------------- ##
23444 +if $ac_cs_silent; then
23445 +  exec 6>/dev/null
23446 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
23447 +fi
23448  
23449 -This file was extended by $as_me 2.52, executed with
23450 -  CONFIG_FILES    = $CONFIG_FILES
23451 -  CONFIG_HEADERS  = $CONFIG_HEADERS
23452 -  CONFIG_LINKS    = $CONFIG_LINKS
23453 -  CONFIG_COMMANDS = $CONFIG_COMMANDS
23454 -  > $ac_cs_invocation
23455 -on `(hostname || uname -n) 2>/dev/null | sed 1q`
23456 +_ACEOF
23457 +cat >>$CONFIG_STATUS <<_ACEOF
23458 +if \$ac_cs_recheck; then
23459 +  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23460 +  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23461 +fi
23462  
23463  _ACEOF
23464 -EOF
23465  
23466 -cat >>$CONFIG_STATUS <<\EOF
23467 +
23468 +
23469 +
23470 +
23471 +cat >>$CONFIG_STATUS <<\_ACEOF
23472  for ac_config_target in $ac_config_targets
23473  do
23474    case "$ac_config_target" in
23475 @@ -16563,7 +20226,7 @@
23476    "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
23477    "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
23478    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23479 -  *) { { echo "$as_me:16566: error: invalid argument: $ac_config_target" >&5
23480 +  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23481  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23482     { (exit 1); exit 1; }; };;
23483    esac
23484 @@ -16578,6 +20241,9 @@
23485    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23486  fi
23487  
23488 +# Have a temporary directory for convenience.  Make it in the build tree
23489 +# simply because there is no reason to put it here, and in addition,
23490 +# creating and moving files from /tmp can sometimes cause problems.
23491  # Create a temporary directory, and hook for its removal unless debugging.
23492  $debug ||
23493  {
23494 @@ -16586,23 +20252,23 @@
23495  }
23496  
23497  # Create a (secure) tmp directory for tmp files.
23498 -: ${TMPDIR=/tmp}
23499 +
23500  {
23501 -  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
23502 +  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23503    test -n "$tmp" && test -d "$tmp"
23504  }  ||
23505  {
23506 -  tmp=$TMPDIR/cs$$-$RANDOM
23507 +  tmp=./confstat$$-$RANDOM
23508    (umask 077 && mkdir $tmp)
23509  } ||
23510  {
23511 -   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
23512 +   echo "$me: cannot create a temporary directory in ." >&2
23513     { (exit 1); exit 1; }
23514  }
23515  
23516 -EOF
23517 +_ACEOF
23518  
23519 -cat >>$CONFIG_STATUS <<EOF
23520 +cat >>$CONFIG_STATUS <<_ACEOF
23521  
23522  #
23523  # CONFIG_FILES section.
23524 @@ -16615,6 +20281,12 @@
23525    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23526     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23527  s,@SHELL@,$SHELL,;t t
23528 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23529 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23530 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23531 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23532 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23533 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23534  s,@exec_prefix@,$exec_prefix,;t t
23535  s,@prefix@,$prefix,;t t
23536  s,@program_transform_name@,$program_transform_name,;t t
23537 @@ -16630,19 +20302,13 @@
23538  s,@oldincludedir@,$oldincludedir,;t t
23539  s,@infodir@,$infodir,;t t
23540  s,@mandir@,$mandir,;t t
23541 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23542 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23543 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23544 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23545 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23546  s,@build_alias@,$build_alias,;t t
23547  s,@host_alias@,$host_alias,;t t
23548  s,@target_alias@,$target_alias,;t t
23549 +s,@DEFS@,$DEFS,;t t
23550  s,@ECHO_C@,$ECHO_C,;t t
23551  s,@ECHO_N@,$ECHO_N,;t t
23552  s,@ECHO_T@,$ECHO_T,;t t
23553 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23554 -s,@DEFS@,$DEFS,;t t
23555  s,@LIBS@,$LIBS,;t t
23556  s,@CC@,$CC,;t t
23557  s,@CFLAGS@,$CFLAGS,;t t
23558 @@ -16674,6 +20340,7 @@
23559  s,@SH@,$SH,;t t
23560  s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
23561  s,@LD@,$LD,;t t
23562 +s,@EGREP@,$EGREP,;t t
23563  s,@LIBWRAP@,$LIBWRAP,;t t
23564  s,@LIBPAM@,$LIBPAM,;t t
23565  s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
23566 @@ -16705,11 +20372,13 @@
23567  s,@mansubdir@,$mansubdir,;t t
23568  s,@user_path@,$user_path,;t t
23569  s,@piddir@,$piddir,;t t
23570 +s,@LIBOBJS@,$LIBOBJS,;t t
23571 +s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23572  CEOF
23573  
23574 -EOF
23575 +_ACEOF
23576  
23577 -  cat >>$CONFIG_STATUS <<\EOF
23578 +  cat >>$CONFIG_STATUS <<\_ACEOF
23579    # Split the substitutions into bite-sized pieces for seds with
23580    # small command number limits, like on Digital OSF/1 and HP-UX.
23581    ac_max_sed_lines=48
23582 @@ -16748,8 +20417,8 @@
23583    fi
23584  fi # test -n "$CONFIG_FILES"
23585  
23586 -EOF
23587 -cat >>$CONFIG_STATUS <<\EOF
23588 +_ACEOF
23589 +cat >>$CONFIG_STATUS <<\_ACEOF
23590  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23591    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23592    case $ac_file in
23593 @@ -16763,7 +20432,8 @@
23594    esac
23595  
23596    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23597 -  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23598 +  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23599 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23600           X"$ac_file" : 'X\(//\)[^/]' \| \
23601           X"$ac_file" : 'X\(//\)$' \| \
23602           X"$ac_file" : 'X\(/\)' \| \
23603 @@ -16774,60 +20444,84 @@
23604           /^X\(\/\/\)$/{ s//\1/; q; }
23605           /^X\(\/\).*/{ s//\1/; q; }
23606           s/.*/./; q'`
23607 -  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23608 -    { case "$ac_dir" in
23609 -  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23610 -  *)                      as_incr_dir=.;;
23611 -esac
23612 -as_dummy="$ac_dir"
23613 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23614 -  case $as_mkdir_dir in
23615 -    # Skip DOS drivespec
23616 -    ?:) as_incr_dir=$as_mkdir_dir ;;
23617 -    *)
23618 -      as_incr_dir=$as_incr_dir/$as_mkdir_dir
23619 -      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
23620 -    ;;
23621 -  esac
23622 -done; }
23623 -
23624 -    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
23625 -    # A "../" for each directory in $ac_dir_suffix.
23626 -    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
23627 +  { if $as_mkdir_p; then
23628 +    mkdir -p "$ac_dir"
23629    else
23630 -    ac_dir_suffix= ac_dots=
23631 -  fi
23632 +    as_dir="$ac_dir"
23633 +    as_dirs=
23634 +    while test ! -d "$as_dir"; do
23635 +      as_dirs="$as_dir $as_dirs"
23636 +      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23637 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23638 +         X"$as_dir" : 'X\(//\)[^/]' \| \
23639 +         X"$as_dir" : 'X\(//\)$' \| \
23640 +         X"$as_dir" : 'X\(/\)' \| \
23641 +         .     : '\(.\)' 2>/dev/null ||
23642 +echo X"$as_dir" |
23643 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23644 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23645 +         /^X\(\/\/\)$/{ s//\1/; q; }
23646 +         /^X\(\/\).*/{ s//\1/; q; }
23647 +         s/.*/./; q'`
23648 +    done
23649 +    test ! -n "$as_dirs" || mkdir $as_dirs
23650 +  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23651 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23652 +   { (exit 1); exit 1; }; }; }
23653  
23654 -  case $srcdir in
23655 -  .)  ac_srcdir=.
23656 -      if test -z "$ac_dots"; then
23657 -         ac_top_srcdir=.
23658 -      else
23659 -         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
23660 -      fi ;;
23661 -  [\\/]* | ?:[\\/]* )
23662 -      ac_srcdir=$srcdir$ac_dir_suffix;
23663 -      ac_top_srcdir=$srcdir ;;
23664 +  ac_builddir=.
23665 +
23666 +if test "$ac_dir" != .; then
23667 +  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23668 +  # A "../" for each directory in $ac_dir_suffix.
23669 +  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23670 +else
23671 +  ac_dir_suffix= ac_top_builddir=
23672 +fi
23673 +
23674 +case $srcdir in
23675 +  .)  # No --srcdir option.  We are building in place.
23676 +    ac_srcdir=.
23677 +    if test -z "$ac_top_builddir"; then
23678 +       ac_top_srcdir=.
23679 +    else
23680 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23681 +    fi ;;
23682 +  [\\/]* | ?:[\\/]* )  # Absolute path.
23683 +    ac_srcdir=$srcdir$ac_dir_suffix;
23684 +    ac_top_srcdir=$srcdir ;;
23685    *) # Relative path.
23686 -    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
23687 -    ac_top_srcdir=$ac_dots$srcdir ;;
23688 -  esac
23689 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23690 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
23691 +esac
23692 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23693 +# absolute.
23694 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23695 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23696 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23697 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23698 +
23699  
23700    case $INSTALL in
23701    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23702 -  *) ac_INSTALL=$ac_dots$INSTALL ;;
23703 +  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23704    esac
23705  
23706    if test x"$ac_file" != x-; then
23707 -    { echo "$as_me:16822: creating $ac_file" >&5
23708 +    { echo "$as_me:$LINENO: creating $ac_file" >&5
23709  echo "$as_me: creating $ac_file" >&6;}
23710      rm -f "$ac_file"
23711    fi
23712    # Let's still pretend it is `configure' which instantiates (i.e., don't
23713    # use $as_me), people would be surprised to read:
23714 -  #    /* config.h.  Generated automatically by config.status.  */
23715 -  configure_input="Generated automatically from `echo $ac_file_in |
23716 -                                                 sed 's,.*/,,'` by configure."
23717 +  #    /* config.h.  Generated by config.status.  */
23718 +  if test x"$ac_file" = x-; then
23719 +    configure_input=
23720 +  else
23721 +    configure_input="$ac_file.  "
23722 +  fi
23723 +  configure_input=$configure_input"Generated from `echo $ac_file_in |
23724 +                                     sed 's,.*/,,'` by configure."
23725  
23726    # First look for the input files in the build tree, otherwise in the
23727    # src tree.
23728 @@ -16837,7 +20531,7 @@
23729        -) echo $tmp/stdin ;;
23730        [\\/$]*)
23731           # Absolute (can't be DOS-style, as IFS=:)
23732 -         test -f "$f" || { { echo "$as_me:16840: error: cannot find input file: $f" >&5
23733 +         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23734  echo "$as_me: error: cannot find input file: $f" >&2;}
23735     { (exit 1); exit 1; }; }
23736           echo $f;;
23737 @@ -16850,23 +20544,29 @@
23738             echo $srcdir/$f
23739           else
23740             # /dev/null tree
23741 -           { { echo "$as_me:16853: error: cannot find input file: $f" >&5
23742 +           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23743  echo "$as_me: error: cannot find input file: $f" >&2;}
23744     { (exit 1); exit 1; }; }
23745           fi;;
23746        esac
23747      done` || { (exit 1); exit 1; }
23748 -EOF
23749 -cat >>$CONFIG_STATUS <<EOF
23750 +_ACEOF
23751 +cat >>$CONFIG_STATUS <<_ACEOF
23752    sed "$ac_vpsub
23753  $extrasub
23754 -EOF
23755 -cat >>$CONFIG_STATUS <<\EOF
23756 +_ACEOF
23757 +cat >>$CONFIG_STATUS <<\_ACEOF
23758  :t
23759  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23760  s,@configure_input@,$configure_input,;t t
23761  s,@srcdir@,$ac_srcdir,;t t
23762 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
23763  s,@top_srcdir@,$ac_top_srcdir,;t t
23764 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23765 +s,@builddir@,$ac_builddir,;t t
23766 +s,@abs_builddir@,$ac_abs_builddir,;t t
23767 +s,@top_builddir@,$ac_top_builddir,;t t
23768 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23769  s,@INSTALL@,$ac_INSTALL,;t t
23770  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23771    rm -f $tmp/stdin
23772 @@ -16878,8 +20578,8 @@
23773    fi
23774  
23775  done
23776 -EOF
23777 -cat >>$CONFIG_STATUS <<\EOF
23778 +_ACEOF
23779 +cat >>$CONFIG_STATUS <<\_ACEOF
23780  
23781  #
23782  # CONFIG_HEADER section.
23783 @@ -16911,7 +20611,7 @@
23784    * )   ac_file_in=$ac_file.in ;;
23785    esac
23786  
23787 -  test x"$ac_file" != x- && { echo "$as_me:16914: creating $ac_file" >&5
23788 +  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23789  echo "$as_me: creating $ac_file" >&6;}
23790  
23791    # First look for the input files in the build tree, otherwise in the
23792 @@ -16922,7 +20622,7 @@
23793        -) echo $tmp/stdin ;;
23794        [\\/$]*)
23795           # Absolute (can't be DOS-style, as IFS=:)
23796 -         test -f "$f" || { { echo "$as_me:16925: error: cannot find input file: $f" >&5
23797 +         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23798  echo "$as_me: error: cannot find input file: $f" >&2;}
23799     { (exit 1); exit 1; }; }
23800           echo $f;;
23801 @@ -16935,7 +20635,7 @@
23802             echo $srcdir/$f
23803           else
23804             # /dev/null tree
23805 -           { { echo "$as_me:16938: error: cannot find input file: $f" >&5
23806 +           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23807  echo "$as_me: error: cannot find input file: $f" >&2;}
23808     { (exit 1); exit 1; }; }
23809           fi;;
23810 @@ -16944,7 +20644,7 @@
23811    # Remove the trailing spaces.
23812    sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
23813  
23814 -EOF
23815 +_ACEOF
23816  
23817  # Transform confdefs.h into two sed scripts, `conftest.defines' and
23818  # `conftest.undefs', that substitutes the proper values into
23819 @@ -16960,7 +20660,7 @@
23820  # `end' is used to avoid that the second main sed command (meant for
23821  # 0-ary CPP macros) applies to n-ary macro definitions.
23822  # See the Autoconf documentation for `clear'.
23823 -cat >confdef2sed.sed <<\EOF
23824 +cat >confdef2sed.sed <<\_ACEOF
23825  s/[\\&,]/\\&/g
23826  s,[\\$`],\\&,g
23827  t clear
23828 @@ -16969,7 +20669,7 @@
23829  t end
23830  s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23831  : end
23832 -EOF
23833 +_ACEOF
23834  # If some macros were called several times there might be several times
23835  # the same #defines, which is useless.  Nevertheless, we may not want to
23836  # sort them, since we want the *last* AC-DEFINE to be honored.
23837 @@ -16980,14 +20680,14 @@
23838  # This sed command replaces #undef with comments.  This is necessary, for
23839  # example, in the case of _POSIX_SOURCE, which is predefined and required
23840  # on some systems where configure will not decide to define it.
23841 -cat >>conftest.undefs <<\EOF
23842 +cat >>conftest.undefs <<\_ACEOF
23843  s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23844 -EOF
23845 +_ACEOF
23846  
23847  # Break up conftest.defines because some shells have a limit on the size
23848  # of here documents, and old seds have small limits too (100 cmds).
23849  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23850 -echo '  if egrep "^[   ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23851 +echo '  if grep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23852  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23853  echo '  :' >>$CONFIG_STATUS
23854  rm -f conftest.tail
23855 @@ -17011,7 +20711,7 @@
23856    mv conftest.tail conftest.defines
23857  done
23858  rm -f conftest.defines
23859 -echo '  fi # egrep' >>$CONFIG_STATUS
23860 +echo '  fi # grep' >>$CONFIG_STATUS
23861  echo >>$CONFIG_STATUS
23862  
23863  # Break up conftest.undefs because some shells have a limit on the size
23864 @@ -17039,23 +20739,24 @@
23865  done
23866  rm -f conftest.undefs
23867  
23868 -cat >>$CONFIG_STATUS <<\EOF
23869 +cat >>$CONFIG_STATUS <<\_ACEOF
23870    # Let's still pretend it is `configure' which instantiates (i.e., don't
23871    # use $as_me), people would be surprised to read:
23872 -  #    /* config.h.  Generated automatically by config.status.  */
23873 +  #    /* config.h.  Generated by config.status.  */
23874    if test x"$ac_file" = x-; then
23875 -    echo "/* Generated automatically by configure.  */" >$tmp/config.h
23876 +    echo "/* Generated by configure.  */" >$tmp/config.h
23877    else
23878 -    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
23879 +    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
23880    fi
23881    cat $tmp/in >>$tmp/config.h
23882    rm -f $tmp/in
23883    if test x"$ac_file" != x-; then
23884 -    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
23885 -      { echo "$as_me:17055: $ac_file is unchanged" >&5
23886 +    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23887 +      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23888  echo "$as_me: $ac_file is unchanged" >&6;}
23889      else
23890 -      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23891 +      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23892 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23893           X"$ac_file" : 'X\(//\)[^/]' \| \
23894           X"$ac_file" : 'X\(//\)$' \| \
23895           X"$ac_file" : 'X\(/\)' \| \
23896 @@ -17066,24 +20767,31 @@
23897           /^X\(\/\/\)$/{ s//\1/; q; }
23898           /^X\(\/\).*/{ s//\1/; q; }
23899           s/.*/./; q'`
23900 -      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23901 -        { case "$ac_dir" in
23902 -  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23903 -  *)                      as_incr_dir=.;;
23904 -esac
23905 -as_dummy="$ac_dir"
23906 -for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
23907 -  case $as_mkdir_dir in
23908 -    # Skip DOS drivespec
23909 -    ?:) as_incr_dir=$as_mkdir_dir ;;
23910 -    *)
23911 -      as_incr_dir=$as_incr_dir/$as_mkdir_dir
23912 -      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
23913 -    ;;
23914 -  esac
23915 -done; }
23916 +      { if $as_mkdir_p; then
23917 +    mkdir -p "$ac_dir"
23918 +  else
23919 +    as_dir="$ac_dir"
23920 +    as_dirs=
23921 +    while test ! -d "$as_dir"; do
23922 +      as_dirs="$as_dir $as_dirs"
23923 +      as_dir=`(dirname "$as_dir") 2>/dev/null ||
23924 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23925 +         X"$as_dir" : 'X\(//\)[^/]' \| \
23926 +         X"$as_dir" : 'X\(//\)$' \| \
23927 +         X"$as_dir" : 'X\(/\)' \| \
23928 +         .     : '\(.\)' 2>/dev/null ||
23929 +echo X"$as_dir" |
23930 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23931 +         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23932 +         /^X\(\/\/\)$/{ s//\1/; q; }
23933 +         /^X\(\/\).*/{ s//\1/; q; }
23934 +         s/.*/./; q'`
23935 +    done
23936 +    test ! -n "$as_dirs" || mkdir $as_dirs
23937 +  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23938 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23939 +   { (exit 1); exit 1; }; }; }
23940  
23941 -      fi
23942        rm -f $ac_file
23943        mv $tmp/config.h $ac_file
23944      fi
23945 @@ -17092,15 +20800,16 @@
23946      rm -f $tmp/config.h
23947    fi
23948  done
23949 -EOF
23950 +_ACEOF
23951  
23952 -cat >>$CONFIG_STATUS <<\EOF
23953 +cat >>$CONFIG_STATUS <<\_ACEOF
23954  
23955  { (exit 0); exit 0; }
23956 -EOF
23957 +_ACEOF
23958  chmod +x $CONFIG_STATUS
23959  ac_clean_files=$ac_clean_files_save
23960  
23961 +
23962  # configure is writing to config.log, and then calls config.status.
23963  # config.status does its own redirection, appending to config.log.
23964  # Unfortunately, on DOS this fails, as config.log is still kept open
23965 @@ -17111,14 +20820,18 @@
23966  # need to make the FD available again.
23967  if test "$no_create" != yes; then
23968    ac_cs_success=:
23969 +  ac_config_status_args=
23970 +  test "$silent" = yes &&
23971 +    ac_config_status_args="$ac_config_status_args --quiet"
23972    exec 5>/dev/null
23973 -  $SHELL $CONFIG_STATUS || ac_cs_success=false
23974 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23975    exec 5>>config.log
23976    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23977    # would make configure fail if this is the last instruction.
23978    $ac_cs_success || { (exit 1); exit 1; }
23979  fi
23980  
23981 +
23982  # Print summary of options
23983  
23984  # Someone please show me a better way :)