2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for tcsh 6.15.00.
5 # Report bugs to <http://bugs.gw.com/>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='tcsh'
272 PACKAGE_VERSION
='6.15.00'
273 PACKAGE_STRING
='tcsh 6.15.00'
274 PACKAGE_BUGREPORT
='http://bugs.gw.com/'
276 ac_unique_file
="tc.vers.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBICONV LTLIBICONV DFLAGS HESDEF HESLIB LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures tcsh 6.15.00 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 if test -n "$ac_init_help"; then
843 case $ac_init_help in
844 short | recursive
) echo "Configuration of tcsh 6.15.00:";;
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --disable-rpath do not hardcode runtime library paths
852 --disable-nls Disable NLS support
855 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
856 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
857 --with-gnu-ld assume the C compiler uses GNU ld default
=no
858 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
859 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
860 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion
862 Some influential environment variables:
863 CC C compiler command
864 CFLAGS C compiler flags
865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
866 nonstandard directory <lib dir>
867 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
868 headers in a nonstandard directory <include dir>
871 Use these variables to override the choices made by `configure' or to
help
872 it to
find libraries and programs with nonstandard names
/locations.
874 Report bugs to
<http
://bugs.gw.com
/>.
878 if test "$ac_init_help" = "recursive"; then
879 # If there are subdirs, report their specific --help.
881 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
882 test -d $ac_dir ||
continue
885 if test "$ac_dir" != .
; then
886 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
887 # A "../" for each directory in $ac_dir_suffix.
888 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
890 ac_dir_suffix
= ac_top_builddir
=
894 .
) # No --srcdir option. We are building in place.
896 if test -z "$ac_top_builddir"; then
899 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
901 [\\/]* | ?
:[\\/]* ) # Absolute path.
902 ac_srcdir
=$srcdir$ac_dir_suffix;
903 ac_top_srcdir
=$srcdir ;;
905 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
906 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
909 # Do not use `cd foo && pwd` to compute absolute paths, because
910 # the directories may not exist.
912 .
) ac_abs_builddir
="$ac_dir";;
915 .
) ac_abs_builddir
=`pwd`;;
916 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
917 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
920 case $ac_abs_builddir in
921 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
923 case ${ac_top_builddir}.
in
924 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
925 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
926 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
929 case $ac_abs_builddir in
930 .
) ac_abs_srcdir
=$ac_srcdir;;
933 .
) ac_abs_srcdir
=$ac_abs_builddir;;
934 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
935 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
938 case $ac_abs_builddir in
939 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
941 case $ac_top_srcdir in
942 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
943 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
944 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
949 # Check for guested configure; otherwise get Cygnus style configure.
950 if test -f $ac_srcdir/configure.gnu
; then
952 $SHELL $ac_srcdir/configure.gnu
--help=recursive
953 elif test -f $ac_srcdir/configure
; then
955 $SHELL $ac_srcdir/configure
--help=recursive
956 elif test -f $ac_srcdir/configure.ac ||
957 test -f $ac_srcdir/configure.
in; then
961 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
967 test -n "$ac_init_help" && exit 0
968 if $ac_init_version; then
970 tcsh configure
6.15.00
971 generated by GNU Autoconf
2.59
973 Copyright
(C
) 2003 Free Software Foundation
, Inc.
974 This configure
script is free software
; the Free Software Foundation
975 gives unlimited permission to copy
, distribute and modify it.
981 This file contains any messages produced by compilers while
982 running configure, to aid debugging if configure makes a mistake.
984 It was created by tcsh $as_me 6.15.00, which was
985 generated by GNU Autoconf 2.59. Invocation command line was
996 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997 uname -m = `(uname -m) 2>/dev/null || echo unknown`
998 uname -r = `(uname -r) 2>/dev/null || echo unknown`
999 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1002 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1005 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1006 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1007 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1009 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1010 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1011 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1019 test -z "$as_dir" && as_dir
=.
1020 echo "PATH: $as_dir"
1035 # Keep a trace of the command line.
1036 # Strip out --no-create and --no-recursion so they do not pile up.
1037 # Strip out --silent because we don't want to record it for future runs.
1038 # Also quote any args containing shell meta-characters.
1039 # Make two passes to allow for proper duplicate-argument suppression.
1044 ac_must_keep_next
=false
1050 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1051 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1052 |
-silent |
--silent |
--silen |
--sile |
--sil)
1054 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1058 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1060 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1061 if test $ac_must_keep_next = true
; then
1062 ac_must_keep_next
=false
# Got value, back to normal.
1065 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1066 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1067 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1068 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1069 case "$ac_configure_args0 " in
1070 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1073 -* ) ac_must_keep_next
=true
;;
1076 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1083 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1084 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1086 # When interrupted or exit'd, cleanup temporary files, and complete
1087 # config.log. We remove comments because anyway the quotes in there
1088 # would cause problems or look ugly.
1089 # WARNING: Be sure not to use single quotes in there, as some shells,
1090 # such as our DU 5.0 friend, will then `close' the trap.
1091 trap 'exit_status=$?
1092 # Save into config.log some information that might help in debugging.
1097 ## ---------------- ##
1098 ## Cache variables. ##
1099 ## ---------------- ##
1102 # The following way of writing the cache mishandles newlines in values,
1105 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1108 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1120 ## ----------------- ##
1121 ## Output variables. ##
1122 ## ----------------- ##
1125 for ac_var in $ac_subst_vars
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1132 if test -n "$ac_subst_files"; then
1139 for ac_var in $ac_subst_files
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -s confdefs.h; then
1154 sed "/^$/d" confdefs.h | sort
1157 test "$ac_signal" != 0 &&
1158 echo "$as_me: caught signal $ac_signal"
1159 echo "$as_me: exit $exit_status"
1161 rm -f core *.core &&
1162 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1165 for ac_signal
in 1 2 13 15; do
1166 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1170 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1171 rm -rf conftest
* confdefs.h
1172 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1175 # Predefined preprocessor variables.
1177 cat >>confdefs.h
<<_ACEOF
1178 #define PACKAGE_NAME "$PACKAGE_NAME"
1182 cat >>confdefs.h
<<_ACEOF
1183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1187 cat >>confdefs.h
<<_ACEOF
1188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1192 cat >>confdefs.h
<<_ACEOF
1193 #define PACKAGE_STRING "$PACKAGE_STRING"
1197 cat >>confdefs.h
<<_ACEOF
1198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1202 # Let the site file select an alternate cache file if it wants to.
1203 # Prefer explicitly selected file to automatically selected ones.
1204 if test -z "$CONFIG_SITE"; then
1205 if test "x$prefix" != xNONE
; then
1206 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1208 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1211 for ac_site_file
in $CONFIG_SITE; do
1212 if test -r "$ac_site_file"; then
1213 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214 echo "$as_me: loading site script $ac_site_file" >&6;}
1215 sed 's/^/| /' "$ac_site_file" >&5
1220 if test -r "$cache_file"; then
1221 # Some versions of bash will fail to source /dev/null (special
1222 # files actually), so we avoid doing that.
1223 if test -f "$cache_file"; then
1224 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225 echo "$as_me: loading cache $cache_file" >&6;}
1227 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1228 *) . .
/$cache_file;;
1232 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233 echo "$as_me: creating cache $cache_file" >&6;}
1237 # Check that the precious variables saved in the cache have kept the same
1239 ac_cache_corrupted
=false
1240 for ac_var
in `(set) 2>&1 |
1241 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1243 eval ac_new_set
=\
$ac_env_${ac_var}_set
1244 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1245 eval ac_new_val
="\$ac_env_${ac_var}_value"
1246 case $ac_old_set,$ac_new_set in
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 ac_cache_corrupted
=: ;;
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 ac_cache_corrupted
=: ;;
1257 if test "x$ac_old_val" != "x$ac_new_val"; then
1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1261 echo "$as_me: former value: $ac_old_val" >&2;}
1262 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1263 echo "$as_me: current value: $ac_new_val" >&2;}
1264 ac_cache_corrupted
=:
1267 # Pass precious variables to config.status.
1268 if test "$ac_new_set" = set; then
1270 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 *) ac_arg
=$ac_var=$ac_new_val ;;
1274 case " $ac_configure_args " in
1275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1280 if $ac_cache_corrupted; then
1281 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 { (exit 1); exit 1; }; }
1289 ac_cpp
='$CPP $CPPFLAGS'
1290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1321 ac_config_headers
="$ac_config_headers config.h"
1323 ac_config_commands
="$ac_config_commands ./atconfig"
1328 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1329 if test -f $ac_dir/install-sh
; then
1331 ac_install_sh
="$ac_aux_dir/install-sh -c"
1333 elif test -f $ac_dir/install.sh
; then
1335 ac_install_sh
="$ac_aux_dir/install.sh -c"
1337 elif test -f $ac_dir/shtool
; then
1339 ac_install_sh
="$ac_aux_dir/shtool install -c"
1343 if test -z "$ac_aux_dir"; then
1344 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1346 { (exit 1); exit 1; }; }
1348 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1349 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1350 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1352 # Make sure we can run config.sub.
1353 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1354 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1356 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: checking build system type" >&5
1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1360 if test "${ac_cv_build+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 ac_cv_build_alias
=$build_alias
1364 test -z "$ac_cv_build_alias" &&
1365 ac_cv_build_alias
=`$ac_config_guess`
1366 test -z "$ac_cv_build_alias" &&
1367 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1368 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1369 { (exit 1); exit 1; }; }
1370 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1377 echo "${ECHO_T}$ac_cv_build" >&6
1379 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1380 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1381 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1384 echo "$as_me:$LINENO: checking host system type" >&5
1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1386 if test "${ac_cv_host+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_host_alias
=$host_alias
1390 test -z "$ac_cv_host_alias" &&
1391 ac_cv_host_alias
=$ac_cv_build_alias
1392 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1399 echo "${ECHO_T}$ac_cv_host" >&6
1401 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1402 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1403 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1407 echo "$as_me:$LINENO: checking cached host tuple" >&5
1408 echo $ECHO_N "checking cached host tuple... $ECHO_C" >&6
1409 if { test x
"${ac_cv_host_system_type+set}" = x
"set" &&
1410 test x
"$ac_cv_host_system_type" != x
"$host"; }; then
1411 echo "$as_me:$LINENO: result: different" >&5
1412 echo "${ECHO_T}different" >&6
1413 { { echo "$as_me:$LINENO: error: remove config.cache and re-run configure" >&5
1414 echo "$as_me: error: remove config.cache and re-run configure" >&2;}
1415 { (exit 1); exit 1; }; }
1417 echo "$as_me:$LINENO: result: ok" >&5
1418 echo "${ECHO_T}ok" >&6
1420 ac_cv_host_system_type
="$host"
1426 ## Alpha (DEC) machines.
1428 tcsh_config_file
=decosf1
1433 tcsh_config_file
=ultrix
1438 tcsh_config_file
=dgux5.4
1441 tcsh_config_file
=dgux5.4
1446 tcsh_config_file
=hpux7
1449 tcsh_config_file
=hpux8
1452 tcsh_config_file
=hpux11
1457 tcsh_config_file
=aix
1462 CC
='cc -h0,ansi,novector,float0'
1464 tcsh_config_file
=superux8
1467 ## IBM OS/390 systems
1470 tcsh_config_file
=os390
1474 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu)
1475 tcsh_config_file
=linux
1479 m68k-motorola-sysv
* )
1480 tcsh_config_file
=sysV68
1482 m88k-motorola-sysv3
* )
1483 tcsh_config_file
=sysV88
1488 tcsh_config_file
=bsd4.4
1493 tcsh_config_file
=bsd4.4
1498 tcsh_config_file
=bsd4.4
1503 tcsh_config_file
=bsd4.4
1508 tcsh_config_file
=bsd4.4
1513 tcsh_config_file
=bsd4.4
1516 ## DragonFly systems
1518 tcsh_config_file
=bsd4.4
1521 ## Silicon Graphics machines
1523 tcsh_config_file
=irix
1524 case "${host_os}" in
1525 irix
[34]*) # Irix-3.x - Irix 4.x
1526 NON_GNU_DFLAGS
='-D__STDC__'
1527 LIBS
='-lsun -lbsd -lc_s'
1529 irix5
* | irix6.
[01]*) # Irix 5.x, Irix 6.0 - 6.1
1532 irix6.
[2-9]*) # Irix 6.2 and later
1533 tcsh_config_file
=irix62
1540 tcsh_config_file
=sunos35
1543 tcsh_config_file
=sunos40
1545 *-sun-sunos4.1.
[12]* )
1546 tcsh_config_file
=sunos41
1548 *-sun-sunos4.1.
[3456]* )
1549 tcsh_config_file
=sunos413
1551 *-*-solaris2.
[01] ) # Should handle sparc or x86
1552 tcsh_config_file
=sol2
1554 *-sun-solaris2.2
) # Sparc only release
1555 tcsh_config_file
=sol22
1557 *-sun-solaris2.3
) # Sparc only release
1558 tcsh_config_file
=sol23
1560 *-*-solaris2.
[45] ) # Should handle sparc, x86 and powerpc
1561 tcsh_config_file
=sol24
1563 *-*-solaris2.
* ) # Should handle sparc, x86 and powerpc
1564 tcsh_config_file
=sol26
1569 tcsh_config_file
=sysv4
1570 DFLAGS
="$DFLAGS -DDELL"
1573 ## SVR4 (Generic and otherwise)
1575 tcsh_config_file
=sysv4
1578 ## Tektronix systems
1579 m68k-tektronix-bsd
* )
1580 tcsh_config_file
=bsd
1581 NON_GNU_DFLAGS
='-DBSD -DUTek'
1583 m88k-tektronix-sysv3
* )
1584 tcsh_config_file
=tekXD88
1589 tcsh_config_file
=sco32v5
1592 tcsh_config_file
=sco32v4
1595 tcsh_config_file
=sco32v2
1598 ## Siemens BS2000 Mainframe
1600 tcsh_config_file
=bs2000
1605 tcsh_config_file
=convex
1610 tcsh_config_file
=cray
1615 tcsh_config_file
=cygwin32
1618 ## mips-compaq-nonstopux
1620 tcsh_config_file
=sysv4
1625 tcsh_config_file
=apollo
1629 { { echo "$as_me:$LINENO: error: Tcsh can't guess the configuration file name
1630 for \`${host}' systems.
1631 Check tcsh's \`Ported' file for manual configuration instructions." >&5
1632 echo "$as_me: error: Tcsh can't guess the configuration file name
1633 for \`${host}' systems.
1634 Check tcsh's \`Ported' file for manual configuration instructions." >&2;}
1635 { (exit 1); exit 1; }; }
1640 echo "Tcsh will use configuration file \`$tcsh_config_file'."
1641 cp ${srcdir}/config
/${tcsh_config_file} config_p.h
1646 ac_cpp
='$CPP $CPPFLAGS'
1647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1650 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1652 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_CC+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$CC"; then
1659 ac_cv_prog_CC
="$CC" # Let the user override the test.
1661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir
=.
1666 for ac_exec_ext
in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1687 if test -z "$ac_cv_prog_CC"; then
1689 # Extract the first word of "gcc", so it can be a program name with args.
1690 set dummy gcc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$ac_ct_CC"; then
1697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1703 test -z "$as_dir" && as_dir
=.
1704 for ac_exec_ext
in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_ac_ct_CC
="gcc"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1716 if test -n "$ac_ct_CC"; then
1717 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1718 echo "${ECHO_T}$ac_ct_CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1731 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1732 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1733 echo "$as_me:$LINENO: checking for $ac_word" >&5
1734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1735 if test "${ac_cv_prog_CC+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 if test -n "$CC"; then
1739 ac_cv_prog_CC
="$CC" # Let the user override the test.
1741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1745 test -z "$as_dir" && as_dir
=.
1746 for ac_exec_ext
in '' $ac_executable_extensions; do
1747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1748 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1758 if test -n "$CC"; then
1759 echo "$as_me:$LINENO: result: $CC" >&5
1760 echo "${ECHO_T}$CC" >&6
1762 echo "$as_me:$LINENO: result: no" >&5
1763 echo "${ECHO_T}no" >&6
1767 if test -z "$ac_cv_prog_CC"; then
1769 # Extract the first word of "cc", so it can be a program name with args.
1770 set dummy cc
; ac_word
=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 if test -n "$ac_ct_CC"; then
1777 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1783 test -z "$as_dir" && as_dir
=.
1784 for ac_exec_ext
in '' $ac_executable_extensions; do
1785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1786 ac_cv_prog_ac_ct_CC
="cc"
1787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1796 if test -n "$ac_ct_CC"; then
1797 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1798 echo "${ECHO_T}$ac_ct_CC" >&6
1800 echo "$as_me:$LINENO: result: no" >&5
1801 echo "${ECHO_T}no" >&6
1810 if test -z "$CC"; then
1811 # Extract the first word of "cc", so it can be a program name with args.
1812 set dummy cc
; ac_word
=$2
1813 echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815 if test "${ac_cv_prog_CC+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 if test -n "$CC"; then
1819 ac_cv_prog_CC
="$CC" # Let the user override the test.
1822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir
=.
1827 for ac_exec_ext
in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1830 ac_prog_rejected
=yes
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 if test $ac_prog_rejected = yes; then
1841 # We found a bogon in the path, so make sure we never use it.
1842 set dummy
$ac_cv_prog_CC
1844 if test $# != 0; then
1845 # We chose a different compiler from the bogus one.
1846 # However, it has the same basename, so the bogon will be chosen
1847 # first if we set CC to just the basename; use the full file name.
1849 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1855 if test -n "$CC"; then
1856 echo "$as_me:$LINENO: result: $CC" >&5
1857 echo "${ECHO_T}$CC" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1864 if test -z "$CC"; then
1865 if test -n "$ac_tool_prefix"; then
1868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1870 echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 if test "${ac_cv_prog_CC+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 if test -n "$CC"; then
1876 ac_cv_prog_CC
="$CC" # Let the user override the test.
1878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1882 test -z "$as_dir" && as_dir
=.
1883 for ac_exec_ext
in '' $ac_executable_extensions; do
1884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1885 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 if test -n "$CC"; then
1896 echo "$as_me:$LINENO: result: $CC" >&5
1897 echo "${ECHO_T}$CC" >&6
1899 echo "$as_me:$LINENO: result: no" >&5
1900 echo "${ECHO_T}no" >&6
1903 test -n "$CC" && break
1906 if test -z "$CC"; then
1910 # Extract the first word of "$ac_prog", so it can be a program name with args.
1911 set dummy
$ac_prog; ac_word
=$2
1912 echo "$as_me:$LINENO: checking for $ac_word" >&5
1913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1914 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 if test -n "$ac_ct_CC"; then
1918 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir
=.
1925 for ac_exec_ext
in '' $ac_executable_extensions; do
1926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1927 ac_cv_prog_ac_ct_CC
="$ac_prog"
1928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1937 if test -n "$ac_ct_CC"; then
1938 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1939 echo "${ECHO_T}$ac_ct_CC" >&6
1941 echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6
1945 test -n "$ac_ct_CC" && break
1954 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: no acceptable C compiler found in \$PATH
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1960 # Provide some information about the compiler.
1961 echo "$as_me:$LINENO:" \
1962 "checking for C compiler version" >&5
1963 ac_compiler
=`set X $ac_compile; echo $2`
1964 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1965 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 (exit $ac_status); }
1969 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1970 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }
1974 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1975 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }
1980 cat >conftest.
$ac_ext <<_ACEOF
1983 cat confdefs.h
>>conftest.
$ac_ext
1984 cat >>conftest.
$ac_ext <<_ACEOF
1985 /* end confdefs.h. */
1995 ac_clean_files_save
=$ac_clean_files
1996 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1997 # Try to create an executable without -o first, disregard a.out.
1998 # It will help us diagnose broken compilers, and finding out an intuition
2000 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2001 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2002 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2003 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2004 (eval $ac_link_default) 2>&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; then
2008 # Find the output, starting from the most likely. This scheme is
2009 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2012 # Be careful to initialize this variable, since it used to be cached.
2013 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2015 # b.out is created by i960 compilers.
2016 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2018 test -f "$ac_file" ||
continue
2020 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2023 # This is the source file.
2026 # We found the default executable, but exeext='' is most
2030 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2031 # FIXME: I believe we export ac_cv_exeext for Libtool,
2032 # but it would be cool to find out if it's true. Does anybody
2033 # maintain Libtool? --akim.
2041 echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.
$ac_ext >&5
2044 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2045 See \`config.log' for more details." >&5
2046 echo "$as_me: error: C compiler cannot create executables
2047 See \`config.log' for more details." >&2;}
2048 { (exit 77); exit 77; }; }
2051 ac_exeext
=$ac_cv_exeext
2052 echo "$as_me:$LINENO: result: $ac_file" >&5
2053 echo "${ECHO_T}$ac_file" >&6
2055 # Check the compiler produces executables we can run. If not, either
2056 # the compiler is broken, or we cross compile.
2057 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2058 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2059 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2060 # If not cross compiling, check that we can run a simple program.
2061 if test "$cross_compiling" != yes; then
2062 if { ac_try
='./$ac_file'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2070 if test "$cross_compiling" = maybe
; then
2073 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2074 If you meant to cross compile, use \`--host'.
2075 See \`config.log' for more details." >&5
2076 echo "$as_me: error: cannot run C compiled programs.
2077 If you meant to cross compile, use \`--host'.
2078 See \`config.log' for more details." >&2;}
2079 { (exit 1); exit 1; }; }
2083 echo "$as_me:$LINENO: result: yes" >&5
2084 echo "${ECHO_T}yes" >&6
2086 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2087 ac_clean_files
=$ac_clean_files_save
2088 # Check the compiler produces executables we can run. If not, either
2089 # the compiler is broken, or we cross compile.
2090 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2091 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2092 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2093 echo "${ECHO_T}$cross_compiling" >&6
2095 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2096 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2098 (eval $ac_link) 2>&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; then
2102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2103 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2104 # work properly (i.e., refer to `conftest.exe'), while it won't with
2106 for ac_file
in conftest.exe conftest conftest.
*; do
2107 test -f "$ac_file" ||
continue
2109 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2110 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2117 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2118 See \`config.log' for more details." >&5
2119 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2120 See \`config.log' for more details." >&2;}
2121 { (exit 1); exit 1; }; }
2124 rm -f conftest
$ac_cv_exeext
2125 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2126 echo "${ECHO_T}$ac_cv_exeext" >&6
2128 rm -f conftest.
$ac_ext
2129 EXEEXT
=$ac_cv_exeext
2131 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2132 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2133 if test "${ac_cv_objext+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 cat >conftest.
$ac_ext <<_ACEOF
2139 cat confdefs.h
>>conftest.
$ac_ext
2140 cat >>conftest.
$ac_ext <<_ACEOF
2141 /* end confdefs.h. */
2151 rm -f conftest.o conftest.obj
2152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2153 (eval $ac_compile) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; then
2157 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2159 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2160 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.
$ac_ext >&5
2168 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2169 See \`config.log' for more details." >&5
2170 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2171 See \`config.log' for more details." >&2;}
2172 { (exit 1); exit 1; }; }
2175 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2177 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2178 echo "${ECHO_T}$ac_cv_objext" >&6
2179 OBJEXT
=$ac_cv_objext
2181 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2182 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2183 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 cat >conftest.
$ac_ext <<_ACEOF
2189 cat confdefs.h
>>conftest.
$ac_ext
2190 cat >>conftest.
$ac_ext <<_ACEOF
2191 /* end confdefs.h. */
2204 rm -f conftest.
$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206 (eval $ac_compile) 2>conftest.er1
2208 grep -v '^ *+' conftest.er1
>conftest.err
2210 cat conftest.err
>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); } &&
2213 { ac_try
='test -z "$ac_c_werror_flag"
2214 || test ! -s conftest.err'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; } &&
2220 { ac_try
='test -s conftest.$ac_objext'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.
$ac_ext >&5
2233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2237 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2238 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2239 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2240 ac_test_CFLAGS
=${CFLAGS+set}
2241 ac_save_CFLAGS
=$CFLAGS
2243 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2244 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2245 if test "${ac_cv_prog_cc_g+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.
$ac_ext <<_ACEOF
2251 cat confdefs.h
>>conftest.
$ac_ext
2252 cat >>conftest.
$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2263 rm -f conftest.
$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>conftest.er1
2267 grep -v '^ *+' conftest.er1
>conftest.err
2269 cat conftest.err
>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } &&
2272 { ac_try
='test -z "$ac_c_werror_flag"
2273 || test ! -s conftest.err'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; } &&
2279 { ac_try
='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2295 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2296 if test "$ac_test_CFLAGS" = set; then
2297 CFLAGS
=$ac_save_CFLAGS
2298 elif test $ac_cv_prog_cc_g = yes; then
2299 if test "$GCC" = yes; then
2305 if test "$GCC" = yes; then
2311 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2312 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2313 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 ac_cv_prog_cc_stdc
=no
2318 cat >conftest.
$ac_ext <<_ACEOF
2321 cat confdefs.h
>>conftest.
$ac_ext
2322 cat >>conftest.
$ac_ext <<_ACEOF
2323 /* end confdefs.h. */
2326 #include <sys/types.h>
2327 #include <sys/stat.h>
2328 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2329 struct buf { int x; };
2330 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2331 static char *e (p, i)
2337 static char *f (char * (*g) (char **, int), char **p, ...)
2342 s = g (p, va_arg (v,int));
2347 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2348 function prototypes and stuff, but not '\xHH' hex character constants.
2349 These don't provoke an error unfortunately, instead are silently treated
2350 as 'x'. The following induces an error, until -std1 is added to get
2351 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2352 array size at least. It's necessary to write '\x00'==0 to get something
2353 that's true only with -std1. */
2354 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2356 int test (int i, double x);
2357 struct s1 {int (*f) (int a);};
2358 struct s2 {int (*f) (double a);};
2359 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2365 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2370 # Don't try gcc -ansi; that turns off useful extensions and
2371 # breaks some systems' header files.
2372 # AIX -qlanglvl=ansi
2373 # Ultrix and OSF/1 -std1
2374 # HP-UX 10.20 and later -Ae
2375 # HP-UX older versions -Aa -D_HPUX_SOURCE
2376 # SVR4 -Xc -D__EXTENSIONS__
2377 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2379 CC
="$ac_save_CC $ac_arg"
2380 rm -f conftest.
$ac_objext
2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2382 (eval $ac_compile) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } &&
2389 { ac_try
='test -z "$ac_c_werror_flag"
2390 || test ! -s conftest.err'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; } &&
2396 { ac_try
='test -s conftest.$ac_objext'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; }; then
2402 ac_cv_prog_cc_stdc
=$ac_arg
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.
$ac_ext >&5
2409 rm -f conftest.err conftest.
$ac_objext
2411 rm -f conftest.
$ac_ext conftest.
$ac_objext
2416 case "x$ac_cv_prog_cc_stdc" in
2418 echo "$as_me:$LINENO: result: none needed" >&5
2419 echo "${ECHO_T}none needed" >&6 ;;
2421 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2422 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2423 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2426 # Some people use a C++ compiler to compile C. Since we use `exit',
2427 # in C++ we need to declare it. In case someone uses the same compiler
2428 # for both compiling C and C++ we need to have the C++ compiler decide
2429 # the declaration of exit, since it's the most demanding environment.
2430 cat >conftest.
$ac_ext <<_ACEOF
2435 rm -f conftest.
$ac_objext
2436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2437 (eval $ac_compile) 2>conftest.er1
2439 grep -v '^ *+' conftest.er1
>conftest.err
2441 cat conftest.err
>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); } &&
2444 { ac_try
='test -z "$ac_c_werror_flag"
2445 || test ! -s conftest.err'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; } &&
2451 { ac_try
='test -s conftest.$ac_objext'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; }; then
2457 for ac_declaration
in \
2459 'extern "C" void std::exit (int) throw (); using std::exit;' \
2460 'extern "C" void std::exit (int); using std::exit;' \
2461 'extern "C" void exit (int) throw ();' \
2462 'extern "C" void exit (int);' \
2465 cat >conftest.
$ac_ext <<_ACEOF
2468 cat confdefs.h
>>conftest.
$ac_ext
2469 cat >>conftest.
$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2481 rm -f conftest.
$ac_objext
2482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2483 (eval $ac_compile) 2>conftest.er1
2485 grep -v '^ *+' conftest.er1
>conftest.err
2487 cat conftest.err
>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); } &&
2490 { ac_try
='test -z "$ac_c_werror_flag"
2491 || test ! -s conftest.err'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; } &&
2497 { ac_try
='test -s conftest.$ac_objext'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2505 echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2511 cat >conftest.
$ac_ext <<_ACEOF
2514 cat confdefs.h
>>conftest.
$ac_ext
2515 cat >>conftest.
$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2526 rm -f conftest.
$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1
>conftest.err
2532 cat conftest.err
>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -z "$ac_c_werror_flag"
2536 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.
$ac_ext >&5
2554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2557 if test -n "$ac_declaration"; then
2558 echo '#ifdef __cplusplus' >>confdefs.h
2559 echo $ac_declaration >>confdefs.h
2560 echo '#endif' >>confdefs.h
2564 echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.
$ac_ext >&5
2568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2570 ac_cpp
='$CPP $CPPFLAGS'
2571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2576 ac_cpp
='$CPP $CPPFLAGS'
2577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2580 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2581 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2582 # On Suns, sometimes $CPP names a directory.
2583 if test -n "$CPP" && test -d "$CPP"; then
2586 if test -z "$CPP"; then
2587 if test "${ac_cv_prog_CPP+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 # Double quotes because CPP needs to be expanded
2591 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2594 for ac_c_preproc_warn_flag
in '' yes
2596 # Use a header file that comes with gcc, so configuring glibc
2597 # with a fresh cross-compiler works.
2598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2599 # <limits.h> exists even on freestanding compilers.
2600 # On the NeXT, cc -E runs the code through the compiler's parser,
2601 # not just through cpp. "Syntax error" is here to catch this case.
2602 cat >conftest.
$ac_ext <<_ACEOF
2605 cat confdefs.h
>>conftest.
$ac_ext
2606 cat >>conftest.
$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2609 # include <limits.h>
2611 # include <assert.h>
2615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2618 grep -v '^ *+' conftest.er1
>conftest.err
2620 cat conftest.err
>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } >/dev
/null
; then
2623 if test -s conftest.err
; then
2624 ac_cpp_err
=$ac_c_preproc_warn_flag
2625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2632 if test -z "$ac_cpp_err"; then
2635 echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2638 # Broken: fails on valid input.
2641 rm -f conftest.err conftest.
$ac_ext
2643 # OK, works on sane cases. Now check whether non-existent headers
2644 # can be detected and how.
2645 cat >conftest.
$ac_ext <<_ACEOF
2648 cat confdefs.h
>>conftest.
$ac_ext
2649 cat >>conftest.
$ac_ext <<_ACEOF
2650 /* end confdefs.h. */
2651 #include <ac_nonexistent.h>
2653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2656 grep -v '^ *+' conftest.er1
>conftest.err
2658 cat conftest.err
>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } >/dev
/null
; then
2661 if test -s conftest.err
; then
2662 ac_cpp_err
=$ac_c_preproc_warn_flag
2663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2670 if test -z "$ac_cpp_err"; then
2671 # Broken: success on invalid input.
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2677 # Passes both tests.
2681 rm -f conftest.err conftest.
$ac_ext
2684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2685 rm -f conftest.err conftest.
$ac_ext
2686 if $ac_preproc_ok; then
2698 echo "$as_me:$LINENO: result: $CPP" >&5
2699 echo "${ECHO_T}$CPP" >&6
2701 for ac_c_preproc_warn_flag
in '' yes
2703 # Use a header file that comes with gcc, so configuring glibc
2704 # with a fresh cross-compiler works.
2705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2706 # <limits.h> exists even on freestanding compilers.
2707 # On the NeXT, cc -E runs the code through the compiler's parser,
2708 # not just through cpp. "Syntax error" is here to catch this case.
2709 cat >conftest.
$ac_ext <<_ACEOF
2712 cat confdefs.h
>>conftest.
$ac_ext
2713 cat >>conftest.
$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2716 # include <limits.h>
2718 # include <assert.h>
2722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2725 grep -v '^ *+' conftest.er1
>conftest.err
2727 cat conftest.err
>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } >/dev
/null
; then
2730 if test -s conftest.err
; then
2731 ac_cpp_err
=$ac_c_preproc_warn_flag
2732 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2739 if test -z "$ac_cpp_err"; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2745 # Broken: fails on valid input.
2748 rm -f conftest.err conftest.
$ac_ext
2750 # OK, works on sane cases. Now check whether non-existent headers
2751 # can be detected and how.
2752 cat >conftest.
$ac_ext <<_ACEOF
2755 cat confdefs.h
>>conftest.
$ac_ext
2756 cat >>conftest.
$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2758 #include <ac_nonexistent.h>
2760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2763 grep -v '^ *+' conftest.er1
>conftest.err
2765 cat conftest.err
>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } >/dev
/null
; then
2768 if test -s conftest.err
; then
2769 ac_cpp_err
=$ac_c_preproc_warn_flag
2770 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2777 if test -z "$ac_cpp_err"; then
2778 # Broken: success on invalid input.
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.
$ac_ext >&5
2784 # Passes both tests.
2788 rm -f conftest.err conftest.
$ac_ext
2791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2792 rm -f conftest.err conftest.
$ac_ext
2793 if $ac_preproc_ok; then
2796 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2799 See \`config.log' for more details." >&2;}
2800 { (exit 1); exit 1; }; }
2804 ac_cpp
='$CPP $CPPFLAGS'
2805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2811 echo "$as_me:$LINENO: checking for egrep" >&5
2812 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2813 if test "${ac_cv_prog_egrep+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2817 then ac_cv_prog_egrep
='grep -E'
2818 else ac_cv_prog_egrep
='egrep'
2821 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2822 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2823 EGREP
=$ac_cv_prog_egrep
2826 if test $ac_cv_c_compiler_gnu = yes; then
2827 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
2828 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2829 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 ac_pattern
="Autoconf.*'x'"
2833 cat >conftest.
$ac_ext <<_ACEOF
2836 cat confdefs.h
>>conftest.
$ac_ext
2837 cat >>conftest.
$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2843 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
2844 ac_cv_prog_gcc_traditional
=yes
2846 ac_cv_prog_gcc_traditional
=no
2851 if test $ac_cv_prog_gcc_traditional = no
; then
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2862 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
2863 ac_cv_prog_gcc_traditional
=yes
2869 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
2870 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2871 if test $ac_cv_prog_gcc_traditional = yes; then
2872 CC
="$CC -traditional"
2877 if test "x$GCC" != xyes
; then
2878 DFLAGS
="$DFLAGS $NON_GNU_DFLAGS"
2879 CFLAGS
="$CFLAGS $NON_GNU_CFLAGS"
2882 echo "$as_me:$LINENO: checking for library containing crypt" >&5
2883 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
2884 if test "${ac_cv_search_crypt+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 ac_func_search_save_LIBS
=$LIBS
2888 ac_cv_search_crypt
=no
2889 cat >conftest.
$ac_ext <<_ACEOF
2892 cat confdefs.h
>>conftest.
$ac_ext
2893 cat >>conftest.
$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2896 /* Override any gcc2 internal prototype to avoid an error. */
2900 /* We use char because int might match the return type of a gcc2
2901 builtin and then its argument prototype would still apply. */
2911 rm -f conftest.
$ac_objext conftest
$ac_exeext
2912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2913 (eval $ac_link) 2>conftest.er1
2915 grep -v '^ *+' conftest.er1
>conftest.err
2917 cat conftest.err
>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } &&
2920 { ac_try
='test -z "$ac_c_werror_flag"
2921 || test ! -s conftest.err'
2922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); }; } &&
2927 { ac_try
='test -s conftest$ac_exeext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 ac_cv_search_crypt
="none required"
2935 echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.
$ac_ext >&5
2939 rm -f conftest.err conftest.
$ac_objext \
2940 conftest
$ac_exeext conftest.
$ac_ext
2941 if test "$ac_cv_search_crypt" = no
; then
2942 for ac_lib
in crypt; do
2943 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2944 cat >conftest.
$ac_ext <<_ACEOF
2947 cat confdefs.h
>>conftest.
$ac_ext
2948 cat >>conftest.
$ac_ext <<_ACEOF
2949 /* end confdefs.h. */
2951 /* Override any gcc2 internal prototype to avoid an error. */
2955 /* We use char because int might match the return type of a gcc2
2956 builtin and then its argument prototype would still apply. */
2966 rm -f conftest.
$ac_objext conftest
$ac_exeext
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>conftest.er1
2970 grep -v '^ *+' conftest.er1
>conftest.err
2972 cat conftest.err
>&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); } &&
2975 { ac_try
='test -z "$ac_c_werror_flag"
2976 || test ! -s conftest.err'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; } &&
2982 { ac_try
='test -s conftest$ac_exeext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2988 ac_cv_search_crypt
="-l$ac_lib"
2991 echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.
$ac_ext >&5
2995 rm -f conftest.err conftest.
$ac_objext \
2996 conftest
$ac_exeext conftest.
$ac_ext
2999 LIBS
=$ac_func_search_save_LIBS
3001 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
3002 echo "${ECHO_T}$ac_cv_search_crypt" >&6
3003 if test "$ac_cv_search_crypt" != no
; then
3004 test "$ac_cv_search_crypt" = "none required" || LIBS
="$ac_cv_search_crypt $LIBS"
3008 echo "$as_me:$LINENO: checking for library containing getspnam" >&5
3009 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6
3010 if test "${ac_cv_search_getspnam+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 ac_func_search_save_LIBS
=$LIBS
3014 ac_cv_search_getspnam
=no
3015 cat >conftest.
$ac_ext <<_ACEOF
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3022 /* Override any gcc2 internal prototype to avoid an error. */
3026 /* We use char because int might match the return type of a gcc2
3027 builtin and then its argument prototype would still apply. */
3037 rm -f conftest.
$ac_objext conftest
$ac_exeext
3038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3039 (eval $ac_link) 2>conftest.er1
3041 grep -v '^ *+' conftest.er1
>conftest.err
3043 cat conftest.err
>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 { ac_try
='test -z "$ac_c_werror_flag"
3047 || test ! -s conftest.err'
3048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; } &&
3053 { ac_try
='test -s conftest$ac_exeext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3059 ac_cv_search_getspnam
="none required"
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.
$ac_ext >&5
3065 rm -f conftest.err conftest.
$ac_objext \
3066 conftest
$ac_exeext conftest.
$ac_ext
3067 if test "$ac_cv_search_getspnam" = no
; then
3068 for ac_lib
in sec
; do
3069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3077 /* Override any gcc2 internal prototype to avoid an error. */
3081 /* We use char because int might match the return type of a gcc2
3082 builtin and then its argument prototype would still apply. */
3092 rm -f conftest.
$ac_objext conftest
$ac_exeext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3094 (eval $ac_link) 2>conftest.er1
3096 grep -v '^ *+' conftest.er1
>conftest.err
3098 cat conftest.err
>&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } &&
3101 { ac_try
='test -z "$ac_c_werror_flag"
3102 || test ! -s conftest.err'
3103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }; } &&
3108 { ac_try
='test -s conftest$ac_exeext'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; }; then
3114 ac_cv_search_getspnam
="-l$ac_lib"
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.
$ac_ext >&5
3121 rm -f conftest.err conftest.
$ac_objext \
3122 conftest
$ac_exeext conftest.
$ac_ext
3125 LIBS
=$ac_func_search_save_LIBS
3127 echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
3128 echo "${ECHO_T}$ac_cv_search_getspnam" >&6
3129 if test "$ac_cv_search_getspnam" != no
; then
3130 test "$ac_cv_search_getspnam" = "none required" || LIBS
="$ac_cv_search_getspnam $LIBS"
3134 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
3135 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
3136 if test "${ac_cv_search_tgetent+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 ac_func_search_save_LIBS
=$LIBS
3140 ac_cv_search_tgetent
=no
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3148 /* Override any gcc2 internal prototype to avoid an error. */
3152 /* We use char because int might match the return type of a gcc2
3153 builtin and then its argument prototype would still apply. */
3163 rm -f conftest.
$ac_objext conftest
$ac_exeext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3165 (eval $ac_link) 2>conftest.er1
3167 grep -v '^ *+' conftest.er1
>conftest.err
3169 cat conftest.err
>&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); } &&
3172 { ac_try
='test -z "$ac_c_werror_flag"
3173 || test ! -s conftest.err'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; } &&
3179 { ac_try
='test -s conftest$ac_exeext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3185 ac_cv_search_tgetent
="none required"
3187 echo "$as_me: failed program was:" >&5
3188 sed 's/^/| /' conftest.
$ac_ext >&5
3191 rm -f conftest.err conftest.
$ac_objext \
3192 conftest
$ac_exeext conftest.
$ac_ext
3193 if test "$ac_cv_search_tgetent" = no
; then
3194 for ac_lib
in termlib termcap curses ncurses
; do
3195 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3203 /* Override any gcc2 internal prototype to avoid an error. */
3207 /* We use char because int might match the return type of a gcc2
3208 builtin and then its argument prototype would still apply. */
3218 rm -f conftest.
$ac_objext conftest
$ac_exeext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3220 (eval $ac_link) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_c_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try
='test -s conftest$ac_exeext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3240 ac_cv_search_tgetent
="-l$ac_lib"
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3247 rm -f conftest.err conftest.
$ac_objext \
3248 conftest
$ac_exeext conftest.
$ac_ext
3251 LIBS
=$ac_func_search_save_LIBS
3253 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
3254 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
3255 if test "$ac_cv_search_tgetent" != no
; then
3256 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
3260 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3261 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3262 if test "${ac_cv_search_gethostbyname+set}" = set; then
3263 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 ac_func_search_save_LIBS
=$LIBS
3266 ac_cv_search_gethostbyname
=no
3267 cat >conftest.
$ac_ext <<_ACEOF
3270 cat confdefs.h
>>conftest.
$ac_ext
3271 cat >>conftest.
$ac_ext <<_ACEOF
3272 /* end confdefs.h. */
3274 /* Override any gcc2 internal prototype to avoid an error. */
3278 /* We use char because int might match the return type of a gcc2
3279 builtin and then its argument prototype would still apply. */
3280 char gethostbyname ();
3289 rm -f conftest.
$ac_objext conftest
$ac_exeext
3290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3291 (eval $ac_link) 2>conftest.er1
3293 grep -v '^ *+' conftest.er1
>conftest.err
3295 cat conftest.err
>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try
='test -z "$ac_c_werror_flag"
3299 || test ! -s conftest.err'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; } &&
3305 { ac_try
='test -s conftest$ac_exeext'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; }; then
3311 ac_cv_search_gethostbyname
="none required"
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3317 rm -f conftest.err conftest.
$ac_objext \
3318 conftest
$ac_exeext conftest.
$ac_ext
3319 if test "$ac_cv_search_gethostbyname" = no
; then
3320 for ac_lib
in nsl
; do
3321 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3322 cat >conftest.
$ac_ext <<_ACEOF
3325 cat confdefs.h
>>conftest.
$ac_ext
3326 cat >>conftest.
$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3329 /* Override any gcc2 internal prototype to avoid an error. */
3333 /* We use char because int might match the return type of a gcc2
3334 builtin and then its argument prototype would still apply. */
3335 char gethostbyname ();
3344 rm -f conftest.
$ac_objext conftest
$ac_exeext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3346 (eval $ac_link) 2>conftest.er1
3348 grep -v '^ *+' conftest.er1
>conftest.err
3350 cat conftest.err
>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } &&
3353 { ac_try
='test -z "$ac_c_werror_flag"
3354 || test ! -s conftest.err'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; } &&
3360 { ac_try
='test -s conftest$ac_exeext'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_search_gethostbyname
="-l$ac_lib"
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.
$ac_ext >&5
3373 rm -f conftest.err conftest.
$ac_objext \
3374 conftest
$ac_exeext conftest.
$ac_ext
3377 LIBS
=$ac_func_search_save_LIBS
3379 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3380 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3381 if test "$ac_cv_search_gethostbyname" != no
; then
3382 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
3386 echo "$as_me:$LINENO: checking for library containing connect" >&5
3387 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
3388 if test "${ac_cv_search_connect+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 ac_func_search_save_LIBS
=$LIBS
3392 ac_cv_search_connect
=no
3393 cat >conftest.
$ac_ext <<_ACEOF
3396 cat confdefs.h
>>conftest.
$ac_ext
3397 cat >>conftest.
$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3400 /* Override any gcc2 internal prototype to avoid an error. */
3404 /* We use char because int might match the return type of a gcc2
3405 builtin and then its argument prototype would still apply. */
3415 rm -f conftest.
$ac_objext conftest
$ac_exeext
3416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3417 (eval $ac_link) 2>conftest.er1
3419 grep -v '^ *+' conftest.er1
>conftest.err
3421 cat conftest.err
>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 { ac_try
='test -z "$ac_c_werror_flag"
3425 || test ! -s conftest.err'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; } &&
3431 { ac_try
='test -s conftest$ac_exeext'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; }; then
3437 ac_cv_search_connect
="none required"
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.
$ac_ext >&5
3443 rm -f conftest.err conftest.
$ac_objext \
3444 conftest
$ac_exeext conftest.
$ac_ext
3445 if test "$ac_cv_search_connect" = no
; then
3446 for ac_lib
in socket
; do
3447 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3448 cat >conftest.
$ac_ext <<_ACEOF
3451 cat confdefs.h
>>conftest.
$ac_ext
3452 cat >>conftest.
$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3455 /* Override any gcc2 internal prototype to avoid an error. */
3459 /* We use char because int might match the return type of a gcc2
3460 builtin and then its argument prototype would still apply. */
3470 rm -f conftest.
$ac_objext conftest
$ac_exeext
3471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3472 (eval $ac_link) 2>conftest.er1
3474 grep -v '^ *+' conftest.er1
>conftest.err
3476 cat conftest.err
>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } &&
3479 { ac_try
='test -z "$ac_c_werror_flag"
3480 || test ! -s conftest.err'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; } &&
3486 { ac_try
='test -s conftest$ac_exeext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3492 ac_cv_search_connect
="-l$ac_lib"
3495 echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.
$ac_ext >&5
3499 rm -f conftest.err conftest.
$ac_objext \
3500 conftest
$ac_exeext conftest.
$ac_ext
3503 LIBS
=$ac_func_search_save_LIBS
3505 echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
3506 echo "${ECHO_T}$ac_cv_search_connect" >&6
3507 if test "$ac_cv_search_connect" != no
; then
3508 test "$ac_cv_search_connect" = "none required" || LIBS
="$ac_cv_search_connect $LIBS"
3513 if test "X$prefix" = "XNONE"; then
3514 acl_final_prefix
="$ac_default_prefix"
3516 acl_final_prefix
="$prefix"
3518 if test "X$exec_prefix" = "XNONE"; then
3519 acl_final_exec_prefix
='${prefix}'
3521 acl_final_exec_prefix
="$exec_prefix"
3523 acl_save_prefix
="$prefix"
3524 prefix
="$acl_final_prefix"
3525 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
3526 prefix
="$acl_save_prefix"
3529 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3530 if test "${with_gnu_ld+set}" = set; then
3531 withval
="$with_gnu_ld"
3532 test "$withval" = no || with_gnu_ld
=yes
3536 # Prepare PATH_SEPARATOR.
3537 # The user is always right.
3538 if test "${PATH_SEPARATOR+set}" != set; then
3539 echo "#! /bin/sh" >conf$$.sh
3540 echo "exit 0" >>conf$$.sh
3542 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3550 if test "$GCC" = yes; then
3551 # Check if gcc -print-prog-name=ld gives a path.
3552 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3553 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3556 # gcc leaves a trailing carriage return which upsets mingw
3557 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3559 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3562 # Accept absolute paths.
3563 [\\/]* |
[A-Za-z
]:[\\/]*)
3564 re_direlt
='/[^/][^/]*/\.\./'
3565 # Canonicalize the path of ld
3566 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3567 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3568 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3570 test -z "$LD" && LD
="$ac_prog"
3573 # If it fails, then pretend we aren't using GCC.
3577 # If it is relative, then search for the first ld in PATH.
3581 elif test "$with_gnu_ld" = yes; then
3582 echo "$as_me:$LINENO: checking for GNU ld" >&5
3583 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3585 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3586 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3588 if test "${acl_cv_path_LD+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 if test -z "$LD"; then
3592 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3593 for ac_dir
in $PATH; do
3594 test -z "$ac_dir" && ac_dir
=.
3595 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3596 acl_cv_path_LD
="$ac_dir/$ac_prog"
3597 # Check to see if the program is GNU ld. I'd rather use --version,
3598 # but apparently some GNU ld's only accept -v.
3599 # Break only if it was the GNU/non-GNU ld that we prefer.
3600 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3601 *GNU
* |
*'with BFD'*)
3602 test "$with_gnu_ld" != no
&& break ;;
3604 test "$with_gnu_ld" != yes && break ;;
3610 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
3614 LD
="$acl_cv_path_LD"
3615 if test -n "$LD"; then
3616 echo "$as_me:$LINENO: result: $LD" >&5
3617 echo "${ECHO_T}$LD" >&6
3619 echo "$as_me:$LINENO: result: no" >&5
3620 echo "${ECHO_T}no" >&6
3622 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3623 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3624 { (exit 1); exit 1; }; }
3625 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3626 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3627 if test "${acl_cv_prog_gnu_ld+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3631 case `$LD -v 2>&1 </dev/null` in
3632 *GNU
* |
*'with BFD'*)
3633 acl_cv_prog_gnu_ld
=yes ;;
3635 acl_cv_prog_gnu_ld
=no
;;
3638 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3639 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3640 with_gnu_ld
=$acl_cv_prog_gnu_ld
3645 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3646 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3647 if test "${acl_cv_rpath+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
3652 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3658 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3659 echo "${ECHO_T}$acl_cv_rpath" >&6
3661 libext
="$acl_cv_libext"
3662 shlibext
="$acl_cv_shlibext"
3663 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
3664 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
3665 hardcode_direct
="$acl_cv_hardcode_direct"
3666 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
3667 # Check whether --enable-rpath or --disable-rpath was given.
3668 if test "${enable_rpath+set}" = set; then
3669 enableval
="$enable_rpath"
3683 acl_save_prefix
="$prefix"
3684 prefix
="$acl_final_prefix"
3685 acl_save_exec_prefix
="$exec_prefix"
3686 exec_prefix
="$acl_final_exec_prefix"
3688 eval additional_includedir
=\"$includedir\"
3689 eval additional_libdir
=\"$libdir\"
3691 exec_prefix
="$acl_save_exec_prefix"
3692 prefix
="$acl_save_prefix"
3695 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3696 if test "${with_libiconv_prefix+set}" = set; then
3697 withval
="$with_libiconv_prefix"
3699 if test "X$withval" = "Xno"; then
3702 if test "X$withval" = "X"; then
3704 acl_save_prefix
="$prefix"
3705 prefix
="$acl_final_prefix"
3706 acl_save_exec_prefix
="$exec_prefix"
3707 exec_prefix
="$acl_final_exec_prefix"
3709 eval additional_includedir
=\"$includedir\"
3710 eval additional_libdir
=\"$libdir\"
3712 exec_prefix
="$acl_save_exec_prefix"
3713 prefix
="$acl_save_prefix"
3716 additional_includedir
="$withval/include"
3717 additional_libdir
="$withval/lib"
3727 names_already_handled
=
3728 names_next_round
='iconv '
3729 while test -n "$names_next_round"; do
3730 names_this_round
="$names_next_round"
3732 for name
in $names_this_round; do
3734 for n
in $names_already_handled; do
3735 if test "$n" = "$name"; then
3740 if test -z "$already_handled"; then
3741 names_already_handled
="$names_already_handled $name"
3742 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3743 eval value
=\"\
$HAVE_LIB$uppername\"
3744 if test -n "$value"; then
3745 if test "$value" = yes; then
3746 eval value
=\"\
$LIB$uppername\"
3747 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
3748 eval value
=\"\
$LTLIB$uppername\"
3749 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
3758 if test $use_additional = yes; then
3759 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3760 found_dir
="$additional_libdir"
3761 found_so
="$additional_libdir/lib$name.$shlibext"
3762 if test -f "$additional_libdir/lib$name.la"; then
3763 found_la
="$additional_libdir/lib$name.la"
3766 if test -f "$additional_libdir/lib$name.$libext"; then
3767 found_dir
="$additional_libdir"
3768 found_a
="$additional_libdir/lib$name.$libext"
3769 if test -f "$additional_libdir/lib$name.la"; then
3770 found_la
="$additional_libdir/lib$name.la"
3775 if test "X$found_dir" = "X"; then
3776 for x
in $LDFLAGS $LTLIBICONV; do
3778 acl_save_prefix
="$prefix"
3779 prefix
="$acl_final_prefix"
3780 acl_save_exec_prefix
="$exec_prefix"
3781 exec_prefix
="$acl_final_exec_prefix"
3783 exec_prefix
="$acl_save_exec_prefix"
3784 prefix
="$acl_save_prefix"
3788 dir
=`echo "X$x" | sed -e 's/^X-L//'`
3789 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3791 found_so
="$dir/lib$name.$shlibext"
3792 if test -f "$dir/lib$name.la"; then
3793 found_la
="$dir/lib$name.la"
3796 if test -f "$dir/lib$name.$libext"; then
3798 found_a
="$dir/lib$name.$libext"
3799 if test -f "$dir/lib$name.la"; then
3800 found_la
="$dir/lib$name.la"
3806 if test "X$found_dir" != "X"; then
3811 if test "X$found_dir" != "X"; then
3812 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3813 if test "X$found_so" != "X"; then
3814 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
3815 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3818 for x
in $ltrpathdirs; do
3819 if test "X$x" = "X$found_dir"; then
3824 if test -z "$haveit"; then
3825 ltrpathdirs
="$ltrpathdirs $found_dir"
3827 if test "$hardcode_direct" = yes; then
3828 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3830 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
3831 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3833 for x
in $rpathdirs; do
3834 if test "X$x" = "X$found_dir"; then
3839 if test -z "$haveit"; then
3840 rpathdirs
="$rpathdirs $found_dir"
3844 for x
in $LDFLAGS $LIBICONV; do
3846 acl_save_prefix
="$prefix"
3847 prefix
="$acl_final_prefix"
3848 acl_save_exec_prefix
="$exec_prefix"
3849 exec_prefix
="$acl_final_exec_prefix"
3851 exec_prefix
="$acl_save_exec_prefix"
3852 prefix
="$acl_save_prefix"
3854 if test "X$x" = "X-L$found_dir"; then
3859 if test -z "$haveit"; then
3860 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3862 if test "$hardcode_minus_L" != no
; then
3863 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
3865 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
3871 if test "X$found_a" != "X"; then
3872 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
3874 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3877 additional_includedir
=
3878 case "$found_dir" in
3880 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3881 additional_includedir
="$basedir/include"
3884 if test "X$additional_includedir" != "X"; then
3885 if test "X$additional_includedir" != "X/usr/include"; then
3887 if test "X$additional_includedir" = "X/usr/local/include"; then
3888 if test -n "$GCC"; then
3890 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3894 if test -z "$haveit"; then
3895 for x
in $CPPFLAGS $INCICONV; do
3897 acl_save_prefix
="$prefix"
3898 prefix
="$acl_final_prefix"
3899 acl_save_exec_prefix
="$exec_prefix"
3900 exec_prefix
="$acl_final_exec_prefix"
3902 exec_prefix
="$acl_save_exec_prefix"
3903 prefix
="$acl_save_prefix"
3905 if test "X$x" = "X-I$additional_includedir"; then
3910 if test -z "$haveit"; then
3911 if test -d "$additional_includedir"; then
3912 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
3918 if test -n "$found_la"; then
3919 save_libdir
="$libdir"
3921 */* |
*\\*) .
"$found_la" ;;
3922 *) .
"./$found_la" ;;
3924 libdir
="$save_libdir"
3925 for dep
in $dependency_libs; do
3928 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
3929 if test "X$additional_libdir" != "X/usr/lib"; then
3931 if test "X$additional_libdir" = "X/usr/local/lib"; then
3932 if test -n "$GCC"; then
3934 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3938 if test -z "$haveit"; then
3940 for x
in $LDFLAGS $LIBICONV; do
3942 acl_save_prefix
="$prefix"
3943 prefix
="$acl_final_prefix"
3944 acl_save_exec_prefix
="$exec_prefix"
3945 exec_prefix
="$acl_final_exec_prefix"
3947 exec_prefix
="$acl_save_exec_prefix"
3948 prefix
="$acl_save_prefix"
3950 if test "X$x" = "X-L$additional_libdir"; then
3955 if test -z "$haveit"; then
3956 if test -d "$additional_libdir"; then
3957 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
3961 for x
in $LDFLAGS $LTLIBICONV; do
3963 acl_save_prefix
="$prefix"
3964 prefix
="$acl_final_prefix"
3965 acl_save_exec_prefix
="$exec_prefix"
3966 exec_prefix
="$acl_final_exec_prefix"
3968 exec_prefix
="$acl_save_exec_prefix"
3969 prefix
="$acl_save_prefix"
3971 if test "X$x" = "X-L$additional_libdir"; then
3976 if test -z "$haveit"; then
3977 if test -d "$additional_libdir"; then
3978 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
3985 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
3986 if test "$enable_rpath" != no
; then
3988 for x
in $rpathdirs; do
3989 if test "X$x" = "X$dir"; then
3994 if test -z "$haveit"; then
3995 rpathdirs
="$rpathdirs $dir"
3998 for x
in $ltrpathdirs; do
3999 if test "X$x" = "X$dir"; then
4004 if test -z "$haveit"; then
4005 ltrpathdirs
="$ltrpathdirs $dir"
4010 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4013 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4016 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
4017 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4023 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
4024 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4030 if test "X$rpathdirs" != "X"; then
4031 if test -n "$hardcode_libdir_separator"; then
4033 for found_dir
in $rpathdirs; do
4034 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4036 acl_save_libdir
="$libdir"
4038 eval flag
=\"$hardcode_libdir_flag_spec\"
4039 libdir
="$acl_save_libdir"
4040 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4042 for found_dir
in $rpathdirs; do
4043 acl_save_libdir
="$libdir"
4045 eval flag
=\"$hardcode_libdir_flag_spec\"
4046 libdir
="$acl_save_libdir"
4047 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
4051 if test "X$ltrpathdirs" != "X"; then
4052 for found_dir
in $ltrpathdirs; do
4053 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4063 am_save_CPPFLAGS
="$CPPFLAGS"
4065 for element
in $INCICONV; do
4067 for x
in $CPPFLAGS; do
4069 acl_save_prefix
="$prefix"
4070 prefix
="$acl_final_prefix"
4071 acl_save_exec_prefix
="$exec_prefix"
4072 exec_prefix
="$acl_final_exec_prefix"
4074 exec_prefix
="$acl_save_exec_prefix"
4075 prefix
="$acl_save_prefix"
4077 if test "X$x" = "X$element"; then
4082 if test -z "$haveit"; then
4083 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
4088 echo "$as_me:$LINENO: checking for iconv" >&5
4089 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4090 if test "${am_cv_func_iconv+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 am_cv_func_iconv
="no, consider installing GNU libiconv"
4096 cat >conftest.
$ac_ext <<_ACEOF
4099 cat confdefs.h
>>conftest.
$ac_ext
4100 cat >>conftest.
$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4107 iconv_t cd = iconv_open("","");
4108 iconv(cd,NULL,NULL,NULL,NULL);
4114 rm -f conftest.
$ac_objext conftest
$ac_exeext
4115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4116 (eval $ac_link) 2>conftest.er1
4118 grep -v '^ *+' conftest.er1
>conftest.err
4120 cat conftest.err
>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } &&
4123 { ac_try
='test -z "$ac_c_werror_flag"
4124 || test ! -s conftest.err'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; } &&
4130 { ac_try
='test -s conftest$ac_exeext'
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); }; }; then
4136 am_cv_func_iconv
=yes
4138 echo "$as_me: failed program was:" >&5
4139 sed 's/^/| /' conftest.
$ac_ext >&5
4142 rm -f conftest.err conftest.
$ac_objext \
4143 conftest
$ac_exeext conftest.
$ac_ext
4144 if test "$am_cv_func_iconv" != yes; then
4145 am_save_LIBS
="$LIBS"
4146 LIBS
="$LIBS $LIBICONV"
4147 cat >conftest.
$ac_ext <<_ACEOF
4150 cat confdefs.h
>>conftest.
$ac_ext
4151 cat >>conftest.
$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4158 iconv_t cd = iconv_open("","");
4159 iconv(cd,NULL,NULL,NULL,NULL);
4165 rm -f conftest.
$ac_objext conftest
$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try
='test -z "$ac_c_werror_flag"
4175 || test ! -s conftest.err'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; } &&
4181 { ac_try
='test -s conftest$ac_exeext'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; }; then
4188 am_cv_func_iconv
=yes
4190 echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.
$ac_ext >&5
4194 rm -f conftest.err conftest.
$ac_objext \
4195 conftest
$ac_exeext conftest.
$ac_ext
4196 LIBS
="$am_save_LIBS"
4200 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4201 echo "${ECHO_T}$am_cv_func_iconv" >&6
4202 if test "$am_cv_func_iconv" = yes; then
4204 cat >>confdefs.h
<<\_ACEOF
4205 #define HAVE_ICONV 1
4209 if test "$am_cv_lib_iconv" = yes; then
4210 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4211 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4212 echo "$as_me:$LINENO: result: $LIBICONV" >&5
4213 echo "${ECHO_T}$LIBICONV" >&6
4215 CPPFLAGS
="$am_save_CPPFLAGS"
4222 if test "$am_cv_func_iconv" = yes; then
4223 echo "$as_me:$LINENO: checking for iconv declaration" >&5
4224 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
4225 if test "${am_cv_proto_iconv+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 cat >conftest.
$ac_ext <<_ACEOF
4232 cat confdefs.h
>>conftest.
$ac_ext
4233 cat >>conftest.
$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4242 #if defined(__STDC__) || defined(__cplusplus)
4243 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4256 rm -f conftest.
$ac_objext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4258 (eval $ac_compile) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1
>conftest.err
4262 cat conftest.err
>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -z "$ac_c_werror_flag"
4266 || test ! -s conftest.err'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; } &&
4272 { ac_try
='test -s conftest.$ac_objext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 am_cv_proto_iconv_arg1
=""
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.
$ac_ext >&5
4283 am_cv_proto_iconv_arg1
="const"
4285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4286 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
4289 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4290 echo "$as_me:$LINENO: result: ${ac_t:-
4291 }$am_cv_proto_iconv" >&5
4292 echo "${ECHO_T}${ac_t:-
4293 }$am_cv_proto_iconv" >&6
4295 cat >>confdefs.h
<<_ACEOF
4296 #define ICONV_CONST $am_cv_proto_iconv_arg1
4302 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4303 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4304 if test "${ac_cv_header_stdc+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4326 rm -f conftest.
$ac_objext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4328 (eval $ac_compile) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -z "$ac_c_werror_flag"
4336 || test ! -s conftest.err'
4337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4341 (exit $ac_status); }; } &&
4342 { ac_try
='test -s conftest.$ac_objext'
4343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); }; }; then
4348 ac_cv_header_stdc
=yes
4350 echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.
$ac_ext >&5
4353 ac_cv_header_stdc
=no
4355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4357 if test $ac_cv_header_stdc = yes; then
4358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4359 cat >conftest.
$ac_ext <<_ACEOF
4362 cat confdefs.h
>>conftest.
$ac_ext
4363 cat >>conftest.
$ac_ext <<_ACEOF
4364 /* end confdefs.h. */
4368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4369 $EGREP "memchr" >/dev
/null
2>&1; then
4372 ac_cv_header_stdc
=no
4378 if test $ac_cv_header_stdc = yes; then
4379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4380 cat >conftest.
$ac_ext <<_ACEOF
4383 cat confdefs.h
>>conftest.
$ac_ext
4384 cat >>conftest.
$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4390 $EGREP "free" >/dev
/null
2>&1; then
4393 ac_cv_header_stdc
=no
4399 if test $ac_cv_header_stdc = yes; then
4400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4401 if test "$cross_compiling" = yes; then
4404 cat >conftest.
$ac_ext <<_ACEOF
4407 cat confdefs.h
>>conftest.
$ac_ext
4408 cat >>conftest.
$ac_ext <<_ACEOF
4409 /* end confdefs.h. */
4411 #if ((' ' & 0x0FF) == 0x020)
4412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4415 # define ISLOWER(c) \
4416 (('a' <= (c) && (c) <= 'i') \
4417 || ('j' <= (c) && (c) <= 'r') \
4418 || ('s' <= (c) && (c) <= 'z'))
4419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4427 for (i = 0; i < 256; i++)
4428 if (XOR (islower (i), ISLOWER (i))
4429 || toupper (i) != TOUPPER (i))
4434 rm -f conftest
$ac_exeext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4436 (eval $ac_link) 2>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); }; }; then
4447 echo "$as_me: program exited with status $ac_status" >&5
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.
$ac_ext >&5
4452 ac_cv_header_stdc
=no
4454 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4458 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4459 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4460 if test $ac_cv_header_stdc = yes; then
4462 cat >>confdefs.h
<<\_ACEOF
4463 #define STDC_HEADERS 1
4468 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4478 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4479 inttypes.h stdint.h unistd.h
4481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4482 echo "$as_me:$LINENO: checking for $ac_header" >&5
4483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 cat >conftest.
$ac_ext <<_ACEOF
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 $ac_includes_default
4495 #include <$ac_header>
4497 rm -f conftest.
$ac_objext
4498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4499 (eval $ac_compile) 2>conftest.er1
4501 grep -v '^ *+' conftest.er1
>conftest.err
4503 cat conftest.err
>&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); } &&
4506 { ac_try
='test -z "$ac_c_werror_flag"
4507 || test ! -s conftest.err'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; } &&
4513 { ac_try
='test -s conftest.$ac_objext'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; }; then
4519 eval "$as_ac_Header=yes"
4521 echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.
$ac_ext >&5
4524 eval "$as_ac_Header=no"
4526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4531 cat >>confdefs.h
<<_ACEOF
4532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4547 for ac_header
in auth.h
crypt.h inttypes.h shadow.h stdint.h utmp.h utmpx.h
4549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4551 echo "$as_me:$LINENO: checking for $ac_header" >&5
4552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4559 # Is the header compilable?
4560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4562 cat >conftest.
$ac_ext <<_ACEOF
4565 cat confdefs.h
>>conftest.
$ac_ext
4566 cat >>conftest.
$ac_ext <<_ACEOF
4567 /* end confdefs.h. */
4568 $ac_includes_default
4569 #include <$ac_header>
4571 rm -f conftest.
$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try
='test -z "$ac_c_werror_flag"
4581 || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try
='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_header_compiler
=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.
$ac_ext >&5
4598 ac_header_compiler
=no
4600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4602 echo "${ECHO_T}$ac_header_compiler" >&6
4604 # Is the header present?
4605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4607 cat >conftest.
$ac_ext <<_ACEOF
4610 cat confdefs.h
>>conftest.
$ac_ext
4611 cat >>conftest.
$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4613 #include <$ac_header>
4615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4618 grep -v '^ *+' conftest.er1
>conftest.err
4620 cat conftest.err
>&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); } >/dev
/null
; then
4623 if test -s conftest.err
; then
4624 ac_cpp_err
=$ac_c_preproc_warn_flag
4625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4632 if test -z "$ac_cpp_err"; then
4633 ac_header_preproc
=yes
4635 echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.
$ac_ext >&5
4638 ac_header_preproc
=no
4640 rm -f conftest.err conftest.
$ac_ext
4641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4642 echo "${ECHO_T}$ac_header_preproc" >&6
4644 # So? What about this header?
4645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4651 ac_header_preproc
=yes
4654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4668 ## ---------------------------------- ##
4669 ## Report this to http://bugs.gw.com/ ##
4670 ## ---------------------------------- ##
4673 sed "s/^/$as_me: WARNING: /" >&2
4676 echo "$as_me:$LINENO: checking for $ac_header" >&5
4677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 eval "$as_ac_Header=\$ac_header_preproc"
4683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4688 cat >>confdefs.h
<<_ACEOF
4689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4697 for ac_header
in wchar.h
4699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4701 echo "$as_me:$LINENO: checking for $ac_header" >&5
4702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4709 # Is the header compilable?
4710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 $ac_includes_default
4719 #include <$ac_header>
4721 rm -f conftest.
$ac_objext
4722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 (eval $ac_compile) 2>conftest.er1
4725 grep -v '^ *+' conftest.er1
>conftest.err
4727 cat conftest.err
>&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try
='test -z "$ac_c_werror_flag"
4731 || test ! -s conftest.err'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try
='test -s conftest.$ac_objext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4743 ac_header_compiler
=yes
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.
$ac_ext >&5
4748 ac_header_compiler
=no
4750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4752 echo "${ECHO_T}$ac_header_compiler" >&6
4754 # Is the header present?
4755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 #include <$ac_header>
4765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4768 grep -v '^ *+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } >/dev
/null
; then
4773 if test -s conftest.err
; then
4774 ac_cpp_err
=$ac_c_preproc_warn_flag
4775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4782 if test -z "$ac_cpp_err"; then
4783 ac_header_preproc
=yes
4785 echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.
$ac_ext >&5
4788 ac_header_preproc
=no
4790 rm -f conftest.err conftest.
$ac_ext
4791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4792 echo "${ECHO_T}$ac_header_preproc" >&6
4794 # So? What about this header?
4795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4800 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4801 ac_header_preproc
=yes
4804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4808 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4809 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4810 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4811 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4814 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4815 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4818 ## ---------------------------------- ##
4819 ## Report this to http://bugs.gw.com/ ##
4820 ## ---------------------------------- ##
4823 sed "s/^/$as_me: WARNING: /" >&2
4826 echo "$as_me:$LINENO: checking for $ac_header" >&5
4827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 eval "$as_ac_Header=\$ac_header_preproc"
4833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4838 cat >>confdefs.h
<<_ACEOF
4839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4841 echo "$as_me:$LINENO: checking for wchar_t" >&5
4842 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
4843 if test "${ac_cv_type_wchar_t+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 cat >conftest.
$ac_ext <<_ACEOF
4849 cat confdefs.h
>>conftest.
$ac_ext
4850 cat >>conftest.
$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4860 if (sizeof (wchar_t))
4866 rm -f conftest.
$ac_objext
4867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4868 (eval $ac_compile) 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } &&
4875 { ac_try
='test -z "$ac_c_werror_flag"
4876 || test ! -s conftest.err'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; } &&
4882 { ac_try
='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 ac_cv_type_wchar_t
=yes
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4893 ac_cv_type_wchar_t
=no
4895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4897 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
4898 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
4900 echo "$as_me:$LINENO: checking size of wchar_t" >&5
4901 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
4902 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 if test "$ac_cv_type_wchar_t" = yes; then
4906 # The cast to unsigned long works around a bug in the HP C Compiler
4907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4909 # This bug is HP SR number 8606223364.
4910 if test "$cross_compiling" = yes; then
4911 # Depending upon the size, compute the lo and hi bounds.
4912 cat >conftest.
$ac_ext <<_ACEOF
4915 cat confdefs.h
>>conftest.
$ac_ext
4916 cat >>conftest.
$ac_ext <<_ACEOF
4917 /* end confdefs.h. */
4924 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
4931 rm -f conftest.
$ac_objext
4932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4933 (eval $ac_compile) 2>conftest.er1
4935 grep -v '^ *+' conftest.er1
>conftest.err
4937 cat conftest.err
>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } &&
4940 { ac_try
='test -z "$ac_c_werror_flag"
4941 || test ! -s conftest.err'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; } &&
4947 { ac_try
='test -s conftest.$ac_objext'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then
4955 cat >conftest.
$ac_ext <<_ACEOF
4958 cat confdefs.h
>>conftest.
$ac_ext
4959 cat >>conftest.
$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4967 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
4974 rm -f conftest.
$ac_objext
4975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4976 (eval $ac_compile) 2>conftest.er1
4978 grep -v '^ *+' conftest.er1
>conftest.err
4980 cat conftest.err
>&5
4981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982 (exit $ac_status); } &&
4983 { ac_try
='test -z "$ac_c_werror_flag"
4984 || test ! -s conftest.err'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; } &&
4990 { ac_try
='test -s conftest.$ac_objext'
4991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; }; then
4996 ac_hi
=$ac_mid; break
4998 echo "$as_me: failed program was:" >&5
4999 sed 's/^/| /' conftest.
$ac_ext >&5
5001 ac_lo
=`expr $ac_mid + 1`
5002 if test $ac_lo -le $ac_mid; then
5006 ac_mid
=`expr 2 '*' $ac_mid + 1`
5008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5011 echo "$as_me: failed program was:" >&5
5012 sed 's/^/| /' conftest.
$ac_ext >&5
5014 cat >conftest.
$ac_ext <<_ACEOF
5017 cat confdefs.h
>>conftest.
$ac_ext
5018 cat >>conftest.
$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5026 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
5033 rm -f conftest.
$ac_objext
5034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5035 (eval $ac_compile) 2>conftest.er1
5037 grep -v '^ *+' conftest.er1
>conftest.err
5039 cat conftest.err
>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } &&
5042 { ac_try
='test -z "$ac_c_werror_flag"
5043 || test ! -s conftest.err'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; } &&
5049 { ac_try
='test -s conftest.$ac_objext'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; }; then
5057 cat >conftest.
$ac_ext <<_ACEOF
5060 cat confdefs.h
>>conftest.
$ac_ext
5061 cat >>conftest.
$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5069 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
5076 rm -f conftest.
$ac_objext
5077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5078 (eval $ac_compile) 2>conftest.er1
5080 grep -v '^ *+' conftest.er1
>conftest.err
5082 cat conftest.err
>&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } &&
5085 { ac_try
='test -z "$ac_c_werror_flag"
5086 || test ! -s conftest.err'
5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); }; } &&
5092 { ac_try
='test -s conftest.$ac_objext'
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }; }; then
5098 ac_lo
=$ac_mid; break
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5103 ac_hi
=`expr '(' $ac_mid ')' - 1`
5104 if test $ac_mid -le $ac_hi; then
5108 ac_mid
=`expr 2 '*' $ac_mid`
5110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.
$ac_ext >&5
5118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5121 # Binary search between lo and hi bounds.
5122 while test "x$ac_lo" != "x$ac_hi"; do
5123 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5124 cat >conftest.
$ac_ext <<_ACEOF
5127 cat confdefs.h
>>conftest.
$ac_ext
5128 cat >>conftest.
$ac_ext <<_ACEOF
5129 /* end confdefs.h. */
5136 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
5143 rm -f conftest.
$ac_objext
5144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5145 (eval $ac_compile) 2>conftest.er1
5147 grep -v '^ *+' conftest.er1
>conftest.err
5149 cat conftest.err
>&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } &&
5152 { ac_try
='test -z "$ac_c_werror_flag"
5153 || test ! -s conftest.err'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; } &&
5159 { ac_try
='test -s conftest.$ac_objext'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; }; then
5167 echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.
$ac_ext >&5
5170 ac_lo
=`expr '(' $ac_mid ')' + 1`
5172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5175 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
5176 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
5177 See \`config.log' for more details." >&5
5178 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
5179 See \`config.log' for more details." >&2;}
5180 { (exit 1); exit 1; }; } ;;
5183 if test "$cross_compiling" = yes; then
5184 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5185 See \`config.log' for more details." >&5
5186 echo "$as_me: error: cannot run test program while cross compiling
5187 See \`config.log' for more details." >&2;}
5188 { (exit 1); exit 1; }; }
5190 cat >conftest.
$ac_ext <<_ACEOF
5193 cat confdefs.h
>>conftest.
$ac_ext
5194 cat >>conftest.
$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5199 long longval () { return (long) (sizeof (wchar_t)); }
5200 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
5207 FILE *f = fopen ("conftest.val", "w");
5210 if (((long) (sizeof (wchar_t))) < 0)
5212 long i = longval ();
5213 if (i != ((long) (sizeof (wchar_t))))
5215 fprintf (f, "%ld\n", i);
5219 unsigned long i = ulongval ();
5220 if (i != ((long) (sizeof (wchar_t))))
5222 fprintf (f, "%lu\n", i);
5224 exit (ferror (f) || fclose (f) != 0);
5230 rm -f conftest
$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5241 ac_cv_sizeof_wchar_t
=`cat conftest.val`
5243 echo "$as_me: program exited with status $ac_status" >&5
5244 echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.
$ac_ext >&5
5248 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
5251 See \`config.log' for more details." >&2;}
5252 { (exit 1); exit 1; }; }
5254 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5259 ac_cv_sizeof_wchar_t
=0
5262 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
5263 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
5264 cat >>confdefs.h
<<_ACEOF
5265 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
5270 for ac_header
in wctype.h
5272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5274 echo "$as_me:$LINENO: checking for $ac_header" >&5
5275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5282 # Is the header compilable?
5283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5285 cat >conftest.
$ac_ext <<_ACEOF
5288 cat confdefs.h
>>conftest.
$ac_ext
5289 cat >>conftest.
$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 $ac_includes_default
5292 #include <$ac_header>
5294 rm -f conftest.
$ac_objext
5295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5296 (eval $ac_compile) 2>conftest.er1
5298 grep -v '^ *+' conftest.er1
>conftest.err
5300 cat conftest.err
>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); } &&
5303 { ac_try
='test -z "$ac_c_werror_flag"
5304 || test ! -s conftest.err'
5305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; } &&
5310 { ac_try
='test -s conftest.$ac_objext'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; }; then
5316 ac_header_compiler
=yes
5318 echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.
$ac_ext >&5
5321 ac_header_compiler
=no
5323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5325 echo "${ECHO_T}$ac_header_compiler" >&6
5327 # Is the header present?
5328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5330 cat >conftest.
$ac_ext <<_ACEOF
5333 cat confdefs.h
>>conftest.
$ac_ext
5334 cat >>conftest.
$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 #include <$ac_header>
5338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } >/dev
/null
; then
5346 if test -s conftest.err
; then
5347 ac_cpp_err
=$ac_c_preproc_warn_flag
5348 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5355 if test -z "$ac_cpp_err"; then
5356 ac_header_preproc
=yes
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.
$ac_ext >&5
5361 ac_header_preproc
=no
5363 rm -f conftest.err conftest.
$ac_ext
5364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5365 echo "${ECHO_T}$ac_header_preproc" >&6
5367 # So? What about this header?
5368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5374 ac_header_preproc
=yes
5377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5391 ## ---------------------------------- ##
5392 ## Report this to http://bugs.gw.com/ ##
5393 ## ---------------------------------- ##
5396 sed "s/^/$as_me: WARNING: /" >&2
5399 echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 eval "$as_ac_Header=\$ac_header_preproc"
5406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5411 cat >>confdefs.h
<<_ACEOF
5412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5429 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5430 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5431 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5432 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5436 cat >conftest.
$ac_ext <<_ACEOF
5439 cat confdefs.h
>>conftest.
$ac_ext
5440 cat >>conftest.
$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5442 #include <sys/types.h>
5454 rm -f conftest.
$ac_objext
5455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5456 (eval $ac_compile) 2>conftest.er1
5458 grep -v '^ *+' conftest.er1
>conftest.err
5460 cat conftest.err
>&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } &&
5463 { ac_try
='test -z "$ac_c_werror_flag"
5464 || test ! -s conftest.err'
5465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }; } &&
5470 { ac_try
='test -s conftest.$ac_objext'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; }; then
5476 eval "$as_ac_Header=yes"
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5481 eval "$as_ac_Header=no"
5483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5488 cat >>confdefs.h
<<_ACEOF
5489 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5492 ac_header_dirent
=$ac_hdr; break
5496 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5497 if test $ac_header_dirent = dirent.h
; then
5498 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5499 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5500 if test "${ac_cv_search_opendir+set}" = set; then
5501 echo $ECHO_N "(cached) $ECHO_C" >&6
5503 ac_func_search_save_LIBS
=$LIBS
5504 ac_cv_search_opendir
=no
5505 cat >conftest.
$ac_ext <<_ACEOF
5508 cat confdefs.h
>>conftest.
$ac_ext
5509 cat >>conftest.
$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5512 /* Override any gcc2 internal prototype to avoid an error. */
5516 /* We use char because int might match the return type of a gcc2
5517 builtin and then its argument prototype would still apply. */
5527 rm -f conftest.
$ac_objext conftest
$ac_exeext
5528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5529 (eval $ac_link) 2>conftest.er1
5531 grep -v '^ *+' conftest.er1
>conftest.err
5533 cat conftest.err
>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } &&
5536 { ac_try
='test -z "$ac_c_werror_flag"
5537 || test ! -s conftest.err'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; } &&
5543 { ac_try
='test -s conftest$ac_exeext'
5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; }; then
5549 ac_cv_search_opendir
="none required"
5551 echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.
$ac_ext >&5
5555 rm -f conftest.err conftest.
$ac_objext \
5556 conftest
$ac_exeext conftest.
$ac_ext
5557 if test "$ac_cv_search_opendir" = no
; then
5558 for ac_lib
in dir
; do
5559 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5567 /* Override any gcc2 internal prototype to avoid an error. */
5571 /* We use char because int might match the return type of a gcc2
5572 builtin and then its argument prototype would still apply. */
5582 rm -f conftest.
$ac_objext conftest
$ac_exeext
5583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5584 (eval $ac_link) 2>conftest.er1
5586 grep -v '^ *+' conftest.er1
>conftest.err
5588 cat conftest.err
>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try
='test -z "$ac_c_werror_flag"
5592 || test ! -s conftest.err'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; } &&
5598 { ac_try
='test -s conftest$ac_exeext'
5599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5604 ac_cv_search_opendir
="-l$ac_lib"
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5611 rm -f conftest.err conftest.
$ac_objext \
5612 conftest
$ac_exeext conftest.
$ac_ext
5615 LIBS
=$ac_func_search_save_LIBS
5617 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5618 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5619 if test "$ac_cv_search_opendir" != no
; then
5620 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
5625 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5626 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5627 if test "${ac_cv_search_opendir+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 ac_func_search_save_LIBS
=$LIBS
5631 ac_cv_search_opendir
=no
5632 cat >conftest.
$ac_ext <<_ACEOF
5635 cat confdefs.h
>>conftest.
$ac_ext
5636 cat >>conftest.
$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5639 /* Override any gcc2 internal prototype to avoid an error. */
5643 /* We use char because int might match the return type of a gcc2
5644 builtin and then its argument prototype would still apply. */
5654 rm -f conftest.
$ac_objext conftest
$ac_exeext
5655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5656 (eval $ac_link) 2>conftest.er1
5658 grep -v '^ *+' conftest.er1
>conftest.err
5660 cat conftest.err
>&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); } &&
5663 { ac_try
='test -z "$ac_c_werror_flag"
5664 || test ! -s conftest.err'
5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); }; } &&
5670 { ac_try
='test -s conftest$ac_exeext'
5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; }; then
5676 ac_cv_search_opendir
="none required"
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.
$ac_ext >&5
5682 rm -f conftest.err conftest.
$ac_objext \
5683 conftest
$ac_exeext conftest.
$ac_ext
5684 if test "$ac_cv_search_opendir" = no
; then
5686 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5687 cat >conftest.
$ac_ext <<_ACEOF
5690 cat confdefs.h
>>conftest.
$ac_ext
5691 cat >>conftest.
$ac_ext <<_ACEOF
5692 /* end confdefs.h. */
5694 /* Override any gcc2 internal prototype to avoid an error. */
5698 /* We use char because int might match the return type of a gcc2
5699 builtin and then its argument prototype would still apply. */
5709 rm -f conftest.
$ac_objext conftest
$ac_exeext
5710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5711 (eval $ac_link) 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } &&
5718 { ac_try
='test -z "$ac_c_werror_flag"
5719 || test ! -s conftest.err'
5720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); }; } &&
5725 { ac_try
='test -s conftest$ac_exeext'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; }; then
5731 ac_cv_search_opendir
="-l$ac_lib"
5734 echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.
$ac_ext >&5
5738 rm -f conftest.err conftest.
$ac_objext \
5739 conftest
$ac_exeext conftest.
$ac_ext
5742 LIBS
=$ac_func_search_save_LIBS
5744 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5745 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5746 if test "$ac_cv_search_opendir" != no
; then
5747 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
5753 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5754 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5755 if test "${ac_cv_header_stat_broken+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 cat >conftest.
$ac_ext <<_ACEOF
5761 cat confdefs.h
>>conftest.
$ac_ext
5762 cat >>conftest.
$ac_ext <<_ACEOF
5763 /* end confdefs.h. */
5764 #include <sys/types.h>
5765 #include <sys/stat.h>
5767 #if defined(S_ISBLK) && defined(S_IFDIR)
5768 # if S_ISBLK (S_IFDIR)
5773 #if defined(S_ISBLK) && defined(S_IFCHR)
5774 # if S_ISBLK (S_IFCHR)
5779 #if defined(S_ISLNK) && defined(S_IFREG)
5780 # if S_ISLNK (S_IFREG)
5785 #if defined(S_ISSOCK) && defined(S_IFREG)
5786 # if S_ISSOCK (S_IFREG)
5792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5793 $EGREP "You lose" >/dev
/null
2>&1; then
5794 ac_cv_header_stat_broken
=yes
5796 ac_cv_header_stat_broken
=no
5801 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5802 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5803 if test $ac_cv_header_stat_broken = yes; then
5805 cat >>confdefs.h
<<\_ACEOF
5806 #define STAT_MACROS_BROKEN 1
5811 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5813 if test "${ac_cv_header_stdc+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 cat >conftest.
$ac_ext <<_ACEOF
5819 cat confdefs.h
>>conftest.
$ac_ext
5820 cat >>conftest.
$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5835 rm -f conftest.
$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837 (eval $ac_compile) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1
>conftest.err
5841 cat conftest.err
>&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try
='test -z "$ac_c_werror_flag"
5845 || test ! -s conftest.err'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; } &&
5851 { ac_try
='test -s conftest.$ac_objext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_cv_header_stdc
=yes
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.
$ac_ext >&5
5862 ac_cv_header_stdc
=no
5864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 if test $ac_cv_header_stdc = yes; then
5867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5868 cat >conftest.
$ac_ext <<_ACEOF
5871 cat confdefs.h
>>conftest.
$ac_ext
5872 cat >>conftest.
$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5878 $EGREP "memchr" >/dev
/null
2>&1; then
5881 ac_cv_header_stdc
=no
5887 if test $ac_cv_header_stdc = yes; then
5888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "free" >/dev
/null
2>&1; then
5902 ac_cv_header_stdc
=no
5908 if test $ac_cv_header_stdc = yes; then
5909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5910 if test "$cross_compiling" = yes; then
5913 cat >conftest.
$ac_ext <<_ACEOF
5916 cat confdefs.h
>>conftest.
$ac_ext
5917 cat >>conftest.
$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5920 #if ((' ' & 0x0FF) == 0x020)
5921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5924 # define ISLOWER(c) \
5925 (('a' <= (c) && (c) <= 'i') \
5926 || ('j' <= (c) && (c) <= 'r') \
5927 || ('s' <= (c) && (c) <= 'z'))
5928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5936 for (i = 0; i < 256; i++)
5937 if (XOR (islower (i), ISLOWER (i))
5938 || toupper (i) != TOUPPER (i))
5943 rm -f conftest
$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5956 echo "$as_me: program exited with status $ac_status" >&5
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.
$ac_ext >&5
5961 ac_cv_header_stdc
=no
5963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5967 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5968 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5969 if test $ac_cv_header_stdc = yes; then
5971 cat >>confdefs.h
<<\_ACEOF
5972 #define STDC_HEADERS 1
5978 echo "$as_me:$LINENO: checking for long long" >&5
5979 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5980 if test "${ac_cv_type_long_long+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5989 $ac_includes_default
5993 if ((long long *) 0)
5995 if (sizeof (long long))
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest.$ac_objext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 ac_cv_type_long_long
=yes
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 ac_cv_type_long_long
=no
6030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6033 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6034 if test $ac_cv_type_long_long = yes; then
6036 cat >>confdefs.h
<<_ACEOF
6037 #define HAVE_LONG_LONG 1
6043 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6044 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6045 if test "${ac_cv_type_uid_t+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 cat >conftest.
$ac_ext <<_ACEOF
6051 cat confdefs.h
>>conftest.
$ac_ext
6052 cat >>conftest.
$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6054 #include <sys/types.h>
6057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6058 $EGREP "uid_t" >/dev
/null
2>&1; then
6059 ac_cv_type_uid_t
=yes
6066 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6067 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6068 if test $ac_cv_type_uid_t = no
; then
6070 cat >>confdefs.h
<<\_ACEOF
6075 cat >>confdefs.h
<<\_ACEOF
6081 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
6082 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
6083 if test "${ac_cv_type_getgroups+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 if test "$cross_compiling" = yes; then
6087 ac_cv_type_getgroups
=cross
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6095 /* Thanks to Mike Rendell for this test. */
6096 #include <sys/types.h>
6099 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6106 union { gid_t gval; long lval; } val;
6109 for (i = 0; i < NGID; i++)
6110 gidset[i] = val.gval;
6111 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6113 /* Exit non-zero if getgroups seems to require an array of ints. This
6114 happens when gid_t is short but getgroups modifies an array of ints. */
6115 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
6118 rm -f conftest
$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_type_getgroups
=gid_t
6131 echo "$as_me: program exited with status $ac_status" >&5
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.
$ac_ext >&5
6136 ac_cv_type_getgroups
=int
6138 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6140 if test $ac_cv_type_getgroups = cross
; then
6141 cat >conftest.
$ac_ext <<_ACEOF
6144 cat confdefs.h
>>conftest.
$ac_ext
6145 cat >>conftest.
$ac_ext <<_ACEOF
6146 /* end confdefs.h. */
6150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6151 $EGREP "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
6152 ac_cv_type_getgroups
=gid_t
6154 ac_cv_type_getgroups
=int
6160 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6161 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6163 cat >>confdefs.h
<<_ACEOF
6164 #define GETGROUPS_T $ac_cv_type_getgroups
6168 echo "$as_me:$LINENO: checking for mode_t" >&5
6169 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
6170 if test "${ac_cv_type_mode_t+set}" = set; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 cat >conftest.
$ac_ext <<_ACEOF
6176 cat confdefs.h
>>conftest.
$ac_ext
6177 cat >>conftest.
$ac_ext <<_ACEOF
6178 /* end confdefs.h. */
6179 $ac_includes_default
6185 if (sizeof (mode_t))
6191 rm -f conftest.
$ac_objext
6192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6193 (eval $ac_compile) 2>conftest.er1
6195 grep -v '^ *+' conftest.er1
>conftest.err
6197 cat conftest.err
>&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); } &&
6200 { ac_try
='test -z "$ac_c_werror_flag"
6201 || test ! -s conftest.err'
6202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); }; } &&
6207 { ac_try
='test -s conftest.$ac_objext'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; }; then
6213 ac_cv_type_mode_t
=yes
6215 echo "$as_me: failed program was:" >&5
6216 sed 's/^/| /' conftest.
$ac_ext >&5
6218 ac_cv_type_mode_t
=no
6220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6222 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6223 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
6224 if test $ac_cv_type_mode_t = yes; then
6228 cat >>confdefs.h
<<_ACEOF
6234 echo "$as_me:$LINENO: checking for size_t" >&5
6235 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6236 if test "${ac_cv_type_size_t+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 cat >conftest.
$ac_ext <<_ACEOF
6242 cat confdefs.h
>>conftest.
$ac_ext
6243 cat >>conftest.
$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6245 $ac_includes_default
6251 if (sizeof (size_t))
6257 rm -f conftest.
$ac_objext
6258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6259 (eval $ac_compile) 2>conftest.er1
6261 grep -v '^ *+' conftest.er1
>conftest.err
6263 cat conftest.err
>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } &&
6266 { ac_try
='test -z "$ac_c_werror_flag"
6267 || test ! -s conftest.err'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; } &&
6273 { ac_try
='test -s conftest.$ac_objext'
6274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); }; }; then
6279 ac_cv_type_size_t
=yes
6281 echo "$as_me: failed program was:" >&5
6282 sed 's/^/| /' conftest.
$ac_ext >&5
6284 ac_cv_type_size_t
=no
6286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6288 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6289 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6290 if test $ac_cv_type_size_t = yes; then
6294 cat >>confdefs.h
<<_ACEOF
6295 #define size_t unsigned
6300 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6301 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6302 if test "${ac_cv_type_uid_t+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 cat >conftest.
$ac_ext <<_ACEOF
6308 cat confdefs.h
>>conftest.
$ac_ext
6309 cat >>conftest.
$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 #include <sys/types.h>
6314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6315 $EGREP "uid_t" >/dev
/null
2>&1; then
6316 ac_cv_type_uid_t
=yes
6323 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6324 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6325 if test $ac_cv_type_uid_t = no
; then
6327 cat >>confdefs.h
<<\_ACEOF
6332 cat >>confdefs.h
<<\_ACEOF
6341 echo "$as_me:$LINENO: checking for ssize_t" >&5
6342 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
6343 if test "${ac_cv_type_ssize_t+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 cat >conftest.
$ac_ext <<_ACEOF
6349 cat confdefs.h
>>conftest.
$ac_ext
6350 cat >>conftest.
$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6353 #include <sys/types.h>
6361 if (sizeof (ssize_t))
6367 rm -f conftest.
$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try
='test -z "$ac_c_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try
='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_cv_type_ssize_t
=yes
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.
$ac_ext >&5
6394 ac_cv_type_ssize_t
=no
6396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
6399 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
6400 if test $ac_cv_type_ssize_t = yes; then
6404 cat >>confdefs.h
<<\_ACEOF
6414 echo "$as_me:$LINENO: checking for socklen_t" >&5
6415 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
6416 if test "${ac_cv_type_socklen_t+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 cat >conftest.
$ac_ext <<_ACEOF
6422 cat confdefs.h
>>conftest.
$ac_ext
6423 cat >>conftest.
$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6426 #include <sys/types.h>
6427 #include <sys/socket.h>
6433 if ((socklen_t *) 0)
6435 if (sizeof (socklen_t))
6441 rm -f conftest.
$ac_objext
6442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6443 (eval $ac_compile) 2>conftest.er1
6445 grep -v '^ *+' conftest.er1
>conftest.err
6447 cat conftest.err
>&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } &&
6450 { ac_try
='test -z "$ac_c_werror_flag"
6451 || test ! -s conftest.err'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; } &&
6457 { ac_try
='test -s conftest.$ac_objext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6463 ac_cv_type_socklen_t
=yes
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.
$ac_ext >&5
6468 ac_cv_type_socklen_t
=no
6470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
6473 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
6474 if test $ac_cv_type_socklen_t = yes; then
6478 cat >>confdefs.h
<<\_ACEOF
6479 #define socklen_t int
6487 echo "$as_me:$LINENO: checking for struct dirent.d_ino" >&5
6488 echo $ECHO_N "checking for struct dirent.d_ino... $ECHO_C" >&6
6489 if test "${ac_cv_member_struct_dirent_d_ino+set}" = set; then
6490 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 cat >conftest.
$ac_ext <<_ACEOF
6495 cat confdefs.h
>>conftest.
$ac_ext
6496 cat >>conftest.
$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6498 #ifdef HAVE_DIRENT_H
6499 # include <dirent.h>
6504 # include <sys/dir.h>
6506 # define dirent direct
6512 static struct dirent ac_aggr;
6519 rm -f conftest.
$ac_objext
6520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6521 (eval $ac_compile) 2>conftest.er1
6523 grep -v '^ *+' conftest.er1
>conftest.err
6525 cat conftest.err
>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } &&
6528 { ac_try
='test -z "$ac_c_werror_flag"
6529 || test ! -s conftest.err'
6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); }; } &&
6535 { ac_try
='test -s conftest.$ac_objext'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; }; then
6541 ac_cv_member_struct_dirent_d_ino
=yes
6543 echo "$as_me: failed program was:" >&5
6544 sed 's/^/| /' conftest.
$ac_ext >&5
6546 cat >conftest.
$ac_ext <<_ACEOF
6549 cat confdefs.h
>>conftest.
$ac_ext
6550 cat >>conftest.
$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6552 #ifdef HAVE_DIRENT_H
6553 # include <dirent.h>
6558 # include <sys/dir.h>
6560 # define dirent direct
6566 static struct dirent ac_aggr;
6567 if (sizeof ac_aggr.d_ino)
6573 rm -f conftest.
$ac_objext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>conftest.er1
6577 grep -v '^ *+' conftest.er1
>conftest.err
6579 cat conftest.err
>&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); } &&
6582 { ac_try
='test -z "$ac_c_werror_flag"
6583 || test ! -s conftest.err'
6584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); }; } &&
6589 { ac_try
='test -s conftest.$ac_objext'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; }; then
6595 ac_cv_member_struct_dirent_d_ino
=yes
6597 echo "$as_me: failed program was:" >&5
6598 sed 's/^/| /' conftest.
$ac_ext >&5
6600 ac_cv_member_struct_dirent_d_ino
=no
6602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6606 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_ino" >&5
6607 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_ino" >&6
6608 if test $ac_cv_member_struct_dirent_d_ino = yes; then
6610 cat >>confdefs.h
<<_ACEOF
6611 #define HAVE_STRUCT_DIRENT_D_INO 1
6617 echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
6618 echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6
6619 if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 cat >conftest.
$ac_ext <<_ACEOF
6625 cat confdefs.h
>>conftest.
$ac_ext
6626 cat >>conftest.
$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6628 #include <sys/types.h>
6632 #elif defined HAVE_UTMP_H
6639 static struct utmp ac_aggr;
6640 if (ac_aggr.ut_host)
6646 rm -f conftest.
$ac_objext
6647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6648 (eval $ac_compile) 2>conftest.er1
6650 grep -v '^ *+' conftest.er1
>conftest.err
6652 cat conftest.err
>&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } &&
6655 { ac_try
='test -z "$ac_c_werror_flag"
6656 || test ! -s conftest.err'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; } &&
6662 { ac_try
='test -s conftest.$ac_objext'
6663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); }; }; then
6668 ac_cv_member_struct_utmp_ut_host
=yes
6670 echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.
$ac_ext >&5
6673 cat >conftest.
$ac_ext <<_ACEOF
6676 cat confdefs.h
>>conftest.
$ac_ext
6677 cat >>conftest.
$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6679 #include <sys/types.h>
6683 #elif defined HAVE_UTMP_H
6690 static struct utmp ac_aggr;
6691 if (sizeof ac_aggr.ut_host)
6697 rm -f conftest.
$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699 (eval $ac_compile) 2>conftest.er1
6701 grep -v '^ *+' conftest.er1
>conftest.err
6703 cat conftest.err
>&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } &&
6706 { ac_try
='test -z "$ac_c_werror_flag"
6707 || test ! -s conftest.err'
6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); }; } &&
6713 { ac_try
='test -s conftest.$ac_objext'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; }; then
6719 ac_cv_member_struct_utmp_ut_host
=yes
6721 echo "$as_me: failed program was:" >&5
6722 sed 's/^/| /' conftest.
$ac_ext >&5
6724 ac_cv_member_struct_utmp_ut_host
=no
6726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6730 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
6731 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6
6732 if test $ac_cv_member_struct_utmp_ut_host = yes; then
6734 cat >>confdefs.h
<<_ACEOF
6735 #define HAVE_STRUCT_UTMP_UT_HOST 1
6740 echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5
6741 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6
6742 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 cat >conftest.
$ac_ext <<_ACEOF
6748 cat confdefs.h
>>conftest.
$ac_ext
6749 cat >>conftest.
$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 #include <sys/types.h>
6755 #elif defined HAVE_UTMP_H
6762 static struct utmp ac_aggr;
6763 if (ac_aggr.ut_user)
6769 rm -f conftest.
$ac_objext
6770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6771 (eval $ac_compile) 2>conftest.er1
6773 grep -v '^ *+' conftest.er1
>conftest.err
6775 cat conftest.err
>&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } &&
6778 { ac_try
='test -z "$ac_c_werror_flag"
6779 || test ! -s conftest.err'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; } &&
6785 { ac_try
='test -s conftest.$ac_objext'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; }; then
6791 ac_cv_member_struct_utmp_ut_user
=yes
6793 echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.
$ac_ext >&5
6796 cat >conftest.
$ac_ext <<_ACEOF
6799 cat confdefs.h
>>conftest.
$ac_ext
6800 cat >>conftest.
$ac_ext <<_ACEOF
6801 /* end confdefs.h. */
6802 #include <sys/types.h>
6806 #elif defined HAVE_UTMP_H
6813 static struct utmp ac_aggr;
6814 if (sizeof ac_aggr.ut_user)
6820 rm -f conftest.
$ac_objext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6822 (eval $ac_compile) 2>conftest.er1
6824 grep -v '^ *+' conftest.er1
>conftest.err
6826 cat conftest.err
>&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } &&
6829 { ac_try
='test -z "$ac_c_werror_flag"
6830 || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try
='test -s conftest.$ac_objext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_member_struct_utmp_ut_user
=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 ac_cv_member_struct_utmp_ut_user
=no
6849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6853 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5
6854 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6
6855 if test $ac_cv_member_struct_utmp_ut_user = yes; then
6857 cat >>confdefs.h
<<_ACEOF
6858 #define HAVE_STRUCT_UTMP_UT_USER 1
6863 echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
6864 echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6
6865 if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <sys/types.h>
6878 #elif defined HAVE_UTMP_H
6885 static struct utmp ac_aggr;
6892 rm -f conftest.
$ac_objext
6893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6894 (eval $ac_compile) 2>conftest.er1
6896 grep -v '^ *+' conftest.er1
>conftest.err
6898 cat conftest.err
>&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } &&
6901 { ac_try
='test -z "$ac_c_werror_flag"
6902 || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest.$ac_objext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_member_struct_utmp_ut_tv
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 cat >conftest.
$ac_ext <<_ACEOF
6922 cat confdefs.h
>>conftest.
$ac_ext
6923 cat >>conftest.
$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6925 #include <sys/types.h>
6929 #elif defined HAVE_UTMP_H
6936 static struct utmp ac_aggr;
6937 if (sizeof ac_aggr.ut_tv)
6943 rm -f conftest.
$ac_objext
6944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6945 (eval $ac_compile) 2>conftest.er1
6947 grep -v '^ *+' conftest.er1
>conftest.err
6949 cat conftest.err
>&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } &&
6952 { ac_try
='test -z "$ac_c_werror_flag"
6953 || test ! -s conftest.err'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; } &&
6959 { ac_try
='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6965 ac_cv_member_struct_utmp_ut_tv
=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.
$ac_ext >&5
6970 ac_cv_member_struct_utmp_ut_tv
=no
6972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6976 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
6977 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6
6978 if test $ac_cv_member_struct_utmp_ut_tv = yes; then
6980 cat >>confdefs.h
<<_ACEOF
6981 #define HAVE_STRUCT_UTMP_UT_TV 1
6986 echo "$as_me:$LINENO: checking for struct utmp.ut_xtime" >&5
6987 echo $ECHO_N "checking for struct utmp.ut_xtime... $ECHO_C" >&6
6988 if test "${ac_cv_member_struct_utmp_ut_xtime+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 cat >conftest.
$ac_ext <<_ACEOF
6994 cat confdefs.h
>>conftest.
$ac_ext
6995 cat >>conftest.
$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 #include <sys/types.h>
7001 #elif defined HAVE_UTMP_H
7008 static struct utmp ac_aggr;
7009 if (ac_aggr.ut_xtime)
7015 rm -f conftest.
$ac_objext
7016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>conftest.er1
7019 grep -v '^ *+' conftest.er1
>conftest.err
7021 cat conftest.err
>&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); } &&
7024 { ac_try
='test -z "$ac_c_werror_flag"
7025 || test ! -s conftest.err'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; } &&
7031 { ac_try
='test -s conftest.$ac_objext'
7032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }; }; then
7037 ac_cv_member_struct_utmp_ut_xtime
=yes
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.
$ac_ext >&5
7042 cat >conftest.
$ac_ext <<_ACEOF
7045 cat confdefs.h
>>conftest.
$ac_ext
7046 cat >>conftest.
$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7048 #include <sys/types.h>
7052 #elif defined HAVE_UTMP_H
7059 static struct utmp ac_aggr;
7060 if (sizeof ac_aggr.ut_xtime)
7066 rm -f conftest.
$ac_objext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>conftest.er1
7070 grep -v '^ *+' conftest.er1
>conftest.err
7072 cat conftest.err
>&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } &&
7075 { ac_try
='test -z "$ac_c_werror_flag"
7076 || test ! -s conftest.err'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; } &&
7082 { ac_try
='test -s conftest.$ac_objext'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; }; then
7088 ac_cv_member_struct_utmp_ut_xtime
=yes
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_cv_member_struct_utmp_ut_xtime
=no
7095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_xtime" >&5
7100 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_xtime" >&6
7101 if test $ac_cv_member_struct_utmp_ut_xtime = yes; then
7103 cat >>confdefs.h
<<_ACEOF
7104 #define HAVE_STRUCT_UTMP_UT_XTIME 1
7110 echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
7111 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6
7112 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 cat >conftest.
$ac_ext <<_ACEOF
7118 cat confdefs.h
>>conftest.
$ac_ext
7119 cat >>conftest.
$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7121 #include <sys/types.h>
7122 #include <sys/socket.h>
7127 static struct sockaddr_storage ac_aggr;
7128 if (ac_aggr.ss_family)
7134 rm -f conftest.
$ac_objext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7136 (eval $ac_compile) 2>conftest.er1
7138 grep -v '^ *+' conftest.er1
>conftest.err
7140 cat conftest.err
>&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } &&
7143 { ac_try
='test -z "$ac_c_werror_flag"
7144 || test ! -s conftest.err'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; } &&
7150 { ac_try
='test -s conftest.$ac_objext'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; }; then
7156 ac_cv_member_struct_sockaddr_storage_ss_family
=yes
7158 echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.
$ac_ext >&5
7161 cat >conftest.
$ac_ext <<_ACEOF
7164 cat confdefs.h
>>conftest.
$ac_ext
7165 cat >>conftest.
$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #include <sys/socket.h>
7173 static struct sockaddr_storage ac_aggr;
7174 if (sizeof ac_aggr.ss_family)
7180 rm -f conftest.
$ac_objext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7182 (eval $ac_compile) 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } &&
7189 { ac_try
='test -z "$ac_c_werror_flag"
7190 || test ! -s conftest.err'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; } &&
7196 { ac_try
='test -s conftest.$ac_objext'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_cv_member_struct_sockaddr_storage_ss_family
=yes
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.
$ac_ext >&5
7207 ac_cv_member_struct_sockaddr_storage_ss_family
=no
7209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7213 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
7214 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6
7215 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
7217 cat >>confdefs.h
<<_ACEOF
7218 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
7225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7227 if test "${ac_cv_c_const+set}" = set; then
7228 echo $ECHO_N "(cached) $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7240 /* FIXME: Include the comments suggested by Paul. */
7242 /* Ultrix mips cc rejects this. */
7243 typedef int charset[2];
7245 /* SunOS 4.1.1 cc rejects this. */
7246 char const *const *ccp;
7248 /* NEC SVR4.0.2 mips cc rejects this. */
7249 struct point {int x, y;};
7250 static struct point const zero = {0,0};
7251 /* AIX XL C 1.02.0.0 rejects this.
7252 It does not let you subtract one const X* pointer from another in
7253 an arm of an if-expression whose if-part is not a constant
7255 const char *g = "string";
7256 ccp = &g + (g ? g-g : 0);
7257 /* HPUX 7.0 cc rejects these. */
7260 ccp = (char const *const *) p;
7261 { /* SCO 3.2v4 cc rejects this. */
7263 char const *s = 0 ? (char *) 0 : (char const *) 0;
7267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7269 const int *foo = &x[0];
7272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7273 typedef const int *iptr;
7277 { /* AIX XL C 1.02.0.0 rejects this saying
7278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7279 struct s { int j; const int *ap[3]; };
7280 struct s *b; b->j = 5;
7282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7291 rm -f conftest.
$ac_objext
7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293 (eval $ac_compile) 2>conftest.er1
7295 grep -v '^ *+' conftest.er1
>conftest.err
7297 cat conftest.err
>&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } &&
7300 { ac_try
='test -z "$ac_c_werror_flag"
7301 || test ! -s conftest.err'
7302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); }; } &&
7307 { ac_try
='test -s conftest.$ac_objext'
7308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then
7315 echo "$as_me: failed program was:" >&5
7316 sed 's/^/| /' conftest.
$ac_ext >&5
7320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7322 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7323 echo "${ECHO_T}$ac_cv_c_const" >&6
7324 if test $ac_cv_c_const = no
; then
7326 cat >>confdefs.h
<<\_ACEOF
7332 echo "$as_me:$LINENO: checking for working volatile" >&5
7333 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
7334 if test "${ac_cv_c_volatile+set}" = set; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7337 cat >conftest.
$ac_ext <<_ACEOF
7340 cat confdefs.h
>>conftest.
$ac_ext
7341 cat >>conftest.
$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7354 rm -f conftest.
$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7358 grep -v '^ *+' conftest.er1
>conftest.err
7360 cat conftest.err
>&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try
='test -z "$ac_c_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try
='test -s conftest.$ac_objext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7376 ac_cv_c_volatile
=yes
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7385 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
7386 echo "${ECHO_T}$ac_cv_c_volatile" >&6
7387 if test $ac_cv_c_volatile = no
; then
7389 cat >>confdefs.h
<<\_ACEOF
7396 echo "$as_me:$LINENO: checking whether crypt is declared" >&5
7397 echo $ECHO_N "checking whether crypt is declared... $ECHO_C" >&6
7398 if test "${ac_cv_have_decl_crypt+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 cat >conftest.
$ac_ext <<_ACEOF
7404 cat confdefs.h
>>conftest.
$ac_ext
7405 cat >>conftest.
$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 #include "config_p.h"
7408 $ac_includes_default
7418 char *p = (char *) crypt;
7425 rm -f conftest.
$ac_objext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7427 (eval $ac_compile) 2>conftest.er1
7429 grep -v '^ *+' conftest.er1
>conftest.err
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } &&
7434 { ac_try
='test -z "$ac_c_werror_flag"
7435 || test ! -s conftest.err'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; } &&
7441 { ac_try
='test -s conftest.$ac_objext'
7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }; }; then
7447 ac_cv_have_decl_crypt
=yes
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.
$ac_ext >&5
7452 ac_cv_have_decl_crypt
=no
7454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7456 echo "$as_me:$LINENO: result: $ac_cv_have_decl_crypt" >&5
7457 echo "${ECHO_T}$ac_cv_have_decl_crypt" >&6
7458 if test $ac_cv_have_decl_crypt = yes; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define HAVE_DECL_CRYPT 1
7466 cat >>confdefs.h
<<_ACEOF
7467 #define HAVE_DECL_CRYPT 0
7472 echo "$as_me:$LINENO: checking whether environ is declared" >&5
7473 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
7474 if test "${ac_cv_have_decl_environ+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 cat >conftest.
$ac_ext <<_ACEOF
7480 cat confdefs.h
>>conftest.
$ac_ext
7481 cat >>conftest.
$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 #include "config_p.h"
7484 $ac_includes_default
7494 char *p = (char *) environ;
7501 rm -f conftest.
$ac_objext
7502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7503 (eval $ac_compile) 2>conftest.er1
7505 grep -v '^ *+' conftest.er1
>conftest.err
7507 cat conftest.err
>&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); } &&
7510 { ac_try
='test -z "$ac_c_werror_flag"
7511 || test ! -s conftest.err'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; } &&
7517 { ac_try
='test -s conftest.$ac_objext'
7518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); }; }; then
7523 ac_cv_have_decl_environ
=yes
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.
$ac_ext >&5
7528 ac_cv_have_decl_environ
=no
7530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7532 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
7533 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
7534 if test $ac_cv_have_decl_environ = yes; then
7536 cat >>confdefs.h
<<_ACEOF
7537 #define HAVE_DECL_ENVIRON 1
7542 cat >>confdefs.h
<<_ACEOF
7543 #define HAVE_DECL_ENVIRON 0
7548 echo "$as_me:$LINENO: checking whether gethostname is declared" >&5
7549 echo $ECHO_N "checking whether gethostname is declared... $ECHO_C" >&6
7550 if test "${ac_cv_have_decl_gethostname+set}" = set; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 cat >conftest.
$ac_ext <<_ACEOF
7556 cat confdefs.h
>>conftest.
$ac_ext
7557 cat >>conftest.
$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #include "config_p.h"
7560 $ac_includes_default
7570 char *p = (char *) gethostname;
7577 rm -f conftest.
$ac_objext
7578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7579 (eval $ac_compile) 2>conftest.er1
7581 grep -v '^ *+' conftest.er1
>conftest.err
7583 cat conftest.err
>&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } &&
7586 { ac_try
='test -z "$ac_c_werror_flag"
7587 || test ! -s conftest.err'
7588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); }; } &&
7593 { ac_try
='test -s conftest.$ac_objext'
7594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); }; }; then
7599 ac_cv_have_decl_gethostname
=yes
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.
$ac_ext >&5
7604 ac_cv_have_decl_gethostname
=no
7606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gethostname" >&5
7609 echo "${ECHO_T}$ac_cv_have_decl_gethostname" >&6
7610 if test $ac_cv_have_decl_gethostname = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7613 #define HAVE_DECL_GETHOSTNAME 1
7618 cat >>confdefs.h
<<_ACEOF
7619 #define HAVE_DECL_GETHOSTNAME 0
7624 echo "$as_me:$LINENO: checking whether getpgrp is declared" >&5
7625 echo $ECHO_N "checking whether getpgrp is declared... $ECHO_C" >&6
7626 if test "${ac_cv_have_decl_getpgrp+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 cat >conftest.
$ac_ext <<_ACEOF
7632 cat confdefs.h
>>conftest.
$ac_ext
7633 cat >>conftest.
$ac_ext <<_ACEOF
7634 /* end confdefs.h. */
7635 #include "config_p.h"
7636 $ac_includes_default
7646 char *p = (char *) getpgrp;
7653 rm -f conftest.
$ac_objext
7654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7655 (eval $ac_compile) 2>conftest.er1
7657 grep -v '^ *+' conftest.er1
>conftest.err
7659 cat conftest.err
>&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); } &&
7662 { ac_try
='test -z "$ac_c_werror_flag"
7663 || test ! -s conftest.err'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); }; } &&
7669 { ac_try
='test -s conftest.$ac_objext'
7670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); }; }; then
7675 ac_cv_have_decl_getpgrp
=yes
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.
$ac_ext >&5
7680 ac_cv_have_decl_getpgrp
=no
7682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7684 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getpgrp" >&5
7685 echo "${ECHO_T}$ac_cv_have_decl_getpgrp" >&6
7686 if test $ac_cv_have_decl_getpgrp = yes; then
7688 cat >>confdefs.h
<<_ACEOF
7689 #define HAVE_DECL_GETPGRP 1
7694 cat >>confdefs.h
<<_ACEOF
7695 #define HAVE_DECL_GETPGRP 0
7702 echo "$as_me:$LINENO: checking for setlocale" >&5
7703 echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
7704 if test "${ac_cv_func_setlocale+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 cat >conftest.
$ac_ext <<_ACEOF
7710 cat confdefs.h
>>conftest.
$ac_ext
7711 cat >>conftest.
$ac_ext <<_ACEOF
7712 /* end confdefs.h. */
7713 /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
7714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7715 #define setlocale innocuous_setlocale
7717 /* System header to define __stub macros and hopefully few prototypes,
7718 which can conflict with char setlocale (); below.
7719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7720 <limits.h> exists even on freestanding compilers. */
7723 # include <limits.h>
7725 # include <assert.h>
7730 /* Override any gcc2 internal prototype to avoid an error. */
7735 /* We use char because int might match the return type of a gcc2
7736 builtin and then its argument prototype would still apply. */
7738 /* The GNU C library defines this for functions which it implements
7739 to always fail with ENOSYS. Some functions are actually named
7740 something starting with __ and the normal name is an alias. */
7741 #if defined (__stub_setlocale) || defined (__stub___setlocale)
7744 char (*f) () = setlocale;
7753 return f != setlocale;
7758 rm -f conftest.
$ac_objext conftest
$ac_exeext
7759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7760 (eval $ac_link) 2>conftest.er1
7762 grep -v '^ *+' conftest.er1
>conftest.err
7764 cat conftest.err
>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } &&
7767 { ac_try
='test -z "$ac_c_werror_flag"
7768 || test ! -s conftest.err'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } &&
7774 { ac_try
='test -s conftest$ac_exeext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then
7780 ac_cv_func_setlocale
=yes
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.
$ac_ext >&5
7785 ac_cv_func_setlocale
=no
7787 rm -f conftest.err conftest.
$ac_objext \
7788 conftest
$ac_exeext conftest.
$ac_ext
7790 echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
7791 echo "${ECHO_T}$ac_cv_func_setlocale" >&6
7792 if test $ac_cv_func_setlocale = yes; then
7816 for ac_func
in catgets dup2 getauthid getcwd gethostname getpwent getutent memmove memset nice nl_langinfo sbrk setpgid setpriority strerror strstr sysconf wcwidth
7818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7819 echo "$as_me:$LINENO: checking for $ac_func" >&5
7820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7821 if eval "test \"\${$as_ac_var+set}\" = set"; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 cat >conftest.
$ac_ext <<_ACEOF
7827 cat confdefs.h
>>conftest.
$ac_ext
7828 cat >>conftest.
$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7832 #define $ac_func innocuous_$ac_func
7834 /* System header to define __stub macros and hopefully few prototypes,
7835 which can conflict with char $ac_func (); below.
7836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7837 <limits.h> exists even on freestanding compilers. */
7840 # include <limits.h>
7842 # include <assert.h>
7847 /* Override any gcc2 internal prototype to avoid an error. */
7852 /* We use char because int might match the return type of a gcc2
7853 builtin and then its argument prototype would still apply. */
7855 /* The GNU C library defines this for functions which it implements
7856 to always fail with ENOSYS. Some functions are actually named
7857 something starting with __ and the normal name is an alias. */
7858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7861 char (*f) () = $ac_func;
7870 return f != $ac_func;
7875 rm -f conftest.
$ac_objext conftest
$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>conftest.er1
7879 grep -v '^ *+' conftest.er1
>conftest.err
7881 cat conftest.err
>&5
7882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883 (exit $ac_status); } &&
7884 { ac_try
='test -z "$ac_c_werror_flag"
7885 || test ! -s conftest.err'
7886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; } &&
7891 { ac_try
='test -s conftest$ac_exeext'
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 eval "$as_ac_var=yes"
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.
$ac_ext >&5
7902 eval "$as_ac_var=no"
7904 rm -f conftest.err conftest.
$ac_objext \
7905 conftest
$ac_exeext conftest.
$ac_ext
7907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7909 if test `eval echo '${'$as_ac_var'}'` = yes; then
7910 cat >>confdefs.h
<<_ACEOF
7911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7917 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
7918 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
7919 if test "${ac_cv_func_getpgrp_void+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 # Use it with a single arg.
7923 cat >conftest.
$ac_ext <<_ACEOF
7926 cat confdefs.h
>>conftest.
$ac_ext
7927 cat >>conftest.
$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7929 $ac_includes_default
7938 rm -f conftest.
$ac_objext
7939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7940 (eval $ac_compile) 2>conftest.er1
7942 grep -v '^ *+' conftest.er1
>conftest.err
7944 cat conftest.err
>&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } &&
7947 { ac_try
='test -z "$ac_c_werror_flag"
7948 || test ! -s conftest.err'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; } &&
7954 { ac_try
='test -s conftest.$ac_objext'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; }; then
7960 ac_cv_func_getpgrp_void
=no
7962 echo "$as_me: failed program was:" >&5
7963 sed 's/^/| /' conftest.
$ac_ext >&5
7965 ac_cv_func_getpgrp_void
=yes
7967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7970 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
7971 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
7972 if test $ac_cv_func_getpgrp_void = yes; then
7974 cat >>confdefs.h
<<\_ACEOF
7975 #define GETPGRP_VOID 1
7981 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
7982 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
7983 if test "${ac_cv_func_mbrtowc+set}" = set; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 cat >conftest.
$ac_ext <<_ACEOF
7989 cat confdefs.h
>>conftest.
$ac_ext
7990 cat >>conftest.
$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
7996 mbstate_t state; return ! (sizeof state && mbrtowc);
8001 rm -f conftest.
$ac_objext conftest
$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>conftest.er1
8005 grep -v '^ *+' conftest.er1
>conftest.err
8007 cat conftest.err
>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try
='test -z "$ac_c_werror_flag"
8011 || test ! -s conftest.err'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; } &&
8017 { ac_try
='test -s conftest$ac_exeext'
8018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }; }; then
8023 ac_cv_func_mbrtowc
=yes
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8028 ac_cv_func_mbrtowc
=no
8030 rm -f conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8033 echo "$as_me:$LINENO: result: $ac_cv_func_mbrtowc" >&5
8034 echo "${ECHO_T}$ac_cv_func_mbrtowc" >&6
8035 if test $ac_cv_func_mbrtowc = yes; then
8037 cat >>confdefs.h
<<\_ACEOF
8038 #define HAVE_MBRTOWC 1
8043 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
8044 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
8045 if test "${ac_cv_func_setpgrp_void+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8048 if test "$cross_compiling" = yes; then
8049 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
8050 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
8051 { (exit 1); exit 1; }; }
8053 cat >conftest.
$ac_ext <<_ACEOF
8056 cat confdefs.h
>>conftest.
$ac_ext
8057 cat >>conftest.
$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8060 # include <unistd.h>
8066 /* If this system has a BSD-style setpgrp which takes arguments,
8067 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
8068 exit successfully. */
8069 exit (setpgrp (1,1) == -1 ? 0 : 1);
8074 rm -f conftest
$ac_exeext
8075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8076 (eval $ac_link) 2>&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; }; then
8085 ac_cv_func_setpgrp_void
=no
8087 echo "$as_me: program exited with status $ac_status" >&5
8088 echo "$as_me: failed program was:" >&5
8089 sed 's/^/| /' conftest.
$ac_ext >&5
8092 ac_cv_func_setpgrp_void
=yes
8094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8097 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
8098 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
8099 if test $ac_cv_func_setpgrp_void = yes; then
8101 cat >>confdefs.h
<<\_ACEOF
8102 #define SETPGRP_VOID 1
8107 echo "$as_me:$LINENO: checking for working strcoll" >&5
8108 echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
8109 if test "${ac_cv_func_strcoll_works+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 if test "$cross_compiling" = yes; then
8113 ac_cv_func_strcoll_works
=no
8115 cat >conftest.
$ac_ext <<_ACEOF
8118 cat confdefs.h
>>conftest.
$ac_ext
8119 cat >>conftest.
$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 $ac_includes_default
8125 exit (strcoll ("abc", "def") >= 0 ||
8126 strcoll ("ABC", "DEF") >= 0 ||
8127 strcoll ("123", "456") >= 0)
8132 rm -f conftest
$ac_exeext
8133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 ac_cv_func_strcoll_works
=yes
8145 echo "$as_me: program exited with status $ac_status" >&5
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.
$ac_ext >&5
8150 ac_cv_func_strcoll_works
=no
8152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8155 echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
8156 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
8157 if test $ac_cv_func_strcoll_works = yes; then
8159 cat >>confdefs.h
<<\_ACEOF
8160 #define HAVE_STRCOLL 1
8169 if test "$have_setlocale" != no
; then
8170 # Check whether --enable-nls or --disable-nls was given.
8171 if test "${enable_nls+set}" = set; then
8172 enableval
="$enable_nls"
8177 if test "x$enable_nls" != xno
; then
8179 cat >>confdefs.h
<<\_ACEOF
8187 # Check whether --with-hesiod or --without-hesiod was given.
8188 if test "${with_hesiod+set}" = set; then
8189 withval
="$with_hesiod"
8194 if test "$hesiod" != no
; then
8196 echo "$as_me:$LINENO: checking for res_send" >&5
8197 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
8198 if test "${ac_cv_func_res_send+set}" = set; then
8199 echo $ECHO_N "(cached) $ECHO_C" >&6
8201 cat >conftest.
$ac_ext <<_ACEOF
8204 cat confdefs.h
>>conftest.
$ac_ext
8205 cat >>conftest.
$ac_ext <<_ACEOF
8206 /* end confdefs.h. */
8207 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
8208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8209 #define res_send innocuous_res_send
8211 /* System header to define __stub macros and hopefully few prototypes,
8212 which can conflict with char res_send (); below.
8213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8214 <limits.h> exists even on freestanding compilers. */
8217 # include <limits.h>
8219 # include <assert.h>
8224 /* Override any gcc2 internal prototype to avoid an error. */
8229 /* We use char because int might match the return type of a gcc2
8230 builtin and then its argument prototype would still apply. */
8232 /* The GNU C library defines this for functions which it implements
8233 to always fail with ENOSYS. Some functions are actually named
8234 something starting with __ and the normal name is an alias. */
8235 #if defined (__stub_res_send) || defined (__stub___res_send)
8238 char (*f) () = res_send;
8247 return f != res_send;
8252 rm -f conftest.
$ac_objext conftest
$ac_exeext
8253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8254 (eval $ac_link) 2>conftest.er1
8256 grep -v '^ *+' conftest.er1
>conftest.err
8258 cat conftest.err
>&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try
='test -z "$ac_c_werror_flag"
8262 || test ! -s conftest.err'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; } &&
8268 { ac_try
='test -s conftest$ac_exeext'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; }; then
8274 ac_cv_func_res_send
=yes
8276 echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.
$ac_ext >&5
8279 ac_cv_func_res_send
=no
8281 rm -f conftest.err conftest.
$ac_objext \
8282 conftest
$ac_exeext conftest.
$ac_ext
8284 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
8285 echo "${ECHO_T}$ac_cv_func_res_send" >&6
8286 if test $ac_cv_func_res_send = yes; then
8289 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
8290 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
8291 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8294 ac_check_lib_save_LIBS
=$LIBS
8295 LIBS
="-lresolv $LIBS"
8296 cat >conftest.
$ac_ext <<_ACEOF
8299 cat confdefs.h
>>conftest.
$ac_ext
8300 cat >>conftest.
$ac_ext <<_ACEOF
8301 /* end confdefs.h. */
8303 /* Override any gcc2 internal prototype to avoid an error. */
8307 /* We use char because int might match the return type of a gcc2
8308 builtin and then its argument prototype would still apply. */
8318 rm -f conftest.
$ac_objext conftest
$ac_exeext
8319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8320 (eval $ac_link) 2>conftest.er1
8322 grep -v '^ *+' conftest.er1
>conftest.err
8324 cat conftest.err
>&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } &&
8327 { ac_try
='test -z "$ac_c_werror_flag"
8328 || test ! -s conftest.err'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; } &&
8334 { ac_try
='test -s conftest$ac_exeext'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; }; then
8340 ac_cv_lib_resolv_res_send
=yes
8342 echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.
$ac_ext >&5
8345 ac_cv_lib_resolv_res_send
=no
8347 rm -f conftest.err conftest.
$ac_objext \
8348 conftest
$ac_exeext conftest.
$ac_ext
8349 LIBS
=$ac_check_lib_save_LIBS
8351 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
8352 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
8353 if test $ac_cv_lib_resolv_res_send = yes; then
8354 HESLIB
="$HESLIB -lresolv"
8360 if test "$hesiod" != yes; then
8361 HESDEF
="$HESDEF -I$hesiod/include"
8362 HESLIB
="-L$hesiod/lib $HESLIB"
8368 ac_config_files
="$ac_config_files Makefile"
8370 cat >confcache
<<\_ACEOF
8371 # This file is a shell script that caches the results of configure
8372 # tests run on this system so they can be shared between configure
8373 # scripts and configure runs, see configure's option --config-cache.
8374 # It is not useful on other systems. If it contains results you don't
8375 # want to keep, you may remove or edit it.
8377 # config.status only pays attention to the cache file if you give it
8378 # the --recheck option to rerun configure.
8380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8386 # The following way of writing the cache mishandles newlines in values,
8387 # but we know of no workaround that is simple, portable, and efficient.
8388 # So, don't put newlines in cache variables' values.
8389 # Ultrix sh set writes to stderr and can't be redirected directly,
8390 # and sets the high bit in the cache file unless we assign to the vars.
8393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8395 # `set' does not quote correctly, so add quotes (double-quote
8396 # substitution turns \\\\ into \\, and sed turns \\ into \).
8399 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8402 # `set' quotes correctly as required by POSIX, so do not add quotes.
8404 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8411 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8413 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8415 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8416 if test -w $cache_file; then
8417 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8418 cat confcache
>$cache_file
8420 echo "not updating unwritable cache $cache_file"
8425 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8426 # Let make expand exec_prefix.
8427 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8429 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8430 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8431 # trailing colons and then remove the whole line if VPATH becomes empty
8432 # (actually we leave an empty line to preserve line numbers).
8433 if test "x$srcdir" = x.
; then
8434 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8435 s/:*\$(srcdir):*/:/;
8436 s/:*\${srcdir}:*/:/;
8438 s/^\([^=]*=[ ]*\):*/\1/;
8444 DEFS
=-DHAVE_CONFIG_H
8448 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8449 # 1. Remove the extension, and $U if already installed.
8450 ac_i
=`echo "$ac_i" |
8451 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8453 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8454 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8458 LTLIBOBJS
=$ac_ltlibobjs
8462 : ${CONFIG_STATUS=./config.status}
8463 ac_clean_files_save
=$ac_clean_files
8464 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8465 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8466 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8467 cat >$CONFIG_STATUS <<_ACEOF
8469 # Generated by $as_me.
8470 # Run this file to recreate the current configuration.
8471 # Compiler output produced by configure, useful for debugging
8472 # configure, is in config.log if it exists.
8477 SHELL=\${CONFIG_SHELL-$SHELL}
8480 cat >>$CONFIG_STATUS <<\_ACEOF
8481 ## --------------------- ##
8482 ## M4sh Initialization. ##
8483 ## --------------------- ##
8485 # Be Bourne compatible
8486 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8489 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8490 # is contrary to our usage. Disable this feature.
8491 alias -g '${1+"$@"}'='"$@"'
8492 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8495 DUALCASE
=1; export DUALCASE
# for MKS sh
8497 # Support unset when possible.
8498 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8505 # Work around bugs in pre-3.0 UWIN ksh.
8506 $as_unset ENV MAIL MAILPATH
8513 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8514 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8515 LC_TELEPHONE LC_TIME
8517 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8518 eval $as_var=C
; export $as_var
8524 # Required to use basename.
8525 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8531 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8532 as_basename
=basename
8538 # Name of the executable.
8539 as_me
=`$as_basename "$0" ||
8540 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8541 X"$0" : 'X\(//\)$' \| \
8542 X"$0" : 'X\(/\)$' \| \
8543 . : '\(.\)' 2>/dev/null ||
8545 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8546 /^X\/\(\/\/\)$/{ s//\1/; q; }
8547 /^X\/\(\/\).*/{ s//\1/; q; }
8551 # PATH needs CR, and LINENO needs CR and PATH.
8552 # Avoid depending upon Character Ranges.
8553 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8554 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8555 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8556 as_cr_digits
='0123456789'
8557 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8559 # The user is always right.
8560 if test "${PATH_SEPARATOR+set}" != set; then
8561 echo "#! /bin/sh" >conf$$.sh
8562 echo "exit 0" >>conf$$.sh
8564 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8575 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8576 test "x$as_lineno_1" != "x$as_lineno_2" &&
8577 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8578 # Find who we are. Look in the path if we contain no path at all
8581 *[\\/]* ) as_myself
=$0 ;;
8582 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir
=.
8587 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8592 # We did not find ourselves, most probably we were run as `sh COMMAND'
8593 # in which case we are not to be found in the path.
8594 if test "x$as_myself" = x
; then
8597 if test ! -f "$as_myself"; then
8598 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8599 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8600 { (exit 1); exit 1; }; }
8602 case $CONFIG_SHELL in
8604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8605 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8608 test -z "$as_dir" && as_dir
=.
8609 for as_base
in sh bash ksh sh5
; do
8612 if ("$as_dir/$as_base" -c '
8615 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8616 test "x$as_lineno_1" != "x$as_lineno_2" &&
8617 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8618 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8619 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8620 CONFIG_SHELL
=$as_dir/$as_base
8622 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8630 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8631 # uniformly replaced by the line number. The first 'sed' inserts a
8632 # line-number line before each line; the second 'sed' does the real
8633 # work. The second script uses 'N' to pair each line-number line
8634 # with the numbered line, and appends trailing '-' during
8635 # substitution so that $LINENO is not a special case at line end.
8636 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8637 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8638 sed '=' <$as_myself |
8643 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8646 s,^['$as_cr_digits']*\n,,
8648 chmod +x
$as_me.lineno ||
8649 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8650 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8651 { (exit 1); exit 1; }; }
8653 # Don't try to exec as it changes $[0], causing all sort of problems
8654 # (the dirname of $[0] is not the place where we might find the
8655 # original and so on. Autoconf is especially sensible to this).
8657 # Exit status is that of the last command.
8662 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8663 *c
*,-n*) ECHO_N
= ECHO_C
='
8665 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8666 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8669 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8675 rm -f conf$$ conf$$.exe conf$$.
file
8677 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8678 # We could just check for DJGPP; but this test a) works b) is more generic
8679 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8680 if test -f conf$$.exe
; then
8681 # Don't use ln at all; we don't have any links
8686 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8691 rm -f conf$$ conf$$.exe conf$$.
file
8693 if mkdir
-p .
2>/dev
/null
; then
8696 test -d .
/-p && rmdir .
/-p
8700 as_executable_p
="test -f"
8702 # Sed expression to map a string onto a valid CPP name.
8703 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8705 # Sed expression to map a string onto a valid variable name.
8706 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8710 # We need space, tab and new line, in precisely that order.
8720 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8721 # report actual input values of CONFIG_FILES etc. instead of their
8722 # values after options handling. Logging --version etc. is OK.
8726 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8727 ## Running $as_me. ##
8732 This file was extended by tcsh $as_me 6.15.00, which was
8733 generated by GNU Autoconf 2.59. Invocation command line was
8735 CONFIG_FILES = $CONFIG_FILES
8736 CONFIG_HEADERS = $CONFIG_HEADERS
8737 CONFIG_LINKS = $CONFIG_LINKS
8738 CONFIG_COMMANDS = $CONFIG_COMMANDS
8742 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8746 # Files that config.status was made for.
8747 if test -n "$ac_config_files"; then
8748 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8751 if test -n "$ac_config_headers"; then
8752 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8755 if test -n "$ac_config_links"; then
8756 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8759 if test -n "$ac_config_commands"; then
8760 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8763 cat >>$CONFIG_STATUS <<\_ACEOF
8766 \`$as_me' instantiates files from templates according to the
8767 current configuration.
8769 Usage: $0 [OPTIONS] [FILE]...
8771 -h, --help print this help, then exit
8772 -V, --version print version number, then exit
8773 -q, --quiet do not print progress messages
8774 -d, --debug don't remove temporary files
8775 --recheck update $as_me by reconfiguring in the same conditions
8776 --file=FILE[:TEMPLATE]
8777 instantiate the configuration file FILE
8778 --header=FILE[:TEMPLATE]
8779 instantiate the configuration header FILE
8781 Configuration files:
8784 Configuration headers:
8787 Configuration commands:
8790 Report bugs to <bug-autoconf@gnu.org>."
8793 cat >>$CONFIG_STATUS <<_ACEOF
8795 tcsh config.status 6.15.00
8796 configured by $0, generated by GNU Autoconf 2.59,
8797 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8799 Copyright (C) 2003 Free Software Foundation, Inc.
8800 This config.status script is free software; the Free Software Foundation
8801 gives unlimited permission to copy, distribute and modify it."
8805 cat >>$CONFIG_STATUS <<\_ACEOF
8806 # If no file are specified by the user, then we need to provide default
8807 # value. By we need to know if files were specified by the user.
8813 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8814 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8822 *) # This is not an option, so the user has probably given explicit
8825 ac_need_defaults
=false
;;
8829 # Handling of the options.
8831 cat >>$CONFIG_STATUS <<\_ACEOF
8832 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8834 --version |
--vers* |
-V )
8835 echo "$ac_cs_version"; exit 0 ;;
8837 # Conflict between --help and --header
8838 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8839 Try \`$0 --help' for more information." >&5
8840 echo "$as_me: error: ambiguous option: $1
8841 Try \`$0 --help' for more information." >&2;}
8842 { (exit 1); exit 1; }; };;
8843 --help |
--hel |
-h )
8844 echo "$ac_cs_usage"; exit 0 ;;
8845 --debug |
--d* |
-d )
8847 --file |
--fil |
--fi |
--f )
8849 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8850 ac_need_defaults
=false
;;
8851 --header |
--heade |
--head |
--hea )
8853 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8854 ac_need_defaults
=false
;;
8855 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8856 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8860 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8861 Try \`$0 --help' for more information." >&5
8862 echo "$as_me: error: unrecognized option: $1
8863 Try \`$0 --help' for more information." >&2;}
8864 { (exit 1); exit 1; }; } ;;
8866 *) ac_config_targets
="$ac_config_targets $1" ;;
8872 ac_configure_extra_args
=
8874 if $ac_cs_silent; then
8876 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8880 cat >>$CONFIG_STATUS <<_ACEOF
8881 if \$ac_cs_recheck; then
8882 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8883 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8892 cat >>$CONFIG_STATUS <<\_ACEOF
8893 for ac_config_target
in $ac_config_targets
8895 case "$ac_config_target" in
8896 # Handling of arguments.
8897 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8898 "./atconfig" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS ./atconfig" ;;
8899 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8900 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8901 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8902 { (exit 1); exit 1; }; };;
8906 # If the user did not use the arguments to specify the items to instantiate,
8907 # then the envvar interface is used. Set only those that are not.
8908 # We use the long form for the default assignment because of an extremely
8909 # bizarre bug on SunOS 4.1.3.
8910 if $ac_need_defaults; then
8911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8912 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8913 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8916 # Have a temporary directory for convenience. Make it in the build tree
8917 # simply because there is no reason to put it here, and in addition,
8918 # creating and moving files from /tmp can sometimes cause problems.
8919 # Create a temporary directory, and hook for its removal unless debugging.
8922 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8923 trap '{ (exit 1); exit 1; }' 1 2 13 15
8926 # Create a (secure) tmp directory for tmp files.
8929 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8930 test -n "$tmp" && test -d "$tmp"
8933 tmp
=.
/confstat$$
-$RANDOM
8934 (umask 077 && mkdir
$tmp)
8937 echo "$me: cannot create a temporary directory in ." >&2
8938 { (exit 1); exit 1; }
8943 cat >>$CONFIG_STATUS <<_ACEOF
8946 # CONFIG_FILES section.
8949 # No need to generate the scripts if there are no CONFIG_FILES.
8950 # This happens for instance when ./config.status config.h
8951 if test -n "\$CONFIG_FILES"; then
8952 # Protect against being on the right side of a sed subst in config.status.
8953 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8954 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8955 s,@SHELL@,$SHELL,;t t
8956 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8957 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8958 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8959 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8960 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8961 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8962 s,@exec_prefix@,$exec_prefix,;t t
8963 s,@prefix@,$prefix,;t t
8964 s,@program_transform_name@,$program_transform_name,;t t
8965 s,@bindir@,$bindir,;t t
8966 s,@sbindir@,$sbindir,;t t
8967 s,@libexecdir@,$libexecdir,;t t
8968 s,@datadir@,$datadir,;t t
8969 s,@sysconfdir@,$sysconfdir,;t t
8970 s,@sharedstatedir@,$sharedstatedir,;t t
8971 s,@localstatedir@,$localstatedir,;t t
8972 s,@libdir@,$libdir,;t t
8973 s,@includedir@,$includedir,;t t
8974 s,@oldincludedir@,$oldincludedir,;t t
8975 s,@infodir@,$infodir,;t t
8976 s,@mandir@,$mandir,;t t
8977 s,@build_alias@,$build_alias,;t t
8978 s,@host_alias@,$host_alias,;t t
8979 s,@target_alias@,$target_alias,;t t
8981 s,@ECHO_C@,$ECHO_C,;t t
8982 s,@ECHO_N@,$ECHO_N,;t t
8983 s,@ECHO_T@,$ECHO_T,;t t
8985 s,@build@,$build,;t t
8986 s,@build_cpu@,$build_cpu,;t t
8987 s,@build_vendor@,$build_vendor,;t t
8988 s,@build_os@,$build_os,;t t
8990 s,@host_cpu@,$host_cpu,;t t
8991 s,@host_vendor@,$host_vendor,;t t
8992 s,@host_os@,$host_os,;t t
8994 s,@CFLAGS@,$CFLAGS,;t t
8995 s,@LDFLAGS@,$LDFLAGS,;t t
8996 s,@CPPFLAGS@,$CPPFLAGS,;t t
8997 s,@ac_ct_CC@,$ac_ct_CC,;t t
8998 s,@EXEEXT@,$EXEEXT,;t t
8999 s,@OBJEXT@,$OBJEXT,;t t
9001 s,@EGREP@,$EGREP,;t t
9002 s,@LIBICONV@,$LIBICONV,;t t
9003 s,@LTLIBICONV@,$LTLIBICONV,;t t
9004 s,@DFLAGS@,$DFLAGS,;t t
9005 s,@HESDEF@,$HESDEF,;t t
9006 s,@HESLIB@,$HESLIB,;t t
9007 s,@LIBOBJS@,$LIBOBJS,;t t
9008 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9013 cat >>$CONFIG_STATUS <<\_ACEOF
9014 # Split the substitutions into bite-sized pieces for seds with
9015 # small command number limits, like on Digital OSF/1 and HP-UX.
9017 ac_sed_frag
=1 # Number of current file.
9018 ac_beg
=1 # First line for current file.
9019 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9022 while $ac_more_lines; do
9023 if test $ac_beg -gt 1; then
9024 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9026 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9028 if test ! -s $tmp/subs.frag
; then
9031 # The purpose of the label and of the branching condition is to
9032 # speed up the sed processing (if there are no `@' at all, there
9033 # is no need to browse any of the substitutions).
9034 # These are the two extra sed commands mentioned above.
9036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9037 if test -z "$ac_sed_cmds"; then
9038 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9040 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9042 ac_sed_frag
=`expr $ac_sed_frag + 1`
9044 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9047 if test -z "$ac_sed_cmds"; then
9050 fi # test -n "$CONFIG_FILES"
9053 cat >>$CONFIG_STATUS <<\_ACEOF
9054 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9057 - |
*:- |
*:-:* ) # input from stdin
9059 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9060 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9061 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9062 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9063 * ) ac_file_in
=$ac_file.
in ;;
9066 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9067 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9069 X"$ac_file" : 'X\(//\)[^/]' \| \
9070 X"$ac_file" : 'X\(//\)$' \| \
9071 X"$ac_file" : 'X\(/\)' \| \
9072 . : '\(.\)' 2>/dev/null ||
9074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9076 /^X\(\/\/\)$/{ s//\1/; q; }
9077 /^X\(\/\).*/{ s//\1/; q; }
9079 { if $as_mkdir_p; then
9084 while test ! -d "$as_dir"; do
9085 as_dirs
="$as_dir $as_dirs"
9086 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9088 X"$as_dir" : 'X\(//\)[^/]' \| \
9089 X"$as_dir" : 'X\(//\)$' \| \
9090 X"$as_dir" : 'X\(/\)' \| \
9091 . : '\(.\)' 2>/dev/null ||
9093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9095 /^X\(\/\/\)$/{ s//\1/; q; }
9096 /^X\(\/\).*/{ s//\1/; q; }
9099 test ! -n "$as_dirs" || mkdir
$as_dirs
9100 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9102 { (exit 1); exit 1; }; }; }
9106 if test "$ac_dir" != .
; then
9107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9108 # A "../" for each directory in $ac_dir_suffix.
9109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9111 ac_dir_suffix
= ac_top_builddir
=
9115 .
) # No --srcdir option. We are building in place.
9117 if test -z "$ac_top_builddir"; then
9120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9122 [\\/]* | ?
:[\\/]* ) # Absolute path.
9123 ac_srcdir
=$srcdir$ac_dir_suffix;
9124 ac_top_srcdir
=$srcdir ;;
9126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9130 # Do not use `cd foo && pwd` to compute absolute paths, because
9131 # the directories may not exist.
9133 .
) ac_abs_builddir
="$ac_dir";;
9136 .
) ac_abs_builddir
=`pwd`;;
9137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9141 case $ac_abs_builddir in
9142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9144 case ${ac_top_builddir}.
in
9145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9150 case $ac_abs_builddir in
9151 .
) ac_abs_srcdir
=$ac_srcdir;;
9154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9159 case $ac_abs_builddir in
9160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9162 case $ac_top_srcdir in
9163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9171 if test x
"$ac_file" != x-
; then
9172 { echo "$as_me:$LINENO: creating $ac_file" >&5
9173 echo "$as_me: creating $ac_file" >&6;}
9176 # Let's still pretend it is `configure' which instantiates (i.e., don't
9177 # use $as_me), people would be surprised to read:
9178 # /* config.h. Generated by config.status. */
9179 if test x
"$ac_file" = x-
; then
9182 configure_input
="$ac_file. "
9184 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9185 sed 's,.*/,,'` by configure."
9187 # First look for the input files in the build tree, otherwise in the
9189 ac_file_inputs
=`IFS=:
9190 for f in $ac_file_in; do
9192 -) echo $tmp/stdin ;;
9194 # Absolute (can't be DOS-style, as IFS=:)
9195 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9196 echo "$as_me: error: cannot find input file: $f" >&2;}
9197 { (exit 1); exit 1; }; }
9200 if test -f "$f"; then
9203 elif test -f "$srcdir/$f"; then
9208 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9209 echo "$as_me: error: cannot find input file: $f" >&2;}
9210 { (exit 1); exit 1; }; }
9213 done` ||
{ (exit 1); exit 1; }
9215 cat >>$CONFIG_STATUS <<_ACEOF
9219 cat >>$CONFIG_STATUS <<\_ACEOF
9221 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9222 s
,@configure_input@
,$configure_input,;t t
9223 s
,@srcdir@
,$ac_srcdir,;t t
9224 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9225 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9226 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9227 s
,@builddir@
,$ac_builddir,;t t
9228 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9229 s
,@top_builddir@
,$ac_top_builddir,;t t
9230 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9231 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9233 if test x"$ac_file" != x-; then
9234 mv $tmp/out $ac_file
9242 cat >>$CONFIG_STATUS <<\_ACEOF
9245 # CONFIG_HEADER section.
9248 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9249 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9251 # ac_d sets the value in "#define NAME VALUE" lines.
9252 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9253 ac_dB
='[ ].*$,\1#\2'
9256 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9257 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9258 ac_uB
='$,\1#\2define\3'
9262 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9263 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9265 - |
*:- |
*:-:* ) # input from stdin
9267 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9268 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9269 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9270 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9271 * ) ac_file_in
=$ac_file.
in ;;
9274 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9275 echo "$as_me: creating $ac_file" >&6;}
9277 # First look for the input files in the build tree, otherwise in the
9279 ac_file_inputs
=`IFS=:
9280 for f in $ac_file_in; do
9282 -) echo $tmp/stdin ;;
9284 # Absolute (can't be DOS-style, as IFS=:)
9285 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9286 echo "$as_me: error: cannot find input file: $f" >&2;}
9287 { (exit 1); exit 1; }; }
9288 # Do quote $f, to prevent DOS paths from being IFS'd.
9291 if test -f "$f"; then
9294 elif test -f "$srcdir/$f"; then
9299 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9300 echo "$as_me: error: cannot find input file: $f" >&2;}
9301 { (exit 1); exit 1; }; }
9304 done` ||
{ (exit 1); exit 1; }
9305 # Remove the trailing spaces.
9306 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9310 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9311 # `conftest.undefs', that substitutes the proper values into
9312 # config.h.in to produce config.h. The first handles `#define'
9313 # templates, and the second `#undef' templates.
9314 # And first: Protect against being on the right side of a sed subst in
9315 # config.status. Protect against being in an unquoted here document
9317 rm -f conftest.defines conftest.undefs
9318 # Using a here document instead of a string reduces the quoting nightmare.
9319 # Putting comments in sed scripts is not portable.
9321 # `end' is used to avoid that the second main sed command (meant for
9322 # 0-ary CPP macros) applies to n-ary macro definitions.
9323 # See the Autoconf documentation for `clear'.
9324 cat >confdef2sed.
sed <<\_ACEOF
9329 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9331 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9334 # If some macros were called several times there might be several times
9335 # the same #defines, which is useless. Nevertheless, we may not want to
9336 # sort them, since we want the *last* AC-DEFINE to be honored.
9337 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9338 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9339 rm -f confdef2sed.sed
9341 # This sed command replaces #undef with comments. This is necessary, for
9342 # example, in the case of _POSIX_SOURCE, which is predefined and required
9343 # on some systems where configure will not decide to define it.
9344 cat >>conftest.undefs <<\_ACEOF
9345 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9348 # Break up conftest.defines because some shells have a limit on the size
9349 # of here documents, and old seds have small limits too (100 cmds).
9350 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9351 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9352 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9353 echo ' :' >>$CONFIG_STATUS
9355 while grep . conftest.defines >/dev/null
9357 # Write a limited-size here document to $tmp/defines.sed.
9358 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9359 # Speed up: don't consider the non `#define' lines.
9360 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9361 # Work around the forget-to-reset-the-flag bug.
9362 echo 't clr' >>$CONFIG_STATUS
9363 echo ': clr' >>$CONFIG_STATUS
9364 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9366 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9370 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9371 rm -f conftest.defines
9372 mv conftest.
tail conftest.defines
9374 rm -f conftest.defines
9375 echo ' fi # grep' >>$CONFIG_STATUS
9376 echo >>$CONFIG_STATUS
9378 # Break up conftest.undefs because some shells have a limit on the size
9379 # of here documents, and old seds have small limits too (100 cmds).
9380 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9382 while grep . conftest.undefs
>/dev
/null
9384 # Write a limited-size here document to $tmp/undefs.sed.
9385 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9386 # Speed up: don't consider the non
`#undef'
9387 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9388 # Work around the forget-to-reset-the-flag bug.
9389 echo 't clr' >>$CONFIG_STATUS
9390 echo ': clr' >>$CONFIG_STATUS
9391 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9393 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9397 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9398 rm -f conftest.undefs
9399 mv conftest.tail conftest.undefs
9401 rm -f conftest.undefs
9403 cat >>$CONFIG_STATUS <<\_ACEOF
9404 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9405 # use $as_me), people would be surprised to read:
9406 # /* config.h. Generated by config.status. */
9407 if test x
"$ac_file" = x-
; then
9408 echo "/* Generated by configure. */" >$tmp/config.h
9410 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9412 cat $tmp/in >>$tmp/config.h
9414 if test x
"$ac_file" != x-
; then
9415 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9416 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9417 echo "$as_me: $ac_file is unchanged" >&6;}
9419 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9420 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9421 X"$ac_file" : 'X\(//\)[^/]' \| \
9422 X"$ac_file" : 'X\(//\)$' \| \
9423 X"$ac_file" : 'X\(/\)' \| \
9424 . : '\(.\)' 2>/dev/null ||
9426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9428 /^X\(\/\/\)$/{ s//\1/; q; }
9429 /^X\(\/\).*/{ s//\1/; q; }
9431 { if $as_mkdir_p; then
9436 while test ! -d "$as_dir"; do
9437 as_dirs
="$as_dir $as_dirs"
9438 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9440 X"$as_dir" : 'X\(//\)[^/]' \| \
9441 X"$as_dir" : 'X\(//\)$' \| \
9442 X"$as_dir" : 'X\(/\)' \| \
9443 . : '\(.\)' 2>/dev/null ||
9445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9446 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9447 /^X\(\/\/\)$/{ s//\1/; q; }
9448 /^X\(\/\).*/{ s//\1/; q; }
9451 test ! -n "$as_dirs" || mkdir
$as_dirs
9452 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9453 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9454 { (exit 1); exit 1; }; }; }
9457 mv $tmp/config.h
$ac_file
9465 cat >>$CONFIG_STATUS <<\_ACEOF
9468 # CONFIG_COMMANDS section.
9470 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9471 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9472 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9473 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9474 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9475 X"$ac_dest" : 'X\(//\)[^/]' \| \
9476 X"$ac_dest" : 'X\(//\)$' \| \
9477 X"$ac_dest" : 'X\(/\)' \| \
9478 . : '\(.\)' 2>/dev/null ||
9480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9482 /^X\(\/\/\)$/{ s//\1/; q; }
9483 /^X\(\/\).*/{ s//\1/; q; }
9485 { if $as_mkdir_p; then
9490 while test ! -d "$as_dir"; do
9491 as_dirs
="$as_dir $as_dirs"
9492 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9494 X"$as_dir" : 'X\(//\)[^/]' \| \
9495 X"$as_dir" : 'X\(//\)$' \| \
9496 X"$as_dir" : 'X\(/\)' \| \
9497 . : '\(.\)' 2>/dev/null ||
9499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9500 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9501 /^X\(\/\/\)$/{ s//\1/; q; }
9502 /^X\(\/\).*/{ s//\1/; q; }
9505 test ! -n "$as_dirs" || mkdir
$as_dirs
9506 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9507 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9508 { (exit 1); exit 1; }; }; }
9512 if test "$ac_dir" != .
; then
9513 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9514 # A "../" for each directory in $ac_dir_suffix.
9515 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9517 ac_dir_suffix
= ac_top_builddir
=
9521 .
) # No --srcdir option. We are building in place.
9523 if test -z "$ac_top_builddir"; then
9526 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9528 [\\/]* | ?
:[\\/]* ) # Absolute path.
9529 ac_srcdir
=$srcdir$ac_dir_suffix;
9530 ac_top_srcdir
=$srcdir ;;
9532 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9533 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9536 # Do not use `cd foo && pwd` to compute absolute paths, because
9537 # the directories may not exist.
9539 .
) ac_abs_builddir
="$ac_dir";;
9542 .
) ac_abs_builddir
=`pwd`;;
9543 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9544 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9547 case $ac_abs_builddir in
9548 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9550 case ${ac_top_builddir}.
in
9551 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9552 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9553 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9556 case $ac_abs_builddir in
9557 .
) ac_abs_srcdir
=$ac_srcdir;;
9560 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9561 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9562 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9565 case $ac_abs_builddir in
9566 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9568 case $ac_top_srcdir in
9569 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9570 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9571 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9576 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9577 echo "$as_me: executing $ac_dest commands" >&6;}
9579 .
/atconfig
) cat >.
/atconfig
<<ATEOF
9580 # Configurable variable values for building test suites.
9582 # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
9584 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
9586 abs_builddir='$ac_abs_builddir'
9587 at_srcdir='$ac_srcdir'
9588 abs_srcdir='$ac_abs_srcdir'
9589 at_top_srcdir='$ac_top_srcdir'
9590 abs_top_srcdir='$ac_abs_top_srcdir'
9591 at_top_builddir='$ac_top_builddir'
9592 abs_top_builddir='$ac_abs_top_builddir'
9596 SHELL=\${CONFIG_SHELL-'$SHELL'}
9603 cat >>$CONFIG_STATUS <<\_ACEOF
9605 { (exit 0); exit 0; }
9607 chmod +x
$CONFIG_STATUS
9608 ac_clean_files
=$ac_clean_files_save
9611 # configure is writing to config.log, and then calls config.status.
9612 # config.status does its own redirection, appending to config.log.
9613 # Unfortunately, on DOS this fails, as config.log is still kept open
9614 # by configure, so config.status won't be able to write to it; its
9615 # output is simply discarded. So we exec the FD to /dev/null,
9616 # effectively closing config.log, so it can be properly (re)opened and
9617 # appended to by config.status. When coming back to configure, we
9618 # need to make the FD available again.
9619 if test "$no_create" != yes; then
9621 ac_config_status_args
=
9622 test "$silent" = yes &&
9623 ac_config_status_args
="$ac_config_status_args --quiet"
9625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9628 # would make configure fail if this is the last instruction.
9629 $ac_cs_success ||
{ (exit 1); exit 1; }