3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- openssh-3.7.1p2/configure.ac~configure
7 +++ openssh-3.7.1p2/configure.ac
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],[])
16 if (test -z "$blibflags"); then
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)
22 - [#include <usersec.h>],
23 - [(void)loginfailed("user","host","tty",0);],
25 - AC_DEFINE(AIX_LOGINFAILED_4ARG)],
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)
32 [#include <usersec.h>]
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))
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)
56 AC_MSG_CHECKING(compiler and flags for sanity)
58 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
62 - [ AC_MSG_RESULT(yes) ],
64 + ]])],[ AC_MSG_RESULT(yes) ],[
66 AC_MSG_ERROR([*** compiler cannot create working executables, check config.log ***])
69 + ],[ AC_MSG_RESULT(yes)
72 # Checks for header files.
73 AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \
75 ac_cv_have_broken_dirname, [
80 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
89 - [ ac_cv_have_broken_dirname="no" ],
90 - [ ac_cv_have_broken_dirname="yes" ]
92 + ]])],[ ac_cv_have_broken_dirname="no" ],[ ac_cv_have_broken_dirname="yes"
96 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
101 -AC_MSG_CHECKING([whether struct dirent allocates space for d_name])
104 -#include <sys/types.h>
106 -int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
108 - [AC_MSG_RESULT(yes)],
111 - AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME)
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"
123 +if test "x$ac_cv_dirent_have_space_d_name" = "xyes" ; then
124 + AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME)
127 # Check whether user wants S/Key support
129 @@ -658,17 +646,14 @@
132 AC_MSG_CHECKING([for s/key support])
135 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
138 int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
140 - [AC_MSG_RESULT(yes)],
142 + ]])],[AC_MSG_RESULT(yes)],[
144 AC_MSG_ERROR([** Incomplete or missing s/key libraries.])
150 @@ -706,22 +691,18 @@
152 LIBS="$LIBWRAP $LIBS"
153 AC_MSG_CHECKING(for libwrap)
156 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[
158 int deny_severity = 0, allow_severity = 0;
160 - [hosts_access(0);],
162 + ]], [[hosts_access(0);]])],[
170 AC_MSG_ERROR([*** libwrap missing])
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)
183 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
184 #include <sys/types.h>
185 #include <sys/socket.h>
188 -const char *gai_strerror(int);],[
189 +const char *gai_strerror(int);]], [[
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 *])],[])])
198 AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
200 @@ -792,52 +773,47 @@
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])
207 +AC_CACHE_CHECK([whether snprintf correctly terminates long strings],
208 + ac_cv_have_broken_snprintf, [
209 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
211 int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
213 - [AC_MSG_RESULT(yes)],
216 - AC_DEFINE(BROKEN_SNPRINTF)
217 - AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])
220 + ]])],[ ac_cv_have_broken_snprintf="no" ],[ ac_cv_have_broken_snprintf="yes"
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])
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])
234 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
236 main() { char template[]="conftest.mkstemp-test";
237 if (mkstemp(template) == -1)
239 unlink(template); exit(0);
249 AC_DEFINE(HAVE_STRICT_MKSTEMP)
254 AC_DEFINE(HAVE_STRICT_MKSTEMP)
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)
266 +AC_CACHE_CHECK([if openpty acquires controlling terminal],
267 + ac_cv_have_openpty_ctty_bug, [
268 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
270 #include <sys/fcntl.h>
271 #include <sys/types.h>
272 @@ -869,15 +845,12 @@
273 exit(0); /* Did not acquire ctty: OK */
282 - AC_DEFINE(SSHD_ACQUIRES_CTTY)
285 + ]])],[ ac_cv_have_openpty_ctty_bug="no" ],[ ac_cv_have_openpty_ctty_bug="yes"
288 +if test "x$ac_cv_have_openpty_ctty_bug" = "xyes" ; then
289 + AC_DEFINE(SSHD_ACQUIRES_CTTY)
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])
300 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
302 #include <security/pam_appl.h>
304 - [(void)pam_strerror((pam_handle_t *)NULL, -1);],
305 - [AC_MSG_RESULT(no)],
307 + ]], [[(void)pam_strerror((pam_handle_t *)NULL, -1);]])],[AC_MSG_RESULT(no)],[
308 AC_DEFINE(HAVE_OLD_PAM)
310 PAM_MSG="yes (old library)"
317 # Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
320 # Determine OpenSSL header version
321 AC_MSG_CHECKING([OpenSSL header version])
324 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
327 #include <openssl/opensslv.h>
328 @@ -1003,21 +971,21 @@
335 ssl_header_ver=`cat conftest.sslincver`
336 AC_MSG_RESULT($ssl_header_ver)
340 AC_MSG_RESULT(not found)
341 AC_MSG_ERROR(OpenSSL version header not found.)
345 + AC_MSG_RESULT(unknown)
346 + AC_MSG_WARN(Skipping OpenSSL header version check due to crosscompilation.)
350 # Determine OpenSSL library version
351 AC_MSG_CHECKING([OpenSSL library version])
354 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
357 #include <openssl/opensslv.h>
358 @@ -1036,35 +1004,36 @@
365 ssl_library_ver=`cat conftest.ssllibver`
366 AC_MSG_RESULT($ssl_library_ver)
370 AC_MSG_RESULT(not found)
371 AC_MSG_ERROR(OpenSSL library not found.)
375 + AC_MSG_RESULT(unknown)
376 + AC_MSG_WARN(Skipping OpenSSL library version check due to crosscompilation.)
380 # Sanity check OpenSSL headers
381 AC_MSG_CHECKING([whether OpenSSL's headers match the library])
384 +AC_RUN_IFELSE([AC_LANG_SOURCE([[
386 #include <openssl/opensslv.h>
387 int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
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.])
402 + AC_MSG_RESULT(unknown)
403 + AC_MSG_WARN(Skipping OpenSSL version comparison due to crosscompilation.)
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")
414 ### Configure cryptographic random number support
416 -# Check wheter OpenSSL seeds itself
417 -AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
421 -#include <openssl/rand.h>
422 -int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
425 - OPENSSL_SEEDS_ITSELF=yes
430 - # Default to use of the rand helper if OpenSSL doesn't
432 - USE_RAND_HELPER=yes
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 @@
444 + # Check whether OpenSSL seeds itself
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); }
452 + OPENSSL_SEEDS_ITSELF=yes
456 + # Default to use of the rand helper if OpenSSL doesn't
458 + USE_RAND_HELPER=yes
464 # Which randomness source do we use?
465 @@ -1293,12 +1258,8 @@
467 # More checks for data types
468 AC_CACHE_CHECK([for u_int type], ac_cv_have_u_int, [
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" ]
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"
478 if test "x$ac_cv_have_u_int" = "xyes" ; then
479 AC_DEFINE(HAVE_U_INT)
480 @@ -1306,12 +1267,8 @@
483 AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [
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" ]
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"
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")
498 AC_MSG_CHECKING([for intXX_t types in stdint.h])
500 - [ #include <stdint.h> ],
501 - [ int8_t a; int16_t b; int32_t c; a = b = c = 1;],
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)
507 - [ AC_MSG_RESULT(no) ]
509 + ],[ AC_MSG_RESULT(no)
513 AC_CACHE_CHECK([for int64_t type], ac_cv_have_int64_t, [
516 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
517 #include <sys/types.h>
520 @@ -1344,23 +1296,16 @@
521 #ifdef HAVE_SYS_BITYPES_H
522 # include <sys/bitypes.h>
525 - [ int64_t a; a = 1;],
526 - [ ac_cv_have_int64_t="yes" ],
527 - [ ac_cv_have_int64_t="no" ]
529 + ]], [[ int64_t a; a = 1;]])],[ ac_cv_have_int64_t="yes" ],[ ac_cv_have_int64_t="no"
532 if test "x$ac_cv_have_int64_t" = "xyes" ; then
533 AC_DEFINE(HAVE_INT64_T)
536 AC_CACHE_CHECK([for u_intXX_t types], ac_cv_have_u_intxx_t, [
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" ]
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"
546 if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
547 AC_DEFINE(HAVE_U_INTXX_T)
548 @@ -1369,24 +1314,16 @@
550 if test -z "$have_u_intxx_t" ; then
551 AC_MSG_CHECKING([for u_intXX_t types in sys/socket.h])
553 - [ #include <sys/socket.h> ],
554 - [ u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;],
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)
560 - [ AC_MSG_RESULT(no) ]
562 + ],[ AC_MSG_RESULT(no)
566 AC_CACHE_CHECK([for u_int64_t types], ac_cv_have_u_int64_t, [
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" ]
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"
576 if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
577 AC_DEFINE(HAVE_U_INT64_T)
578 @@ -1395,27 +1332,19 @@
580 if test -z "$have_u_int64_t" ; then
581 AC_MSG_CHECKING([for u_int64_t type in sys/bitypes.h])
583 - [ #include <sys/bitypes.h> ],
584 - [ u_int64_t a; a = 1],
586 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/bitypes.h> ]], [[ u_int64_t a; a = 1]])],[
587 AC_DEFINE(HAVE_U_INT64_T)
590 - [ AC_MSG_RESULT(no) ]
592 + ],[ AC_MSG_RESULT(no)
596 if test -z "$have_u_intxx_t" ; then
597 AC_CACHE_CHECK([for uintXX_t types], ac_cv_have_uintxx_t, [
600 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
601 #include <sys/types.h>
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" ]
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"
610 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
611 AC_DEFINE(HAVE_UINTXX_T)
612 @@ -1424,49 +1353,37 @@
614 if test -z "$have_uintxx_t" ; then
615 AC_MSG_CHECKING([for uintXX_t types in stdint.h])
617 - [ #include <stdint.h> ],
618 - [ uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;],
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)
624 - [ AC_MSG_RESULT(no) ]
626 + ],[ AC_MSG_RESULT(no)
630 if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
631 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
633 AC_MSG_CHECKING([for intXX_t and u_intXX_t types in sys/bitypes.h])
636 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
637 #include <sys/bitypes.h>
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;
647 AC_DEFINE(HAVE_U_INTXX_T)
648 AC_DEFINE(HAVE_INTXX_T)
651 - [AC_MSG_RESULT(no)]
653 + ],[AC_MSG_RESULT(no)
658 AC_CACHE_CHECK([for u_char], ac_cv_have_u_char, [
661 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
662 #include <sys/types.h>
664 - [ u_char foo; foo = 125; ],
665 - [ ac_cv_have_u_char="yes" ],
666 - [ ac_cv_have_u_char="no" ]
668 + ]], [[ u_char foo; foo = 125; ]])],[ ac_cv_have_u_char="yes" ],[ ac_cv_have_u_char="no"
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>])
676 AC_CACHE_CHECK([for size_t], ac_cv_have_size_t, [
679 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
680 #include <sys/types.h>
682 - [ size_t foo; foo = 1235; ],
683 - [ ac_cv_have_size_t="yes" ],
684 - [ ac_cv_have_size_t="no" ]
686 + ]], [[ size_t foo; foo = 1235; ]])],[ ac_cv_have_size_t="yes" ],[ ac_cv_have_size_t="no"
689 if test "x$ac_cv_have_size_t" = "xyes" ; then
690 AC_DEFINE(HAVE_SIZE_T)
693 AC_CACHE_CHECK([for ssize_t], ac_cv_have_ssize_t, [
696 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
697 #include <sys/types.h>
699 - [ ssize_t foo; foo = 1235; ],
700 - [ ac_cv_have_ssize_t="yes" ],
701 - [ ac_cv_have_ssize_t="no" ]
703 + ]], [[ ssize_t foo; foo = 1235; ]])],[ ac_cv_have_ssize_t="yes" ],[ ac_cv_have_ssize_t="no"
706 if test "x$ac_cv_have_ssize_t" = "xyes" ; then
707 AC_DEFINE(HAVE_SSIZE_T)
710 AC_CACHE_CHECK([for clock_t], ac_cv_have_clock_t, [
713 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
716 - [ clock_t foo; foo = 1235; ],
717 - [ ac_cv_have_clock_t="yes" ],
718 - [ ac_cv_have_clock_t="no" ]
720 + ]], [[ clock_t foo; foo = 1235; ]])],[ ac_cv_have_clock_t="yes" ],[ ac_cv_have_clock_t="no"
723 if test "x$ac_cv_have_clock_t" = "xyes" ; then
724 AC_DEFINE(HAVE_CLOCK_T)
727 AC_CACHE_CHECK([for sa_family_t], ac_cv_have_sa_family_t, [
730 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
731 #include <sys/types.h>
732 #include <sys/socket.h>
734 - [ sa_family_t foo; foo = 1235; ],
735 - [ ac_cv_have_sa_family_t="yes" ],
737 + ]], [[ sa_family_t foo; foo = 1235; ]])],[ ac_cv_have_sa_family_t="yes" ],[ AC_TRY_COMPILE(
739 #include <sys/types.h>
740 #include <sys/socket.h>
741 @@ -1536,36 +1437,28 @@
742 [ ac_cv_have_sa_family_t="yes" ],
744 [ ac_cv_have_sa_family_t="no" ]
749 if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
750 AC_DEFINE(HAVE_SA_FAMILY_T)
753 AC_CACHE_CHECK([for pid_t], ac_cv_have_pid_t, [
756 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
757 #include <sys/types.h>
759 - [ pid_t foo; foo = 1235; ],
760 - [ ac_cv_have_pid_t="yes" ],
761 - [ ac_cv_have_pid_t="no" ]
763 + ]], [[ pid_t foo; foo = 1235; ]])],[ ac_cv_have_pid_t="yes" ],[ ac_cv_have_pid_t="no"
766 if test "x$ac_cv_have_pid_t" = "xyes" ; then
767 AC_DEFINE(HAVE_PID_T)
770 AC_CACHE_CHECK([for mode_t], ac_cv_have_mode_t, [
773 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
774 #include <sys/types.h>
776 - [ mode_t foo; foo = 1235; ],
777 - [ ac_cv_have_mode_t="yes" ],
778 - [ ac_cv_have_mode_t="no" ]
780 + ]], [[ mode_t foo; foo = 1235; ]])],[ ac_cv_have_mode_t="yes" ],[ ac_cv_have_mode_t="no"
783 if test "x$ac_cv_have_mode_t" = "xyes" ; then
784 AC_DEFINE(HAVE_MODE_T)
785 @@ -1573,73 +1466,53 @@
788 AC_CACHE_CHECK([for struct sockaddr_storage], ac_cv_have_struct_sockaddr_storage, [
791 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
792 #include <sys/types.h>
793 #include <sys/socket.h>
795 - [ struct sockaddr_storage s; ],
796 - [ ac_cv_have_struct_sockaddr_storage="yes" ],
797 - [ ac_cv_have_struct_sockaddr_storage="no" ]
799 + ]], [[ struct sockaddr_storage s; ]])],[ ac_cv_have_struct_sockaddr_storage="yes" ],[ ac_cv_have_struct_sockaddr_storage="no"
802 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
803 AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE)
806 AC_CACHE_CHECK([for struct sockaddr_in6], ac_cv_have_struct_sockaddr_in6, [
809 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
810 #include <sys/types.h>
811 #include <netinet/in.h>
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" ]
817 + ]], [[ struct sockaddr_in6 s; s.sin6_family = 0; ]])],[ ac_cv_have_struct_sockaddr_in6="yes" ],[ ac_cv_have_struct_sockaddr_in6="no"
820 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
821 AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6)
824 AC_CACHE_CHECK([for struct in6_addr], ac_cv_have_struct_in6_addr, [
827 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
828 #include <sys/types.h>
829 #include <netinet/in.h>
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" ]
835 + ]], [[ struct in6_addr s; s.s6_addr[0] = 0; ]])],[ ac_cv_have_struct_in6_addr="yes" ],[ ac_cv_have_struct_in6_addr="no"
838 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
839 AC_DEFINE(HAVE_STRUCT_IN6_ADDR)
842 AC_CACHE_CHECK([for struct addrinfo], ac_cv_have_struct_addrinfo, [
845 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
846 #include <sys/types.h>
847 #include <sys/socket.h>
850 - [ struct addrinfo s; s.ai_flags = AI_PASSIVE; ],
851 - [ ac_cv_have_struct_addrinfo="yes" ],
852 - [ ac_cv_have_struct_addrinfo="no" ]
854 + ]], [[ struct addrinfo s; s.ai_flags = AI_PASSIVE; ]])],[ ac_cv_have_struct_addrinfo="yes" ],[ ac_cv_have_struct_addrinfo="no"
857 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
858 AC_DEFINE(HAVE_STRUCT_ADDRINFO)
861 AC_CACHE_CHECK([for struct timeval], ac_cv_have_struct_timeval, [
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" ]
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"
871 if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
872 AC_DEFINE(HAVE_STRUCT_TIMEVAL)
873 @@ -1658,32 +1531,42 @@
876 dnl test snprintf (broken on SCO w/gcc)
881 -#ifdef HAVE_SNPRINTF
885 - char expected_out[50];
887 -#if (SIZEOF_LONG_INT == 8)
888 - long int num = 0x7fffffffffffffff;
890 - long long num = 0x7fffffffffffffffll;
892 - strcpy(expected_out, "9223372036854775807");
893 - snprintf(buf, mazsize, "%lld", num);
894 - if(strcmp(buf, expected_out) != 0)
901 - ], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ]
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([[
909 + #include <string.h>
910 + #ifdef HAVE_SNPRINTF
914 + char expected_out[50];
916 + #if (SIZEOF_LONG_INT == 8)
917 + long int num = 0x7fffffffffffffff;
919 + long long num = 0x7fffffffffffffffll;
921 + strcpy(expected_out, "9223372036854775807");
922 + snprintf(buf, mazsize, "%lld", num);
923 + if(strcmp(buf, expected_out) != 0)
928 + main() { exit(0); }
931 + ac_cv_have_broken_snprintf="yes"
935 + if test "x$ac_cv_have_broken_snprintf" = "xyes" ; then
936 + AC_DEFINE(BROKEN_SNPRINTF)
941 dnl Checks for structure members
942 @@ -1709,15 +1592,10 @@
944 AC_CACHE_CHECK([for ss_family field in struct sockaddr_storage],
945 ac_cv_have_ss_family_in_struct_ss, [
948 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
949 #include <sys/types.h>
950 #include <sys/socket.h>
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" ],
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" ])
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 @@
962 AC_CACHE_CHECK([for __ss_family field in struct sockaddr_storage],
963 ac_cv_have___ss_family_in_struct_ss, [
966 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
967 #include <sys/types.h>
968 #include <sys/socket.h>
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" ]
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"
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 @@
981 AC_CACHE_CHECK([for pw_class field in struct passwd],
982 ac_cv_have_pw_class_in_struct_passwd, [
985 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
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" ]
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"
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 @@
999 AC_CACHE_CHECK([for pw_expire field in struct passwd],
1000 ac_cv_have_pw_expire_in_struct_passwd, [
1003 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
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" ]
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"
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 @@
1017 AC_CACHE_CHECK([for pw_change field in struct passwd],
1018 ac_cv_have_pw_change_in_struct_passwd, [
1021 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
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" ]
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"
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, [
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;
1048 - [ ac_cv_have_accrights_in_msghdr="yes" ],
1049 - [ ac_cv_have_accrights_in_msghdr="no" ]
1051 + ]])],[ ac_cv_have_accrights_in_msghdr="yes" ],[ ac_cv_have_accrights_in_msghdr="no"
1054 if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
1055 AC_DEFINE(HAVE_ACCRIGHTS_IN_MSGHDR)
1056 @@ -1811,8 +1670,7 @@
1058 AC_CACHE_CHECK([for msg_control field in struct msghdr],
1059 ac_cv_have_control_in_msghdr, [
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 @@
1071 - [ ac_cv_have_control_in_msghdr="yes" ],
1072 - [ ac_cv_have_control_in_msghdr="no" ]
1074 + ]])],[ ac_cv_have_control_in_msghdr="yes" ],[ ac_cv_have_control_in_msghdr="no"
1077 if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
1078 AC_DEFINE(HAVE_CONTROL_IN_MSGHDR)
1081 AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
1083 - [ extern char *__progname; printf("%s", __progname); ],
1084 - [ ac_cv_libc_defines___progname="yes" ],
1085 - [ ac_cv_libc_defines___progname="no" ]
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"
1090 if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
1091 AC_DEFINE(HAVE___PROGNAME)
1094 AC_CACHE_CHECK([whether $CC implements __FUNCTION__], ac_cv_cc_implements___FUNCTION__, [
1096 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1099 - [ printf("%s", __FUNCTION__); ],
1100 - [ ac_cv_cc_implements___FUNCTION__="yes" ],
1101 - [ ac_cv_cc_implements___FUNCTION__="no" ]
1103 +]], [[ printf("%s", __FUNCTION__); ]])],[ ac_cv_cc_implements___FUNCTION__="yes" ],[ ac_cv_cc_implements___FUNCTION__="no"
1106 if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
1107 AC_DEFINE(HAVE___FUNCTION__)
1110 AC_CACHE_CHECK([whether $CC implements __func__], ac_cv_cc_implements___func__, [
1112 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1115 - [ printf("%s", __func__); ],
1116 - [ ac_cv_cc_implements___func__="yes" ],
1117 - [ ac_cv_cc_implements___func__="no" ]
1119 +]], [[ printf("%s", __func__); ]])],[ ac_cv_cc_implements___func__="yes" ],[ ac_cv_cc_implements___func__="no"
1122 if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
1123 AC_DEFINE(HAVE___func__)
1124 @@ -1872,25 +1719,18 @@
1126 AC_CACHE_CHECK([whether getopt has optreset support],
1127 ac_cv_have_getopt_optreset, [
1130 + AC_LINK_IFELSE([AC_LANG_PROGRAM([[
1133 - [ extern int optreset; optreset = 0; ],
1134 - [ ac_cv_have_getopt_optreset="yes" ],
1135 - [ ac_cv_have_getopt_optreset="no" ]
1137 + ]], [[ extern int optreset; optreset = 0; ]])],[ ac_cv_have_getopt_optreset="yes" ],[ ac_cv_have_getopt_optreset="no"
1140 if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
1141 AC_DEFINE(HAVE_GETOPT_OPTRESET)
1144 AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
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" ]
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"
1153 if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
1154 AC_DEFINE(HAVE_SYS_ERRLIST)
1155 @@ -1898,11 +1738,8 @@
1158 AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
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" ]
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"
1167 if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
1168 AC_DEFINE(HAVE_SYS_NERR)
1169 @@ -1997,16 +1834,13 @@
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)
1178 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
1180 - [ AC_MSG_RESULT(no)
1181 + ],[ AC_MSG_RESULT(no)
1182 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
1187 if test ! -z "$need_dash_r" ; then
1188 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
1190 @@ -2115,13 +1949,14 @@
1194 +if test "$cross_compiling" != yes; then
1195 AC_CHECK_FILE("/dev/ptc",
1197 AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC)
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 @@
1208 if test -z "$disable_shadow" ; then
1209 AC_MSG_CHECKING([if the systems has expire shadow information])
1212 + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1213 #include <sys/types.h>
1216 - ],[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ],
1217 - [ sp_expire_available=yes ], []
1219 + ]], [[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ]])],[ sp_expire_available=yes ],[
1222 if test "x$sp_expire_available" = "xyes" ; then
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]],,
1228 +if test "x$cross_compiling" != "xyes"; then
1229 AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ])
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.])
1240 + AC_RUN_IFELSE([AC_LANG_SOURCE([[
1241 /* find out what STDPATH is */
1244 @@ -2291,10 +2125,8 @@
1248 - ], [ user_path=`cat conftest.stdpath` ],
1249 - [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],
1250 - [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ]
1252 + ]])],[ user_path=`cat conftest.stdpath` ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ],[ user_path="/usr/bin:/bin:/usr/sbin:/sbin"
1254 # make sure $bindir is in USER_PATH so scp will work
1255 t_bindir=`eval echo ${bindir}`
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])
1262 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1263 #include <sys/types.h>
1265 #ifdef HAVE_LASTLOG_H
1266 @@ -2486,10 +2318,7 @@
1271 - [ char *lastlog = LASTLOG_FILE; ],
1272 - [ AC_MSG_RESULT(yes) ],
1274 + ]], [[ char *lastlog = LASTLOG_FILE; ]])],[ AC_MSG_RESULT(yes) ],[
1276 AC_MSG_CHECKING([if your system defines _PATH_LASTLOG])
1278 @@ -2508,8 +2337,8 @@
1280 system_lastlog_path=no
1287 if test -z "$conf_lastlog_location"; then
1288 if test x"$system_lastlog_path" = x"no" ; then
1289 @@ -2531,18 +2360,15 @@
1292 AC_MSG_CHECKING([if your system defines UTMP_FILE])
1294 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1295 #include <sys/types.h>
1301 - [ char *utmp = UTMP_FILE; ],
1302 - [ AC_MSG_RESULT(yes) ],
1303 - [ AC_MSG_RESULT(no)
1304 - system_utmp_path=no ]
1306 + ]], [[ char *utmp = UTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1307 + system_utmp_path=no
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 @@
1315 AC_MSG_CHECKING([if your system defines WTMP_FILE])
1317 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1318 #include <sys/types.h>
1324 - [ char *wtmp = WTMP_FILE; ],
1325 - [ AC_MSG_RESULT(yes) ],
1326 - [ AC_MSG_RESULT(no)
1327 - system_wtmp_path=no ]
1329 + ]], [[ char *wtmp = WTMP_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1330 + system_wtmp_path=no
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
1338 AC_MSG_CHECKING([if your system defines UTMPX_FILE])
1340 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1341 #include <sys/types.h>
1344 @@ -2603,12 +2426,9 @@
1349 - [ char *utmpx = UTMPX_FILE; ],
1350 - [ AC_MSG_RESULT(yes) ],
1351 - [ AC_MSG_RESULT(no)
1352 - system_utmpx_path=no ]
1354 + ]], [[ char *utmpx = UTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1355 + system_utmpx_path=no
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 @@
1363 AC_MSG_CHECKING([if your system defines WTMPX_FILE])
1365 +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1366 #include <sys/types.h>
1369 @@ -2628,12 +2448,9 @@
1374 - [ char *wtmpx = WTMPX_FILE; ],
1375 - [ AC_MSG_RESULT(yes) ],
1376 - [ AC_MSG_RESULT(no)
1377 - system_wtmpx_path=no ]
1379 + ]], [[ char *wtmpx = WTMPX_FILE; ]])],[ AC_MSG_RESULT(yes) ],[ AC_MSG_RESULT(no)
1380 + system_wtmpx_path=no
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
1389 # Guess values for system-dependent variables and create Makefiles.
1390 -# Generated by Autoconf 2.52.
1391 +# Generated by GNU Autoconf 2.57.
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 +## --------------------- ##
1402 +# Be Bourne compatible
1403 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
1413 +# Support unset when possible.
1414 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1421 +# Work around bugs in pre-3.0 UWIN ksh.
1422 +$as_unset ENV MAIL MAILPATH
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
1433 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1434 + eval $as_var=C; export $as_var
1440 +# Required to use basename.
1441 +if expr a : '\(a\)' >/dev/null 2>&1; then
1447 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1448 + as_basename=basename
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 ||
1461 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1462 + /^X\/\(\/\/\)$/{ s//\1/; q; }
1463 + /^X\/\(\/\).*/{ s//\1/; q; }
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
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=';'
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"
1493 -# Be Bourne compatible
1494 -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1497 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
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.
1508 + *[\\/]* ) as_myself=$0 ;;
1509 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 +for as_dir in $PATH
1513 + test -z "$as_dir" && as_dir=.
1514 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1517 -# Name of the executable.
1518 -as_me=`echo "$0" |sed 's,.*[\\/],,'`
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
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; }; }
1530 + case $CONFIG_SHELL in
1532 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1536 + test -z "$as_dir" && as_dir=.
1537 + for as_base in sh bash ksh sh5; do
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+"$@"}
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 |
1571 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
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; }; }
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).
1584 + # Exit status is that of the last command.
1589 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1590 + *c*,-n*) ECHO_N= ECHO_C='
1592 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1593 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1596 if expr a : '\(a\)' >/dev/null 2>&1; then
1598 @@ -55,24 +215,20 @@
1600 rm -f conf$$ conf$$.exe conf$$.file
1602 -as_executable_p="test -f"
1604 -# Support unset when possible.
1605 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1607 +if mkdir -p . 2>/dev/null; then
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"
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"
1628 +# Sed expression to map a string onto a valid variable name.
1629 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1633 # We need space, tab and new line, in precisely that order.
1638 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1643 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1647 ac_default_prefix=/usr/local
1648 +ac_config_libobj_dir=.
1654 SHELL=${CONFIG_SHELL-/bin/sh}
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}
1661 +# Identity of this package.
1668 ac_unique_file="ssh.c"
1669 # Factoring default headers for most tests.
1670 ac_includes_default="\
1672 # include <unistd.h>
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'
1678 # Initialize some variables set by options.
1680 ac_init_version=false
1681 @@ -180,13 +349,6 @@
1682 infodir='${prefix}/info'
1683 mandir='${prefix}/man'
1685 -# Identity of this package.
1698 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1699 - | --no-cr | --no-c)
1700 + | --no-cr | --no-c | -n)
1703 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1705 eval ac_val=$`echo $ac_var`
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; }; };;
1713 @@ -510,18 +672,19 @@
1714 eval ac_val=$`echo $ac_var`
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; }; };;
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.
1728 target=$target_alias
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 @@
1737 test "$silent" = yes && exec 6>/dev/null
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.
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 ||
1754 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1755 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1756 + /^X\(\/\/\)$/{ s//\1/; q; }
1757 + /^X\(\/\).*/{ s//\1/; q; }
1760 if test ! -r $srcdir/$ac_unique_file; then
1762 @@ -553,13 +726,16 @@
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; }; }
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; }; }
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
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.
1787 \`configure' configures this package to adapt to many kinds of systems.
1789 Usage: $0 [OPTION]... [VAR=VALUE]...
1791 -n, --no-create do not create output files
1792 --srcdir=DIR find the sources in DIR [configure dir or \`..']
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]
1813 --build=BUILD configure for building on BUILD [guessed]
1814 - --host=HOST build programs to run on HOST [BUILD]
1816 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
1820 if test -n "$ac_init_help"; then
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.
1835 if test "$ac_init_help" = "recursive"; then
1836 # If there are subdirs, report their specific --help.
1838 - for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
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
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 ;;
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'`
1860 + ac_dir_suffix= ac_top_builddir=
1864 + .) # No --srcdir option. We are building in place.
1866 + if test -z "$ac_top_builddir"; then
1869 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
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 ;;
1878 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
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
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
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
1902 $ac_configure --help
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
1909 @@ -770,31 +966,31 @@
1911 test -n "$ac_init_help" && exit 0
1912 if $ac_init_version; then
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.
1928 This file contains any messages produced by compilers while
1929 running configure, to aid debugging if configure makes a mistake.
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
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`
1958 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 +for as_dir in $PATH
1962 + test -z "$as_dir" && as_dir=.
1963 + echo "PATH: $as_dir"
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.
1989 +ac_configure_args0=
1990 +ac_configure_args1=
1993 +ac_must_keep_next=false
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'"
2005 - *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
2008 - # Get rid of the leading space.
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)
2016 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2017 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
2035 + -* ) ac_must_keep_next=true ;;
2038 + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
2039 + # Get rid of the leading space.
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; }
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.
2056 - echo "## ----------------- ##" >&5
2057 - echo "## Cache variables. ##" >&5
2058 - echo "## ----------------- ##" >&5
2060 - # The following way of writing the cache mishandles newlines in values,
2065 +## ---------------- ##
2066 +## Cache variables. ##
2067 +## ---------------- ##
2070 + # The following way of writing the cache mishandles newlines in values,
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"
2079 - sed "/^$/d" confdefs.h >conftest.log
2080 - if test -s conftest.log; then
2082 - echo "## ------------ ##" >&5
2083 - echo "## confdefs.h. ##" >&5
2084 - echo "## ------------ ##" >&5
2086 - cat conftest.log >&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 &&
2097 +## ----------------- ##
2098 +## Output variables. ##
2099 +## ----------------- ##
2102 + for ac_var in $ac_subst_vars
2104 + eval ac_val=$`echo $ac_var`
2105 + echo "$ac_var='"'"'$ac_val'"'"'"
2109 + if test -n "$ac_subst_files"; then
2111 +## ------------- ##
2112 +## Output files. ##
2113 +## ------------- ##
2116 + for ac_var in $ac_subst_files
2118 + eval ac_val=$`echo $ac_var`
2119 + echo "$ac_var='"'"'$ac_val'"'"'"
2124 + if test -s confdefs.h; then
2131 + sed "/^$/d" confdefs.h | sort
2134 + test "$ac_signal" != 0 &&
2135 + echo "$as_me: caught signal $ac_signal"
2136 + echo "$as_me: exit $exit_status"
2138 + rm -f core core.* *.core &&
2139 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
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.
2147 +# Predefined preprocessor variables.
2149 +cat >>confdefs.h <<_ACEOF
2150 +#define PACKAGE_NAME "$PACKAGE_NAME"
2154 +cat >>confdefs.h <<_ACEOF
2155 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2159 +cat >>confdefs.h <<_ACEOF
2160 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
2164 +cat >>confdefs.h <<_ACEOF
2165 +#define PACKAGE_STRING "$PACKAGE_STRING"
2169 +cat >>confdefs.h <<_ACEOF
2170 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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 @@
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
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;}
2197 [\\/]* | ?:[\\/]* ) . $cache_file;;
2198 @@ -928,7 +1228,7 @@
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;}
2207 @@ -944,42 +1244,42 @@
2208 eval ac_new_val="\$ac_env_${ac_var}_value"
2209 case $ac_old_set,$ac_new_set in
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=: ;;
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=: ;;
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=:
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
2240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2241 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
2242 - ac_configure_args="$ac_configure_args '$ac_arg'"
2244 - *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
2246 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 + *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
2268 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2269 - *c*,-n*) ECHO_N= ECHO_C='
2271 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2272 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
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
2280 - echo "$as_me:1005: \$? = $ac_status" >&5
2281 - (exit $ac_status); }; then
2282 - ac_path_separator=';'
2284 - ac_path_separator=:
2286 -PATH_SEPARATOR="$ac_path_separator"
2289 -ac_config_headers="$ac_config_headers config.h"
2309 + ac_config_headers="$ac_config_headers config.h"
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.
2326 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2328 -for ac_dir in $ac_dummy; do
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
2335 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 +for as_dir in $PATH
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
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
2357 - echo "$as_me:1050: result: no" >&5
2358 + echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2362 @@ -1056,7 +1358,7 @@
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.
2375 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2377 -for ac_dir in $ac_dummy; do
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
2384 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2385 +for as_dir in $PATH
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
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
2406 - echo "$as_me:1085: result: no" >&5
2407 + echo "$as_me:$LINENO: result: no" >&5
2408 echo "${ECHO_T}no" >&6
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.
2424 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2426 -for ac_dir in $ac_dummy; do
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
2433 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 +for as_dir in $PATH
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
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
2455 - echo "$as_me:1124: result: no" >&5
2456 + echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6
2460 @@ -1130,7 +1438,7 @@
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.
2473 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2475 -for ac_dir in $ac_dummy; do
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
2482 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 +for as_dir in $PATH
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
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
2504 - echo "$as_me:1159: result: no" >&5
2505 + echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
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.
2522 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2524 -for ac_dir in $ac_dummy; do
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
2533 -echo "$as_me:1192: found $ac_dir/$ac_word" >&5
2535 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 +for as_dir in $PATH
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
2546 + ac_cv_prog_CC="cc"
2547 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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.
2558 - set dummy "$ac_dir/$ac_word" ${1+"$@"}
2560 - ac_cv_prog_CC="$@"
2561 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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
2572 - echo "$as_me:1217: result: no" >&5
2573 + echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2577 @@ -1225,7 +1537,7 @@
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.
2590 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2592 -for ac_dir in $ac_dummy; do
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
2599 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 +for as_dir in $PATH
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
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
2621 - echo "$as_me:1254: result: no" >&5
2622 + echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2626 @@ -1264,7 +1579,7 @@
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.
2639 - ac_save_IFS=$IFS; IFS=$ac_path_separator
2641 -for ac_dir in $ac_dummy; do
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
2648 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 +for as_dir in $PATH
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
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
2670 - echo "$as_me:1293: result: no" >&5
2671 + echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2675 @@ -1302,33 +1620,40 @@
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;}
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; }; }
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
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
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
2711 - echo "$as_me:1326: \$? = $ac_status" >&5
2712 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }
2715 cat >conftest.$ac_ext <<_ACEOF
2716 -#line 1330 "configure"
2717 -#include "confdefs.h"
2718 +#line $LINENO "configure"
2721 +cat confdefs.h >>conftest.$ac_ext
2722 +cat >>conftest.$ac_ext <<_ACEOF
2723 +/* end confdefs.h. */
2727 @@ -1339,100 +1664,120 @@
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
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
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
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
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.
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
2760 + test -f "$ac_file" || continue
2762 - *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2763 - a.out ) # We found the default executable, but exeext='' is most
2764 - # certainly right.
2766 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2767 - # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2768 - export ac_cv_exeext
2771 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2773 + conftest.$ac_ext )
2774 + # This is the source file.
2777 + # We found the default executable, but exeext='' is most
2778 + # certainly right.
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
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
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; }; }
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
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
2823 - echo "$as_me:1395: \$? = $ac_status" >&5
2824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; }; then
2828 if test "$cross_compiling" = maybe; then
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; }; }
2844 -echo "$as_me:1410: result: yes" >&5
2845 +echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
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
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
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
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
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" : '[^.]*\(\..*\)'`
2884 @@ -1440,26 +1785,32 @@
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; }; }
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
2902 rm -f conftest.$ac_ext
2903 EXEEXT=$ac_cv_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
2912 cat >conftest.$ac_ext <<_ACEOF
2913 -#line 1461 "configure"
2914 -#include "confdefs.h"
2915 +#line $LINENO "configure"
2918 +cat confdefs.h >>conftest.$ac_ext
2919 +cat >>conftest.$ac_ext <<_ACEOF
2920 +/* end confdefs.h. */
2924 @@ -1470,40 +1821,47 @@
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
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
2937 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2938 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2939 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
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
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; }; }
2957 rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
2970 cat >conftest.$ac_ext <<_ACEOF
2971 -#line 1505 "configure"
2972 -#include "confdefs.h"
2973 +#line $LINENO "configure"
2976 +cat confdefs.h >>conftest.$ac_ext
2977 +cat >>conftest.$ac_ext <<_ACEOF
2978 +/* end confdefs.h. */
2982 @@ -1517,41 +1875,46 @@
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
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
2998 - echo "$as_me:1529: \$? = $ac_status" >&5
2999 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 -cat conftest.$ac_ext >&5
3005 +sed 's/^/| /' conftest.$ac_ext >&5
3009 rm -f conftest.$ac_objext conftest.$ac_ext
3010 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
3026 cat >conftest.$ac_ext <<_ACEOF
3027 -#line 1553 "configure"
3028 -#include "confdefs.h"
3029 +#line $LINENO "configure"
3032 +cat confdefs.h >>conftest.$ac_ext
3033 +cat >>conftest.$ac_ext <<_ACEOF
3034 +/* end confdefs.h. */
3038 @@ -1562,26 +1925,27 @@
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
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
3054 - echo "$as_me:1574: \$? = $ac_status" >&5
3055 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3059 echo "$as_me: failed program was:" >&5
3060 -cat conftest.$ac_ext >&5
3061 +sed 's/^/| /' conftest.$ac_ext >&5
3065 rm -f conftest.$ac_objext conftest.$ac_ext
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 @@
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
3081 + ac_cv_prog_cc_stdc=no
3083 +cat >conftest.$ac_ext <<_ACEOF
3084 +#line $LINENO "configure"
3087 +cat confdefs.h >>conftest.$ac_ext
3088 +cat >>conftest.$ac_ext <<_ACEOF
3089 +/* end confdefs.h. */
3090 +#include <stdarg.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)
3103 +static char *f (char * (*g) (char **, int), char **p, ...)
3108 + s = g (p, va_arg (v,int));
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);
3121 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__"
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
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
3146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 + (exit $ac_status); }; }; then
3148 + ac_cv_prog_cc_stdc=$ac_arg
3151 + echo "$as_me: failed program was:" >&5
3152 +sed 's/^/| /' conftest.$ac_ext >&5
3155 +rm -f conftest.$ac_objext
3157 +rm -f conftest.$ac_ext conftest.$ac_objext
3162 +case "x$ac_cv_prog_cc_stdc" in
3164 + echo "$as_me:$LINENO: result: none needed" >&5
3165 +echo "${ECHO_T}none needed" >&6 ;;
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" ;;
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 @@
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
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
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 \
3196 @@ -1629,8 +2089,12 @@
3199 cat >conftest.$ac_ext <<_ACEOF
3200 -#line 1632 "configure"
3201 -#include "confdefs.h"
3202 +#line $LINENO "configure"
3205 +cat confdefs.h >>conftest.$ac_ext
3206 +cat >>conftest.$ac_ext <<_ACEOF
3207 +/* end confdefs.h. */
3211 @@ -1642,27 +2106,32 @@
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
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
3227 - echo "$as_me:1654: \$? = $ac_status" >&5
3228 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; }; then
3232 echo "$as_me: failed program was:" >&5
3233 -cat conftest.$ac_ext >&5
3234 +sed 's/^/| /' conftest.$ac_ext >&5
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"
3245 +cat confdefs.h >>conftest.$ac_ext
3246 +cat >>conftest.$ac_ext <<_ACEOF
3247 +/* end confdefs.h. */
3251 @@ -1673,21 +2142,22 @@
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
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
3267 - echo "$as_me:1685: \$? = $ac_status" >&5
3268 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was:" >&5
3273 -cat conftest.$ac_ext >&5
3274 +sed 's/^/| /' conftest.$ac_ext >&5
3277 rm -f conftest.$ac_objext conftest.$ac_ext
3279 @@ -1700,7 +2170,8 @@
3282 echo "$as_me: failed program was:" >&5
3283 -cat conftest.$ac_ext >&5
3284 +sed 's/^/| /' conftest.$ac_ext >&5
3287 rm -f conftest.$ac_objext conftest.$ac_ext
3289 @@ -1726,7 +2197,7 @@
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; }; }
3298 @@ -1736,11 +2207,11 @@
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; }; }
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; }; }
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
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/'`
3336 -echo "$as_me:1768: checking host system type" >&5
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; }; }
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
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/'`
3360 -echo "$as_me:1789: checking whether byte ordering is bigendian" >&5
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
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"
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>
3383 @@ -1811,21 +2288,25 @@
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
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
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"
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>
3415 @@ -1841,38 +2322,91 @@
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
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
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
3436 echo "$as_me: failed program was:" >&5
3437 -cat conftest.$ac_ext >&5
3438 +sed 's/^/| /' conftest.$ac_ext >&5
3440 ac_cv_c_bigendian=no
3442 rm -f conftest.$ac_objext conftest.$ac_ext
3444 echo "$as_me: failed program was:" >&5
3445 -cat conftest.$ac_ext >&5
3446 +sed 's/^/| /' conftest.$ac_ext >&5
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"
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; }
3468 + _ascii (); _ebcdic ();
3473 +rm -f conftest.$ac_objext
3474 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 + (eval $ac_compile) 2>&5
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
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
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
3492 + # finding both strings is unlikely to happen, but who knows?
3493 + ac_cv_c_bigendian=unknown
3497 + echo "$as_me: failed program was:" >&5
3498 +sed 's/^/| /' conftest.$ac_ext >&5
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; }; }
3508 cat >conftest.$ac_ext <<_ACEOF
3509 -#line 1874 "configure"
3510 -#include "confdefs.h"
3511 +#line $LINENO "configure"
3514 +cat confdefs.h >>conftest.$ac_ext
3515 +cat >>conftest.$ac_ext <<_ACEOF
3516 +/* end confdefs.h. */
3520 @@ -1887,43 +2421,56 @@
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
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
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
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
3545 +( exit $ac_status )
3546 ac_cv_c_bigendian=yes
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
3552 +rm -f conftest.$ac_objext conftest.$ac_ext
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
3561 -cat >>confdefs.h <<\EOF
3562 +cat >>confdefs.h <<\_ACEOF
3563 #define WORDS_BIGENDIAN 1
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; }; } ;;
3579 # Checks for programs.
3580 -for ac_prog in mawk gawk nawk awk
3581 +for ac_prog in gawk mawk nawk awk
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.
3594 - ac_save_IFS=$IFS; IFS=$ac_path_separator
3596 -for ac_dir in $ac_dummy; do
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
3603 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 +for as_dir in $PATH
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
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
3625 - echo "$as_me:1952: result: no" >&5
3626 + echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
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 @@
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"
3654 +cat confdefs.h >>conftest.$ac_ext
3655 +cat >>conftest.$ac_ext <<_ACEOF
3656 +/* end confdefs.h. */
3658 +# include <limits.h>
3660 +# include <assert.h>
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
3668 - egrep -v '^ *\+' conftest.er1 >conftest.err
3669 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
3680 echo "$as_me: failed program was:" >&5
3681 - cat conftest.$ac_ext >&5
3682 +sed 's/^/| /' conftest.$ac_ext >&5
3684 # Broken: fails on valid input.
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"
3696 +cat confdefs.h >>conftest.$ac_ext
3697 +cat >>conftest.$ac_ext <<_ACEOF
3698 +/* end confdefs.h. */
3699 #include <ac_nonexistent.h>
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
3705 - egrep -v '^ *\+' conftest.er1 >conftest.err
3706 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
3717 echo "$as_me: failed program was:" >&5
3718 - cat conftest.$ac_ext >&5
3719 +sed 's/^/| /' conftest.$ac_ext >&5
3721 # Passes both tests.
3724 @@ -2063,28 +2629,38 @@
3728 -echo "$as_me:2066: result: $CPP" >&5
3729 +echo "$as_me:$LINENO: result: $CPP" >&5
3730 echo "${ECHO_T}$CPP" >&6
3732 for ac_c_preproc_warn_flag in '' yes
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"
3747 +cat confdefs.h >>conftest.$ac_ext
3748 +cat >>conftest.$ac_ext <<_ACEOF
3749 +/* end confdefs.h. */
3751 +# include <limits.h>
3753 +# include <assert.h>
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
3761 - egrep -v '^ *\+' conftest.er1 >conftest.err
3762 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
3773 echo "$as_me: failed program was:" >&5
3774 - cat conftest.$ac_ext >&5
3775 +sed 's/^/| /' conftest.$ac_ext >&5
3777 # Broken: fails on valid input.
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"
3789 +cat confdefs.h >>conftest.$ac_ext
3790 +cat >>conftest.$ac_ext <<_ACEOF
3791 +/* end confdefs.h. */
3792 #include <ac_nonexistent.h>
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
3798 - egrep -v '^ *\+' conftest.er1 >conftest.err
3799 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
3810 echo "$as_me: failed program was:" >&5
3811 - cat conftest.$ac_ext >&5
3812 +sed 's/^/| /' conftest.$ac_ext >&5
3814 # Passes both tests.
3817 @@ -2145,8 +2727,10 @@
3818 if $ac_preproc_ok; then
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; }; }
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.
3843 - ac_save_IFS=$IFS; IFS=$ac_path_separator
3845 -for ac_dir in $ac_dummy; do
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
3852 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 +for as_dir in $PATH
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
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
3874 - echo "$as_me:2188: result: no" >&5
3875 + echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
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.
3892 - ac_save_IFS=$IFS; IFS=$ac_path_separator
3894 -for ac_dir in $ac_dummy; do
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
3901 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 +for as_dir in $PATH
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
3915 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3916 @@ -2218,10 +2808,10 @@
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
3924 - echo "$as_me:2224: result: no" >&5
3925 + echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
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
3941 - ac_save_IFS=$IFS; IFS=$ac_path_separator
3942 - for ac_dir in $PATH; do
3944 - # Account for people who put trailing slashes in PATH elements.
3946 - / | ./ | .// | /cC/* \
3947 - | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
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
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.
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.
3964 - ac_cv_path_install="$ac_dir/$ac_prog -c"
3968 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969 +for as_dir in $PATH
3972 + test -z "$as_dir" && as_dir=.
3973 + # Account for people who put trailing slashes in PATH elements.
3975 + ./ | .// | /cC/* | \
3976 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
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
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.
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.
3994 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4009 if test "${ac_cv_path_install+set}" = set; then
4010 @@ -2291,7 +2886,7 @@
4011 INSTALL=$ac_install_sh
4014 -echo "$as_me:2294: result: $INSTALL" >&5
4015 +echo "$as_me:$LINENO: result: $INSTALL" >&5
4016 echo "${ECHO_T}$INSTALL" >&6
4018 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4019 @@ -2304,7 +2899,7 @@
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.
4032 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4034 -for ac_dir in $ac_dummy; do
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
4042 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 +for as_dir in $PATH
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
4057 @@ -2332,10 +2929,10 @@
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
4065 - echo "$as_me:2338: result: no" >&5
4066 + echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4070 @@ -2343,7 +2940,7 @@
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.
4083 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4085 -for ac_dir in $ac_dummy; do
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
4093 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4094 +for as_dir in $PATH
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
4108 @@ -2371,10 +2970,10 @@
4109 PERL=$ac_cv_path_PERL
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
4116 - echo "$as_me:2377: result: no" >&5
4117 + echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4121 @@ -2383,7 +2982,7 @@
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.
4134 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4136 -for ac_dir in $ac_dummy; do
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
4144 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 +for as_dir in $PATH
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
4159 @@ -2411,16 +3012,17 @@
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
4167 - echo "$as_me:2417: result: no" >&5
4168 + echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
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.
4184 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4186 -for ac_dir in $ac_dummy; do
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
4194 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 +for as_dir in $PATH
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
4209 @@ -2448,16 +3052,17 @@
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
4217 - echo "$as_me:2454: result: no" >&5
4218 + echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
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.
4234 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4236 -for ac_dir in $ac_dummy; do
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
4244 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 +for as_dir in $PATH
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
4259 @@ -2485,16 +3092,16 @@
4260 TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
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
4267 - echo "$as_me:2491: result: no" >&5
4268 + echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
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.
4283 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4285 -for ac_dir in $ac_dummy; do
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
4293 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4294 +for as_dir in $PATH
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
4308 @@ -2522,16 +3131,16 @@
4309 TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
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
4316 - echo "$as_me:2528: result: no" >&5
4317 + echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
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.
4332 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4334 -for ac_dir in $ac_dummy; do
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
4342 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 +for as_dir in $PATH
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
4357 @@ -2559,16 +3170,16 @@
4358 TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
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
4365 - echo "$as_me:2565: result: no" >&5
4366 + echo "$as_me:$LINENO: result: no" >&5
4367 echo "${ECHO_T}no" >&6
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.
4381 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4383 -for ac_dir in $ac_dummy; do
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
4391 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 +for as_dir in $PATH
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
4406 @@ -2596,13 +3209,14 @@
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
4414 - echo "$as_me:2602: result: no" >&5
4415 + echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6
4421 # Check whether --enable-largefile or --disable-largefile was given.
4422 if test "${enable_largefile+set}" = set; then
4423 @@ -2611,7 +3225,7 @@
4425 if test "$enable_largefile" != no; then
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"
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 @@
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
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
4463 - echo "$as_me:2655: \$? = $ac_status" >&5
4464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4468 echo "$as_me: failed program was:" >&5
4469 -cat conftest.$ac_ext >&5
4470 +sed 's/^/| /' conftest.$ac_ext >&5
4473 rm -f conftest.$ac_objext
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
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
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
4493 echo "$as_me: failed program was:" >&5
4494 -cat conftest.$ac_ext >&5
4495 +sed 's/^/| /' conftest.$ac_ext >&5
4498 rm -f conftest.$ac_objext
4500 @@ -2685,13 +3305,13 @@
4501 rm -f conftest.$ac_ext
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
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 @@
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"
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 @@
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
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
4547 - echo "$as_me:2731: \$? = $ac_status" >&5
4548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4552 echo "$as_me: failed program was:" >&5
4553 -cat conftest.$ac_ext >&5
4554 +sed 's/^/| /' conftest.$ac_ext >&5
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"
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 @@
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
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
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
4591 echo "$as_me: failed program was:" >&5
4592 -cat conftest.$ac_ext >&5
4593 +sed 's/^/| /' conftest.$ac_ext >&5
4596 rm -f conftest.$ac_objext conftest.$ac_ext
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
4605 -cat >>confdefs.h <<EOF
4606 +cat >>confdefs.h <<_ACEOF
4607 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
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 @@
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"
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 @@
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
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
4649 - echo "$as_me:2828: \$? = $ac_status" >&5
4650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; }; then
4654 echo "$as_me: failed program was:" >&5
4655 -cat conftest.$ac_ext >&5
4656 +sed 's/^/| /' conftest.$ac_ext >&5
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"
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 @@
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
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
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
4693 echo "$as_me: failed program was:" >&5
4694 -cat conftest.$ac_ext >&5
4695 +sed 's/^/| /' conftest.$ac_ext >&5
4698 rm -f conftest.$ac_objext conftest.$ac_ext
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
4707 -cat >>confdefs.h <<EOF
4708 +cat >>confdefs.h <<_ACEOF
4709 #define _LARGE_FILES $ac_cv_sys_large_files
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; }; }
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"
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.
4746 - ac_save_IFS=$IFS; IFS=$ac_path_separator
4748 -for ac_dir in $ac_dummy; do
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
4756 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 +for as_dir in $PATH
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
4771 @@ -2931,17 +3574,17 @@
4772 LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
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
4779 - echo "$as_me:2937: result: no" >&5
4780 + echo "$as_me:$LINENO: result: no" >&5
4781 echo "${ECHO_T}no" >&6
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"
4793 @@ -2950,98 +3593,8 @@
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
4802 - ac_cv_prog_cc_stdc=no
4804 -cat >conftest.$ac_ext <<_ACEOF
4805 -#line 2961 "configure"
4806 -#include "confdefs.h"
4807 -#include <stdarg.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)
4820 -static char *f (char * (*g) (char **, int), char **p, ...)
4825 - s = g (p, va_arg (v,int));
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);
4838 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__"
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
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
4863 - echo "$as_me:3019: \$? = $ac_status" >&5
4864 - (exit $ac_status); }; }; then
4865 - ac_cv_prog_cc_stdc=$ac_arg
4868 - echo "$as_me: failed program was:" >&5
4869 -cat conftest.$ac_ext >&5
4871 -rm -f conftest.$ac_objext
4873 -rm -f conftest.$ac_ext conftest.$ac_objext
4878 -case "x$ac_cv_prog_cc_stdc" in
4880 - echo "$as_me:3036: result: none needed" >&5
4881 -echo "${ECHO_T}none needed" >&6 ;;
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" ;;
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 @@
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"
4902 +cat confdefs.h >>conftest.$ac_ext
4903 +cat >>conftest.$ac_ext <<_ACEOF
4904 +/* end confdefs.h. */
4906 -static $ac_kw int static_foo () {return 0; }
4907 -$ac_kw int foo () {return 0; }
4909 +static $ac_kw foo_t static_foo () {return 0; }
4910 +$ac_kw foo_t foo () {return 0; }
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
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
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
4932 echo "$as_me: failed program was:" >&5
4933 -cat conftest.$ac_ext >&5
4934 +sed 's/^/| /' conftest.$ac_ext >&5
4937 rm -f conftest.$ac_objext conftest.$ac_ext
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
4947 -cat >>confdefs.h <<\EOF
4948 +cat >>confdefs.h <<\_ACEOF
4953 - *) cat >>confdefs.h <<EOF
4954 + *) cat >>confdefs.h <<_ACEOF
4955 #define inline $ac_cv_c_inline
4961 @@ -3102,7 +3661,7 @@
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"
4979 +cat confdefs.h >>conftest.$ac_ext
4980 +cat >>conftest.$ac_ext <<_ACEOF
4981 +/* end confdefs.h. */
4985 @@ -3124,101 +3687,116 @@
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
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
5001 - echo "$as_me:3136: \$? = $ac_status" >&5
5002 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; }; then
5006 echo "$as_me: failed program was:" >&5
5007 -cat conftest.$ac_ext >&5
5008 +sed 's/^/| /' conftest.$ac_ext >&5
5011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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; }; }
5023 - echo "$as_me:3153: result: $blibflags" >&5
5024 + echo "$as_me:$LINENO: result: $blibflags" >&5
5025 echo "${ECHO_T}$blibflags" >&6
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
5034 cat >conftest.$ac_ext <<_ACEOF
5035 -#line 3163 "configure"
5036 -#include "confdefs.h"
5037 +#line $LINENO "configure"
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. */
5050 +# include <limits.h>
5052 +# include <assert.h>
5054 /* Override any gcc2 internal prototype to avoid an error. */
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 ();
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)
5074 +char (*f) () = authenticate;
5083 +return f != authenticate;
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
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
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
5106 echo "$as_me: failed program was:" >&5
5107 -cat conftest.$ac_ext >&5
5108 +sed 's/^/| /' conftest.$ac_ext >&5
5110 ac_cv_func_authenticate=no
5112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
5133 cat >conftest.$ac_ext <<_ACEOF
5134 -#line 3229 "configure"
5135 -#include "confdefs.h"
5136 +#line $LINENO "configure"
5139 +cat confdefs.h >>conftest.$ac_ext
5140 +cat >>conftest.$ac_ext <<_ACEOF
5141 +/* end confdefs.h. */
5143 /* Override any gcc2 internal prototype to avoid an error. */
5145 @@ -3245,49 +3827,56 @@
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
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
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
5166 echo "$as_me: failed program was:" >&5
5167 -cat conftest.$ac_ext >&5
5168 +sed 's/^/| /' conftest.$ac_ext >&5
5170 ac_cv_lib_s_authenticate=no
5172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5173 LIBS=$ac_check_lib_save_LIBS
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
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
5198 cat >conftest.$ac_ext <<_ACEOF
5199 -#line 3287 "configure"
5200 -#include "confdefs.h"
5201 +#line $LINENO "configure"
5204 +cat confdefs.h >>conftest.$ac_ext
5205 +cat >>conftest.$ac_ext <<_ACEOF
5206 +/* end confdefs.h. */
5207 #include <usersec.h>
5213 @@ -3300,33 +3889,38 @@
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
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
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
5234 echo "$as_me: failed program was:" >&5
5235 -cat conftest.$ac_ext >&5
5236 +sed 's/^/| /' conftest.$ac_ext >&5
5238 ac_cv_have_decl_loginfailed=no
5240 rm -f conftest.$ac_objext conftest.$ac_ext
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"
5255 +cat confdefs.h >>conftest.$ac_ext
5256 +cat >>conftest.$ac_ext <<_ACEOF
5257 +/* end confdefs.h. */
5258 #include <usersec.h>
5261 @@ -3337,187 +3931,207 @@
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
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
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
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
5295 +echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5299 rm -f conftest.$ac_objext conftest.$ac_ext
5303 for ac_func in setauthdb
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
5312 cat >conftest.$ac_ext <<_ACEOF
5313 -#line 3376 "configure"
5314 -#include "confdefs.h"
5315 +#line $LINENO "configure"
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. */
5328 +# include <limits.h>
5330 +# include <assert.h>
5332 /* Override any gcc2 internal prototype to avoid an error. */
5337 /* We use char because int might match the return type of a gcc2
5338 builtin and then its argument prototype would still apply. */
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)
5352 +char (*f) () = $ac_func;
5361 +return f != $ac_func;
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
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
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"
5384 echo "$as_me: failed program was:" >&5
5385 -cat conftest.$ac_ext >&5
5386 +sed 's/^/| /' conftest.$ac_ext >&5
5388 eval "$as_ac_var=no"
5390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
5405 - cat >>confdefs.h <<\EOF
5406 + cat >>confdefs.h <<\_ACEOF
5407 #define BROKEN_GETADDRINFO 1
5411 - cat >>confdefs.h <<\EOF
5412 + cat >>confdefs.h <<\_ACEOF
5413 #define BROKEN_REALPATH 1
5417 - cat >>confdefs.h <<\EOF
5418 + cat >>confdefs.h <<\_ACEOF
5419 #define SETEUID_BREAKS_SETUID 1
5423 - cat >>confdefs.h <<\EOF
5424 + cat >>confdefs.h <<\_ACEOF
5425 #define BROKEN_SETREUID 1
5429 - cat >>confdefs.h <<\EOF
5430 + cat >>confdefs.h <<\_ACEOF
5431 #define BROKEN_SETREGID 1
5435 - cat >>confdefs.h <<\EOF
5436 + cat >>confdefs.h <<\_ACEOF
5437 #define DISABLE_LASTLOG 1
5441 - cat >>confdefs.h <<\EOF
5442 + cat >>confdefs.h <<\_ACEOF
5443 #define LOGIN_NEEDS_UTMPX 1
5447 - cat >>confdefs.h <<\EOF
5448 + cat >>confdefs.h <<\_ACEOF
5449 #define SPT_TYPE SPT_REUSEARGV
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
5463 - cat >>confdefs.h <<\EOF
5464 + cat >>confdefs.h <<\_ACEOF
5469 - cat >>confdefs.h <<\EOF
5470 + cat >>confdefs.h <<\_ACEOF
5471 #define DISABLE_SHADOW 1
5475 - cat >>confdefs.h <<\EOF
5476 + cat >>confdefs.h <<\_ACEOF
5477 #define IP_TOS_IS_BROKEN 1
5481 - cat >>confdefs.h <<\EOF
5482 + cat >>confdefs.h <<\_ACEOF
5483 #define NO_X11_UNIX_SOCKETS 1
5487 - cat >>confdefs.h <<\EOF
5488 + cat >>confdefs.h <<\_ACEOF
5489 #define NO_IPPORT_RESERVED_CONCEPT 1
5493 - cat >>confdefs.h <<\EOF
5494 + cat >>confdefs.h <<\_ACEOF
5495 #define DISABLE_FD_PASSING 1
5499 - cat >>confdefs.h <<\EOF
5500 + cat >>confdefs.h <<\_ACEOF
5501 #define SETGROUPS_NOOP 1
5507 - cat >>confdefs.h <<\EOF
5508 + cat >>confdefs.h <<\_ACEOF
5509 #define IP_TOS_IS_BROKEN 1
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
5523 cat >conftest.$ac_ext <<_ACEOF
5524 -#line 3519 "configure"
5525 -#include "confdefs.h"
5526 +#line $LINENO "configure"
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))
5535 @@ -3526,42 +4140,44 @@
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
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
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
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
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
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
5576 - cat >>confdefs.h <<\EOF
5577 + cat >>confdefs.h <<\_ACEOF
5578 #define SETEUID_BREAKS_SETUID 1
5582 - cat >>confdefs.h <<\EOF
5583 + cat >>confdefs.h <<\_ACEOF
5584 #define BROKEN_SETREUID 1
5588 - cat >>confdefs.h <<\EOF
5589 + cat >>confdefs.h <<\_ACEOF
5590 #define BROKEN_SETREGID 1
5596 @@ -3570,41 +4186,41 @@
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
5606 - cat >>confdefs.h <<\EOF
5607 + cat >>confdefs.h <<\_ACEOF
5612 - cat >>confdefs.h <<\EOF
5613 + cat >>confdefs.h <<\_ACEOF
5614 #define LOGIN_NO_ENDOPT 1
5618 - cat >>confdefs.h <<\EOF
5619 + cat >>confdefs.h <<\_ACEOF
5620 #define LOGIN_NEEDS_UTMPX 1
5624 - cat >>confdefs.h <<\EOF
5625 + cat >>confdefs.h <<\_ACEOF
5626 #define DISABLE_SHADOW 1
5630 - cat >>confdefs.h <<\EOF
5631 + cat >>confdefs.h <<\_ACEOF
5632 #define DISABLE_UTMP 1
5636 - cat >>confdefs.h <<\EOF
5637 + cat >>confdefs.h <<\_ACEOF
5638 #define LOCKED_PASSWD_STRING "*"
5642 - cat >>confdefs.h <<\EOF
5643 + cat >>confdefs.h <<\_ACEOF
5644 #define SPT_TYPE SPT_PSTAT
5648 LIBS="$LIBS -lsec -lsecpw"
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
5658 cat >conftest.$ac_ext <<_ACEOF
5659 -#line 3615 "configure"
5660 -#include "confdefs.h"
5661 +#line $LINENO "configure"
5664 +cat confdefs.h >>conftest.$ac_ext
5665 +cat >>conftest.$ac_ext <<_ACEOF
5666 +/* end confdefs.h. */
5668 /* Override any gcc2 internal prototype to avoid an error. */
5670 @@ -3631,37 +4251,38 @@
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
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
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
5691 echo "$as_me: failed program was:" >&5
5692 -cat conftest.$ac_ext >&5
5693 +sed 's/^/| /' conftest.$ac_ext >&5
5695 ac_cv_lib_xnet_t_error=no
5697 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5698 LIBS=$ac_check_lib_save_LIBS
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
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; }; }
5718 @@ -3674,37 +4295,37 @@
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
5728 - cat >>confdefs.h <<\EOF
5729 + cat >>confdefs.h <<\_ACEOF
5730 #define LOGIN_NO_ENDOPT 1
5734 - cat >>confdefs.h <<\EOF
5735 + cat >>confdefs.h <<\_ACEOF
5736 #define LOGIN_NEEDS_UTMPX 1
5740 - cat >>confdefs.h <<\EOF
5741 + cat >>confdefs.h <<\_ACEOF
5742 #define DISABLE_SHADOW 1
5746 - cat >>confdefs.h <<\EOF
5747 + cat >>confdefs.h <<\_ACEOF
5748 #define DISABLE_UTMP 1
5752 - cat >>confdefs.h <<\EOF
5753 + cat >>confdefs.h <<\_ACEOF
5754 #define LOCKED_PASSWD_STRING "*"
5758 - cat >>confdefs.h <<\EOF
5759 + cat >>confdefs.h <<\_ACEOF
5760 #define SPT_TYPE SPT_PSTAT
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
5774 cat >conftest.$ac_ext <<_ACEOF
5775 -#line 3715 "configure"
5776 -#include "confdefs.h"
5777 +#line $LINENO "configure"
5780 +cat confdefs.h >>conftest.$ac_ext
5781 +cat >>conftest.$ac_ext <<_ACEOF
5782 +/* end confdefs.h. */
5784 /* Override any gcc2 internal prototype to avoid an error. */
5786 @@ -3731,37 +4356,38 @@
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
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
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
5807 echo "$as_me: failed program was:" >&5
5808 -cat conftest.$ac_ext >&5
5809 +sed 's/^/| /' conftest.$ac_ext >&5
5811 ac_cv_lib_xnet_t_error=no
5813 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5814 LIBS=$ac_check_lib_save_LIBS
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
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; }; }
5834 @@ -3770,41 +4396,41 @@
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
5844 - cat >>confdefs.h <<\EOF
5845 + cat >>confdefs.h <<\_ACEOF
5850 - cat >>confdefs.h <<\EOF
5851 + cat >>confdefs.h <<\_ACEOF
5852 #define LOGIN_NO_ENDOPT 1
5856 - cat >>confdefs.h <<\EOF
5857 + cat >>confdefs.h <<\_ACEOF
5858 #define LOGIN_NEEDS_UTMPX 1
5862 - cat >>confdefs.h <<\EOF
5863 + cat >>confdefs.h <<\_ACEOF
5864 #define DISABLE_SHADOW 1
5868 - cat >>confdefs.h <<\EOF
5869 + cat >>confdefs.h <<\_ACEOF
5870 #define DISABLE_UTMP 1
5874 - cat >>confdefs.h <<\EOF
5875 + cat >>confdefs.h <<\_ACEOF
5876 #define LOCKED_PASSWD_STRING "*"
5880 - cat >>confdefs.h <<\EOF
5881 + cat >>confdefs.h <<\_ACEOF
5882 #define SPT_TYPE SPT_PSTAT
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
5896 cat >conftest.$ac_ext <<_ACEOF
5897 -#line 3815 "configure"
5898 -#include "confdefs.h"
5899 +#line $LINENO "configure"
5902 +cat confdefs.h >>conftest.$ac_ext
5903 +cat >>conftest.$ac_ext <<_ACEOF
5904 +/* end confdefs.h. */
5906 /* Override any gcc2 internal prototype to avoid an error. */
5908 @@ -3831,37 +4461,38 @@
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
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
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
5929 echo "$as_me: failed program was:" >&5
5930 -cat conftest.$ac_ext >&5
5931 +sed 's/^/| /' conftest.$ac_ext >&5
5933 ac_cv_lib_xnet_t_error=no
5935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5936 LIBS=$ac_check_lib_save_LIBS
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
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; }; }
5956 @@ -3871,159 +4502,173 @@
5957 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5959 PATH="$PATH:/usr/etc"
5960 - cat >>confdefs.h <<\EOF
5961 + cat >>confdefs.h <<\_ACEOF
5962 #define BROKEN_INET_NTOA 1
5966 - cat >>confdefs.h <<\EOF
5967 + cat >>confdefs.h <<\_ACEOF
5968 #define WITH_ABBREV_NO_TTY 1
5972 - cat >>confdefs.h <<\EOF
5973 + cat >>confdefs.h <<\_ACEOF
5974 #define LOCKED_PASSWD_STRING "*LK*"
5980 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
5982 PATH="$PATH:/usr/etc"
5983 - cat >>confdefs.h <<\EOF
5984 + cat >>confdefs.h <<\_ACEOF
5985 #define WITH_IRIX_ARRAY 1
5989 - cat >>confdefs.h <<\EOF
5990 + cat >>confdefs.h <<\_ACEOF
5991 #define WITH_IRIX_PROJECT 1
5995 - cat >>confdefs.h <<\EOF
5996 + cat >>confdefs.h <<\_ACEOF
5997 #define WITH_IRIX_AUDIT 1
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
6007 cat >conftest.$ac_ext <<_ACEOF
6008 -#line 3909 "configure"
6009 -#include "confdefs.h"
6010 +#line $LINENO "configure"
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. */
6023 +# include <limits.h>
6025 +# include <assert.h>
6027 /* Override any gcc2 internal prototype to avoid an error. */
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 ();
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)
6046 -f = jlimit_startjob;
6047 +char (*f) () = jlimit_startjob;
6056 +return f != jlimit_startjob;
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
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
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
6079 echo "$as_me: failed program was:" >&5
6080 -cat conftest.$ac_ext >&5
6081 +sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_cv_func_jlimit_startjob=no
6085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
6099 - cat >>confdefs.h <<\EOF
6100 + cat >>confdefs.h <<\_ACEOF
6101 #define BROKEN_INET_NTOA 1
6105 - cat >>confdefs.h <<\EOF
6106 + cat >>confdefs.h <<\_ACEOF
6107 #define SETEUID_BREAKS_SETUID 1
6111 - cat >>confdefs.h <<\EOF
6112 + cat >>confdefs.h <<\_ACEOF
6113 #define BROKEN_SETREUID 1
6117 - cat >>confdefs.h <<\EOF
6118 + cat >>confdefs.h <<\_ACEOF
6119 #define BROKEN_SETREGID 1
6123 - cat >>confdefs.h <<\EOF
6124 + cat >>confdefs.h <<\_ACEOF
6125 #define WITH_ABBREV_NO_TTY 1
6129 - cat >>confdefs.h <<\EOF
6130 + cat >>confdefs.h <<\_ACEOF
6131 #define LOCKED_PASSWD_STRING "*LK*"
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
6146 - cat >>confdefs.h <<\EOF
6147 + cat >>confdefs.h <<\_ACEOF
6148 #define PAM_TTY_KLUDGE 1
6152 - cat >>confdefs.h <<\EOF
6153 + cat >>confdefs.h <<\_ACEOF
6154 #define LOCKED_PASSWD_PREFIX "!!"
6158 - cat >>confdefs.h <<\EOF
6159 + cat >>confdefs.h <<\_ACEOF
6160 #define SPT_TYPE SPT_REUSEARGV
6164 inet6_default_4in6=yes
6167 - cat >>confdefs.h <<\EOF
6168 + cat >>confdefs.h <<\_ACEOF
6169 #define BROKEN_CMSG_TYPE 1
6176 mips-sony-bsd|mips-sony-newsos4)
6177 - cat >>confdefs.h <<\EOF
6178 + cat >>confdefs.h <<\_ACEOF
6179 #define HAVE_NEWS4 1
6185 @@ -4035,17 +4680,17 @@
6186 check_for_libcrypt_later=1
6189 - cat >>confdefs.h <<\EOF
6190 + cat >>confdefs.h <<\_ACEOF
6191 #define SETEUID_BREAKS_SETUID 1
6195 - cat >>confdefs.h <<\EOF
6196 + cat >>confdefs.h <<\_ACEOF
6197 #define BROKEN_SETREUID 1
6201 - cat >>confdefs.h <<\EOF
6202 + cat >>confdefs.h <<\_ACEOF
6203 #define BROKEN_SETREGID 1
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
6219 - cat >>confdefs.h <<\EOF
6220 + cat >>confdefs.h <<\_ACEOF
6221 #define BROKEN_REALPATH 1
6225 - cat >>confdefs.h <<\EOF
6226 + cat >>confdefs.h <<\_ACEOF
6231 - cat >>confdefs.h <<\EOF
6232 + cat >>confdefs.h <<\_ACEOF
6233 #define BROKEN_SAVED_UIDS 1
6237 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6239 @@ -4076,50 +4721,50 @@
6240 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6241 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
6243 - cat >>confdefs.h <<\EOF
6244 + cat >>confdefs.h <<\_ACEOF
6245 #define PAM_SUN_CODEBASE 1
6249 - cat >>confdefs.h <<\EOF
6250 + cat >>confdefs.h <<\_ACEOF
6251 #define LOGIN_NEEDS_UTMPX 1
6255 - cat >>confdefs.h <<\EOF
6256 + cat >>confdefs.h <<\_ACEOF
6257 #define LOGIN_NEEDS_TERM 1
6261 - cat >>confdefs.h <<\EOF
6262 + cat >>confdefs.h <<\_ACEOF
6263 #define PAM_TTY_KLUDGE 1
6267 - cat >>confdefs.h <<\EOF
6268 + cat >>confdefs.h <<\_ACEOF
6269 #define LOCKED_PASSWD_STRING "*LK*"
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
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
6297 - cat >>confdefs.h <<\EOF
6298 + cat >>confdefs.h <<\_ACEOF
6299 #define DISABLE_WTMP 1
6304 - echo "$as_me:4122: result: no" >&5
6305 + echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6309 @@ -4129,107 +4774,121 @@
6310 for ac_func in getpwanam
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
6319 cat >conftest.$ac_ext <<_ACEOF
6320 -#line 4138 "configure"
6321 -#include "confdefs.h"
6322 +#line $LINENO "configure"
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. */
6335 +# include <limits.h>
6337 +# include <assert.h>
6339 /* Override any gcc2 internal prototype to avoid an error. */
6344 /* We use char because int might match the return type of a gcc2
6345 builtin and then its argument prototype would still apply. */
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)
6359 +char (*f) () = $ac_func;
6368 +return f != $ac_func;
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
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
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"
6391 echo "$as_me: failed program was:" >&5
6392 -cat conftest.$ac_ext >&5
6393 +sed 's/^/| /' conftest.$ac_ext >&5
6395 eval "$as_ac_var=no"
6397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
6412 - cat >>confdefs.h <<\EOF
6413 + cat >>confdefs.h <<\_ACEOF
6414 #define PAM_SUN_CODEBASE 1
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
6429 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6430 LDFLAGS="$LDFLAGS -L/usr/local/lib"
6432 - cat >>confdefs.h <<\EOF
6433 + cat >>confdefs.h <<\_ACEOF
6438 - cat >>confdefs.h <<\EOF
6439 + cat >>confdefs.h <<\_ACEOF
6440 #define SSHD_ACQUIRES_CTTY 1
6444 - cat >>confdefs.h <<\EOF
6445 + cat >>confdefs.h <<\_ACEOF
6446 #define SETEUID_BREAKS_SETUID 1
6450 - cat >>confdefs.h <<\EOF
6451 + cat >>confdefs.h <<\_ACEOF
6452 #define BROKEN_SETREUID 1
6456 - cat >>confdefs.h <<\EOF
6457 + cat >>confdefs.h <<\_ACEOF
6458 #define BROKEN_SETREGID 1
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
6474 - cat >>confdefs.h <<\EOF
6475 + cat >>confdefs.h <<\_ACEOF
6476 #define IP_TOS_IS_BROKEN 1
6480 - cat >>confdefs.h <<\EOF
6481 + cat >>confdefs.h <<\_ACEOF
6482 #define SSHD_ACQUIRES_CTTY 1
6486 external_path_file=/etc/default/login
6487 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
6488 @@ -4257,41 +4916,41 @@
6490 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6491 LDFLAGS="$LDFLAGS -L/usr/local/lib"
6492 - cat >>confdefs.h <<\EOF
6493 + cat >>confdefs.h <<\_ACEOF
6498 - cat >>confdefs.h <<\EOF
6499 + cat >>confdefs.h <<\_ACEOF
6500 #define SETEUID_BREAKS_SETUID 1
6504 - cat >>confdefs.h <<\EOF
6505 + cat >>confdefs.h <<\_ACEOF
6506 #define BROKEN_SETREUID 1
6510 - cat >>confdefs.h <<\EOF
6511 + cat >>confdefs.h <<\_ACEOF
6512 #define BROKEN_SETREGID 1
6518 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
6519 LDFLAGS="$LDFLAGS -L/usr/local/lib"
6520 - cat >>confdefs.h <<\EOF
6521 + cat >>confdefs.h <<\_ACEOF
6526 - cat >>confdefs.h <<\EOF
6527 + cat >>confdefs.h <<\_ACEOF
6528 #define SETEUID_BREAKS_SETUID 1
6532 - cat >>confdefs.h <<\EOF
6533 + cat >>confdefs.h <<\_ACEOF
6534 #define BROKEN_SETREUID 1
6538 - cat >>confdefs.h <<\EOF
6539 + cat >>confdefs.h <<\_ACEOF
6540 #define BROKEN_SETREGID 1
6546 @@ -4304,95 +4963,111 @@
6547 LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
6550 - cat >>confdefs.h <<\EOF
6551 + cat >>confdefs.h <<\_ACEOF
6552 #define BROKEN_SYS_TERMIO_H 1
6556 - cat >>confdefs.h <<\EOF
6557 + cat >>confdefs.h <<\_ACEOF
6562 - cat >>confdefs.h <<\EOF
6563 + cat >>confdefs.h <<\_ACEOF
6564 #define HAVE_SECUREWARE 1
6568 - cat >>confdefs.h <<\EOF
6569 + cat >>confdefs.h <<\_ACEOF
6570 #define DISABLE_SHADOW 1
6574 - cat >>confdefs.h <<\EOF
6575 + cat >>confdefs.h <<\_ACEOF
6576 #define BROKEN_SAVED_UIDS 1
6580 - cat >>confdefs.h <<\EOF
6581 + cat >>confdefs.h <<\_ACEOF
6582 #define WITH_ABBREV_NO_TTY 1
6588 for ac_func in getluid setluid
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
6597 cat >conftest.$ac_ext <<_ACEOF
6598 -#line 4340 "configure"
6599 -#include "confdefs.h"
6600 +#line $LINENO "configure"
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. */
6613 +# include <limits.h>
6615 +# include <assert.h>
6617 /* Override any gcc2 internal prototype to avoid an error. */
6622 /* We use char because int might match the return type of a gcc2
6623 builtin and then its argument prototype would still apply. */
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)
6637 +char (*f) () = $ac_func;
6646 +return f != $ac_func;
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
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
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"
6669 echo "$as_me: failed program was:" >&5
6670 -cat conftest.$ac_ext >&5
6671 +sed 's/^/| /' conftest.$ac_ext >&5
6673 eval "$as_ac_var=no"
6675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
6689 @@ -4408,103 +5083,119 @@
6690 LDFLAGS="$LDFLAGS -L/usr/local/lib"
6691 LIBS="$LIBS -lprot -lx -ltinfo -lm"
6693 - cat >>confdefs.h <<\EOF
6694 + cat >>confdefs.h <<\_ACEOF
6699 - cat >>confdefs.h <<\EOF
6700 + cat >>confdefs.h <<\_ACEOF
6701 #define HAVE_SECUREWARE 1
6705 - cat >>confdefs.h <<\EOF
6706 + cat >>confdefs.h <<\_ACEOF
6707 #define DISABLE_SHADOW 1
6711 - cat >>confdefs.h <<\EOF
6712 + cat >>confdefs.h <<\_ACEOF
6713 #define DISABLE_FD_PASSING 1
6717 - cat >>confdefs.h <<\EOF
6718 + cat >>confdefs.h <<\_ACEOF
6719 #define SETEUID_BREAKS_SETUID 1
6723 - cat >>confdefs.h <<\EOF
6724 + cat >>confdefs.h <<\_ACEOF
6725 #define BROKEN_SETREUID 1
6729 - cat >>confdefs.h <<\EOF
6730 + cat >>confdefs.h <<\_ACEOF
6731 #define BROKEN_SETREGID 1
6735 - cat >>confdefs.h <<\EOF
6736 + cat >>confdefs.h <<\_ACEOF
6737 #define WITH_ABBREV_NO_TTY 1
6743 for ac_func in getluid setluid
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
6752 cat >conftest.$ac_ext <<_ACEOF
6753 -#line 4452 "configure"
6754 -#include "confdefs.h"
6755 +#line $LINENO "configure"
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. */
6768 +# include <limits.h>
6770 +# include <assert.h>
6772 /* Override any gcc2 internal prototype to avoid an error. */
6777 /* We use char because int might match the return type of a gcc2
6778 builtin and then its argument prototype would still apply. */
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)
6792 +char (*f) () = $ac_func;
6801 +return f != $ac_func;
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
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
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"
6824 echo "$as_me: failed program was:" >&5
6825 -cat conftest.$ac_ext >&5
6826 +sed 's/^/| /' conftest.$ac_ext >&5
6828 eval "$as_ac_var=no"
6830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
6844 @@ -4512,54 +5203,54 @@
6848 - cat >>confdefs.h <<\EOF
6849 + cat >>confdefs.h <<\_ACEOF
6854 - cat >>confdefs.h <<\EOF
6855 + cat >>confdefs.h <<\_ACEOF
6856 #define DISABLE_FD_PASSING 1
6861 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
6865 - cat >>confdefs.h <<\EOF
6866 + cat >>confdefs.h <<\_ACEOF
6867 #define WITH_ABBREV_NO_TTY 1
6871 - cat >>confdefs.h <<\EOF
6872 + cat >>confdefs.h <<\_ACEOF
6877 - cat >>confdefs.h <<\EOF
6878 + cat >>confdefs.h <<\_ACEOF
6879 #define DISABLE_FD_PASSING 1
6884 LIBS="$LIBS -lgen -lacid"
6888 - cat >>confdefs.h <<\EOF
6889 + cat >>confdefs.h <<\_ACEOF
6894 - cat >>confdefs.h <<\EOF
6895 + cat >>confdefs.h <<\_ACEOF
6896 #define DISABLE_FD_PASSING 1
6900 - cat >>confdefs.h <<\EOF
6901 + cat >>confdefs.h <<\_ACEOF
6902 #define NO_SSH_LASTLOG 1
6906 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
6907 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
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
6916 @@ -4568,7 +5259,7 @@
6917 withval="$with_osfsia"
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
6925 @@ -4576,72 +5267,72 @@
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
6938 - cat >>confdefs.h <<\EOF
6939 + cat >>confdefs.h <<\_ACEOF
6940 #define DISABLE_LOGIN 1
6944 - cat >>confdefs.h <<\EOF
6945 + cat >>confdefs.h <<\_ACEOF
6946 #define DISABLE_FD_PASSING 1
6950 LIBS="$LIBS -lsecurity -ldb -lm -laud"
6952 - echo "$as_me:4595: result: no" >&5
6953 + echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6957 - cat >>confdefs.h <<\EOF
6958 + cat >>confdefs.h <<\_ACEOF
6959 #define DISABLE_FD_PASSING 1
6963 - cat >>confdefs.h <<\EOF
6964 + cat >>confdefs.h <<\_ACEOF
6965 #define BROKEN_GETADDRINFO 1
6969 - cat >>confdefs.h <<\EOF
6970 + cat >>confdefs.h <<\_ACEOF
6971 #define SETEUID_BREAKS_SETUID 1
6975 - cat >>confdefs.h <<\EOF
6976 + cat >>confdefs.h <<\_ACEOF
6977 #define BROKEN_SETREUID 1
6981 - cat >>confdefs.h <<\EOF
6982 + cat >>confdefs.h <<\_ACEOF
6983 #define BROKEN_SETREGID 1
6987 - cat >>confdefs.h <<\EOF
6988 + cat >>confdefs.h <<\_ACEOF
6989 #define LOCKED_PASSWD_SUBSTR "Nologin"
6996 - cat >>confdefs.h <<\EOF
6997 + cat >>confdefs.h <<\_ACEOF
7002 - cat >>confdefs.h <<\EOF
7003 + cat >>confdefs.h <<\_ACEOF
7004 #define NO_X11_UNIX_SOCKETS 1
7008 - cat >>confdefs.h <<\EOF
7009 + cat >>confdefs.h <<\_ACEOF
7010 #define MISSING_NFDBITS 1
7014 - cat >>confdefs.h <<\EOF
7015 + cat >>confdefs.h <<\_ACEOF
7016 #define MISSING_HOWMANY 1
7020 - cat >>confdefs.h <<\EOF
7021 + cat >>confdefs.h <<\_ACEOF
7022 #define MISSING_FD_MASK 1
7028 @@ -4656,6 +5347,7 @@
7029 CFLAGS="$CFLAGS $withval"
7035 # Check whether --with-cppflags or --without-cppflags was given.
7036 @@ -4666,6 +5358,7 @@
7037 CPPFLAGS="$CPPFLAGS $withval"
7043 # Check whether --with-ldflags or --without-ldflags was given.
7044 @@ -4676,6 +5369,7 @@
7045 LDFLAGS="$LDFLAGS $withval"
7051 # Check whether --with-libs or --without-libs was given.
7052 @@ -4686,53 +5380,346 @@
7053 LIBS="$LIBS $withval"
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
7070 cat >conftest.$ac_ext <<_ACEOF
7071 -#line 4699 "configure"
7072 -#include "confdefs.h"
7073 +#line $LINENO "configure"
7076 +cat confdefs.h >>conftest.$ac_ext
7077 +cat >>conftest.$ac_ext <<_ACEOF
7078 +/* end confdefs.h. */
7081 int main(){exit(0);}
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
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
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
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
7108 - echo "$as_me:4724: result: no" >&5
7109 +( exit $ac_status )
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; }; }
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
7123 # Checks for header files.
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
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'
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
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
7145 + cat >conftest.$ac_ext <<_ACEOF
7146 +#line $LINENO "configure"
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>
7165 +rm -f conftest.$ac_objext
7166 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7167 + (eval $ac_compile) 2>&5
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
7175 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 + (exit $ac_status); }; }; then
7177 + ac_cv_header_stdc=yes
7179 + echo "$as_me: failed program was:" >&5
7180 +sed 's/^/| /' conftest.$ac_ext >&5
7182 +ac_cv_header_stdc=no
7184 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
7192 +cat confdefs.h >>conftest.$ac_ext
7193 +cat >>conftest.$ac_ext <<_ACEOF
7194 +/* end confdefs.h. */
7195 +#include <string.h>
7198 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7199 + $EGREP "memchr" >/dev/null 2>&1; then
7202 + ac_cv_header_stdc=no
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"
7214 +cat confdefs.h >>conftest.$ac_ext
7215 +cat >>conftest.$ac_ext <<_ACEOF
7216 +/* end confdefs.h. */
7217 +#include <stdlib.h>
7220 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7221 + $EGREP "free" >/dev/null 2>&1; then
7224 + ac_cv_header_stdc=no
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
7235 + cat >conftest.$ac_ext <<_ACEOF
7236 +#line $LINENO "configure"
7239 +cat confdefs.h >>conftest.$ac_ext
7240 +cat >>conftest.$ac_ext <<_ACEOF
7241 +/* end confdefs.h. */
7243 +#if ((' ' & 0x0FF) == 0x020)
7244 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7245 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
7254 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7259 + for (i = 0; i < 256; i++)
7260 + if (XOR (islower (i), ISLOWER (i))
7261 + || toupper (i) != TOUPPER (i))
7266 +rm -f conftest$ac_exeext
7267 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7268 + (eval $ac_link) 2>&5
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
7275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 + (exit $ac_status); }; }; then
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
7283 +( exit $ac_status )
7284 +ac_cv_header_stdc=no
7286 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
7294 +cat >>confdefs.h <<\_ACEOF
7295 +#define STDC_HEADERS 1
7300 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
7319 + cat >conftest.$ac_ext <<_ACEOF
7320 +#line $LINENO "configure"
7323 +cat confdefs.h >>conftest.$ac_ext
7324 +cat >>conftest.$ac_ext <<_ACEOF
7325 +/* end confdefs.h. */
7326 +$ac_includes_default
7328 +#include <$ac_header>
7330 +rm -f conftest.$ac_objext
7331 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332 + (eval $ac_compile) 2>&5
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
7340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 + (exit $ac_status); }; }; then
7342 + eval "$as_ac_Header=yes"
7344 + echo "$as_me: failed program was:" >&5
7345 +sed 's/^/| /' conftest.$ac_ext >&5
7347 +eval "$as_ac_Header=no"
7349 +rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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
7425 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7426 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
7455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 + (exit $ac_status); }; }; then
7457 + ac_header_compiler=yes
7459 + echo "$as_me: failed program was:" >&5
7460 +sed 's/^/| /' conftest.$ac_ext >&5
7462 +ac_header_compiler=no
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
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"
7475 +cat confdefs.h >>conftest.$ac_ext
7476 +cat >>conftest.$ac_ext <<_ACEOF
7477 +/* end confdefs.h. */
7478 +#include <$ac_header>
7480 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7483 - egrep -v '^ *\+' conftest.er1 >conftest.err
7484 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
7495 if test -z "$ac_cpp_err"; then
7496 - eval "$as_ac_Header=yes"
7497 + ac_header_preproc=yes
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
7504 + ac_header_preproc=no
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
7510 +# So? What about this header?
7511 +case $ac_header_compiler:$ac_header_preproc in
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;}
7519 +## ------------------------------------ ##
7520 +## Report this to bug-autoconf@gnu.org. ##
7521 +## ------------------------------------ ##
7524 + sed "s/^/$as_me: WARNING: /" >&2
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;}
7535 +## ------------------------------------ ##
7536 +## Report this to bug-autoconf@gnu.org. ##
7537 +## ------------------------------------ ##
7540 + sed "s/^/$as_me: WARNING: /" >&2
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
7548 + eval "$as_ac_Header=$ac_header_preproc"
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
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
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
7574 cat >conftest.$ac_ext <<_ACEOF
7575 -#line 4800 "configure"
7576 -#include "confdefs.h"
7577 +#line $LINENO "configure"
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. */
7590 +# include <limits.h>
7592 +# include <assert.h>
7594 /* Override any gcc2 internal prototype to avoid an error. */
7599 /* We use char because int might match the return type of a gcc2
7600 builtin and then its argument prototype would still apply. */
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)
7614 +char (*f) () = yp_match;
7623 +return f != yp_match;
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
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
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
7646 echo "$as_me: failed program was:" >&5
7647 -cat conftest.$ac_ext >&5
7648 +sed 's/^/| /' conftest.$ac_ext >&5
7650 ac_cv_func_yp_match=no
7652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
7669 cat >conftest.$ac_ext <<_ACEOF
7670 -#line 4864 "configure"
7671 -#include "confdefs.h"
7672 +#line $LINENO "configure"
7675 +cat confdefs.h >>conftest.$ac_ext
7676 +cat >>conftest.$ac_ext <<_ACEOF
7677 +/* end confdefs.h. */
7679 /* Override any gcc2 internal prototype to avoid an error. */
7681 @@ -4880,32 +5979,33 @@
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
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
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
7702 echo "$as_me: failed program was:" >&5
7703 -cat conftest.$ac_ext >&5
7704 +sed 's/^/| /' conftest.$ac_ext >&5
7706 ac_cv_lib_nsl_yp_match=no
7708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7709 LIBS=$ac_check_lib_save_LIBS
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
7723 @@ -4913,69 +6013,83 @@
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
7733 cat >conftest.$ac_ext <<_ACEOF
7734 -#line 4922 "configure"
7735 -#include "confdefs.h"
7736 +#line $LINENO "configure"
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. */
7749 +# include <limits.h>
7751 +# include <assert.h>
7753 /* Override any gcc2 internal prototype to avoid an error. */
7758 /* We use char because int might match the return type of a gcc2
7759 builtin and then its argument prototype would still apply. */
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)
7773 +char (*f) () = setsockopt;
7782 +return f != setsockopt;
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
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
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
7805 echo "$as_me: failed program was:" >&5
7806 -cat conftest.$ac_ext >&5
7807 +sed 's/^/| /' conftest.$ac_ext >&5
7809 ac_cv_func_setsockopt=no
7811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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"
7834 +cat confdefs.h >>conftest.$ac_ext
7835 +cat >>conftest.$ac_ext <<_ACEOF
7836 +/* end confdefs.h. */
7838 /* Override any gcc2 internal prototype to avoid an error. */
7840 @@ -5002,32 +6120,33 @@
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
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
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
7861 echo "$as_me: failed program was:" >&5
7862 -cat conftest.$ac_ext >&5
7863 +sed 's/^/| /' conftest.$ac_ext >&5
7865 ac_cv_lib_socket_setsockopt=no
7867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7868 LIBS=$ac_check_lib_save_LIBS
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
7880 LIBS="-lsocket $LIBS"
7882 @@ -5035,9 +6154,10 @@
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"
7903 +cat confdefs.h >>conftest.$ac_ext
7904 +cat >>conftest.$ac_ext <<_ACEOF
7905 +/* end confdefs.h. */
7907 /* Override any gcc2 internal prototype to avoid an error. */
7909 @@ -5064,27 +6188,28 @@
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
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
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
7930 echo "$as_me: failed program was:" >&5
7931 -cat conftest.$ac_ext >&5
7932 +sed 's/^/| /' conftest.$ac_ext >&5
7934 ac_cv_lib_rpc_innetgr=no
7936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7937 LIBS=$ac_check_lib_save_LIBS
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 @@
7949 for ac_func in dirname
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
7958 cat >conftest.$ac_ext <<_ACEOF
7959 -#line 5105 "configure"
7960 -#include "confdefs.h"
7961 +#line $LINENO "configure"
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. */
7974 +# include <limits.h>
7976 +# include <assert.h>
7978 /* Override any gcc2 internal prototype to avoid an error. */
7983 /* We use char because int might match the return type of a gcc2
7984 builtin and then its argument prototype would still apply. */
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)
7998 +char (*f) () = $ac_func;
8007 +return f != $ac_func;
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
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
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"
8030 echo "$as_me: failed program was:" >&5
8031 -cat conftest.$ac_ext >&5
8032 +sed 's/^/| /' conftest.$ac_ext >&5
8034 eval "$as_ac_var=no"
8036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
8048 for ac_header in libgen.h
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
8058 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8059 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
8088 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 + (exit $ac_status); }; }; then
8090 + ac_header_compiler=yes
8092 + echo "$as_me: failed program was:" >&5
8093 +sed 's/^/| /' conftest.$ac_ext >&5
8095 +ac_header_compiler=no
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
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"
8108 +cat confdefs.h >>conftest.$ac_ext
8109 +cat >>conftest.$ac_ext <<_ACEOF
8110 +/* end confdefs.h. */
8111 +#include <$ac_header>
8113 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8116 - egrep -v '^ *\+' conftest.er1 >conftest.err
8117 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
8128 if test -z "$ac_cpp_err"; then
8129 - eval "$as_ac_Header=yes"
8130 + ac_header_preproc=yes
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
8137 + ac_header_preproc=no
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
8143 +# So? What about this header?
8144 +case $ac_header_compiler:$ac_header_preproc in
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;}
8152 +## ------------------------------------ ##
8153 +## Report this to bug-autoconf@gnu.org. ##
8154 +## ------------------------------------ ##
8157 + sed "s/^/$as_me: WARNING: /" >&2
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;}
8168 +## ------------------------------------ ##
8169 +## Report this to bug-autoconf@gnu.org. ##
8170 +## ------------------------------------ ##
8173 + sed "s/^/$as_me: WARNING: /" >&2
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
8181 + eval "$as_ac_Header=$ac_header_preproc"
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
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
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
8209 cat >conftest.$ac_ext <<_ACEOF
8210 -#line 5220 "configure"
8211 -#include "confdefs.h"
8212 +#line $LINENO "configure"
8215 +cat confdefs.h >>conftest.$ac_ext
8216 +cat >>conftest.$ac_ext <<_ACEOF
8217 +/* end confdefs.h. */
8219 /* Override any gcc2 internal prototype to avoid an error. */
8221 @@ -5236,31 +6473,32 @@
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
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
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
8242 echo "$as_me: failed program was:" >&5
8243 -cat conftest.$ac_ext >&5
8244 +sed 's/^/| /' conftest.$ac_ext >&5
8246 ac_cv_lib_gen_dirname=no
8248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8249 LIBS=$ac_check_lib_save_LIBS
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
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 @@
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; }; }
8273 cat >conftest.$ac_ext <<_ACEOF
8274 -#line 5277 "configure"
8275 -#include "confdefs.h"
8276 +#line $LINENO "configure"
8279 +cat confdefs.h >>conftest.$ac_ext
8280 +cat >>conftest.$ac_ext <<_ACEOF
8281 +/* end confdefs.h. */
8285 @@ -5294,57 +6538,107 @@
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
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
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"
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
8310 +( exit $ac_status )
8311 ac_cv_have_broken_dirname="yes"
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
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
8325 - cat >>confdefs.h <<\EOF
8326 + cat >>confdefs.h <<\_ACEOF
8327 #define HAVE_DIRNAME 1
8332 for ac_header in libgen.h
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
8342 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8343 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
8372 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 + (exit $ac_status); }; }; then
8374 + ac_header_compiler=yes
8376 + echo "$as_me: failed program was:" >&5
8377 +sed 's/^/| /' conftest.$ac_ext >&5
8379 +ac_header_compiler=no
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
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"
8392 +cat confdefs.h >>conftest.$ac_ext
8393 +cat >>conftest.$ac_ext <<_ACEOF
8394 +/* end confdefs.h. */
8395 +#include <$ac_header>
8397 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8400 - egrep -v '^ *\+' conftest.er1 >conftest.err
8401 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
8412 if test -z "$ac_cpp_err"; then
8413 - eval "$as_ac_Header=yes"
8414 + ac_header_preproc=yes
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
8421 + ac_header_preproc=no
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
8427 +# So? What about this header?
8428 +case $ac_header_compiler:$ac_header_preproc in
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;}
8436 +## ------------------------------------ ##
8437 +## Report this to bug-autoconf@gnu.org. ##
8438 +## ------------------------------------ ##
8441 + sed "s/^/$as_me: WARNING: /" >&2
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;}
8452 +## ------------------------------------ ##
8453 +## Report this to bug-autoconf@gnu.org. ##
8454 +## ------------------------------------ ##
8457 + sed "s/^/$as_me: WARNING: /" >&2
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
8465 + eval "$as_ac_Header=$ac_header_preproc"
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
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
8491 -echo "$as_me:5383: checking for getspnam" >&5
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
8498 cat >conftest.$ac_ext <<_ACEOF
8499 -#line 5389 "configure"
8500 -#include "confdefs.h"
8501 +#line $LINENO "configure"
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. */
8514 +# include <limits.h>
8516 +# include <assert.h>
8518 /* Override any gcc2 internal prototype to avoid an error. */
8523 /* We use char because int might match the return type of a gcc2
8524 builtin and then its argument prototype would still apply. */
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)
8538 +char (*f) () = getspnam;
8547 +return f != getspnam;
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
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
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
8570 echo "$as_me: failed program was:" >&5
8571 -cat conftest.$ac_ext >&5
8572 +sed 's/^/| /' conftest.$ac_ext >&5
8574 ac_cv_func_getspnam=no
8576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
8592 cat >conftest.$ac_ext <<_ACEOF
8593 -#line 5452 "configure"
8594 -#include "confdefs.h"
8595 +#line $LINENO "configure"
8598 +cat confdefs.h >>conftest.$ac_ext
8599 +cat >>conftest.$ac_ext <<_ACEOF
8600 +/* end confdefs.h. */
8602 /* Override any gcc2 internal prototype to avoid an error. */
8604 @@ -5468,27 +6828,28 @@
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
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
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
8625 echo "$as_me: failed program was:" >&5
8626 -cat conftest.$ac_ext >&5
8627 +sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_lib_gen_getspnam=no
8631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8632 LIBS=$ac_check_lib_save_LIBS
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
8639 @@ -5496,7 +6857,7 @@
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"
8657 +cat confdefs.h >>conftest.$ac_ext
8658 +cat >>conftest.$ac_ext <<_ACEOF
8659 +/* end confdefs.h. */
8661 /* Override any gcc2 internal prototype to avoid an error. */
8663 @@ -5523,29 +6888,34 @@
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
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
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"
8684 echo "$as_me: failed program was:" >&5
8685 -cat conftest.$ac_ext >&5
8686 +sed 's/^/| /' conftest.$ac_ext >&5
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"
8699 +cat confdefs.h >>conftest.$ac_ext
8700 +cat >>conftest.$ac_ext <<_ACEOF
8701 +/* end confdefs.h. */
8703 /* Override any gcc2 internal prototype to avoid an error. */
8705 @@ -5563,38 +6933,41 @@
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
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
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"
8727 echo "$as_me: failed program was:" >&5
8728 -cat conftest.$ac_ext >&5
8729 +sed 's/^/| /' conftest.$ac_ext >&5
8732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8735 LIBS=$ac_func_search_save_LIBS
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
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 @@
8763 # Check whether --with-zlib or --without-zlib was given.
8764 if test "${with_zlib+set}" = set; then
8765 withval="$with_zlib"
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; }; }
8773 @@ -5636,9 +7011,11 @@
8774 CPPFLAGS="-I${withval} ${CPPFLAGS}"
8780 -echo "$as_me:5641: checking for deflate in -lz" >&5
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
8789 cat >conftest.$ac_ext <<_ACEOF
8790 -#line 5649 "configure"
8791 -#include "confdefs.h"
8792 +#line $LINENO "configure"
8795 +cat confdefs.h >>conftest.$ac_ext
8796 +cat >>conftest.$ac_ext <<_ACEOF
8797 +/* end confdefs.h. */
8799 /* Override any gcc2 internal prototype to avoid an error. */
8801 @@ -5665,103 +7046,119 @@
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
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
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
8822 echo "$as_me: failed program was:" >&5
8823 -cat conftest.$ac_ext >&5
8824 +sed 's/^/| /' conftest.$ac_ext >&5
8826 ac_cv_lib_z_deflate=no
8828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8829 LIBS=$ac_check_lib_save_LIBS
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
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; }; }
8850 -echo "$as_me:5703: checking for strcasecmp" >&5
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
8857 cat >conftest.$ac_ext <<_ACEOF
8858 -#line 5709 "configure"
8859 -#include "confdefs.h"
8860 +#line $LINENO "configure"
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. */
8873 +# include <limits.h>
8875 +# include <assert.h>
8877 /* Override any gcc2 internal prototype to avoid an error. */
8882 /* We use char because int might match the return type of a gcc2
8883 builtin and then its argument prototype would still apply. */
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)
8897 +char (*f) () = strcasecmp;
8906 +return f != strcasecmp;
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
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
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
8929 echo "$as_me: failed program was:" >&5
8930 -cat conftest.$ac_ext >&5
8931 +sed 's/^/| /' conftest.$ac_ext >&5
8933 ac_cv_func_strcasecmp=no
8935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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"
8957 +cat confdefs.h >>conftest.$ac_ext
8958 +cat >>conftest.$ac_ext <<_ACEOF
8959 +/* end confdefs.h. */
8961 /* Override any gcc2 internal prototype to avoid an error. */
8963 @@ -5788,96 +7189,112 @@
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
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
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
8984 echo "$as_me: failed program was:" >&5
8985 -cat conftest.$ac_ext >&5
8986 +sed 's/^/| /' conftest.$ac_ext >&5
8988 ac_cv_lib_resolv_strcasecmp=no
8990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_lib_save_LIBS
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"
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
9009 cat >conftest.$ac_ext <<_ACEOF
9010 -#line 5825 "configure"
9011 -#include "confdefs.h"
9012 +#line $LINENO "configure"
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. */
9025 +# include <limits.h>
9027 +# include <assert.h>
9029 /* Override any gcc2 internal prototype to avoid an error. */
9034 /* We use char because int might match the return type of a gcc2
9035 builtin and then its argument prototype would still apply. */
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)
9049 +char (*f) () = utimes;
9058 +return f != utimes;
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
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
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
9081 echo "$as_me: failed program was:" >&5
9082 -cat conftest.$ac_ext >&5
9083 +sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_func_utimes=no
9087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
9103 cat >conftest.$ac_ext <<_ACEOF
9104 -#line 5888 "configure"
9105 -#include "confdefs.h"
9106 +#line $LINENO "configure"
9109 +cat confdefs.h >>conftest.$ac_ext
9110 +cat >>conftest.$ac_ext <<_ACEOF
9111 +/* end confdefs.h. */
9113 /* Override any gcc2 internal prototype to avoid an error. */
9115 @@ -5904,58 +7325,109 @@
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
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
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
9136 echo "$as_me: failed program was:" >&5
9137 -cat conftest.$ac_ext >&5
9138 +sed 's/^/| /' conftest.$ac_ext >&5
9140 ac_cv_lib_c89_utimes=no
9142 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9143 LIBS=$ac_check_lib_save_LIBS
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
9163 for ac_header in libutil.h
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
9173 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9174 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
9203 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 + (exit $ac_status); }; }; then
9205 + ac_header_compiler=yes
9207 + echo "$as_me: failed program was:" >&5
9208 +sed 's/^/| /' conftest.$ac_ext >&5
9210 +ac_header_compiler=no
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
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"
9223 +cat confdefs.h >>conftest.$ac_ext
9224 +cat >>conftest.$ac_ext <<_ACEOF
9225 +/* end confdefs.h. */
9226 +#include <$ac_header>
9228 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9231 - egrep -v '^ *\+' conftest.er1 >conftest.err
9232 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
9243 if test -z "$ac_cpp_err"; then
9244 - eval "$as_ac_Header=yes"
9245 + ac_header_preproc=yes
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
9252 + ac_header_preproc=no
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
9258 +# So? What about this header?
9259 +case $ac_header_compiler:$ac_header_preproc in
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;}
9267 +## ------------------------------------ ##
9268 +## Report this to bug-autoconf@gnu.org. ##
9269 +## ------------------------------------ ##
9272 + sed "s/^/$as_me: WARNING: /" >&2
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;}
9283 +## ------------------------------------ ##
9284 +## Report this to bug-autoconf@gnu.org. ##
9285 +## ------------------------------------ ##
9288 + sed "s/^/$as_me: WARNING: /" >&2
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
9296 + eval "$as_ac_Header=$ac_header_preproc"
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
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
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"
9328 +cat confdefs.h >>conftest.$ac_ext
9329 +cat >>conftest.$ac_ext <<_ACEOF
9330 +/* end confdefs.h. */
9332 /* Override any gcc2 internal prototype to avoid an error. */
9334 @@ -6011,29 +7533,34 @@
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
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
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"
9355 echo "$as_me: failed program was:" >&5
9356 -cat conftest.$ac_ext >&5
9357 +sed 's/^/| /' conftest.$ac_ext >&5
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"
9370 +cat confdefs.h >>conftest.$ac_ext
9371 +cat >>conftest.$ac_ext <<_ACEOF
9372 +/* end confdefs.h. */
9374 /* Override any gcc2 internal prototype to avoid an error. */
9376 @@ -6051,176 +7578,210 @@
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
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
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"
9398 echo "$as_me: failed program was:" >&5
9399 -cat conftest.$ac_ext >&5
9400 +sed 's/^/| /' conftest.$ac_ext >&5
9403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_func_search_save_LIBS
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
9424 for ac_func in logout updwtmp logwtmp
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
9433 cat >conftest.$ac_ext <<_ACEOF
9434 -#line 6095 "configure"
9435 -#include "confdefs.h"
9436 +#line $LINENO "configure"
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. */
9449 +# include <limits.h>
9451 +# include <assert.h>
9453 /* Override any gcc2 internal prototype to avoid an error. */
9458 /* We use char because int might match the return type of a gcc2
9459 builtin and then its argument prototype would still apply. */
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)
9473 +char (*f) () = $ac_func;
9482 +return f != $ac_func;
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
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
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"
9505 echo "$as_me: failed program was:" >&5
9506 -cat conftest.$ac_ext >&5
9507 +sed 's/^/| /' conftest.$ac_ext >&5
9509 eval "$as_ac_var=no"
9511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
9528 for ac_func in strftime
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
9537 cat >conftest.$ac_ext <<_ACEOF
9538 -#line 6164 "configure"
9539 -#include "confdefs.h"
9540 +#line $LINENO "configure"
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. */
9553 +# include <limits.h>
9555 +# include <assert.h>
9557 /* Override any gcc2 internal prototype to avoid an error. */
9562 /* We use char because int might match the return type of a gcc2
9563 builtin and then its argument prototype would still apply. */
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)
9577 +char (*f) () = $ac_func;
9586 +return f != $ac_func;
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
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
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"
9609 echo "$as_me: failed program was:" >&5
9610 -cat conftest.$ac_ext >&5
9611 +sed 's/^/| /' conftest.$ac_ext >&5
9613 eval "$as_ac_var=no"
9615 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
9637 cat >conftest.$ac_ext <<_ACEOF
9638 -#line 6231 "configure"
9639 -#include "confdefs.h"
9640 +#line $LINENO "configure"
9643 +cat confdefs.h >>conftest.$ac_ext
9644 +cat >>conftest.$ac_ext <<_ACEOF
9645 +/* end confdefs.h. */
9647 /* Override any gcc2 internal prototype to avoid an error. */
9649 @@ -6247,32 +7812,33 @@
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
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
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
9670 echo "$as_me: failed program was:" >&5
9671 -cat conftest.$ac_ext >&5
9672 +sed 's/^/| /' conftest.$ac_ext >&5
9674 ac_cv_lib_intl_strftime=no
9676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
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
9691 @@ -6280,12 +7846,17 @@
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"
9706 +cat confdefs.h >>conftest.$ac_ext
9707 +cat >>conftest.$ac_ext <<_ACEOF
9708 +/* end confdefs.h. */
9711 #ifdef GLOB_ALTDIRFUNC
9712 @@ -6294,94 +7865,119 @@
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
9719 - cat >>confdefs.h <<\EOF
9720 + cat >>confdefs.h <<\_ACEOF
9721 #define GLOB_HAS_ALTDIRFUNC 1
9725 - echo "$as_me:6303: result: yes" >&5
9726 + echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9731 - echo "$as_me:6308: result: no" >&5
9732 + echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
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"
9750 +cat confdefs.h >>conftest.$ac_ext
9751 +cat >>conftest.$ac_ext <<_ACEOF
9752 +/* end confdefs.h. */
9755 int main(void){glob_t g; g.gl_matchc = 1;}
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
9762 - cat >>confdefs.h <<\EOF
9763 + cat >>confdefs.h <<\_ACEOF
9764 #define GLOB_HAS_GL_MATCHC 1
9768 - echo "$as_me:6332: result: yes" >&5
9769 + echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9774 - echo "$as_me:6337: result: no" >&5
9775 + echo "$as_me:$LINENO: result: no" >&5
9776 echo "${ECHO_T}no" >&6
9782 -echo "$as_me:6343: checking whether struct dirent allocates space for d_name" >&5
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
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; }; }
9800 cat >conftest.$ac_ext <<_ACEOF
9801 -#line 6351 "configure"
9802 -#include "confdefs.h"
9803 +#line $LINENO "configure"
9806 +cat confdefs.h >>conftest.$ac_ext
9807 +cat >>conftest.$ac_ext <<_ACEOF
9808 +/* end confdefs.h. */
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));}
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
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
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"
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
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
9847 +( exit $ac_status )
9848 +ac_cv_have_space_d_name_in_struct_dirent="no"
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
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
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
9866 # Check whether user wants S/Key support
9867 @@ -6398,23 +7994,29 @@
9868 LDFLAGS="$LDFLAGS -L${withval}/lib"
9871 - cat >>confdefs.h <<\EOF
9872 + cat >>confdefs.h <<\_ACEOF
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; }; }
9892 cat >conftest.$ac_ext <<_ACEOF
9893 -#line 6416 "configure"
9894 -#include "confdefs.h"
9895 +#line $LINENO "configure"
9898 +cat confdefs.h >>conftest.$ac_ext
9899 +cat >>conftest.$ac_ext <<_ACEOF
9900 +/* end confdefs.h. */
9904 @@ -6422,34 +8024,37 @@
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
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
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
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
9931 - echo "$as_me:6442: result: no" >&5
9932 +( exit $ac_status )
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; }; }
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
9950 # Check whether user wants TCP wrappers support
9951 @@ -6485,11 +8090,15 @@
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"
9964 +cat confdefs.h >>conftest.$ac_ext
9965 +cat >>conftest.$ac_ext <<_ACEOF
9966 +/* end confdefs.h. */
9969 int deny_severity = 0, allow_severity = 0;
9970 @@ -6503,41 +8112,119 @@
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
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
9986 - echo "$as_me:6515: \$? = $ac_status" >&5
9987 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then
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
10003 echo "$as_me: failed program was:" >&5
10004 -cat conftest.$ac_ext >&5
10005 +sed 's/^/| /' conftest.$ac_ext >&5
10007 - { { echo "$as_me:6530: error: *** libwrap missing" >&5
10009 + { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
10010 echo "$as_me: error: *** libwrap missing" >&2;}
10011 { (exit 1); exit 1; }; }
10015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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 @@
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
10109 cat >conftest.$ac_ext <<_ACEOF
10110 -#line 6563 "configure"
10111 -#include "confdefs.h"
10112 +#line $LINENO "configure"
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. */
10125 +# include <limits.h>
10127 +# include <assert.h>
10129 /* Override any gcc2 internal prototype to avoid an error. */
10134 /* We use char because int might match the return type of a gcc2
10135 builtin and then its argument prototype would still apply. */
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)
10149 +char (*f) () = $ac_func;
10151 +#ifdef __cplusplus
10158 +return f != $ac_func;
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
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
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"
10181 echo "$as_me: failed program was:" >&5
10182 -cat conftest.$ac_ext >&5
10183 +sed 's/^/| /' conftest.$ac_ext >&5
10185 eval "$as_ac_var=no"
10187 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
10203 # IRIX has a const char return value for gai_strerror()
10205 for ac_func in gai_strerror
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
10214 cat >conftest.$ac_ext <<_ACEOF
10215 -#line 6634 "configure"
10216 -#include "confdefs.h"
10217 +#line $LINENO "configure"
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. */
10230 +# include <limits.h>
10232 +# include <assert.h>
10234 /* Override any gcc2 internal prototype to avoid an error. */
10239 /* We use char because int might match the return type of a gcc2
10240 builtin and then its argument prototype would still apply. */
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)
10254 +char (*f) () = $ac_func;
10256 +#ifdef __cplusplus
10263 +return f != $ac_func;
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
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
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"
10286 echo "$as_me: failed program was:" >&5
10287 -cat conftest.$ac_ext >&5
10288 +sed 's/^/| /' conftest.$ac_ext >&5
10290 eval "$as_ac_var=no"
10292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
10304 - cat >>confdefs.h <<\EOF
10305 + cat >>confdefs.h <<\_ACEOF
10306 #define HAVE_GAI_STRERROR 1
10310 cat >conftest.$ac_ext <<_ACEOF
10311 -#line 6696 "configure"
10312 -#include "confdefs.h"
10313 +#line $LINENO "configure"
10316 +cat confdefs.h >>conftest.$ac_ext
10317 +cat >>conftest.$ac_ext <<_ACEOF
10318 +/* end confdefs.h. */
10320 #include <sys/types.h>
10321 #include <sys/socket.h>
10322 @@ -6713,31 +8433,34 @@
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
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
10338 - echo "$as_me:6725: \$? = $ac_status" >&5
10339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10342 -cat >>confdefs.h <<\EOF
10344 +cat >>confdefs.h <<\_ACEOF
10345 #define HAVE_CONST_GAI_STRERROR_PROTO 1
10350 echo "$as_me: failed program was:" >&5
10351 -cat conftest.$ac_ext >&5
10352 +sed 's/^/| /' conftest.$ac_ext >&5
10355 rm -f conftest.$ac_objext conftest.$ac_ext
10359 -echo "$as_me:6740: checking for library containing nanosleep" >&5
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"
10374 +cat confdefs.h >>conftest.$ac_ext
10375 +cat >>conftest.$ac_ext <<_ACEOF
10376 +/* end confdefs.h. */
10378 /* Override any gcc2 internal prototype to avoid an error. */
10380 @@ -6764,29 +8491,34 @@
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
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
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"
10401 echo "$as_me: failed program was:" >&5
10402 -cat conftest.$ac_ext >&5
10403 +sed 's/^/| /' conftest.$ac_ext >&5
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"
10416 +cat confdefs.h >>conftest.$ac_ext
10417 +cat >>conftest.$ac_ext <<_ACEOF
10418 +/* end confdefs.h. */
10420 /* Override any gcc2 internal prototype to avoid an error. */
10422 @@ -6804,231 +8536,52 @@
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
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
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"
10444 echo "$as_me: failed program was:" >&5
10445 -cat conftest.$ac_ext >&5
10446 +sed 's/^/| /' conftest.$ac_ext >&5
10449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_func_search_save_LIBS
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
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
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>
10480 -if { (eval echo "$as_me:6853: \"$ac_cpp conftest.$ac_ext\"") >&5
10481 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
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
10496 -if test -z "$ac_cpp_err"; then
10497 - ac_cv_header_stdc=yes
10499 - echo "$as_me: failed program was:" >&5
10500 - cat conftest.$ac_ext >&5
10501 - ac_cv_header_stdc=no
10503 -rm -f conftest.err conftest.$ac_ext
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>
10513 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10514 - egrep "memchr" >/dev/null 2>&1; then
10517 - ac_cv_header_stdc=no
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>
10531 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10532 - egrep "free" >/dev/null 2>&1; then
10535 - ac_cv_header_stdc=no
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
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))
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))
10560 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10565 - for (i = 0; i < 256; i++)
10566 - if (XOR (islower (i), ISLOWER (i))
10567 - || toupper (i) != TOUPPER (i))
10572 -rm -f conftest$ac_exeext
10573 -if { (eval echo "$as_me:6946: \"$ac_link\"") >&5
10574 - (eval $ac_link) 2>&5
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
10581 - echo "$as_me:6954: \$? = $ac_status" >&5
10582 - (exit $ac_status); }; }; then
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
10590 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
10598 -cat >>confdefs.h <<\EOF
10599 -#define STDC_HEADERS 1
10604 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
10615 - cat >conftest.$ac_ext <<_ACEOF
10616 -#line 6989 "configure"
10617 -#include "confdefs.h"
10618 -$ac_includes_default
10619 -#include <$ac_header>
10621 -rm -f conftest.$ac_objext
10622 -if { (eval echo "$as_me:6995: \"$ac_compile\"") >&5
10623 - (eval $ac_compile) 2>&5
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
10631 - echo "$as_me:7004: \$? = $ac_status" >&5
10632 - (exit $ac_status); }; }; then
10633 - eval "$as_ac_Header=yes"
10635 - echo "$as_me: failed program was:" >&5
10636 -cat conftest.$ac_ext >&5
10637 -eval "$as_ac_Header=no"
10639 -rm -f conftest.$ac_objext conftest.$ac_ext
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
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
10657 cat >conftest.$ac_ext <<_ACEOF
10658 -#line 7030 "configure"
10659 -#include "confdefs.h"
10660 +#line $LINENO "configure"
10663 +cat confdefs.h >>conftest.$ac_ext
10664 +cat >>conftest.$ac_ext <<_ACEOF
10665 +/* end confdefs.h. */
10666 $ac_includes_default
10669 @@ -7042,108 +8595,127 @@
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
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
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
10690 echo "$as_me: failed program was:" >&5
10691 -cat conftest.$ac_ext >&5
10692 +sed 's/^/| /' conftest.$ac_ext >&5
10694 ac_cv_have_decl_strsep=no
10696 rm -f conftest.$ac_objext conftest.$ac_ext
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
10703 for ac_func in strsep
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
10712 cat >conftest.$ac_ext <<_ACEOF
10713 -#line 7077 "configure"
10714 -#include "confdefs.h"
10715 +#line $LINENO "configure"
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. */
10728 +# include <limits.h>
10730 +# include <assert.h>
10732 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
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)
10752 +char (*f) () = $ac_func;
10754 +#ifdef __cplusplus
10761 +return f != $ac_func;
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
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
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"
10784 echo "$as_me: failed program was:" >&5
10785 -cat conftest.$ac_ext >&5
10786 +sed 's/^/| /' conftest.$ac_ext >&5
10788 eval "$as_ac_var=no"
10790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
10813 cat >conftest.$ac_ext <<_ACEOF
10814 -#line 7145 "configure"
10815 -#include "confdefs.h"
10816 +#line $LINENO "configure"
10819 +cat confdefs.h >>conftest.$ac_ext
10820 +cat >>conftest.$ac_ext <<_ACEOF
10821 +/* end confdefs.h. */
10822 $ac_includes_default
10825 @@ -7157,110 +8729,131 @@
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
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
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
10846 echo "$as_me: failed program was:" >&5
10847 -cat conftest.$ac_ext >&5
10848 +sed 's/^/| /' conftest.$ac_ext >&5
10850 ac_cv_have_decl_getrusage=no
10852 rm -f conftest.$ac_objext conftest.$ac_ext
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
10859 for ac_func in getrusage
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
10868 cat >conftest.$ac_ext <<_ACEOF
10869 -#line 7192 "configure"
10870 -#include "confdefs.h"
10871 +#line $LINENO "configure"
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. */
10884 +# include <limits.h>
10886 +# include <assert.h>
10888 /* Override any gcc2 internal prototype to avoid an error. */
10893 /* We use char because int might match the return type of a gcc2
10894 builtin and then its argument prototype would still apply. */
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)
10908 +char (*f) () = $ac_func;
10910 +#ifdef __cplusplus
10917 +return f != $ac_func;
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
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
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"
10940 echo "$as_me: failed program was:" >&5
10941 -cat conftest.$ac_ext >&5
10942 +sed 's/^/| /' conftest.$ac_ext >&5
10944 eval "$as_ac_var=no"
10946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
10963 -echo "$as_me:7254: checking whether tcsendbreak is declared" >&5
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
10970 cat >conftest.$ac_ext <<_ACEOF
10971 -#line 7260 "configure"
10972 -#include "confdefs.h"
10973 +#line $LINENO "configure"
10976 +cat confdefs.h >>conftest.$ac_ext
10977 +cat >>conftest.$ac_ext <<_ACEOF
10978 +/* end confdefs.h. */
10979 #include <termios.h>
10985 @@ -7273,515 +8866,632 @@
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
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
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
11006 echo "$as_me: failed program was:" >&5
11007 -cat conftest.$ac_ext >&5
11008 +sed 's/^/| /' conftest.$ac_ext >&5
11010 ac_cv_have_decl_tcsendbreak=no
11012 rm -f conftest.$ac_objext conftest.$ac_ext
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
11026 for ac_func in tcsendbreak
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
11035 cat >conftest.$ac_ext <<_ACEOF
11036 -#line 7313 "configure"
11037 -#include "confdefs.h"
11038 +#line $LINENO "configure"
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. */
11051 +# include <limits.h>
11053 +# include <assert.h>
11055 /* Override any gcc2 internal prototype to avoid an error. */
11060 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */
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)
11075 +char (*f) () = $ac_func;
11077 +#ifdef __cplusplus
11084 +return f != $ac_func;
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
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
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"
11107 echo "$as_me: failed program was:" >&5
11108 -cat conftest.$ac_ext >&5
11109 +sed 's/^/| /' conftest.$ac_ext >&5
11111 eval "$as_ac_var=no"
11113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11133 for ac_func in gettimeofday time
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
11142 cat >conftest.$ac_ext <<_ACEOF
11143 -#line 7384 "configure"
11144 -#include "confdefs.h"
11145 +#line $LINENO "configure"
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. */
11158 +# include <limits.h>
11160 +# include <assert.h>
11162 /* Override any gcc2 internal prototype to avoid an error. */
11167 /* We use char because int might match the return type of a gcc2
11168 builtin and then its argument prototype would still apply. */
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)
11182 +char (*f) () = $ac_func;
11184 +#ifdef __cplusplus
11191 +return f != $ac_func;
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
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
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"
11214 echo "$as_me: failed program was:" >&5
11215 -cat conftest.$ac_ext >&5
11216 +sed 's/^/| /' conftest.$ac_ext >&5
11218 eval "$as_ac_var=no"
11220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11241 for ac_func in endutent getutent getutid getutline pututline setutent
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
11250 cat >conftest.$ac_ext <<_ACEOF
11251 -#line 7453 "configure"
11252 -#include "confdefs.h"
11253 +#line $LINENO "configure"
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. */
11266 +# include <limits.h>
11268 +# include <assert.h>
11270 /* Override any gcc2 internal prototype to avoid an error. */
11275 /* We use char because int might match the return type of a gcc2
11276 builtin and then its argument prototype would still apply. */
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)
11290 +char (*f) () = $ac_func;
11292 +#ifdef __cplusplus
11299 +return f != $ac_func;
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
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
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"
11322 echo "$as_me: failed program was:" >&5
11323 -cat conftest.$ac_ext >&5
11324 +sed 's/^/| /' conftest.$ac_ext >&5
11326 eval "$as_ac_var=no"
11328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11344 for ac_func in utmpname
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
11353 cat >conftest.$ac_ext <<_ACEOF
11354 -#line 7522 "configure"
11355 -#include "confdefs.h"
11356 +#line $LINENO "configure"
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. */
11369 +# include <limits.h>
11371 +# include <assert.h>
11373 /* Override any gcc2 internal prototype to avoid an error. */
11378 /* We use char because int might match the return type of a gcc2
11379 builtin and then its argument prototype would still apply. */
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)
11393 +char (*f) () = $ac_func;
11395 +#ifdef __cplusplus
11402 +return f != $ac_func;
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
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
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"
11425 echo "$as_me: failed program was:" >&5
11426 -cat conftest.$ac_ext >&5
11427 +sed 's/^/| /' conftest.$ac_ext >&5
11429 eval "$as_ac_var=no"
11431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11451 for ac_func in endutxent getutxent getutxid getutxline pututxline
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
11460 cat >conftest.$ac_ext <<_ACEOF
11461 -#line 7591 "configure"
11462 -#include "confdefs.h"
11463 +#line $LINENO "configure"
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. */
11476 +# include <limits.h>
11478 +# include <assert.h>
11480 /* Override any gcc2 internal prototype to avoid an error. */
11485 /* We use char because int might match the return type of a gcc2
11486 builtin and then its argument prototype would still apply. */
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)
11500 +char (*f) () = $ac_func;
11502 +#ifdef __cplusplus
11509 +return f != $ac_func;
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
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
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"
11532 echo "$as_me: failed program was:" >&5
11533 -cat conftest.$ac_ext >&5
11534 +sed 's/^/| /' conftest.$ac_ext >&5
11536 eval "$as_ac_var=no"
11538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11555 for ac_func in setutxent utmpxname
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
11564 cat >conftest.$ac_ext <<_ACEOF
11565 -#line 7660 "configure"
11566 -#include "confdefs.h"
11567 +#line $LINENO "configure"
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. */
11580 +# include <limits.h>
11582 +# include <assert.h>
11584 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
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)
11604 +char (*f) () = $ac_func;
11606 +#ifdef __cplusplus
11613 +return f != $ac_func;
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
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
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"
11636 echo "$as_me: failed program was:" >&5
11637 -cat conftest.$ac_ext >&5
11638 +sed 's/^/| /' conftest.$ac_ext >&5
11640 eval "$as_ac_var=no"
11642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
11657 -echo "$as_me:7720: checking for daemon" >&5
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
11664 cat >conftest.$ac_ext <<_ACEOF
11665 -#line 7726 "configure"
11666 -#include "confdefs.h"
11667 +#line $LINENO "configure"
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. */
11680 +# include <limits.h>
11682 +# include <assert.h>
11684 /* Override any gcc2 internal prototype to avoid an error. */
11689 /* We use char because int might match the return type of a gcc2
11690 builtin and then its argument prototype would still apply. */
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)
11704 +char (*f) () = daemon;
11706 +#ifdef __cplusplus
11713 +return f != daemon;
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
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
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
11736 echo "$as_me: failed program was:" >&5
11737 -cat conftest.$ac_ext >&5
11738 +sed 's/^/| /' conftest.$ac_ext >&5
11740 ac_cv_func_daemon=no
11742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
11763 cat >conftest.$ac_ext <<_ACEOF
11764 -#line 7792 "configure"
11765 -#include "confdefs.h"
11766 +#line $LINENO "configure"
11769 +cat confdefs.h >>conftest.$ac_ext
11770 +cat >>conftest.$ac_ext <<_ACEOF
11771 +/* end confdefs.h. */
11773 /* Override any gcc2 internal prototype to avoid an error. */
11775 @@ -7808,102 +9522,119 @@
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
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
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
11796 echo "$as_me: failed program was:" >&5
11797 -cat conftest.$ac_ext >&5
11798 +sed 's/^/| /' conftest.$ac_ext >&5
11800 ac_cv_lib_bsd_daemon=no
11802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11803 LIBS=$ac_check_lib_save_LIBS
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
11820 -echo "$as_me:7842: checking for getpagesize" >&5
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
11827 cat >conftest.$ac_ext <<_ACEOF
11828 -#line 7848 "configure"
11829 -#include "confdefs.h"
11830 +#line $LINENO "configure"
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. */
11843 +# include <limits.h>
11845 +# include <assert.h>
11847 /* Override any gcc2 internal prototype to avoid an error. */
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 ();
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)
11867 +char (*f) () = getpagesize;
11869 +#ifdef __cplusplus
11876 +return f != getpagesize;
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
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
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
11899 echo "$as_me: failed program was:" >&5
11900 -cat conftest.$ac_ext >&5
11901 +sed 's/^/| /' conftest.$ac_ext >&5
11903 ac_cv_func_getpagesize=no
11905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
11926 cat >conftest.$ac_ext <<_ACEOF
11927 -#line 7914 "configure"
11928 -#include "confdefs.h"
11929 +#line $LINENO "configure"
11932 +cat confdefs.h >>conftest.$ac_ext
11933 +cat >>conftest.$ac_ext <<_ACEOF
11934 +/* end confdefs.h. */
11936 /* Override any gcc2 internal prototype to avoid an error. */
11938 @@ -7930,101 +9665,125 @@
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
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
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
11959 echo "$as_me: failed program was:" >&5
11960 -cat conftest.$ac_ext >&5
11961 +sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_cv_lib_ucb_getpagesize=no
11965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
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
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
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; }; }
12002 cat >conftest.$ac_ext <<_ACEOF
12003 -#line 7974 "configure"
12004 -#include "confdefs.h"
12005 +#line $LINENO "configure"
12008 +cat confdefs.h >>conftest.$ac_ext
12009 +cat >>conftest.$ac_ext <<_ACEOF
12010 +/* end confdefs.h. */
12013 int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
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
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
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"
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
12040 - echo "$as_me:7999: result: no" >&5
12041 -echo "${ECHO_T}no" >&6
12042 - cat >>confdefs.h <<\EOF
12043 -#define BROKEN_SNPRINTF 1
12045 +( exit $ac_status )
12046 + ac_cv_have_broken_snprintf="yes"
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;}
12051 +rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
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
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;}
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
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
12086 cat >conftest.$ac_ext <<_ACEOF
12087 -#line 8026 "configure"
12088 -#include "confdefs.h"
12089 +#line $LINENO "configure"
12092 +cat confdefs.h >>conftest.$ac_ext
12093 +cat >>conftest.$ac_ext <<_ACEOF
12094 +/* end confdefs.h. */
12096 #include <stdlib.h>
12097 main() { char template[]="conftest.mkstemp-test";
12098 @@ -8035,47 +9794,60 @@
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
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
12113 - echo "$as_me:8046: \$? = $ac_status" >&5
12114 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12117 - echo "$as_me:8049: result: no" >&5
12118 + echo "$as_me:$LINENO: result: no" >&5
12119 echo "${ECHO_T}no" >&6
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
12127 - echo "$as_me:8057: result: yes" >&5
12128 +( exit $ac_status )
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
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
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
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; }; }
12163 cat >conftest.$ac_ext <<_ACEOF
12164 -#line 8077 "configure"
12165 -#include "confdefs.h"
12166 +#line $LINENO "configure"
12169 +cat confdefs.h >>conftest.$ac_ext
12170 +cat >>conftest.$ac_ext <<_ACEOF
12171 +/* end confdefs.h. */
12174 #include <sys/fcntl.h>
12175 @@ -8111,201 +9883,95 @@
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
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
12190 - echo "$as_me:8122: \$? = $ac_status" >&5
12191 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; }; then
12194 - echo "$as_me:8125: result: yes" >&5
12195 -echo "${ECHO_T}yes" >&6
12197 + ac_cv_have_openpty_ctty_bug="no"
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
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
12209 +( exit $ac_status )
12210 + ac_cv_have_openpty_ctty_bug="yes"
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
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
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
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
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
12247 +#line $LINENO "configure"
12250 -rm -f conftest.$ac_objext
12251 -if { (eval echo "$as_me:8163: \"$ac_compile\"") >&5
12252 - (eval $ac_compile) 2>&5
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
12260 - echo "$as_me:8172: \$? = $ac_status" >&5
12261 - (exit $ac_status); }; }; then
12262 - ac_func_getpgrp_1=yes
12264 - echo "$as_me: failed program was:" >&5
12265 -cat conftest.$ac_ext >&5
12266 -ac_func_getpgrp_1=no
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
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
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
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
12305 echo "$as_me: failed program was:" >&5
12306 -cat conftest.$ac_ext >&5
12307 -ac_func_getpgrp_0=no
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; }; }
12319 - cat >conftest.$ac_ext <<_ACEOF
12320 -#line 8223 "configure"
12321 -#include "confdefs.h"
12322 -$ac_includes_default
12325 - * If this system has a BSD-style getpgrp(),
12326 - * which takes a pid argument, exit unsuccessfully.
12328 - * Snarfed from Chet Ramey's bash pgrp.c test program
12332 -int pg1, pg2, pg3, pg4;
12333 -int ng, np, s, child;
12339 - pg1 = getpgrp (0);
12340 - pg2 = getpgrp ();
12341 - pg3 = getpgrp (pid);
12342 - pg4 = getpgrp (1);
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)
12352 - else if (child == 0)
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
12358 - setpgrp (np, pg1);
12359 - ng = getpgrp (0); /* Same result for Sys V and BSD */
12371 +sed 's/^/| /' conftest.$ac_ext >&5
12374 -rm -f conftest$ac_exeext
12375 -if { (eval echo "$as_me:8277: \"$ac_link\"") >&5
12376 - (eval $ac_link) 2>&5
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
12383 - echo "$as_me:8285: \$? = $ac_status" >&5
12384 - (exit $ac_status); }; }; then
12385 - ac_cv_func_getpgrp_void=yes
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
12393 -rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12395 -esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
12396 +rm -f conftest.$ac_objext conftest.$ac_ext
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
12404 -cat >>confdefs.h <<\EOF
12405 +cat >>confdefs.h <<\_ACEOF
12406 #define GETPGRP_VOID 1
12413 # Check for PAM libs
12416 @@ -8315,12 +9981,13 @@
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; }; }
12426 -echo "$as_me:8323: checking for dlopen in -ldl" >&5
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
12435 cat >conftest.$ac_ext <<_ACEOF
12436 -#line 8331 "configure"
12437 -#include "confdefs.h"
12438 +#line $LINENO "configure"
12441 +cat confdefs.h >>conftest.$ac_ext
12442 +cat >>conftest.$ac_ext <<_ACEOF
12443 +/* end confdefs.h. */
12445 /* Override any gcc2 internal prototype to avoid an error. */
12447 @@ -8347,38 +10018,40 @@
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
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
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
12468 echo "$as_me: failed program was:" >&5
12469 -cat conftest.$ac_ext >&5
12470 +sed 's/^/| /' conftest.$ac_ext >&5
12472 ac_cv_lib_dl_dlopen=no
12474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_lib_save_LIBS
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
12491 -echo "$as_me:8381: checking for pam_set_item in -lpam" >&5
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
12500 cat >conftest.$ac_ext <<_ACEOF
12501 -#line 8389 "configure"
12502 -#include "confdefs.h"
12503 +#line $LINENO "configure"
12506 +cat confdefs.h >>conftest.$ac_ext
12507 +cat >>conftest.$ac_ext <<_ACEOF
12508 +/* end confdefs.h. */
12510 /* Override any gcc2 internal prototype to avoid an error. */
12512 @@ -8405,185 +10082,217 @@
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
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
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
12533 echo "$as_me: failed program was:" >&5
12534 -cat conftest.$ac_ext >&5
12535 +sed 's/^/| /' conftest.$ac_ext >&5
12537 ac_cv_lib_pam_pam_set_item=no
12539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12540 LIBS=$ac_check_lib_save_LIBS
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
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; }; }
12562 for ac_func in pam_getenvlist
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
12571 cat >conftest.$ac_ext <<_ACEOF
12572 -#line 8452 "configure"
12573 -#include "confdefs.h"
12574 +#line $LINENO "configure"
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. */
12587 +# include <limits.h>
12589 +# include <assert.h>
12591 /* Override any gcc2 internal prototype to avoid an error. */
12596 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */
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)
12611 +char (*f) () = $ac_func;
12613 +#ifdef __cplusplus
12620 +return f != $ac_func;
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
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
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"
12643 echo "$as_me: failed program was:" >&5
12644 -cat conftest.$ac_ext >&5
12645 +sed 's/^/| /' conftest.$ac_ext >&5
12647 eval "$as_ac_var=no"
12649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
12665 for ac_func in pam_putenv
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
12674 cat >conftest.$ac_ext <<_ACEOF
12675 -#line 8521 "configure"
12676 -#include "confdefs.h"
12677 +#line $LINENO "configure"
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. */
12690 +# include <limits.h>
12692 +# include <assert.h>
12694 /* Override any gcc2 internal prototype to avoid an error. */
12699 /* We use char because int might match the return type of a gcc2
12700 builtin and then its argument prototype would still apply. */
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)
12714 +char (*f) () = $ac_func;
12716 +#ifdef __cplusplus
12723 +return f != $ac_func;
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
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
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"
12746 echo "$as_me: failed program was:" >&5
12747 -cat conftest.$ac_ext >&5
12748 +sed 's/^/| /' conftest.$ac_ext >&5
12750 eval "$as_ac_var=no"
12752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
12771 - cat >>confdefs.h <<\EOF
12772 + cat >>confdefs.h <<\_ACEOF
12777 if test $ac_cv_lib_dl_dlopen = yes; then
12778 LIBPAM="-lpam -ldl"
12779 @@ -8593,16 +10302,21 @@
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"
12798 +cat confdefs.h >>conftest.$ac_ext
12799 +cat >>conftest.$ac_ext <<_ACEOF
12800 +/* end confdefs.h. */
12802 #include <stdlib.h>
12803 #include <security/pam_appl.h>
12804 @@ -8616,31 +10330,33 @@
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
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
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
12827 echo "$as_me: failed program was:" >&5
12828 -cat conftest.$ac_ext >&5
12829 +sed 's/^/| /' conftest.$ac_ext >&5
12831 - cat >>confdefs.h <<\EOF
12833 + cat >>confdefs.h <<\_ACEOF
12834 #define HAVE_OLD_PAM 1
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)"
12845 rm -f conftest.$ac_objext conftest.$ac_ext
12847 @@ -8649,7 +10365,7 @@
12848 # because the system crypt() is more featureful.
12849 if test "x$check_for_libcrypt_before" = "x1"; then
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"
12865 +cat confdefs.h >>conftest.$ac_ext
12866 +cat >>conftest.$ac_ext <<_ACEOF
12867 +/* end confdefs.h. */
12869 /* Override any gcc2 internal prototype to avoid an error. */
12871 @@ -8676,32 +10396,33 @@
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
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
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
12892 echo "$as_me: failed program was:" >&5
12893 -cat conftest.$ac_ext >&5
12894 +sed 's/^/| /' conftest.$ac_ext >&5
12896 ac_cv_lib_crypt_crypt=no
12898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_lib_save_LIBS
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
12911 LIBS="-lcrypt $LIBS"
12913 @@ -8738,11 +10459,16 @@
12919 LIBS="$LIBS -lcrypto"
12920 cat >conftest.$ac_ext <<_ACEOF
12921 -#line 8744 "configure"
12922 -#include "confdefs.h"
12923 +#line $LINENO "configure"
12926 +cat confdefs.h >>conftest.$ac_ext
12927 +cat >>conftest.$ac_ext <<_ACEOF
12928 +/* end confdefs.h. */
12930 /* Override any gcc2 internal prototype to avoid an error. */
12932 @@ -8760,24 +10486,25 @@
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
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
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
12958 echo "$as_me: failed program was:" >&5
12959 -cat conftest.$ac_ext >&5
12960 +sed 's/^/| /' conftest.$ac_ext >&5
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 @@
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"
12974 +cat confdefs.h >>conftest.$ac_ext
12975 +cat >>conftest.$ac_ext <<_ACEOF
12976 +/* end confdefs.h. */
12978 /* Override any gcc2 internal prototype to avoid an error. */
12980 @@ -8805,46 +10536,57 @@
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
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
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
13006 echo "$as_me: failed program was:" >&5
13007 -cat conftest.$ac_ext >&5
13008 +sed 's/^/| /' conftest.$ac_ext >&5
13010 - { { echo "$as_me:8827: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
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; }; }
13018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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; }; }
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;}
13040 cat >conftest.$ac_ext <<_ACEOF
13041 -#line 8846 "configure"
13042 -#include "confdefs.h"
13043 +#line $LINENO "configure"
13046 +cat confdefs.h >>conftest.$ac_ext
13047 +cat >>conftest.$ac_ext <<_ACEOF
13048 +/* end confdefs.h. */
13051 #include <string.h>
13052 @@ -8866,47 +10608,57 @@
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
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
13067 - echo "$as_me:8877: \$? = $ac_status" >&5
13068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
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
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
13082 - echo "$as_me:8889: result: not found" >&5
13083 +( exit $ac_status )
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; }; }
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
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; }; }
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;}
13113 cat >conftest.$ac_ext <<_ACEOF
13114 -#line 8908 "configure"
13115 -#include "confdefs.h"
13116 +#line $LINENO "configure"
13119 +cat confdefs.h >>conftest.$ac_ext
13120 +cat >>conftest.$ac_ext <<_ACEOF
13121 +/* end confdefs.h. */
13124 #include <string.h>
13125 @@ -8929,47 +10681,57 @@
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
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
13140 - echo "$as_me:8940: \$? = $ac_status" >&5
13141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
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
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
13155 - echo "$as_me:8952: result: not found" >&5
13156 +( exit $ac_status )
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; }; }
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
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; }; }
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;}
13186 cat >conftest.$ac_ext <<_ACEOF
13187 -#line 8971 "configure"
13188 -#include "confdefs.h"
13189 +#line $LINENO "configure"
13192 +cat confdefs.h >>conftest.$ac_ext
13193 +cat >>conftest.$ac_ext <<_ACEOF
13194 +/* end confdefs.h. */
13196 #include <string.h>
13197 #include <openssl/opensslv.h>
13198 @@ -8977,28 +10739,30 @@
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
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
13213 - echo "$as_me:8988: \$? = $ac_status" >&5
13214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; }; then
13217 - echo "$as_me:8991: result: yes" >&5
13218 + echo "$as_me:$LINENO: result: yes" >&5
13219 echo "${ECHO_T}yes" >&6
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
13227 - echo "$as_me:8999: result: no" >&5
13228 +( exit $ac_status )
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; }; }
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
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"
13262 +cat confdefs.h >>conftest.$ac_ext
13263 +cat >>conftest.$ac_ext <<_ACEOF
13264 +/* end confdefs.h. */
13266 /* Override any gcc2 internal prototype to avoid an error. */
13268 @@ -9040,27 +10808,28 @@
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
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
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
13289 echo "$as_me: failed program was:" >&5
13290 -cat conftest.$ac_ext >&5
13291 +sed 's/^/| /' conftest.$ac_ext >&5
13293 ac_cv_lib_crypt_crypt=no
13295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
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 @@
13305 ### Configure cryptographic random number support
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?
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"
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=""
13325 + USE_RAND_HELPER=yes
13329 + # Check whether OpenSSL seeds itself
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; }; }
13343 cat >conftest.$ac_ext <<_ACEOF
13344 -#line 9082 "configure"
13345 -#include "confdefs.h"
13346 +#line $LINENO "configure"
13349 +cat confdefs.h >>conftest.$ac_ext
13350 +cat >>conftest.$ac_ext <<_ACEOF
13351 +/* end confdefs.h. */
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); }
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
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
13373 - echo "$as_me:9099: \$? = $ac_status" >&5
13374 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; }; then
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
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
13389 - echo "$as_me:9111: result: no" >&5
13390 +( exit $ac_status )
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
13396 - USE_RAND_HELPER=yes
13397 + # Default to use of the rand helper if OpenSSL doesn't
13399 + USE_RAND_HELPER=yes
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
13407 -# Do we want to force the use of the rand helper?
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"
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=""
13423 - USE_RAND_HELPER=yes
13428 # Which randomness source do we use?
13429 if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
13431 - cat >>confdefs.h <<\EOF
13432 + cat >>confdefs.h <<\_ACEOF
13433 #define OPENSSL_PRNG_ONLY 1
13437 RAND_MSG="OpenSSL internal ONLY"
13438 INSTALL_SSH_RAND_HELPER=""
13439 @@ -9154,6 +10935,7 @@
13440 INSTALL_SSH_RAND_HELPER="yes"
13444 ### Configuration of ssh-rand-helper
13447 @@ -9169,19 +10951,20 @@
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; }; }
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
13470 # PRNGD Unix domain socket
13471 @@ -9200,7 +10983,7 @@
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; }; }
13480 @@ -9208,18 +10991,18 @@
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; }; }
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;}
13494 PRNGD_SOCKET="$withval"
13495 - cat >>confdefs.h <<EOF
13496 + cat >>confdefs.h <<_ACEOF
13497 #define PRNGD_SOCKET "$PRNGD_SOCKET"
13503 @@ -9227,28 +11010,29 @@
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"
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
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
13537 # Change default command timeout for hashing entropy source
13538 @@ -9262,10 +11046,12 @@
13539 entropy_timeout=$withval
13544 -cat >>confdefs.h <<EOF
13545 +cat >>confdefs.h <<_ACEOF
13546 #define ENTROPY_TIMEOUT_MSEC $entropy_timeout
13551 SSH_PRIVSEP_USER=sshd
13553 @@ -9277,10 +11063,13 @@
13554 SSH_PRIVSEP_USER=$withval
13559 -cat >>confdefs.h <<EOF
13560 +cat >>confdefs.h <<_ACEOF
13561 #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
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 @@
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.
13582 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13584 -for ac_dir in $ac_dummy; do
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
13592 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13593 +for as_dir in $PATH
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
13607 @@ -9328,10 +11119,10 @@
13608 PROG_LS=$ac_cv_path_PROG_LS
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
13615 - echo "$as_me:9334: result: no" >&5
13616 + echo "$as_me:$LINENO: result: no" >&5
13617 echo "${ECHO_T}no" >&6
13620 @@ -9339,9 +11130,11 @@
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.
13637 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13639 -for ac_dir in $ac_dummy; do
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
13647 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13648 +for as_dir in $PATH
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
13662 @@ -9369,10 +11164,10 @@
13663 PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
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
13670 - echo "$as_me:9375: result: no" >&5
13671 + echo "$as_me:$LINENO: result: no" >&5
13672 echo "${ECHO_T}no" >&6
13675 @@ -9380,9 +11175,11 @@
13676 PROG_NETSTAT="undef"
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.
13692 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13694 -for ac_dir in $ac_dummy; do
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
13702 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13703 +for as_dir in $PATH
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
13717 @@ -9410,10 +11209,10 @@
13718 PROG_ARP=$ac_cv_path_PROG_ARP
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
13725 - echo "$as_me:9416: result: no" >&5
13726 + echo "$as_me:$LINENO: result: no" >&5
13727 echo "${ECHO_T}no" >&6
13730 @@ -9421,9 +11220,11 @@
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.
13747 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13749 -for ac_dir in $ac_dummy; do
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
13757 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13758 +for as_dir in $PATH
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
13772 @@ -9451,10 +11254,10 @@
13773 PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
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
13780 - echo "$as_me:9457: result: no" >&5
13781 + echo "$as_me:$LINENO: result: no" >&5
13782 echo "${ECHO_T}no" >&6
13785 @@ -9462,9 +11265,11 @@
13786 PROG_IFCONFIG="undef"
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.
13802 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13804 -for ac_dir in $ac_dummy; do
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
13812 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13813 +for as_dir in $PATH
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
13827 @@ -9492,10 +11299,10 @@
13828 PROG_JSTAT=$ac_cv_path_PROG_JSTAT
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
13835 - echo "$as_me:9498: result: no" >&5
13836 + echo "$as_me:$LINENO: result: no" >&5
13837 echo "${ECHO_T}no" >&6
13840 @@ -9503,9 +11310,11 @@
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.
13857 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13859 -for ac_dir in $ac_dummy; do
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
13867 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13868 +for as_dir in $PATH
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
13882 @@ -9533,10 +11344,10 @@
13883 PROG_PS=$ac_cv_path_PROG_PS
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
13890 - echo "$as_me:9539: result: no" >&5
13891 + echo "$as_me:$LINENO: result: no" >&5
13892 echo "${ECHO_T}no" >&6
13895 @@ -9544,9 +11355,11 @@
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.
13912 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13914 -for ac_dir in $ac_dummy; do
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
13922 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13923 +for as_dir in $PATH
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
13937 @@ -9574,10 +11389,10 @@
13938 PROG_SAR=$ac_cv_path_PROG_SAR
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
13945 - echo "$as_me:9580: result: no" >&5
13946 + echo "$as_me:$LINENO: result: no" >&5
13947 echo "${ECHO_T}no" >&6
13950 @@ -9585,9 +11400,11 @@
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.
13967 - ac_save_IFS=$IFS; IFS=$ac_path_separator
13969 -for ac_dir in $ac_dummy; do
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
13977 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 +for as_dir in $PATH
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
13992 @@ -9615,10 +11434,10 @@
13993 PROG_W=$ac_cv_path_PROG_W
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
14000 - echo "$as_me:9621: result: no" >&5
14001 + echo "$as_me:$LINENO: result: no" >&5
14002 echo "${ECHO_T}no" >&6
14005 @@ -9626,9 +11445,11 @@
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.
14022 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14024 -for ac_dir in $ac_dummy; do
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
14032 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 +for as_dir in $PATH
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
14047 @@ -9656,10 +11479,10 @@
14048 PROG_WHO=$ac_cv_path_PROG_WHO
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
14055 - echo "$as_me:9662: result: no" >&5
14056 + echo "$as_me:$LINENO: result: no" >&5
14057 echo "${ECHO_T}no" >&6
14060 @@ -9667,9 +11490,11 @@
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.
14077 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14079 -for ac_dir in $ac_dummy; do
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
14087 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 +for as_dir in $PATH
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
14102 @@ -9697,10 +11524,10 @@
14103 PROG_LAST=$ac_cv_path_PROG_LAST
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
14110 - echo "$as_me:9703: result: no" >&5
14111 + echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6
14115 @@ -9708,9 +11535,11 @@
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.
14132 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14134 -for ac_dir in $ac_dummy; do
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
14142 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 +for as_dir in $PATH
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
14157 @@ -9738,10 +11569,10 @@
14158 PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
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
14165 - echo "$as_me:9744: result: no" >&5
14166 + echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6
14170 @@ -9749,9 +11580,11 @@
14171 PROG_LASTLOG="undef"
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.
14187 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14189 -for ac_dir in $ac_dummy; do
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
14197 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14198 +for as_dir in $PATH
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
14212 @@ -9779,10 +11614,10 @@
14213 PROG_DF=$ac_cv_path_PROG_DF
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
14220 - echo "$as_me:9785: result: no" >&5
14221 + echo "$as_me:$LINENO: result: no" >&5
14222 echo "${ECHO_T}no" >&6
14225 @@ -9790,9 +11625,11 @@
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.
14242 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14244 -for ac_dir in $ac_dummy; do
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
14252 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14253 +for as_dir in $PATH
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
14267 @@ -9820,10 +11659,10 @@
14268 PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
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
14275 - echo "$as_me:9826: result: no" >&5
14276 + echo "$as_me:$LINENO: result: no" >&5
14277 echo "${ECHO_T}no" >&6
14280 @@ -9831,9 +11670,11 @@
14281 PROG_VMSTAT="undef"
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.
14297 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14299 -for ac_dir in $ac_dummy; do
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
14307 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14308 +for as_dir in $PATH
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
14322 @@ -9861,10 +11704,10 @@
14323 PROG_UPTIME=$ac_cv_path_PROG_UPTIME
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
14330 - echo "$as_me:9867: result: no" >&5
14331 + echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6
14335 @@ -9872,9 +11715,11 @@
14336 PROG_UPTIME="undef"
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.
14352 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14354 -for ac_dir in $ac_dummy; do
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
14362 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363 +for as_dir in $PATH
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
14377 @@ -9902,10 +11749,10 @@
14378 PROG_IPCS=$ac_cv_path_PROG_IPCS
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
14385 - echo "$as_me:9908: result: no" >&5
14386 + echo "$as_me:$LINENO: result: no" >&5
14387 echo "${ECHO_T}no" >&6
14390 @@ -9913,9 +11760,11 @@
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.
14407 - ac_save_IFS=$IFS; IFS=$ac_path_separator
14409 -for ac_dir in $ac_dummy; do
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
14417 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14418 +for as_dir in $PATH
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
14432 @@ -9943,10 +11794,10 @@
14433 PROG_TAIL=$ac_cv_path_PROG_TAIL
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
14440 - echo "$as_me:9949: result: no" >&5
14441 + echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6
14445 @@ -9954,6 +11805,7 @@
14453 @@ -9971,20 +11823,26 @@
14459 # Cheap hack to ensure NEWS-OS libraries are arranged right.
14460 if test ! -z "$SONY" ; then
14461 LIBS="$LIBS -liberty";
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
14471 cat >conftest.$ac_ext <<_ACEOF
14472 -#line 9986 "configure"
14473 -#include "confdefs.h"
14474 +#line $LINENO "configure"
14477 +cat confdefs.h >>conftest.$ac_ext
14478 +cat >>conftest.$ac_ext <<_ACEOF
14479 +/* end confdefs.h. */
14480 $ac_includes_default
14483 @@ -9998,209 +11856,328 @@
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
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
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
14504 echo "$as_me: failed program was:" >&5
14505 -cat conftest.$ac_ext >&5
14506 +sed 's/^/| /' conftest.$ac_ext >&5
14510 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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"
14535 +cat confdefs.h >>conftest.$ac_ext
14536 +cat >>conftest.$ac_ext <<_ACEOF
14537 +/* end confdefs.h. */
14538 $ac_includes_default
14542 -int _array_ [1 - 2 * !((sizeof (char)) >= 0)]
14543 +static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14544 +test_array [0] = 0
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
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
14563 - echo "$as_me:10053: \$? = $ac_status" >&5
14564 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14568 cat >conftest.$ac_ext <<_ACEOF
14569 -#line 10058 "configure"
14570 -#include "confdefs.h"
14571 +#line $LINENO "configure"
14574 +cat confdefs.h >>conftest.$ac_ext
14575 +cat >>conftest.$ac_ext <<_ACEOF
14576 +/* end confdefs.h. */
14577 $ac_includes_default
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
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
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
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
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
14612 +ac_lo=`expr $ac_mid + 1`
14613 + if test $ac_lo -le $ac_mid; then
14617 + ac_mid=`expr 2 '*' $ac_mid + 1`
14619 rm -f conftest.$ac_objext conftest.$ac_ext
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
14627 +cat >conftest.$ac_ext <<_ACEOF
14628 +#line $LINENO "configure"
14631 +cat confdefs.h >>conftest.$ac_ext
14632 +cat >>conftest.$ac_ext <<_ACEOF
14633 +/* end confdefs.h. */
14634 +$ac_includes_default
14638 +static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14639 +test_array [0] = 0
14645 +rm -f conftest.$ac_objext
14646 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14647 + (eval $ac_compile) 2>&5
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
14655 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 + (exit $ac_status); }; }; then
14657 + ac_hi=-1 ac_mid=-1
14659 cat >conftest.$ac_ext <<_ACEOF
14660 -#line 10095 "configure"
14661 -#include "confdefs.h"
14662 +#line $LINENO "configure"
14665 +cat confdefs.h >>conftest.$ac_ext
14666 +cat >>conftest.$ac_ext <<_ACEOF
14667 +/* end confdefs.h. */
14668 $ac_includes_default
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
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
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
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
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
14703 +ac_hi=`expr '(' $ac_mid ')' - 1`
14704 + if test $ac_mid -le $ac_hi; then
14708 + ac_mid=`expr 2 '*' $ac_mid`
14710 rm -f conftest.$ac_objext conftest.$ac_ext
14713 + echo "$as_me: failed program was:" >&5
14714 +sed 's/^/| /' conftest.$ac_ext >&5
14718 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
14730 +cat confdefs.h >>conftest.$ac_ext
14731 +cat >>conftest.$ac_ext <<_ACEOF
14732 +/* end confdefs.h. */
14733 $ac_includes_default
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
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
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
14758 - echo "$as_me:10153: \$? = $ac_status" >&5
14759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; }; then
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
14768 +ac_lo=`expr '(' $ac_mid ')' + 1`
14770 rm -f conftest.$ac_objext conftest.$ac_ext
14772 -ac_cv_sizeof_char=$ac_lo
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; }; } ;;
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; }; }
14791 cat >conftest.$ac_ext <<_ACEOF
14792 -#line 10171 "configure"
14793 -#include "confdefs.h"
14794 +#line $LINENO "configure"
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>
14808 -FILE *f = fopen ("conftest.val", "w");
14811 -fprintf (f, "%d", (sizeof (char)));
14814 + FILE *f = fopen ("conftest.val", "w");
14817 + if (((long) (sizeof (char))) < 0)
14819 + long i = longval ();
14820 + if (i != ((long) (sizeof (char))))
14822 + fprintf (f, "%ld\n", i);
14826 + unsigned long i = ulongval ();
14827 + if (i != ((long) (sizeof (char))))
14829 + fprintf (f, "%lu\n", i);
14831 + exit (ferror (f) || fclose (f) != 0);
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
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
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`
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
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; }; }
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
14871 @@ -10208,20 +12185,25 @@
14872 ac_cv_sizeof_char=0
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
14884 -echo "$as_me:10217: checking for short int" >&5
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
14891 cat >conftest.$ac_ext <<_ACEOF
14892 -#line 10223 "configure"
14893 -#include "confdefs.h"
14894 +#line $LINENO "configure"
14897 +cat confdefs.h >>conftest.$ac_ext
14898 +cat >>conftest.$ac_ext <<_ACEOF
14899 +/* end confdefs.h. */
14900 $ac_includes_default
14903 @@ -10235,209 +12217,328 @@
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
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
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
14924 echo "$as_me: failed program was:" >&5
14925 -cat conftest.$ac_ext >&5
14926 +sed 's/^/| /' conftest.$ac_ext >&5
14928 ac_cv_type_short_int=no
14930 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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"
14955 +cat confdefs.h >>conftest.$ac_ext
14956 +cat >>conftest.$ac_ext <<_ACEOF
14957 +/* end confdefs.h. */
14958 $ac_includes_default
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
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
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
14983 - echo "$as_me:10290: \$? = $ac_status" >&5
14984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14988 cat >conftest.$ac_ext <<_ACEOF
14989 -#line 10295 "configure"
14990 -#include "confdefs.h"
14991 +#line $LINENO "configure"
14994 +cat confdefs.h >>conftest.$ac_ext
14995 +cat >>conftest.$ac_ext <<_ACEOF
14996 +/* end confdefs.h. */
14997 $ac_includes_default
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
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
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
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
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
15032 +ac_lo=`expr $ac_mid + 1`
15033 + if test $ac_lo -le $ac_mid; then
15037 + ac_mid=`expr 2 '*' $ac_mid + 1`
15039 rm -f conftest.$ac_objext conftest.$ac_ext
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
15047 +cat >conftest.$ac_ext <<_ACEOF
15048 +#line $LINENO "configure"
15051 +cat confdefs.h >>conftest.$ac_ext
15052 +cat >>conftest.$ac_ext <<_ACEOF
15053 +/* end confdefs.h. */
15054 +$ac_includes_default
15058 +static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
15059 +test_array [0] = 0
15065 +rm -f conftest.$ac_objext
15066 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15067 + (eval $ac_compile) 2>&5
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
15075 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 + (exit $ac_status); }; }; then
15077 + ac_hi=-1 ac_mid=-1
15079 cat >conftest.$ac_ext <<_ACEOF
15080 -#line 10332 "configure"
15081 -#include "confdefs.h"
15082 +#line $LINENO "configure"
15085 +cat confdefs.h >>conftest.$ac_ext
15086 +cat >>conftest.$ac_ext <<_ACEOF
15087 +/* end confdefs.h. */
15088 $ac_includes_default
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
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
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
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
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
15123 +ac_hi=`expr '(' $ac_mid ')' - 1`
15124 + if test $ac_mid -le $ac_hi; then
15128 + ac_mid=`expr 2 '*' $ac_mid`
15130 rm -f conftest.$ac_objext conftest.$ac_ext
15133 + echo "$as_me: failed program was:" >&5
15134 +sed 's/^/| /' conftest.$ac_ext >&5
15138 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
15150 +cat confdefs.h >>conftest.$ac_ext
15151 +cat >>conftest.$ac_ext <<_ACEOF
15152 +/* end confdefs.h. */
15153 $ac_includes_default
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
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
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
15178 - echo "$as_me:10390: \$? = $ac_status" >&5
15179 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
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
15188 +ac_lo=`expr '(' $ac_mid ')' + 1`
15190 rm -f conftest.$ac_objext conftest.$ac_ext
15192 -ac_cv_sizeof_short_int=$ac_lo
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; }; } ;;
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; }; }
15211 cat >conftest.$ac_ext <<_ACEOF
15212 -#line 10408 "configure"
15213 -#include "confdefs.h"
15214 +#line $LINENO "configure"
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>
15228 -FILE *f = fopen ("conftest.val", "w");
15231 -fprintf (f, "%d", (sizeof (short int)));
15234 + FILE *f = fopen ("conftest.val", "w");
15237 + if (((long) (sizeof (short int))) < 0)
15239 + long i = longval ();
15240 + if (i != ((long) (sizeof (short int))))
15242 + fprintf (f, "%ld\n", i);
15246 + unsigned long i = ulongval ();
15247 + if (i != ((long) (sizeof (short int))))
15249 + fprintf (f, "%lu\n", i);
15251 + exit (ferror (f) || fclose (f) != 0);
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
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
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`
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
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; }; }
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
15291 @@ -10445,20 +12546,25 @@
15292 ac_cv_sizeof_short_int=0
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
15304 -echo "$as_me:10454: checking for int" >&5
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
15311 cat >conftest.$ac_ext <<_ACEOF
15312 -#line 10460 "configure"
15313 -#include "confdefs.h"
15314 +#line $LINENO "configure"
15317 +cat confdefs.h >>conftest.$ac_ext
15318 +cat >>conftest.$ac_ext <<_ACEOF
15319 +/* end confdefs.h. */
15320 $ac_includes_default
15323 @@ -10472,209 +12578,328 @@
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
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
15339 - echo "$as_me:10484: \$? = $ac_status" >&5
15340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15344 echo "$as_me: failed program was:" >&5
15345 -cat conftest.$ac_ext >&5
15346 +sed 's/^/| /' conftest.$ac_ext >&5
15350 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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"
15375 +cat confdefs.h >>conftest.$ac_ext
15376 +cat >>conftest.$ac_ext <<_ACEOF
15377 +/* end confdefs.h. */
15378 $ac_includes_default
15382 -int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
15383 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15384 +test_array [0] = 0
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
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
15403 - echo "$as_me:10527: \$? = $ac_status" >&5
15404 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15408 cat >conftest.$ac_ext <<_ACEOF
15409 -#line 10532 "configure"
15410 -#include "confdefs.h"
15411 +#line $LINENO "configure"
15414 +cat confdefs.h >>conftest.$ac_ext
15415 +cat >>conftest.$ac_ext <<_ACEOF
15416 +/* end confdefs.h. */
15417 $ac_includes_default
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
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
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
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
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
15452 +ac_lo=`expr $ac_mid + 1`
15453 + if test $ac_lo -le $ac_mid; then
15457 + ac_mid=`expr 2 '*' $ac_mid + 1`
15459 rm -f conftest.$ac_objext conftest.$ac_ext
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
15467 +cat >conftest.$ac_ext <<_ACEOF
15468 +#line $LINENO "configure"
15471 +cat confdefs.h >>conftest.$ac_ext
15472 +cat >>conftest.$ac_ext <<_ACEOF
15473 +/* end confdefs.h. */
15474 +$ac_includes_default
15478 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15479 +test_array [0] = 0
15485 +rm -f conftest.$ac_objext
15486 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 + (eval $ac_compile) 2>&5
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
15495 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 + (exit $ac_status); }; }; then
15497 + ac_hi=-1 ac_mid=-1
15499 cat >conftest.$ac_ext <<_ACEOF
15500 -#line 10569 "configure"
15501 -#include "confdefs.h"
15502 +#line $LINENO "configure"
15505 +cat confdefs.h >>conftest.$ac_ext
15506 +cat >>conftest.$ac_ext <<_ACEOF
15507 +/* end confdefs.h. */
15508 $ac_includes_default
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
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
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
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
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
15543 +ac_hi=`expr '(' $ac_mid ')' - 1`
15544 + if test $ac_mid -le $ac_hi; then
15548 + ac_mid=`expr 2 '*' $ac_mid`
15550 rm -f conftest.$ac_objext conftest.$ac_ext
15553 + echo "$as_me: failed program was:" >&5
15554 +sed 's/^/| /' conftest.$ac_ext >&5
15558 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
15570 +cat confdefs.h >>conftest.$ac_ext
15571 +cat >>conftest.$ac_ext <<_ACEOF
15572 +/* end confdefs.h. */
15573 $ac_includes_default
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
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
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
15598 - echo "$as_me:10627: \$? = $ac_status" >&5
15599 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; }; then
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
15608 +ac_lo=`expr '(' $ac_mid ')' + 1`
15610 rm -f conftest.$ac_objext conftest.$ac_ext
15612 -ac_cv_sizeof_int=$ac_lo
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; }; } ;;
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; }; }
15631 cat >conftest.$ac_ext <<_ACEOF
15632 -#line 10645 "configure"
15633 -#include "confdefs.h"
15634 +#line $LINENO "configure"
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>
15648 -FILE *f = fopen ("conftest.val", "w");
15651 -fprintf (f, "%d", (sizeof (int)));
15654 + FILE *f = fopen ("conftest.val", "w");
15657 + if (((long) (sizeof (int))) < 0)
15659 + long i = longval ();
15660 + if (i != ((long) (sizeof (int))))
15662 + fprintf (f, "%ld\n", i);
15666 + unsigned long i = ulongval ();
15667 + if (i != ((long) (sizeof (int))))
15669 + fprintf (f, "%lu\n", i);
15671 + exit (ferror (f) || fclose (f) != 0);
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
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
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`
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
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; }; }
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
15711 @@ -10682,20 +12907,25 @@
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
15724 -echo "$as_me:10691: checking for long int" >&5
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
15731 cat >conftest.$ac_ext <<_ACEOF
15732 -#line 10697 "configure"
15733 -#include "confdefs.h"
15734 +#line $LINENO "configure"
15737 +cat confdefs.h >>conftest.$ac_ext
15738 +cat >>conftest.$ac_ext <<_ACEOF
15739 +/* end confdefs.h. */
15740 $ac_includes_default
15743 @@ -10709,209 +12939,328 @@
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
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
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
15764 echo "$as_me: failed program was:" >&5
15765 -cat conftest.$ac_ext >&5
15766 +sed 's/^/| /' conftest.$ac_ext >&5
15768 ac_cv_type_long_int=no
15770 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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"
15795 +cat confdefs.h >>conftest.$ac_ext
15796 +cat >>conftest.$ac_ext <<_ACEOF
15797 +/* end confdefs.h. */
15798 $ac_includes_default
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
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
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
15823 - echo "$as_me:10764: \$? = $ac_status" >&5
15824 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15828 cat >conftest.$ac_ext <<_ACEOF
15829 -#line 10769 "configure"
15830 -#include "confdefs.h"
15831 +#line $LINENO "configure"
15834 +cat confdefs.h >>conftest.$ac_ext
15835 +cat >>conftest.$ac_ext <<_ACEOF
15836 +/* end confdefs.h. */
15837 $ac_includes_default
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
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
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
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
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
15872 +ac_lo=`expr $ac_mid + 1`
15873 + if test $ac_lo -le $ac_mid; then
15877 + ac_mid=`expr 2 '*' $ac_mid + 1`
15879 rm -f conftest.$ac_objext conftest.$ac_ext
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
15887 +cat >conftest.$ac_ext <<_ACEOF
15888 +#line $LINENO "configure"
15891 +cat confdefs.h >>conftest.$ac_ext
15892 +cat >>conftest.$ac_ext <<_ACEOF
15893 +/* end confdefs.h. */
15894 +$ac_includes_default
15898 +static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15899 +test_array [0] = 0
15905 +rm -f conftest.$ac_objext
15906 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 + (eval $ac_compile) 2>&5
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
15915 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 + (exit $ac_status); }; }; then
15917 + ac_hi=-1 ac_mid=-1
15919 cat >conftest.$ac_ext <<_ACEOF
15920 -#line 10806 "configure"
15921 -#include "confdefs.h"
15922 +#line $LINENO "configure"
15925 +cat confdefs.h >>conftest.$ac_ext
15926 +cat >>conftest.$ac_ext <<_ACEOF
15927 +/* end confdefs.h. */
15928 $ac_includes_default
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
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
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
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
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
15963 +ac_hi=`expr '(' $ac_mid ')' - 1`
15964 + if test $ac_mid -le $ac_hi; then
15968 + ac_mid=`expr 2 '*' $ac_mid`
15970 rm -f conftest.$ac_objext conftest.$ac_ext
15973 + echo "$as_me: failed program was:" >&5
15974 +sed 's/^/| /' conftest.$ac_ext >&5
15978 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
15990 +cat confdefs.h >>conftest.$ac_ext
15991 +cat >>conftest.$ac_ext <<_ACEOF
15992 +/* end confdefs.h. */
15993 $ac_includes_default
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
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
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
16018 - echo "$as_me:10864: \$? = $ac_status" >&5
16019 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
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
16028 +ac_lo=`expr '(' $ac_mid ')' + 1`
16030 rm -f conftest.$ac_objext conftest.$ac_ext
16032 -ac_cv_sizeof_long_int=$ac_lo
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; }; } ;;
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; }; }
16051 cat >conftest.$ac_ext <<_ACEOF
16052 -#line 10882 "configure"
16053 -#include "confdefs.h"
16054 +#line $LINENO "configure"
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>
16068 -FILE *f = fopen ("conftest.val", "w");
16071 -fprintf (f, "%d", (sizeof (long int)));
16074 + FILE *f = fopen ("conftest.val", "w");
16077 + if (((long) (sizeof (long int))) < 0)
16079 + long i = longval ();
16080 + if (i != ((long) (sizeof (long int))))
16082 + fprintf (f, "%ld\n", i);
16086 + unsigned long i = ulongval ();
16087 + if (i != ((long) (sizeof (long int))))
16089 + fprintf (f, "%lu\n", i);
16091 + exit (ferror (f) || fclose (f) != 0);
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
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
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`
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
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; }; }
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
16131 @@ -10919,20 +13268,25 @@
16132 ac_cv_sizeof_long_int=0
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
16144 -echo "$as_me:10928: checking for long long int" >&5
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
16151 cat >conftest.$ac_ext <<_ACEOF
16152 -#line 10934 "configure"
16153 -#include "confdefs.h"
16154 +#line $LINENO "configure"
16157 +cat confdefs.h >>conftest.$ac_ext
16158 +cat >>conftest.$ac_ext <<_ACEOF
16159 +/* end confdefs.h. */
16160 $ac_includes_default
16163 @@ -10946,209 +13300,328 @@
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
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
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
16184 echo "$as_me: failed program was:" >&5
16185 -cat conftest.$ac_ext >&5
16186 +sed 's/^/| /' conftest.$ac_ext >&5
16188 ac_cv_type_long_long_int=no
16190 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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"
16215 +cat confdefs.h >>conftest.$ac_ext
16216 +cat >>conftest.$ac_ext <<_ACEOF
16217 +/* end confdefs.h. */
16218 $ac_includes_default
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
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
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
16243 - echo "$as_me:11001: \$? = $ac_status" >&5
16244 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; }; then
16248 cat >conftest.$ac_ext <<_ACEOF
16249 -#line 11006 "configure"
16250 -#include "confdefs.h"
16251 +#line $LINENO "configure"
16254 +cat confdefs.h >>conftest.$ac_ext
16255 +cat >>conftest.$ac_ext <<_ACEOF
16256 +/* end confdefs.h. */
16257 $ac_includes_default
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
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
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
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
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
16292 +ac_lo=`expr $ac_mid + 1`
16293 + if test $ac_lo -le $ac_mid; then
16297 + ac_mid=`expr 2 '*' $ac_mid + 1`
16299 rm -f conftest.$ac_objext conftest.$ac_ext
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
16307 +cat >conftest.$ac_ext <<_ACEOF
16308 +#line $LINENO "configure"
16311 +cat confdefs.h >>conftest.$ac_ext
16312 +cat >>conftest.$ac_ext <<_ACEOF
16313 +/* end confdefs.h. */
16314 +$ac_includes_default
16318 +static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16319 +test_array [0] = 0
16325 +rm -f conftest.$ac_objext
16326 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16327 + (eval $ac_compile) 2>&5
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
16335 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 + (exit $ac_status); }; }; then
16337 + ac_hi=-1 ac_mid=-1
16339 cat >conftest.$ac_ext <<_ACEOF
16340 -#line 11043 "configure"
16341 -#include "confdefs.h"
16342 +#line $LINENO "configure"
16345 +cat confdefs.h >>conftest.$ac_ext
16346 +cat >>conftest.$ac_ext <<_ACEOF
16347 +/* end confdefs.h. */
16348 $ac_includes_default
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
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
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
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
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
16383 +ac_hi=`expr '(' $ac_mid ')' - 1`
16384 + if test $ac_mid -le $ac_hi; then
16388 + ac_mid=`expr 2 '*' $ac_mid`
16390 rm -f conftest.$ac_objext conftest.$ac_ext
16393 + echo "$as_me: failed program was:" >&5
16394 +sed 's/^/| /' conftest.$ac_ext >&5
16398 +rm -f conftest.$ac_objext conftest.$ac_ext
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"
16410 +cat confdefs.h >>conftest.$ac_ext
16411 +cat >>conftest.$ac_ext <<_ACEOF
16412 +/* end confdefs.h. */
16413 $ac_includes_default
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
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
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
16438 - echo "$as_me:11101: \$? = $ac_status" >&5
16439 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
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
16448 +ac_lo=`expr '(' $ac_mid ')' + 1`
16450 rm -f conftest.$ac_objext conftest.$ac_ext
16452 -ac_cv_sizeof_long_long_int=$ac_lo
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; }; } ;;
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; }; }
16471 cat >conftest.$ac_ext <<_ACEOF
16472 -#line 11119 "configure"
16473 -#include "confdefs.h"
16474 +#line $LINENO "configure"
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>
16488 -FILE *f = fopen ("conftest.val", "w");
16491 -fprintf (f, "%d", (sizeof (long long int)));
16494 + FILE *f = fopen ("conftest.val", "w");
16497 + if (((long) (sizeof (long long int))) < 0)
16499 + long i = longval ();
16500 + if (i != ((long) (sizeof (long long int))))
16502 + fprintf (f, "%ld\n", i);
16506 + unsigned long i = ulongval ();
16507 + if (i != ((long) (sizeof (long long int))))
16509 + fprintf (f, "%lu\n", i);
16511 + exit (ferror (f) || fclose (f) != 0);
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
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
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`
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
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; }; }
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
16551 @@ -11156,11 +13629,13 @@
16552 ac_cv_sizeof_long_long_int=0
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
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 @@
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
16579 cat >conftest.$ac_ext <<_ACEOF
16580 -#line 11178 "configure"
16581 -#include "confdefs.h"
16582 +#line $LINENO "configure"
16585 +cat confdefs.h >>conftest.$ac_ext
16586 +cat >>conftest.$ac_ext <<_ACEOF
16587 +/* end confdefs.h. */
16588 #include <sys/types.h>
16591 @@ -11187,46 +13666,51 @@
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
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
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"
16612 echo "$as_me: failed program was:" >&5
16613 -cat conftest.$ac_ext >&5
16614 +sed 's/^/| /' conftest.$ac_ext >&5
16616 ac_cv_have_u_int="no"
16619 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
16642 cat >conftest.$ac_ext <<_ACEOF
16643 -#line 11228 "configure"
16644 -#include "confdefs.h"
16645 +#line $LINENO "configure"
16648 +cat confdefs.h >>conftest.$ac_ext
16649 +cat >>conftest.$ac_ext <<_ACEOF
16650 +/* end confdefs.h. */
16651 #include <sys/types.h>
16654 @@ -11237,33 +13721,34 @@
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
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
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"
16675 echo "$as_me: failed program was:" >&5
16676 -cat conftest.$ac_ext >&5
16677 +sed 's/^/| /' conftest.$ac_ext >&5
16679 ac_cv_have_intxx_t="no"
16682 rm -f conftest.$ac_objext conftest.$ac_ext
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
16697 @@ -11271,11 +13756,15 @@
16698 if (test -z "$have_intxx_t" && \
16699 test "x$ac_cv_header_stdint_h" = "xyes")
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"
16710 +cat confdefs.h >>conftest.$ac_ext
16711 +cat >>conftest.$ac_ext <<_ACEOF
16712 +/* end confdefs.h. */
16713 #include <stdint.h>
16716 @@ -11286,44 +13775,49 @@
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
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
16732 - echo "$as_me:11298: \$? = $ac_status" >&5
16733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16736 - cat >>confdefs.h <<\EOF
16737 + cat >>confdefs.h <<\_ACEOF
16738 #define HAVE_INTXX_T 1
16742 - echo "$as_me:11305: result: yes" >&5
16743 + echo "$as_me:$LINENO: result: yes" >&5
16744 echo "${ECHO_T}yes" >&6
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
16752 + echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6
16756 rm -f conftest.$ac_objext conftest.$ac_ext
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
16766 cat >conftest.$ac_ext <<_ACEOF
16767 -#line 11325 "configure"
16768 -#include "confdefs.h"
16769 +#line $LINENO "configure"
16772 +cat confdefs.h >>conftest.$ac_ext
16773 +cat >>conftest.$ac_ext <<_ACEOF
16774 +/* end confdefs.h. */
16776 #include <sys/types.h>
16777 #ifdef HAVE_STDINT_H
16778 @@ -11343,45 +13837,50 @@
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
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
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"
16799 echo "$as_me: failed program was:" >&5
16800 -cat conftest.$ac_ext >&5
16801 +sed 's/^/| /' conftest.$ac_ext >&5
16803 ac_cv_have_int64_t="no"
16806 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
16828 cat >conftest.$ac_ext <<_ACEOF
16829 -#line 11383 "configure"
16830 -#include "confdefs.h"
16831 +#line $LINENO "configure"
16834 +cat confdefs.h >>conftest.$ac_ext
16835 +cat >>conftest.$ac_ext <<_ACEOF
16836 +/* end confdefs.h. */
16837 #include <sys/types.h>
16840 @@ -11392,43 +13891,48 @@
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
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
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"
16861 echo "$as_me: failed program was:" >&5
16862 -cat conftest.$ac_ext >&5
16863 +sed 's/^/| /' conftest.$ac_ext >&5
16865 ac_cv_have_u_intxx_t="no"
16868 rm -f conftest.$ac_objext conftest.$ac_ext
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
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"
16894 +cat confdefs.h >>conftest.$ac_ext
16895 +cat >>conftest.$ac_ext <<_ACEOF
16896 +/* end confdefs.h. */
16897 #include <sys/socket.h>
16900 @@ -11439,44 +13943,49 @@
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
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
16916 - echo "$as_me:11451: \$? = $ac_status" >&5
16917 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16920 - cat >>confdefs.h <<\EOF
16921 + cat >>confdefs.h <<\_ACEOF
16922 #define HAVE_U_INTXX_T 1
16926 - echo "$as_me:11458: result: yes" >&5
16927 + echo "$as_me:$LINENO: result: yes" >&5
16928 echo "${ECHO_T}yes" >&6
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
16936 + echo "$as_me:$LINENO: result: no" >&5
16937 echo "${ECHO_T}no" >&6
16940 rm -f conftest.$ac_objext conftest.$ac_ext
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
16950 cat >conftest.$ac_ext <<_ACEOF
16951 -#line 11478 "configure"
16952 -#include "confdefs.h"
16953 +#line $LINENO "configure"
16956 +cat confdefs.h >>conftest.$ac_ext
16957 +cat >>conftest.$ac_ext <<_ACEOF
16958 +/* end confdefs.h. */
16959 #include <sys/types.h>
16962 @@ -11487,43 +13996,48 @@
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
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
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"
16983 echo "$as_me: failed program was:" >&5
16984 -cat conftest.$ac_ext >&5
16985 +sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_have_u_int64_t="no"
16990 rm -f conftest.$ac_objext conftest.$ac_ext
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
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"
17016 +cat confdefs.h >>conftest.$ac_ext
17017 +cat >>conftest.$ac_ext <<_ACEOF
17018 +/* end confdefs.h. */
17019 #include <sys/bitypes.h>
17022 @@ -11534,29 +14048,30 @@
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
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
17038 - echo "$as_me:11546: \$? = $ac_status" >&5
17039 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17042 - cat >>confdefs.h <<\EOF
17043 + cat >>confdefs.h <<\_ACEOF
17044 #define HAVE_U_INT64_T 1
17048 - echo "$as_me:11553: result: yes" >&5
17049 + echo "$as_me:$LINENO: result: yes" >&5
17050 echo "${ECHO_T}yes" >&6
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
17058 + echo "$as_me:$LINENO: result: no" >&5
17059 echo "${ECHO_T}no" >&6
17062 @@ -11564,15 +14079,19 @@
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
17073 cat >conftest.$ac_ext <<_ACEOF
17074 -#line 11574 "configure"
17075 -#include "confdefs.h"
17076 +#line $LINENO "configure"
17079 +cat confdefs.h >>conftest.$ac_ext
17080 +cat >>conftest.$ac_ext <<_ACEOF
17081 +/* end confdefs.h. */
17083 #include <sys/types.h>
17085 @@ -11585,43 +14104,48 @@
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
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
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"
17106 echo "$as_me: failed program was:" >&5
17107 -cat conftest.$ac_ext >&5
17108 +sed 's/^/| /' conftest.$ac_ext >&5
17110 ac_cv_have_uintxx_t="no"
17113 rm -f conftest.$ac_objext conftest.$ac_ext
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
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"
17139 +cat confdefs.h >>conftest.$ac_ext
17140 +cat >>conftest.$ac_ext <<_ACEOF
17141 +/* end confdefs.h. */
17142 #include <stdint.h>
17145 @@ -11632,29 +14156,30 @@
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
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
17161 - echo "$as_me:11644: \$? = $ac_status" >&5
17162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17165 - cat >>confdefs.h <<\EOF
17166 + cat >>confdefs.h <<\_ACEOF
17167 #define HAVE_UINTXX_T 1
17171 - echo "$as_me:11651: result: yes" >&5
17172 + echo "$as_me:$LINENO: result: yes" >&5
17173 echo "${ECHO_T}yes" >&6
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
17181 + echo "$as_me:$LINENO: result: no" >&5
17182 echo "${ECHO_T}no" >&6
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")
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"
17198 +cat confdefs.h >>conftest.$ac_ext
17199 +cat >>conftest.$ac_ext <<_ACEOF
17200 +/* end confdefs.h. */
17202 #include <sys/bitypes.h>
17204 @@ -11685,48 +14214,54 @@
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
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
17220 - echo "$as_me:11697: \$? = $ac_status" >&5
17221 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); }; }; then
17224 - cat >>confdefs.h <<\EOF
17225 + cat >>confdefs.h <<\_ACEOF
17226 #define HAVE_U_INTXX_T 1
17230 - cat >>confdefs.h <<\EOF
17231 + cat >>confdefs.h <<\_ACEOF
17232 #define HAVE_INTXX_T 1
17236 - echo "$as_me:11708: result: yes" >&5
17237 + echo "$as_me:$LINENO: result: yes" >&5
17238 echo "${ECHO_T}yes" >&6
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
17246 +echo "$as_me:$LINENO: result: no" >&5
17247 echo "${ECHO_T}no" >&6
17250 rm -f conftest.$ac_objext conftest.$ac_ext
17253 -echo "$as_me:11721: checking for u_char" >&5
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
17261 cat >conftest.$ac_ext <<_ACEOF
17262 -#line 11728 "configure"
17263 -#include "confdefs.h"
17264 +#line $LINENO "configure"
17267 +cat confdefs.h >>conftest.$ac_ext
17268 +cat >>conftest.$ac_ext <<_ACEOF
17269 +/* end confdefs.h. */
17271 #include <sys/types.h>
17273 @@ -11739,44 +14274,50 @@
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
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
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"
17294 echo "$as_me: failed program was:" >&5
17295 -cat conftest.$ac_ext >&5
17296 +sed 's/^/| /' conftest.$ac_ext >&5
17298 ac_cv_have_u_char="no"
17301 rm -f conftest.$ac_objext conftest.$ac_ext
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
17316 - echo "$as_me:11772: checking for socklen_t" >&5
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
17323 cat >conftest.$ac_ext <<_ACEOF
17324 -#line 11778 "configure"
17325 -#include "confdefs.h"
17326 +#line $LINENO "configure"
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>
17335 @@ -11792,32 +14333,33 @@
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
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
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
17356 echo "$as_me: failed program was:" >&5
17357 -cat conftest.$ac_ext >&5
17358 +sed 's/^/| /' conftest.$ac_ext >&5
17360 ac_cv_type_socklen_t=no
17362 rm -f conftest.$ac_objext conftest.$ac_ext
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
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"
17385 +cat confdefs.h >>conftest.$ac_ext
17386 +cat >>conftest.$ac_ext <<_ACEOF
17387 +/* end confdefs.h. */
17389 #include <sys/types.h>
17390 #include <sys/socket.h>
17391 @@ -11849,16 +14395,16 @@
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
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
17407 - echo "$as_me:11861: \$? = $ac_status" >&5
17408 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17411 curl_cv_socklen_t_equiv="$t"
17412 @@ -11866,37 +14412,44 @@
17415 echo "$as_me: failed program was:" >&5
17416 -cat conftest.$ac_ext >&5
17417 +sed 's/^/| /' conftest.$ac_ext >&5
17420 rm -f conftest.$ac_objext conftest.$ac_ext
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; }; }
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
17437 -cat >>confdefs.h <<EOF
17438 +cat >>confdefs.h <<_ACEOF
17439 #define socklen_t $curl_cv_socklen_t_equiv
17445 -echo "$as_me:11892: checking for sig_atomic_t" >&5
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
17453 cat >conftest.$ac_ext <<_ACEOF
17454 -#line 11898 "configure"
17455 -#include "confdefs.h"
17456 +#line $LINENO "configure"
17459 +cat confdefs.h >>conftest.$ac_ext
17460 +cat >>conftest.$ac_ext <<_ACEOF
17461 +/* end confdefs.h. */
17462 #include <signal.h>
17465 @@ -11911,44 +14464,51 @@
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
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
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
17486 echo "$as_me: failed program was:" >&5
17487 -cat conftest.$ac_ext >&5
17488 +sed 's/^/| /' conftest.$ac_ext >&5
17490 ac_cv_type_sig_atomic_t=no
17492 rm -f conftest.$ac_objext conftest.$ac_ext
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
17499 -cat >>confdefs.h <<EOF
17500 +cat >>confdefs.h <<_ACEOF
17501 #define HAVE_SIG_ATOMIC_T 1
17508 -echo "$as_me:11943: checking for size_t" >&5
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
17516 cat >conftest.$ac_ext <<_ACEOF
17517 -#line 11950 "configure"
17518 -#include "confdefs.h"
17519 +#line $LINENO "configure"
17522 +cat confdefs.h >>conftest.$ac_ext
17523 +cat >>conftest.$ac_ext <<_ACEOF
17524 +/* end confdefs.h. */
17526 #include <sys/types.h>
17528 @@ -11961,45 +14521,50 @@
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
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
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"
17549 echo "$as_me: failed program was:" >&5
17550 -cat conftest.$ac_ext >&5
17551 +sed 's/^/| /' conftest.$ac_ext >&5
17553 ac_cv_have_size_t="no"
17556 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17578 cat >conftest.$ac_ext <<_ACEOF
17579 -#line 12001 "configure"
17580 -#include "confdefs.h"
17581 +#line $LINENO "configure"
17584 +cat confdefs.h >>conftest.$ac_ext
17585 +cat >>conftest.$ac_ext <<_ACEOF
17586 +/* end confdefs.h. */
17588 #include <sys/types.h>
17590 @@ -12012,45 +14577,50 @@
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
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
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"
17611 echo "$as_me: failed program was:" >&5
17612 -cat conftest.$ac_ext >&5
17613 +sed 's/^/| /' conftest.$ac_ext >&5
17615 ac_cv_have_ssize_t="no"
17618 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17640 cat >conftest.$ac_ext <<_ACEOF
17641 -#line 12052 "configure"
17642 -#include "confdefs.h"
17643 +#line $LINENO "configure"
17646 +cat confdefs.h >>conftest.$ac_ext
17647 +cat >>conftest.$ac_ext <<_ACEOF
17648 +/* end confdefs.h. */
17652 @@ -12063,45 +14633,50 @@
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
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
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"
17673 echo "$as_me: failed program was:" >&5
17674 -cat conftest.$ac_ext >&5
17675 +sed 's/^/| /' conftest.$ac_ext >&5
17677 ac_cv_have_clock_t="no"
17680 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17702 cat >conftest.$ac_ext <<_ACEOF
17703 -#line 12103 "configure"
17704 -#include "confdefs.h"
17705 +#line $LINENO "configure"
17708 +cat confdefs.h >>conftest.$ac_ext
17709 +cat >>conftest.$ac_ext <<_ACEOF
17710 +/* end confdefs.h. */
17712 #include <sys/types.h>
17713 #include <sys/socket.h>
17714 @@ -12115,24 +14690,29 @@
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
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
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"
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
17742 + _au_changequote(,)cat >conftest.$ac_ext <<_ACEOF
17743 +#line $LINENO "configure"
17746 +cat confdefs.h >>conftest.$ac_ext
17747 +cat >>conftest.$ac_ext <<_ACEOF
17748 +/* end confdefs.h. */
17750 #include <sys/types.h>
17751 #include <sys/socket.h>
17752 @@ -12147,21 +14727,22 @@
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
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
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"
17773 echo "$as_me: failed program was:" >&5
17774 -cat conftest.$ac_ext >&5
17775 +sed 's/^/| /' conftest.$ac_ext >&5
17777 ac_cv_have_sa_family_t="no"
17780 @@ -12171,24 +14752,28 @@
17781 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17803 cat >conftest.$ac_ext <<_ACEOF
17804 -#line 12190 "configure"
17805 -#include "confdefs.h"
17806 +#line $LINENO "configure"
17809 +cat confdefs.h >>conftest.$ac_ext
17810 +cat >>conftest.$ac_ext <<_ACEOF
17811 +/* end confdefs.h. */
17813 #include <sys/types.h>
17815 @@ -12201,45 +14786,50 @@
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
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
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"
17836 echo "$as_me: failed program was:" >&5
17837 -cat conftest.$ac_ext >&5
17838 +sed 's/^/| /' conftest.$ac_ext >&5
17840 ac_cv_have_pid_t="no"
17843 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17865 cat >conftest.$ac_ext <<_ACEOF
17866 -#line 12241 "configure"
17867 -#include "confdefs.h"
17868 +#line $LINENO "configure"
17871 +cat confdefs.h >>conftest.$ac_ext
17872 +cat >>conftest.$ac_ext <<_ACEOF
17873 +/* end confdefs.h. */
17875 #include <sys/types.h>
17877 @@ -12252,45 +14842,51 @@
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
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
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"
17898 echo "$as_me: failed program was:" >&5
17899 -cat conftest.$ac_ext >&5
17900 +sed 's/^/| /' conftest.$ac_ext >&5
17902 ac_cv_have_mode_t="no"
17905 rm -f conftest.$ac_objext conftest.$ac_ext
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
17920 -echo "$as_me:12285: checking for struct sockaddr_storage" >&5
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
17928 cat >conftest.$ac_ext <<_ACEOF
17929 -#line 12292 "configure"
17930 -#include "confdefs.h"
17931 +#line $LINENO "configure"
17934 +cat confdefs.h >>conftest.$ac_ext
17935 +cat >>conftest.$ac_ext <<_ACEOF
17936 +/* end confdefs.h. */
17938 #include <sys/types.h>
17939 #include <sys/socket.h>
17940 @@ -12304,45 +14900,50 @@
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
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
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"
17961 echo "$as_me: failed program was:" >&5
17962 -cat conftest.$ac_ext >&5
17963 +sed 's/^/| /' conftest.$ac_ext >&5
17965 ac_cv_have_struct_sockaddr_storage="no"
17968 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
17990 cat >conftest.$ac_ext <<_ACEOF
17991 -#line 12344 "configure"
17992 -#include "confdefs.h"
17993 +#line $LINENO "configure"
17996 +cat confdefs.h >>conftest.$ac_ext
17997 +cat >>conftest.$ac_ext <<_ACEOF
17998 +/* end confdefs.h. */
18000 #include <sys/types.h>
18001 #include <netinet/in.h>
18002 @@ -12356,45 +14957,50 @@
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
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
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"
18023 echo "$as_me: failed program was:" >&5
18024 -cat conftest.$ac_ext >&5
18025 +sed 's/^/| /' conftest.$ac_ext >&5
18027 ac_cv_have_struct_sockaddr_in6="no"
18030 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
18052 cat >conftest.$ac_ext <<_ACEOF
18053 -#line 12396 "configure"
18054 -#include "confdefs.h"
18055 +#line $LINENO "configure"
18058 +cat confdefs.h >>conftest.$ac_ext
18059 +cat >>conftest.$ac_ext <<_ACEOF
18060 +/* end confdefs.h. */
18062 #include <sys/types.h>
18063 #include <netinet/in.h>
18064 @@ -12408,45 +15014,50 @@
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
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
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"
18085 echo "$as_me: failed program was:" >&5
18086 -cat conftest.$ac_ext >&5
18087 +sed 's/^/| /' conftest.$ac_ext >&5
18089 ac_cv_have_struct_in6_addr="no"
18092 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
18114 cat >conftest.$ac_ext <<_ACEOF
18115 -#line 12448 "configure"
18116 -#include "confdefs.h"
18117 +#line $LINENO "configure"
18120 +cat confdefs.h >>conftest.$ac_ext
18121 +cat >>conftest.$ac_ext <<_ACEOF
18122 +/* end confdefs.h. */
18124 #include <sys/types.h>
18125 #include <sys/socket.h>
18126 @@ -12461,45 +15072,50 @@
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
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
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"
18147 echo "$as_me: failed program was:" >&5
18148 -cat conftest.$ac_ext >&5
18149 +sed 's/^/| /' conftest.$ac_ext >&5
18151 ac_cv_have_struct_addrinfo="no"
18154 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
18176 cat >conftest.$ac_ext <<_ACEOF
18177 -#line 12501 "configure"
18178 -#include "confdefs.h"
18179 +#line $LINENO "configure"
18182 +cat confdefs.h >>conftest.$ac_ext
18183 +cat >>conftest.$ac_ext <<_ACEOF
18184 +/* end confdefs.h. */
18185 #include <sys/time.h>
18188 @@ -12510,45 +15126,50 @@
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
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
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"
18209 echo "$as_me: failed program was:" >&5
18210 -cat conftest.$ac_ext >&5
18211 +sed 's/^/| /' conftest.$ac_ext >&5
18213 ac_cv_have_struct_timeval="no"
18216 rm -f conftest.$ac_objext conftest.$ac_ext
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
18229 have_struct_timeval=1
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
18238 cat >conftest.$ac_ext <<_ACEOF
18239 -#line 12550 "configure"
18240 -#include "confdefs.h"
18241 +#line $LINENO "configure"
18244 +cat confdefs.h >>conftest.$ac_ext
18245 +cat >>conftest.$ac_ext <<_ACEOF
18246 +/* end confdefs.h. */
18247 $ac_includes_default
18250 @@ -12562,35 +15183,38 @@
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
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
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
18271 echo "$as_me: failed program was:" >&5
18272 -cat conftest.$ac_ext >&5
18273 +sed 's/^/| /' conftest.$ac_ext >&5
18275 ac_cv_type_struct_timespec=no
18277 rm -f conftest.$ac_objext conftest.$ac_ext
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
18284 -cat >>confdefs.h <<EOF
18285 +cat >>confdefs.h <<_ACEOF
18286 #define HAVE_STRUCT_TIMESPEC 1
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 @@
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
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; }; }
18319 cat >conftest.$ac_ext <<_ACEOF
18320 -#line 12609 "configure"
18321 -#include "confdefs.h"
18322 +#line $LINENO "configure"
18325 +cat confdefs.h >>conftest.$ac_ext
18326 +cat >>conftest.$ac_ext <<_ACEOF
18327 +/* end confdefs.h. */
18329 -#include <stdio.h>
18330 -#include <string.h>
18331 -#ifdef HAVE_SNPRINTF
18335 - char expected_out[50];
18336 - int mazsize = 50 ;
18337 -#if (SIZEOF_LONG_INT == 8)
18338 - long int num = 0x7fffffffffffffff;
18340 - long long num = 0x7fffffffffffffffll;
18342 - strcpy(expected_out, "9223372036854775807");
18343 - snprintf(buf, mazsize, "%lld", num);
18344 - if(strcmp(buf, expected_out) != 0)
18349 -main() { exit(0); }
18351 + #include <stdio.h>
18352 + #include <string.h>
18353 + #ifdef HAVE_SNPRINTF
18357 + char expected_out[50];
18358 + int mazsize = 50 ;
18359 + #if (SIZEOF_LONG_INT == 8)
18360 + long int num = 0x7fffffffffffffff;
18362 + long long num = 0x7fffffffffffffffll;
18364 + strcpy(expected_out, "9223372036854775807");
18365 + snprintf(buf, mazsize, "%lld", num);
18366 + if(strcmp(buf, expected_out) != 0)
18371 + main() { exit(0); }
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
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
18387 - echo "$as_me:12645: \$? = $ac_status" >&5
18388 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
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
18398 +sed 's/^/| /' conftest.$ac_ext >&5
18400 +( exit $ac_status )
18402 + ac_cv_have_broken_snprintf="yes"
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
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
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
18433 cat >conftest.$ac_ext <<_ACEOF
18434 -#line 12671 "configure"
18435 -#include "confdefs.h"
18436 +#line $LINENO "configure"
18439 +cat confdefs.h >>conftest.$ac_ext
18440 +cat >>conftest.$ac_ext <<_ACEOF
18441 +/* end confdefs.h. */
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"
18450 eval "$ossh_varname=no"
18451 @@ -12685,36 +15341,41 @@
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
18467 - echo "$as_me:12697: result: no" >&5
18468 + echo "$as_me:$LINENO: result: no" >&5
18469 echo "${ECHO_T}no" >&6
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
18483 cat >conftest.$ac_ext <<_ACEOF
18484 -#line 12711 "configure"
18485 -#include "confdefs.h"
18486 +#line $LINENO "configure"
18489 +cat confdefs.h >>conftest.$ac_ext
18490 +cat >>conftest.$ac_ext <<_ACEOF
18491 +/* end confdefs.h. */
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"
18500 eval "$ossh_varname=no"
18501 @@ -12725,36 +15386,41 @@
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
18517 - echo "$as_me:12737: result: no" >&5
18518 + echo "$as_me:$LINENO: result: no" >&5
18519 echo "${ECHO_T}no" >&6
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
18533 cat >conftest.$ac_ext <<_ACEOF
18534 -#line 12751 "configure"
18535 -#include "confdefs.h"
18536 +#line $LINENO "configure"
18539 +cat confdefs.h >>conftest.$ac_ext
18540 +cat >>conftest.$ac_ext <<_ACEOF
18541 +/* end confdefs.h. */
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"
18550 eval "$ossh_varname=no"
18551 @@ -12765,36 +15431,41 @@
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
18567 - echo "$as_me:12777: result: no" >&5
18568 + echo "$as_me:$LINENO: result: no" >&5
18569 echo "${ECHO_T}no" >&6
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
18583 cat >conftest.$ac_ext <<_ACEOF
18584 -#line 12791 "configure"
18585 -#include "confdefs.h"
18586 +#line $LINENO "configure"
18589 +cat confdefs.h >>conftest.$ac_ext
18590 +cat >>conftest.$ac_ext <<_ACEOF
18591 +/* end confdefs.h. */
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"
18600 eval "$ossh_varname=no"
18601 @@ -12805,36 +15476,41 @@
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
18617 - echo "$as_me:12817: result: no" >&5
18618 + echo "$as_me:$LINENO: result: no" >&5
18619 echo "${ECHO_T}no" >&6
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
18633 cat >conftest.$ac_ext <<_ACEOF
18634 -#line 12831 "configure"
18635 -#include "confdefs.h"
18636 +#line $LINENO "configure"
18639 +cat confdefs.h >>conftest.$ac_ext
18640 +cat >>conftest.$ac_ext <<_ACEOF
18641 +/* end confdefs.h. */
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"
18650 eval "$ossh_varname=no"
18651 @@ -12845,36 +15521,41 @@
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
18667 - echo "$as_me:12857: result: no" >&5
18668 + echo "$as_me:$LINENO: result: no" >&5
18669 echo "${ECHO_T}no" >&6
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
18683 cat >conftest.$ac_ext <<_ACEOF
18684 -#line 12871 "configure"
18685 -#include "confdefs.h"
18686 +#line $LINENO "configure"
18689 +cat confdefs.h >>conftest.$ac_ext
18690 +cat >>conftest.$ac_ext <<_ACEOF
18691 +/* end confdefs.h. */
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"
18700 eval "$ossh_varname=no"
18701 @@ -12885,36 +15566,41 @@
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
18717 - echo "$as_me:12897: result: no" >&5
18718 + echo "$as_me:$LINENO: result: no" >&5
18719 echo "${ECHO_T}no" >&6
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
18733 cat >conftest.$ac_ext <<_ACEOF
18734 -#line 12911 "configure"
18735 -#include "confdefs.h"
18736 +#line $LINENO "configure"
18739 +cat confdefs.h >>conftest.$ac_ext
18740 +cat >>conftest.$ac_ext <<_ACEOF
18741 +/* end confdefs.h. */
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"
18750 eval "$ossh_varname=no"
18751 @@ -12925,36 +15611,41 @@
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
18767 - echo "$as_me:12937: result: no" >&5
18768 + echo "$as_me:$LINENO: result: no" >&5
18769 echo "${ECHO_T}no" >&6
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
18783 cat >conftest.$ac_ext <<_ACEOF
18784 -#line 12951 "configure"
18785 -#include "confdefs.h"
18786 +#line $LINENO "configure"
18789 +cat confdefs.h >>conftest.$ac_ext
18790 +cat >>conftest.$ac_ext <<_ACEOF
18791 +/* end confdefs.h. */
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"
18800 eval "$ossh_varname=no"
18801 @@ -12965,36 +15656,41 @@
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
18817 - echo "$as_me:12977: result: no" >&5
18818 + echo "$as_me:$LINENO: result: no" >&5
18819 echo "${ECHO_T}no" >&6
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
18833 cat >conftest.$ac_ext <<_ACEOF
18834 -#line 12991 "configure"
18835 -#include "confdefs.h"
18836 +#line $LINENO "configure"
18839 +cat confdefs.h >>conftest.$ac_ext
18840 +cat >>conftest.$ac_ext <<_ACEOF
18841 +/* end confdefs.h. */
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"
18850 eval "$ossh_varname=no"
18851 @@ -13005,36 +15701,41 @@
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
18867 - echo "$as_me:13017: result: no" >&5
18868 + echo "$as_me:$LINENO: result: no" >&5
18869 echo "${ECHO_T}no" >&6
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
18883 cat >conftest.$ac_ext <<_ACEOF
18884 -#line 13031 "configure"
18885 -#include "confdefs.h"
18886 +#line $LINENO "configure"
18889 +cat confdefs.h >>conftest.$ac_ext
18890 +cat >>conftest.$ac_ext <<_ACEOF
18891 +/* end confdefs.h. */
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"
18900 eval "$ossh_varname=no"
18901 @@ -13045,36 +15746,41 @@
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
18917 - echo "$as_me:13057: result: no" >&5
18918 + echo "$as_me:$LINENO: result: no" >&5
18919 echo "${ECHO_T}no" >&6
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
18933 cat >conftest.$ac_ext <<_ACEOF
18934 -#line 13071 "configure"
18935 -#include "confdefs.h"
18936 +#line $LINENO "configure"
18939 +cat confdefs.h >>conftest.$ac_ext
18940 +cat >>conftest.$ac_ext <<_ACEOF
18941 +/* end confdefs.h. */
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"
18950 eval "$ossh_varname=no"
18951 @@ -13085,36 +15791,41 @@
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
18967 - echo "$as_me:13097: result: no" >&5
18968 + echo "$as_me:$LINENO: result: no" >&5
18969 echo "${ECHO_T}no" >&6
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
18983 cat >conftest.$ac_ext <<_ACEOF
18984 -#line 13111 "configure"
18985 -#include "confdefs.h"
18986 +#line $LINENO "configure"
18989 +cat confdefs.h >>conftest.$ac_ext
18990 +cat >>conftest.$ac_ext <<_ACEOF
18991 +/* end confdefs.h. */
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"
19000 eval "$ossh_varname=no"
19001 @@ -13125,36 +15836,41 @@
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
19017 - echo "$as_me:13137: result: no" >&5
19018 + echo "$as_me:$LINENO: result: no" >&5
19019 echo "${ECHO_T}no" >&6
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
19033 cat >conftest.$ac_ext <<_ACEOF
19034 -#line 13151 "configure"
19035 -#include "confdefs.h"
19036 +#line $LINENO "configure"
19039 +cat confdefs.h >>conftest.$ac_ext
19040 +cat >>conftest.$ac_ext <<_ACEOF
19041 +/* end confdefs.h. */
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"
19050 eval "$ossh_varname=no"
19051 @@ -13165,36 +15881,41 @@
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
19067 - echo "$as_me:13177: result: no" >&5
19068 + echo "$as_me:$LINENO: result: no" >&5
19069 echo "${ECHO_T}no" >&6
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
19083 cat >conftest.$ac_ext <<_ACEOF
19084 -#line 13191 "configure"
19085 -#include "confdefs.h"
19086 +#line $LINENO "configure"
19089 +cat confdefs.h >>conftest.$ac_ext
19090 +cat >>conftest.$ac_ext <<_ACEOF
19091 +/* end confdefs.h. */
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"
19100 eval "$ossh_varname=no"
19101 @@ -13205,36 +15926,41 @@
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
19117 - echo "$as_me:13217: result: no" >&5
19118 + echo "$as_me:$LINENO: result: no" >&5
19119 echo "${ECHO_T}no" >&6
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
19133 cat >conftest.$ac_ext <<_ACEOF
19134 -#line 13231 "configure"
19135 -#include "confdefs.h"
19136 +#line $LINENO "configure"
19139 +cat confdefs.h >>conftest.$ac_ext
19140 +cat >>conftest.$ac_ext <<_ACEOF
19141 +/* end confdefs.h. */
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"
19150 eval "$ossh_varname=no"
19151 @@ -13245,36 +15971,41 @@
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
19167 - echo "$as_me:13257: result: no" >&5
19168 + echo "$as_me:$LINENO: result: no" >&5
19169 echo "${ECHO_T}no" >&6
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
19183 cat >conftest.$ac_ext <<_ACEOF
19184 -#line 13271 "configure"
19185 -#include "confdefs.h"
19186 +#line $LINENO "configure"
19189 +cat confdefs.h >>conftest.$ac_ext
19190 +cat >>conftest.$ac_ext <<_ACEOF
19191 +/* end confdefs.h. */
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"
19200 eval "$ossh_varname=no"
19201 @@ -13285,36 +16016,41 @@
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
19217 - echo "$as_me:13297: result: no" >&5
19218 + echo "$as_me:$LINENO: result: no" >&5
19219 echo "${ECHO_T}no" >&6
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
19233 cat >conftest.$ac_ext <<_ACEOF
19234 -#line 13311 "configure"
19235 -#include "confdefs.h"
19236 +#line $LINENO "configure"
19239 +cat confdefs.h >>conftest.$ac_ext
19240 +cat >>conftest.$ac_ext <<_ACEOF
19241 +/* end confdefs.h. */
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"
19250 eval "$ossh_varname=no"
19251 @@ -13325,27 +16061,32 @@
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
19267 - echo "$as_me:13337: result: no" >&5
19268 + echo "$as_me:$LINENO: result: no" >&5
19269 echo "${ECHO_T}no" >&6
19272 -echo "$as_me:13341: checking for struct stat.st_blksize" >&5
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
19279 cat >conftest.$ac_ext <<_ACEOF
19280 -#line 13347 "configure"
19281 -#include "confdefs.h"
19282 +#line $LINENO "configure"
19285 +cat confdefs.h >>conftest.$ac_ext
19286 +cat >>conftest.$ac_ext <<_ACEOF
19287 +/* end confdefs.h. */
19288 $ac_includes_default
19291 @@ -13358,44 +16099,88 @@
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
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
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
19312 echo "$as_me: failed program was:" >&5
19313 -cat conftest.$ac_ext >&5
19314 +sed 's/^/| /' conftest.$ac_ext >&5
19316 +cat >conftest.$ac_ext <<_ACEOF
19317 +#line $LINENO "configure"
19320 +cat confdefs.h >>conftest.$ac_ext
19321 +cat >>conftest.$ac_ext <<_ACEOF
19322 +/* end confdefs.h. */
19323 +$ac_includes_default
19327 +static struct stat ac_aggr;
19328 +if (sizeof ac_aggr.st_blksize)
19334 +rm -f conftest.$ac_objext
19335 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 + (eval $ac_compile) 2>&5
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
19344 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 + (exit $ac_status); }; }; then
19346 + ac_cv_member_struct_stat_st_blksize=yes
19348 + echo "$as_me: failed program was:" >&5
19349 +sed 's/^/| /' conftest.$ac_ext >&5
19351 ac_cv_member_struct_stat_st_blksize=no
19353 rm -f conftest.$ac_objext conftest.$ac_ext
19355 -echo "$as_me:13380: result: $ac_cv_member_struct_stat_st_blksize" >&5
19356 +rm -f conftest.$ac_objext conftest.$ac_ext
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
19362 -cat >>confdefs.h <<EOF
19363 +cat >>confdefs.h <<_ACEOF
19364 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19371 -echo "$as_me:13390: checking for ss_family field in struct sockaddr_storage" >&5
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
19379 cat >conftest.$ac_ext <<_ACEOF
19380 -#line 13397 "configure"
19381 -#include "confdefs.h"
19382 +#line $LINENO "configure"
19385 +cat confdefs.h >>conftest.$ac_ext
19386 +cat >>conftest.$ac_ext <<_ACEOF
19387 +/* end confdefs.h. */
19389 #include <sys/types.h>
19390 #include <sys/socket.h>
19391 @@ -13409,44 +16194,49 @@
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
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
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"
19412 echo "$as_me: failed program was:" >&5
19413 -cat conftest.$ac_ext >&5
19414 +sed 's/^/| /' conftest.$ac_ext >&5
19416 ac_cv_have_ss_family_in_struct_ss="no"
19418 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
19440 cat >conftest.$ac_ext <<_ACEOF
19441 -#line 13448 "configure"
19442 -#include "confdefs.h"
19443 +#line $LINENO "configure"
19446 +cat confdefs.h >>conftest.$ac_ext
19447 +cat >>conftest.$ac_ext <<_ACEOF
19448 +/* end confdefs.h. */
19450 #include <sys/types.h>
19451 #include <sys/socket.h>
19452 @@ -13460,45 +16250,50 @@
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
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
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"
19473 echo "$as_me: failed program was:" >&5
19474 -cat conftest.$ac_ext >&5
19475 +sed 's/^/| /' conftest.$ac_ext >&5
19477 ac_cv_have___ss_family_in_struct_ss="no"
19480 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
19502 cat >conftest.$ac_ext <<_ACEOF
19503 -#line 13500 "configure"
19504 -#include "confdefs.h"
19505 +#line $LINENO "configure"
19508 +cat confdefs.h >>conftest.$ac_ext
19509 +cat >>conftest.$ac_ext <<_ACEOF
19510 +/* end confdefs.h. */
19514 @@ -13511,45 +16306,50 @@
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
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
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"
19535 echo "$as_me: failed program was:" >&5
19536 -cat conftest.$ac_ext >&5
19537 +sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_have_pw_class_in_struct_passwd="no"
19542 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
19564 cat >conftest.$ac_ext <<_ACEOF
19565 -#line 13551 "configure"
19566 -#include "confdefs.h"
19567 +#line $LINENO "configure"
19570 +cat confdefs.h >>conftest.$ac_ext
19571 +cat >>conftest.$ac_ext <<_ACEOF
19572 +/* end confdefs.h. */
19576 @@ -13562,45 +16362,50 @@
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
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
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"
19597 echo "$as_me: failed program was:" >&5
19598 -cat conftest.$ac_ext >&5
19599 +sed 's/^/| /' conftest.$ac_ext >&5
19601 ac_cv_have_pw_expire_in_struct_passwd="no"
19604 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
19626 cat >conftest.$ac_ext <<_ACEOF
19627 -#line 13602 "configure"
19628 -#include "confdefs.h"
19629 +#line $LINENO "configure"
19632 +cat confdefs.h >>conftest.$ac_ext
19633 +cat >>conftest.$ac_ext <<_ACEOF
19634 +/* end confdefs.h. */
19638 @@ -13613,50 +16418,57 @@
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
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
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"
19659 echo "$as_me: failed program was:" >&5
19660 -cat conftest.$ac_ext >&5
19661 +sed 's/^/| /' conftest.$ac_ext >&5
19663 ac_cv_have_pw_change_in_struct_passwd="no"
19666 rm -f conftest.$ac_objext conftest.$ac_ext
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
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
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; }; }
19697 cat >conftest.$ac_ext <<_ACEOF
19698 -#line 13658 "configure"
19699 -#include "confdefs.h"
19700 +#line $LINENO "configure"
19703 +cat confdefs.h >>conftest.$ac_ext
19704 +cat >>conftest.$ac_ext <<_ACEOF
19705 +/* end confdefs.h. */
19707 #include <sys/types.h>
19708 #include <sys/socket.h>
19709 @@ -13672,51 +16484,59 @@
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
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
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"
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
19734 +( exit $ac_status )
19735 ac_cv_have_accrights_in_msghdr="no"
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
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
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
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; }; }
19771 cat >conftest.$ac_ext <<_ACEOF
19772 -#line 13718 "configure"
19773 -#include "confdefs.h"
19774 +#line $LINENO "configure"
19777 +cat confdefs.h >>conftest.$ac_ext
19778 +cat >>conftest.$ac_ext <<_ACEOF
19779 +/* end confdefs.h. */
19781 #include <sys/types.h>
19782 #include <sys/socket.h>
19783 @@ -13732,46 +16552,52 @@
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
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
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"
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
19808 +( exit $ac_status )
19809 ac_cv_have_control_in_msghdr="no"
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
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
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
19836 cat >conftest.$ac_ext <<_ACEOF
19837 -#line 13773 "configure"
19838 -#include "confdefs.h"
19839 +#line $LINENO "configure"
19842 +cat confdefs.h >>conftest.$ac_ext
19843 +cat >>conftest.$ac_ext <<_ACEOF
19844 +/* end confdefs.h. */
19848 @@ -13782,45 +16608,50 @@
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
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
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"
19869 echo "$as_me: failed program was:" >&5
19870 -cat conftest.$ac_ext >&5
19871 +sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_cv_libc_defines___progname="no"
19876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
19898 cat >conftest.$ac_ext <<_ACEOF
19899 -#line 13822 "configure"
19900 -#include "confdefs.h"
19901 +#line $LINENO "configure"
19904 +cat confdefs.h >>conftest.$ac_ext
19905 +cat >>conftest.$ac_ext <<_ACEOF
19906 +/* end confdefs.h. */
19910 @@ -13833,45 +16664,50 @@
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
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
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"
19931 echo "$as_me: failed program was:" >&5
19932 -cat conftest.$ac_ext >&5
19933 +sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_cv_cc_implements___FUNCTION__="no"
19938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
19960 cat >conftest.$ac_ext <<_ACEOF
19961 -#line 13873 "configure"
19962 -#include "confdefs.h"
19963 +#line $LINENO "configure"
19966 +cat confdefs.h >>conftest.$ac_ext
19967 +cat >>conftest.$ac_ext <<_ACEOF
19968 +/* end confdefs.h. */
19972 @@ -13884,45 +16720,50 @@
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
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
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"
19993 echo "$as_me: failed program was:" >&5
19994 -cat conftest.$ac_ext >&5
19995 +sed 's/^/| /' conftest.$ac_ext >&5
19997 ac_cv_cc_implements___func__="no"
20000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
20022 cat >conftest.$ac_ext <<_ACEOF
20023 -#line 13924 "configure"
20024 -#include "confdefs.h"
20025 +#line $LINENO "configure"
20028 +cat confdefs.h >>conftest.$ac_ext
20029 +cat >>conftest.$ac_ext <<_ACEOF
20030 +/* end confdefs.h. */
20032 #include <getopt.h>
20034 @@ -13935,45 +16776,50 @@
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
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
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"
20055 echo "$as_me: failed program was:" >&5
20056 -cat conftest.$ac_ext >&5
20057 +sed 's/^/| /' conftest.$ac_ext >&5
20059 ac_cv_have_getopt_optreset="no"
20062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
20084 cat >conftest.$ac_ext <<_ACEOF
20085 -#line 13975 "configure"
20086 -#include "confdefs.h"
20087 +#line $LINENO "configure"
20090 +cat confdefs.h >>conftest.$ac_ext
20091 +cat >>conftest.$ac_ext <<_ACEOF
20092 +/* end confdefs.h. */
20096 @@ -13984,45 +16830,51 @@
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
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
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"
20117 echo "$as_me: failed program was:" >&5
20118 -cat conftest.$ac_ext >&5
20119 +sed 's/^/| /' conftest.$ac_ext >&5
20121 ac_cv_libc_defines_sys_errlist="no"
20124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
20139 -echo "$as_me:14017: checking if libc defines sys_nerr" >&5
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
20147 cat >conftest.$ac_ext <<_ACEOF
20148 -#line 14024 "configure"
20149 -#include "confdefs.h"
20150 +#line $LINENO "configure"
20153 +cat confdefs.h >>conftest.$ac_ext
20154 +cat >>conftest.$ac_ext <<_ACEOF
20155 +/* end confdefs.h. */
20159 @@ -14033,33 +16885,34 @@
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
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
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"
20180 echo "$as_me: failed program was:" >&5
20181 -cat conftest.$ac_ext >&5
20182 +sed 's/^/| /' conftest.$ac_ext >&5
20184 ac_cv_libc_defines_sys_nerr="no"
20187 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
20202 @@ -14085,23 +16938,70 @@
20203 for ac_header in sectok.h
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
20213 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20214 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
20243 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 + (exit $ac_status); }; }; then
20245 + ac_header_compiler=yes
20247 + echo "$as_me: failed program was:" >&5
20248 +sed 's/^/| /' conftest.$ac_ext >&5
20250 +ac_header_compiler=no
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
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"
20263 +cat confdefs.h >>conftest.$ac_ext
20264 +cat >>conftest.$ac_ext <<_ACEOF
20265 +/* end confdefs.h. */
20266 +#include <$ac_header>
20268 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20271 - egrep -v '^ *\+' conftest.er1 >conftest.err
20272 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
20283 if test -z "$ac_cpp_err"; then
20284 - eval "$as_ac_Header=yes"
20285 + ac_header_preproc=yes
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
20292 + ac_header_preproc=no
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
20298 +# So? What about this header?
20299 +case $ac_header_compiler:$ac_header_preproc in
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;}
20307 +## ------------------------------------ ##
20308 +## Report this to bug-autoconf@gnu.org. ##
20309 +## ------------------------------------ ##
20312 + sed "s/^/$as_me: WARNING: /" >&2
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;}
20323 +## ------------------------------------ ##
20324 +## Report this to bug-autoconf@gnu.org. ##
20325 +## ------------------------------------ ##
20328 + sed "s/^/$as_me: WARNING: /" >&2
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
20336 + eval "$as_ac_Header=$ac_header_preproc"
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
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
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; }; }
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"
20375 +cat confdefs.h >>conftest.$ac_ext
20376 +cat >>conftest.$ac_ext <<_ACEOF
20377 +/* end confdefs.h. */
20379 /* Override any gcc2 internal prototype to avoid an error. */
20381 @@ -14163,53 +17113,55 @@
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
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
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
20402 echo "$as_me: failed program was:" >&5
20403 -cat conftest.$ac_ext >&5
20404 +sed 's/^/| /' conftest.$ac_ext >&5
20406 ac_cv_lib_sectok_sectok_open=no
20408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20409 LIBS=$ac_check_lib_save_LIBS
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
20421 LIBS="-lsectok $LIBS"
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; }; }
20431 - cat >>confdefs.h <<\EOF
20432 + cat >>confdefs.h <<\_ACEOF
20433 #define SMARTCARD 1
20437 - cat >>confdefs.h <<\EOF
20438 + cat >>confdefs.h <<\_ACEOF
20439 #define USE_SECTOK 1
20443 SCARD_MSG="yes, using sectok"
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.
20463 - ac_save_IFS=$IFS; IFS=$ac_path_separator
20465 -for ac_dir in $ac_dummy; do
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
20473 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20474 +for as_dir in $PATH
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
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
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
20496 - echo "$as_me:14260: result: no" >&5
20497 + echo "$as_me:$LINENO: result: no" >&5
20498 echo "${ECHO_T}no" >&6
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
20511 - cat >>confdefs.h <<\EOF
20512 + cat >>confdefs.h <<\_ACEOF
20513 #define USE_OPENSC 1
20517 SCARD_MSG="yes, using OpenSC"
20519 @@ -14287,11 +17241,11 @@
20521 if test "x$withval" != "xno" ; then
20523 - cat >>confdefs.h <<\EOF
20524 + cat >>confdefs.h <<\_ACEOF
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"
20543 +cat confdefs.h >>conftest.$ac_ext
20544 +cat >>conftest.$ac_ext <<_ACEOF
20545 +/* end confdefs.h. */
20547 /* Override any gcc2 internal prototype to avoid an error. */
20549 @@ -14318,29 +17276,34 @@
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
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
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"
20570 echo "$as_me: failed program was:" >&5
20571 -cat conftest.$ac_ext >&5
20572 +sed 's/^/| /' conftest.$ac_ext >&5
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"
20585 +cat confdefs.h >>conftest.$ac_ext
20586 +cat >>conftest.$ac_ext <<_ACEOF
20587 +/* end confdefs.h. */
20589 /* Override any gcc2 internal prototype to avoid an error. */
20591 @@ -14358,40 +17321,41 @@
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
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
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"
20613 echo "$as_me: failed program was:" >&5
20614 -cat conftest.$ac_ext >&5
20615 +sed 's/^/| /' conftest.$ac_ext >&5
20618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20621 LIBS=$ac_func_search_save_LIBS
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
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"
20651 +cat confdefs.h >>conftest.$ac_ext
20652 +cat >>conftest.$ac_ext <<_ACEOF
20653 +/* end confdefs.h. */
20655 /* Override any gcc2 internal prototype to avoid an error. */
20657 @@ -14418,29 +17386,34 @@
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
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
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"
20678 echo "$as_me: failed program was:" >&5
20679 -cat conftest.$ac_ext >&5
20680 +sed 's/^/| /' conftest.$ac_ext >&5
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"
20693 +cat confdefs.h >>conftest.$ac_ext
20694 +cat >>conftest.$ac_ext <<_ACEOF
20695 +/* end confdefs.h. */
20697 /* Override any gcc2 internal prototype to avoid an error. */
20699 @@ -14458,36 +17431,37 @@
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
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
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"
20721 echo "$as_me: failed program was:" >&5
20722 -cat conftest.$ac_ext >&5
20723 +sed 's/^/| /' conftest.$ac_ext >&5
20726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20729 LIBS=$ac_func_search_save_LIBS
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"
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"
20753 +cat confdefs.h >>conftest.$ac_ext
20754 +cat >>conftest.$ac_ext <<_ACEOF
20755 +/* end confdefs.h. */
20757 /* Override any gcc2 internal prototype to avoid an error. */
20759 @@ -14514,29 +17492,34 @@
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
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
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"
20780 echo "$as_me: failed program was:" >&5
20781 -cat conftest.$ac_ext >&5
20782 +sed 's/^/| /' conftest.$ac_ext >&5
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"
20795 +cat confdefs.h >>conftest.$ac_ext
20796 +cat >>conftest.$ac_ext <<_ACEOF
20797 +/* end confdefs.h. */
20799 /* Override any gcc2 internal prototype to avoid an error. */
20801 @@ -14554,112 +17537,133 @@
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
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
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"
20823 echo "$as_me: failed program was:" >&5
20824 -cat conftest.$ac_ext >&5
20825 +sed 's/^/| /' conftest.$ac_ext >&5
20828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20831 LIBS=$ac_func_search_save_LIBS
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"
20843 for ac_func in _getshort _getlong
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
20852 cat >conftest.$ac_ext <<_ACEOF
20853 -#line 14595 "configure"
20854 -#include "confdefs.h"
20855 +#line $LINENO "configure"
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. */
20868 +# include <limits.h>
20870 +# include <assert.h>
20872 /* Override any gcc2 internal prototype to avoid an error. */
20877 /* We use char because int might match the return type of a gcc2
20878 builtin and then its argument prototype would still apply. */
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)
20892 +char (*f) () = $ac_func;
20894 +#ifdef __cplusplus
20901 +return f != $ac_func;
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
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
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"
20924 echo "$as_me: failed program was:" >&5
20925 -cat conftest.$ac_ext >&5
20926 +sed 's/^/| /' conftest.$ac_ext >&5
20928 eval "$as_ac_var=no"
20930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
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
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
20951 cat >conftest.$ac_ext <<_ACEOF
20952 -#line 14661 "configure"
20953 -#include "confdefs.h"
20954 +#line $LINENO "configure"
20957 +cat confdefs.h >>conftest.$ac_ext
20958 +cat >>conftest.$ac_ext <<_ACEOF
20959 +/* end confdefs.h. */
20960 #include <arpa/nameser.h>
20963 @@ -14673,38 +17677,79 @@
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
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
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
20984 echo "$as_me: failed program was:" >&5
20985 -cat conftest.$ac_ext >&5
20986 +sed 's/^/| /' conftest.$ac_ext >&5
20988 +cat >conftest.$ac_ext <<_ACEOF
20989 +#line $LINENO "configure"
20992 +cat confdefs.h >>conftest.$ac_ext
20993 +cat >>conftest.$ac_ext <<_ACEOF
20994 +/* end confdefs.h. */
20995 +#include <arpa/nameser.h>
21000 +static HEADER ac_aggr;
21001 +if (sizeof ac_aggr.ad)
21007 +rm -f conftest.$ac_objext
21008 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 + (eval $ac_compile) 2>&5
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
21017 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 + (exit $ac_status); }; }; then
21019 + ac_cv_member_HEADER_ad=yes
21021 + echo "$as_me: failed program was:" >&5
21022 +sed 's/^/| /' conftest.$ac_ext >&5
21024 ac_cv_member_HEADER_ad=no
21026 rm -f conftest.$ac_objext conftest.$ac_ext
21028 -echo "$as_me:14695: result: $ac_cv_member_HEADER_ad" >&5
21029 +rm -f conftest.$ac_objext conftest.$ac_ext
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
21050 # Check whether user wants Kerberos 5 support
21051 @@ -14722,16 +17767,20 @@
21053 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
21054 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
21055 - cat >>confdefs.h <<\EOF
21056 + cat >>confdefs.h <<\_ACEOF
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"
21071 +cat confdefs.h >>conftest.$ac_ext
21072 +cat >>conftest.$ac_ext <<_ACEOF
21073 +/* end confdefs.h. */
21077 @@ -14742,32 +17791,34 @@
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
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
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
21105 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
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
21113 + echo "$as_me:$LINENO: result: no" >&5
21114 echo "${ECHO_T}no" >&6
21115 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
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"
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"
21139 +cat confdefs.h >>conftest.$ac_ext
21140 +cat >>conftest.$ac_ext <<_ACEOF
21141 +/* end confdefs.h. */
21143 /* Override any gcc2 internal prototype to avoid an error. */
21145 @@ -14803,29 +17858,34 @@
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
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
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"
21166 echo "$as_me: failed program was:" >&5
21167 -cat conftest.$ac_ext >&5
21168 +sed 's/^/| /' conftest.$ac_ext >&5
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"
21181 +cat confdefs.h >>conftest.$ac_ext
21182 +cat >>conftest.$ac_ext <<_ACEOF
21183 +/* end confdefs.h. */
21185 /* Override any gcc2 internal prototype to avoid an error. */
21187 @@ -14843,36 +17903,38 @@
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
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
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"
21209 echo "$as_me: failed program was:" >&5
21210 -cat conftest.$ac_ext >&5
21211 +sed 's/^/| /' conftest.$ac_ext >&5
21214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21217 LIBS=$ac_func_search_save_LIBS
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"
21227 - echo "$as_me:14875: checking for gss_init_sec_context in -lgssapi" >&5
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"
21242 +cat confdefs.h >>conftest.$ac_ext
21243 +cat >>conftest.$ac_ext <<_ACEOF
21244 +/* end confdefs.h. */
21246 /* Override any gcc2 internal prototype to avoid an error. */
21248 @@ -14899,36 +17965,37 @@
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
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
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
21269 echo "$as_me: failed program was:" >&5
21270 -cat conftest.$ac_ext >&5
21271 +sed 's/^/| /' conftest.$ac_ext >&5
21273 ac_cv_lib_gssapi_gss_init_sec_context=no
21275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21276 LIBS=$ac_check_lib_save_LIBS
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
21288 K5LIBS="-lgssapi $K5LIBS"
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"
21304 +cat confdefs.h >>conftest.$ac_ext
21305 +cat >>conftest.$ac_ext <<_ACEOF
21306 +/* end confdefs.h. */
21308 /* Override any gcc2 internal prototype to avoid an error. */
21310 @@ -14955,58 +18026,108 @@
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
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
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
21331 echo "$as_me: failed program was:" >&5
21332 -cat conftest.$ac_ext >&5
21333 +sed 's/^/| /' conftest.$ac_ext >&5
21335 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
21337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21338 LIBS=$ac_check_lib_save_LIBS
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
21350 K5LIBS="-lgssapi_krb5 $K5LIBS"
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;}
21360 - echo "$as_me:14993: checking for gssapi.h" >&5
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
21368 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21369 +echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
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"
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>
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
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
21398 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 + (exit $ac_status); }; }; then
21400 + ac_header_compiler=yes
21402 + echo "$as_me: failed program was:" >&5
21403 +sed 's/^/| /' conftest.$ac_ext >&5
21405 +ac_header_compiler=no
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
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"
21418 +cat confdefs.h >>conftest.$ac_ext
21419 +cat >>conftest.$ac_ext <<_ACEOF
21420 +/* end confdefs.h. */
21421 +#include <gssapi.h>
21423 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21426 - egrep -v '^ *\+' conftest.er1 >conftest.err
21427 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
21438 if test -z "$ac_cpp_err"; then
21439 - ac_cv_header_gssapi_h=yes
21440 + ac_header_preproc=yes
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
21447 + ac_header_preproc=no
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
21453 +# So? What about this header?
21454 +case $ac_header_compiler:$ac_header_preproc in
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;}
21462 +## ------------------------------------ ##
21463 +## Report this to bug-autoconf@gnu.org. ##
21464 +## ------------------------------------ ##
21467 + sed "s/^/$as_me: WARNING: /" >&2
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;}
21478 +## ------------------------------------ ##
21479 +## Report this to bug-autoconf@gnu.org. ##
21480 +## ------------------------------------ ##
21483 + sed "s/^/$as_me: WARNING: /" >&2
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
21491 + ac_cv_header_gssapi_h=$ac_header_preproc
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
21498 if test $ac_cv_header_gssapi_h = yes; then
21501 @@ -15036,23 +18202,70 @@
21502 for ac_header in gssapi.h
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
21512 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21513 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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"
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>
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
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
21542 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 + (exit $ac_status); }; }; then
21544 + ac_header_compiler=yes
21546 + echo "$as_me: failed program was:" >&5
21547 +sed 's/^/| /' conftest.$ac_ext >&5
21549 +ac_header_compiler=no
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
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"
21562 +cat confdefs.h >>conftest.$ac_ext
21563 +cat >>conftest.$ac_ext <<_ACEOF
21564 +/* end confdefs.h. */
21565 +#include <$ac_header>
21567 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21570 - egrep -v '^ *\+' conftest.er1 >conftest.err
21571 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
21582 if test -z "$ac_cpp_err"; then
21583 - eval "$as_ac_Header=yes"
21584 + ac_header_preproc=yes
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
21591 + ac_header_preproc=no
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
21597 +# So? What about this header?
21598 +case $ac_header_compiler:$ac_header_preproc in
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;}
21606 +## ------------------------------------ ##
21607 +## Report this to bug-autoconf@gnu.org. ##
21608 +## ------------------------------------ ##
21611 + sed "s/^/$as_me: WARNING: /" >&2
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;}
21622 +## ------------------------------------ ##
21623 +## Report this to bug-autoconf@gnu.org. ##
21624 +## ------------------------------------ ##
21627 + sed "s/^/$as_me: WARNING: /" >&2
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
21635 + eval "$as_ac_Header=$ac_header_preproc"
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
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
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;}
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
21673 +echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21674 +echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
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"
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>
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
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
21703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 + (exit $ac_status); }; }; then
21705 + ac_header_compiler=yes
21707 + echo "$as_me: failed program was:" >&5
21708 +sed 's/^/| /' conftest.$ac_ext >&5
21710 +ac_header_compiler=no
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
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"
21723 +cat confdefs.h >>conftest.$ac_ext
21724 +cat >>conftest.$ac_ext <<_ACEOF
21725 +/* end confdefs.h. */
21726 +#include <gssapi_krb5.h>
21728 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21731 - egrep -v '^ *\+' conftest.er1 >conftest.err
21732 + grep -v '^ *+' conftest.er1 >conftest.err
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 @@
21743 if test -z "$ac_cpp_err"; then
21744 - ac_cv_header_gssapi_krb5_h=yes
21745 + ac_header_preproc=yes
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
21752 + ac_header_preproc=no
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
21758 +# So? What about this header?
21759 +case $ac_header_compiler:$ac_header_preproc in
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;}
21767 +## ------------------------------------ ##
21768 +## Report this to bug-autoconf@gnu.org. ##
21769 +## ------------------------------------ ##
21772 + sed "s/^/$as_me: WARNING: /" >&2
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;}
21783 +## ------------------------------------ ##
21784 +## Report this to bug-autoconf@gnu.org. ##
21785 +## ------------------------------------ ##
21788 + sed "s/^/$as_me: WARNING: /" >&2
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
21796 + ac_cv_header_gssapi_krb5_h=$ac_header_preproc
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
21803 if test $ac_cv_header_gssapi_krb5_h = yes; then
21816 LIBS="$LIBS $K5LIBS"
21818 @@ -15150,8 +18508,11 @@
21819 PRIVSEP_PATH=$withval
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.
21843 - ac_save_IFS=$IFS; IFS=$ac_path_separator
21844 -ac_dummy="$TestPath"
21845 -for ac_dir in $ac_dummy; do
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
21853 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21854 +for as_dir in $TestPath
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
21868 @@ -15197,10 +18560,10 @@
21869 xauth_path=$ac_cv_path_xauth_path
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
21876 - echo "$as_me:15203: result: no" >&5
21877 + echo "$as_me:$LINENO: result: no" >&5
21878 echo "${ECHO_T}no" >&6
21881 @@ -15208,6 +18571,7 @@
21882 xauth_path="/usr/openwin/bin/xauth"
21889 @@ -15219,15 +18583,17 @@
21897 if test -z "$xauth_path" ; then
21898 XAUTH_PATH="undefined"
21901 - cat >>confdefs.h <<EOF
21902 + cat >>confdefs.h <<_ACEOF
21903 #define XAUTH_PATH "$xauth_path"
21907 XAUTH_PATH=$xauth_path
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"
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
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
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
21944 - cat >>confdefs.h <<EOF
21945 + cat >>confdefs.h <<_ACEOF
21946 #define HAVE_DEV_PTMX 1
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
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
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
21979 - cat >>confdefs.h <<EOF
21980 + cat >>confdefs.h <<_ACEOF
21981 #define HAVE_DEV_PTS_AND_PTC 1
21991 # Options from here on. Some of these are preset by platform above
21993 # Check whether --with-mantype or --without-mantype was given.
21994 @@ -15311,12 +18681,13 @@
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; }; }
22007 if test -z "$MANTYPE"; then
22008 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
22009 @@ -15324,7 +18695,7 @@
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.
22022 - ac_save_IFS=$IFS; IFS=$ac_path_separator
22023 -ac_dummy="$TestPath"
22024 -for ac_dir in $ac_dummy; do
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
22032 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22033 +for as_dir in $TestPath
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
22047 @@ -15352,10 +18725,10 @@
22048 NROFF=$ac_cv_path_NROFF
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
22055 - echo "$as_me:15358: result: no" >&5
22056 + echo "$as_me:$LINENO: result: no" >&5
22057 echo "${ECHO_T}no" >&6
22060 @@ -15378,6 +18751,7 @@
22061 mansubdir=$MANTYPE;
22065 # Check whether to enable MD5 passwords
22068 @@ -15386,13 +18760,14 @@
22069 withval="$with_md5_passwords"
22071 if test "x$withval" != "xno" ; then
22072 - cat >>confdefs.h <<\EOF
22073 + cat >>confdefs.h <<\_ACEOF
22074 #define HAVE_MD5_PASSWORDS 1
22084 # Whether to disable shadow password support
22085 @@ -15402,21 +18777,26 @@
22086 withval="$with_shadow"
22088 if test "x$withval" = "xno" ; then
22089 - cat >>confdefs.h <<\EOF
22090 + cat >>confdefs.h <<\_ACEOF
22091 #define DISABLE_SHADOW 1
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"
22111 +cat confdefs.h >>conftest.$ac_ext
22112 +cat >>conftest.$ac_ext <<_ACEOF
22113 +/* end confdefs.h. */
22115 #include <sys/types.h>
22116 #include <shadow.h>
22117 @@ -15431,34 +18811,36 @@
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
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
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
22138 echo "$as_me: failed program was:" >&5
22139 -cat conftest.$ac_ext >&5
22140 +sed 's/^/| /' conftest.$ac_ext >&5
22145 rm -f conftest.$ac_objext conftest.$ac_ext
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
22158 - echo "$as_me:15461: result: no" >&5
22159 + echo "$as_me:$LINENO: result: no" >&5
22160 echo "${ECHO_T}no" >&6
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
22174 DISPLAY_HACK_MSG="no"
22175 @@ -15478,13 +18860,14 @@
22176 withval="$with_ipaddr_display"
22178 if test "x$withval" != "xno" ; then
22179 - cat >>confdefs.h <<\EOF
22180 + cat >>confdefs.h <<\_ACEOF
22181 #define IPADDR_IN_DISPLAY 1
22185 DISPLAY_HACK_MSG="yes"
22192 @@ -15495,13 +18878,14 @@
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
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
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
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
22231 @@ -15538,7 +18924,7 @@
22232 withval="$with_default_path"
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 @@
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;}
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 @@
22266 cat >conftest.$ac_ext <<_ACEOF
22267 -#line 15578 "configure"
22268 -#include "confdefs.h"
22269 +#line $LINENO "configure"
22272 +cat confdefs.h >>conftest.$ac_ext
22273 +cat >>conftest.$ac_ext <<_ACEOF
22274 +/* end confdefs.h. */
22276 /* find out what STDPATH is */
22278 @@ -15612,24 +19002,26 @@
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
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
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`
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
22303 +( exit $ac_status )
22304 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
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
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
22320 @@ -15652,9 +19044,10 @@
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"
22333 @@ -15665,16 +19058,18 @@
22334 withval="$with_superuser_path"
22336 if test "x$withval" != "xno" ; then
22337 - cat >>confdefs.h <<EOF
22338 + cat >>confdefs.h <<_ACEOF
22339 #define SUPERUSER_PATH "$withval"
22343 superuser_path=$withval
22349 -echo "$as_me:15677: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
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"
22355 @@ -15683,33 +19078,34 @@
22356 withval="$with_4in6"
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
22368 IPV4_IN6_HACK_MSG="yes"
22370 - echo "$as_me:15694: result: no" >&5
22371 + echo "$as_me:$LINENO: result: no" >&5
22372 echo "${ECHO_T}no" >&6
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
22387 IPV4_IN6_HACK_MSG="yes"
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
22397 # Whether to enable BSD auth support
22398 @@ -15720,13 +19116,14 @@
22399 withval="$with_bsd_auth"
22401 if test "x$withval" != "xno" ; then
22402 - cat >>confdefs.h <<\EOF
22403 + cat >>confdefs.h <<\_ACEOF
22414 # Where to place sshd.pid
22415 @@ -15739,6 +19136,7 @@
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
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;}
22436 -cat >>confdefs.h <<EOF
22437 +cat >>confdefs.h <<_ACEOF
22438 #define _PATH_SSH_PIDDIR "$piddir"
22444 # Check whether --enable-lastlog or --disable-lastlog was given.
22445 if test "${enable_lastlog+set}" = set; then
22446 enableval="$enable_lastlog"
22448 if test "x$enableval" = "xno" ; then
22449 - cat >>confdefs.h <<\EOF
22450 + cat >>confdefs.h <<\_ACEOF
22451 #define DISABLE_LASTLOG 1
22459 # Check whether --enable-utmp or --disable-utmp was given.
22460 if test "${enable_utmp+set}" = set; then
22461 enableval="$enable_utmp"
22463 if test "x$enableval" = "xno" ; then
22464 - cat >>confdefs.h <<\EOF
22465 + cat >>confdefs.h <<\_ACEOF
22466 #define DISABLE_UTMP 1
22474 # Check whether --enable-utmpx or --disable-utmpx was given.
22475 if test "${enable_utmpx+set}" = set; then
22476 enableval="$enable_utmpx"
22478 if test "x$enableval" = "xno" ; then
22479 - cat >>confdefs.h <<\EOF
22480 + cat >>confdefs.h <<\_ACEOF
22481 #define DISABLE_UTMPX 1
22489 # Check whether --enable-wtmp or --disable-wtmp was given.
22490 if test "${enable_wtmp+set}" = set; then
22491 enableval="$enable_wtmp"
22493 if test "x$enableval" = "xno" ; then
22494 - cat >>confdefs.h <<\EOF
22495 + cat >>confdefs.h <<\_ACEOF
22496 #define DISABLE_WTMP 1
22504 # Check whether --enable-wtmpx or --disable-wtmpx was given.
22505 if test "${enable_wtmpx+set}" = set; then
22506 enableval="$enable_wtmpx"
22508 if test "x$enableval" = "xno" ; then
22509 - cat >>confdefs.h <<\EOF
22510 + cat >>confdefs.h <<\_ACEOF
22511 #define DISABLE_WTMPX 1
22519 # Check whether --enable-libutil or --disable-libutil was given.
22520 if test "${enable_libutil+set}" = set; then
22521 enableval="$enable_libutil"
22523 if test "x$enableval" = "xno" ; then
22524 - cat >>confdefs.h <<\EOF
22525 + cat >>confdefs.h <<\_ACEOF
22526 #define DISABLE_LOGIN 1
22534 # Check whether --enable-pututline or --disable-pututline was given.
22535 if test "${enable_pututline+set}" = set; then
22536 enableval="$enable_pututline"
22538 if test "x$enableval" = "xno" ; then
22539 - cat >>confdefs.h <<\EOF
22540 + cat >>confdefs.h <<\_ACEOF
22541 #define DISABLE_PUTUTLINE 1
22549 # Check whether --enable-pututxline or --disable-pututxline was given.
22550 if test "${enable_pututxline+set}" = set; then
22551 enableval="$enable_pututxline"
22553 if test "x$enableval" = "xno" ; then
22554 - cat >>confdefs.h <<\EOF
22555 + cat >>confdefs.h <<\_ACEOF
22556 #define DISABLE_PUTUTXLINE 1
22565 # Check whether --with-lastlog or --without-lastlog was given.
22566 @@ -15859,21 +19268,27 @@
22567 withval="$with_lastlog"
22569 if test "x$withval" = "xno" ; then
22570 - cat >>confdefs.h <<\EOF
22571 + cat >>confdefs.h <<\_ACEOF
22572 #define DISABLE_LASTLOG 1
22577 conf_lastlog_location=$withval
22583 -echo "$as_me:15872: checking if your system defines LASTLOG_FILE" >&5
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"
22593 +cat confdefs.h >>conftest.$ac_ext
22594 +cat >>conftest.$ac_ext <<_ACEOF
22595 +/* end confdefs.h. */
22597 #include <sys/types.h>
22599 @@ -15896,30 +19311,35 @@
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
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
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
22622 echo "$as_me: failed program was:" >&5
22623 -cat conftest.$ac_ext >&5
22624 +sed 's/^/| /' conftest.$ac_ext >&5
22626 - echo "$as_me:15916: result: no" >&5
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"
22640 +cat confdefs.h >>conftest.$ac_ext
22641 +cat >>conftest.$ac_ext <<_ACEOF
22642 +/* end confdefs.h. */
22644 #include <sys/types.h>
22646 @@ -15939,30 +19359,32 @@
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
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
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
22669 echo "$as_me: failed program was:" >&5
22670 -cat conftest.$ac_ext >&5
22671 +sed 's/^/| /' conftest.$ac_ext >&5
22673 - echo "$as_me:15959: result: no" >&5
22675 + echo "$as_me:$LINENO: result: no" >&5
22676 echo "${ECHO_T}no" >&6
22677 system_lastlog_path=no
22680 rm -f conftest.$ac_objext conftest.$ac_ext
22684 rm -f conftest.$ac_objext conftest.$ac_ext
22686 @@ -15974,24 +19396,28 @@
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;}
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"
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"
22715 +cat confdefs.h >>conftest.$ac_ext
22716 +cat >>conftest.$ac_ext <<_ACEOF
22717 +/* end confdefs.h. */
22719 #include <sys/types.h>
22721 @@ -16008,23 +19434,24 @@
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
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
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
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
22749 + echo "$as_me:$LINENO: result: no" >&5
22750 echo "${ECHO_T}no" >&6
22751 system_utmp_path=no
22753 @@ -16038,25 +19465,29 @@
22756 if test -z "$conf_utmp_location"; then
22757 - cat >>confdefs.h <<\EOF
22758 + cat >>confdefs.h <<\_ACEOF
22759 #define DISABLE_UTMP 1
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"
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"
22784 +cat confdefs.h >>conftest.$ac_ext
22785 +cat >>conftest.$ac_ext <<_ACEOF
22786 +/* end confdefs.h. */
22788 #include <sys/types.h>
22790 @@ -16073,23 +19504,24 @@
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
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
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
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
22818 + echo "$as_me:$LINENO: result: no" >&5
22819 echo "${ECHO_T}no" >&6
22820 system_wtmp_path=no
22822 @@ -16103,25 +19535,30 @@
22825 if test -z "$conf_wtmp_location"; then
22826 - cat >>confdefs.h <<\EOF
22827 + cat >>confdefs.h <<\_ACEOF
22828 #define DISABLE_WTMP 1
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"
22844 -echo "$as_me:16120: checking if your system defines UTMPX_FILE" >&5
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"
22854 +cat confdefs.h >>conftest.$ac_ext
22855 +cat >>conftest.$ac_ext <<_ACEOF
22856 +/* end confdefs.h. */
22858 #include <sys/types.h>
22860 @@ -16141,23 +19578,24 @@
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
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
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
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
22888 + echo "$as_me:$LINENO: result: no" >&5
22889 echo "${ECHO_T}no" >&6
22890 system_utmpx_path=no
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
22904 - cat >>confdefs.h <<EOF
22905 + cat >>confdefs.h <<_ACEOF
22906 #define CONF_UTMPX_FILE "$conf_utmpx_location"
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"
22921 +cat confdefs.h >>conftest.$ac_ext
22922 +cat >>conftest.$ac_ext <<_ACEOF
22923 +/* end confdefs.h. */
22925 #include <sys/types.h>
22927 @@ -16201,23 +19643,24 @@
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
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
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
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
22955 + echo "$as_me:$LINENO: result: no" >&5
22956 echo "${ECHO_T}no" >&6
22957 system_wtmpx_path=no
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
22971 - cat >>confdefs.h <<EOF
22972 + cat >>confdefs.h <<_ACEOF
22973 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
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;}
22987 @@ -16250,7 +19694,8 @@
22988 LIBS=`echo $LIBS | sed 's/-ldl //'`
22991 -ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
22993 + ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
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.
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.
23006 @@ -16297,7 +19742,7 @@
23008 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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 @@
23017 DEFS=-DHAVE_CONFIG_H
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$//'`
23026 + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23027 + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23029 +LIBOBJS=$ac_libobjs
23031 +LTLIBOBJS=$ac_ltlibobjs
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
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.
23050 +ac_cs_recheck=false
23051 +ac_cs_silent=false
23052 SHELL=\${CONFIG_SHELL-$SHELL}
23053 -ac_cs_invocation="\$0 \$@"
23057 cat >>$CONFIG_STATUS <<\_ACEOF
23058 +## --------------------- ##
23059 +## M4sh Initialization. ##
23060 +## --------------------- ##
23062 # Be Bourne compatible
23063 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
23073 +# Support unset when possible.
23074 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23081 +# Work around bugs in pre-3.0 UWIN ksh.
23082 +$as_unset ENV MAIL MAILPATH
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
23093 + if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23094 + eval $as_var=C; export $as_var
23096 + $as_unset $as_var
23100 +# Required to use basename.
23101 +if expr a : '\(a\)' >/dev/null 2>&1; then
23107 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23108 + as_basename=basename
23110 + as_basename=false
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 ||
23122 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23123 + /^X\/\(\/\/\)$/{ s//\1/; q; }
23124 + /^X\/\(\/\).*/{ s//\1/; q; }
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
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=';'
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.
23158 + *[\\/]* ) as_myself=$0 ;;
23159 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23160 +for as_dir in $PATH
23163 + test -z "$as_dir" && as_dir=.
23164 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
23179 + case $CONFIG_SHELL in
23181 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23182 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23185 + test -z "$as_dir" && as_dir=.
23186 + for as_base in sh bash ksh sh5; do
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+"$@"}
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 |
23220 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
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; }; }
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.
23239 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23240 + *c*,-n*) ECHO_N= ECHO_C='
23242 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23243 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23246 if expr a : '\(a\)' >/dev/null 2>&1; then
23248 @@ -16382,24 +20019,20 @@
23250 rm -f conf$$ conf$$.exe conf$$.file
23252 -as_executable_p="test -f"
23254 -# Support unset when possible.
23255 -if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23257 +if mkdir -p . 2>/dev/null; then
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"
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"
23278 +# Sed expression to map a string onto a valid variable name.
23279 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23283 # We need space, tab and new line, in precisely that order.
23284 @@ -16408,10 +20041,34 @@
23288 -$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
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
23299 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23300 +## Running $as_me. ##
23305 +This file was extended by $as_me, which was
23306 +generated by GNU Autoconf 2.57. Invocation command line was
23308 + CONFIG_FILES = $CONFIG_FILES
23309 + CONFIG_HEADERS = $CONFIG_HEADERS
23310 + CONFIG_LINKS = $CONFIG_LINKS
23311 + CONFIG_COMMANDS = $CONFIG_COMMANDS
23315 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23319 # Files that config.status was made for.
23320 @@ -16431,7 +20088,7 @@
23321 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23324 -cat >>$CONFIG_STATUS <<\EOF
23325 +cat >>$CONFIG_STATUS <<\_ACEOF
23328 \`$as_me' instantiates files from templates according to the
23329 @@ -16441,6 +20098,7 @@
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 @@
23340 Report bugs to <bug-autoconf@gnu.org>."
23344 -cat >>$CONFIG_STATUS <<EOF
23345 +cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
23365 @@ -16481,30 +20139,30 @@
23367 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23368 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23370 - set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
23380 *) # This is not an option, so the user has probably given explicit
23383 ac_need_defaults=false;;
23387 + case $ac_option in
23388 # Handling of the options.
23390 -cat >>$CONFIG_STATUS <<EOF
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 ;;
23397 -cat >>$CONFIG_STATUS <<\EOF
23398 + ac_cs_recheck=: ;;
23399 --version | --vers* | -V )
23400 echo "$ac_cs_version"; exit 0 ;;
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 )
23411 --file | --fil | --fi | --f )
23413 - CONFIG_FILES="$CONFIG_FILES $1"
23415 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23416 ac_need_defaults=false;;
23417 --header | --heade | --head | --hea )
23419 - CONFIG_HEADERS="$CONFIG_HEADERS $1"
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=: ;;
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 @@
23437 -exec 5>>config.log
23439 +ac_configure_extra_args=
23441 -## ----------------------- ##
23442 -## Running config.status. ##
23443 -## ----------------------- ##
23444 +if $ac_cs_silent; then
23446 + ac_configure_extra_args="$ac_configure_extra_args --silent"
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`
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
23466 -cat >>$CONFIG_STATUS <<\EOF
23471 +cat >>$CONFIG_STATUS <<\_ACEOF
23472 for ac_config_target in $ac_config_targets
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; }; };;
23484 @@ -16578,6 +20241,9 @@
23485 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
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.
23494 @@ -16586,23 +20252,23 @@
23497 # Create a (secure) tmp directory for tmp files.
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"
23506 - tmp=$TMPDIR/cs$$-$RANDOM
23507 + tmp=./confstat$$-$RANDOM
23508 (umask 077 && mkdir $tmp)
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; }
23519 -cat >>$CONFIG_STATUS <<EOF
23520 +cat >>$CONFIG_STATUS <<_ACEOF
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
23557 s,@CFLAGS@,$CFLAGS,;t t
23558 @@ -16674,6 +20340,7 @@
23560 s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;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
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 @@
23584 fi # test -n "$CONFIG_FILES"
23587 -cat >>$CONFIG_STATUS <<\EOF
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".
23593 @@ -16763,7 +20432,8 @@
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; }
23607 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23608 - { case "$ac_dir" in
23609 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23610 - *) as_incr_dir=.;;
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 ;;
23618 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
23619 - test -d "$as_incr_dir" || mkdir "$as_incr_dir"
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"
23630 - ac_dir_suffix= ac_dots=
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 ||
23643 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23644 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23645 + /^X\(\/\/\)$/{ s//\1/; q; }
23646 + /^X\(\/\).*/{ s//\1/; q; }
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; }; }; }
23656 - if test -z "$ac_dots"; then
23659 - ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
23661 - [\\/]* | ?:[\\/]* )
23662 - ac_srcdir=$srcdir$ac_dir_suffix;
23663 - ac_top_srcdir=$srcdir ;;
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'`
23671 + ac_dir_suffix= ac_top_builddir=
23675 + .) # No --srcdir option. We are building in place.
23677 + if test -z "$ac_top_builddir"; then
23680 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
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 ;;
23689 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23690 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
23692 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
23701 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23702 - *) ac_INSTALL=$ac_dots$INSTALL ;;
23703 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
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;}
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
23721 + configure_input="$ac_file. "
23723 + configure_input=$configure_input"Generated from `echo $ac_file_in |
23724 + sed 's,.*/,,'` by configure."
23726 # First look for the input files in the build tree, otherwise in the
23728 @@ -16837,7 +20531,7 @@
23729 -) echo $tmp/stdin ;;
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; }; }
23737 @@ -16850,23 +20544,29 @@
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; }; }
23747 done` || { (exit 1); exit 1; }
23749 -cat >>$CONFIG_STATUS <<EOF
23751 +cat >>$CONFIG_STATUS <<_ACEOF
23755 -cat >>$CONFIG_STATUS <<\EOF
23757 +cat >>$CONFIG_STATUS <<\_ACEOF
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
23772 @@ -16878,8 +20578,8 @@
23777 -cat >>$CONFIG_STATUS <<\EOF
23779 +cat >>$CONFIG_STATUS <<\_ACEOF
23782 # CONFIG_HEADER section.
23783 @@ -16911,7 +20611,7 @@
23784 * ) ac_file_in=$ac_file.in ;;
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;}
23791 # First look for the input files in the build tree, otherwise in the
23792 @@ -16922,7 +20622,7 @@
23793 -) echo $tmp/stdin ;;
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; }; }
23801 @@ -16935,7 +20635,7 @@
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; }; }
23810 @@ -16944,7 +20644,7 @@
23811 # Remove the trailing spaces.
23812 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
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
23828 @@ -16969,7 +20669,7 @@
23830 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
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]*,/* & */,
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
23858 rm -f conftest.defines
23859 -echo ' fi # egrep' >>$CONFIG_STATUS
23860 +echo ' fi # grep' >>$CONFIG_STATUS
23861 echo >>$CONFIG_STATUS
23863 # Break up conftest.undefs because some shells have a limit on the size
23864 @@ -17039,23 +20739,24 @@
23866 rm -f conftest.undefs
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
23878 - echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
23879 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23881 cat $tmp/in >>$tmp/config.h
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;}
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; }
23900 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23901 - { case "$ac_dir" in
23902 - [\\/]* | ?:[\\/]* ) as_incr_dir=;;
23903 - *) as_incr_dir=.;;
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 ;;
23911 - as_incr_dir=$as_incr_dir/$as_mkdir_dir
23912 - test -d "$as_incr_dir" || mkdir "$as_incr_dir"
23916 + { if $as_mkdir_p; then
23917 + mkdir -p "$ac_dir"
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 ||
23930 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23931 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23932 + /^X\(\/\/\)$/{ s//\1/; q; }
23933 + /^X\(\/\).*/{ s//\1/; q; }
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; }; }; }
23943 mv $tmp/config.h $ac_file
23945 @@ -17092,15 +20800,16 @@
23946 rm -f $tmp/config.h
23952 -cat >>$CONFIG_STATUS <<\EOF
23953 +cat >>$CONFIG_STATUS <<\_ACEOF
23955 { (exit 0); exit 0; }
23958 chmod +x $CONFIG_STATUS
23959 ac_clean_files=$ac_clean_files_save
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
23969 + ac_config_status_args=
23970 + test "$silent" = yes &&
23971 + ac_config_status_args="$ac_config_status_args --quiet"
23973 - $SHELL $CONFIG_STATUS || ac_cs_success=false
23974 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
23982 # Print summary of options
23984 # Someone please show me a better way :)