2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="tc.vers.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 DFLAGS HESDEF HESLIB LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure for building on BUILD [guessed]
836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
840 if test -n "$ac_init_help"; then
845 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
846 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
847 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion
849 Some influential environment variables:
850 CC C compiler command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
853 nonstandard directory <lib dir>
854 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
855 headers in a nonstandard directory <include dir>
858 Use these variables to override the choices made by `configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
864 if test "$ac_init_help" = "recursive"; then
865 # If there are subdirs, report their specific --help.
867 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
868 test -d $ac_dir || continue
871 if test "$ac_dir" != .; then
872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
873 # A "../" for each directory in $ac_dir_suffix.
874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
876 ac_dir_suffix= ac_top_builddir=
880 .) # No --srcdir option. We are building in place.
882 if test -z "$ac_top_builddir"; then
885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
887 [\\/]* | ?:[\\/]* ) # Absolute path.
888 ac_srcdir=$srcdir$ac_dir_suffix;
889 ac_top_srcdir=$srcdir ;;
891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 # Do not use `cd foo && pwd` to compute absolute paths, because
896 # the directories may not exist.
898 .) ac_abs_builddir="$ac_dir";;
901 .) ac_abs_builddir=`pwd`;;
902 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
903 *) ac_abs_builddir=`pwd`/"$ac_dir";;
906 case $ac_abs_builddir in
907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
909 case ${ac_top_builddir}. in
910 .) ac_abs_top_builddir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
912 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
915 case $ac_abs_builddir in
916 .) ac_abs_srcdir=$ac_srcdir;;
919 .) ac_abs_srcdir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
921 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
924 case $ac_abs_builddir in
925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
927 case $ac_top_srcdir in
928 .) ac_abs_top_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
930 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
935 # Check for guested configure; otherwise get Cygnus style configure.
936 if test -f $ac_srcdir/configure.gnu; then
938 $SHELL $ac_srcdir/configure.gnu --help=recursive
939 elif test -f $ac_srcdir/configure; then
941 $SHELL $ac_srcdir/configure --help=recursive
942 elif test -f $ac_srcdir/configure.ac ||
943 test -f $ac_srcdir/configure.in; then
947 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
953 test -n "$ac_init_help" && exit 0
954 if $ac_init_version; then
957 Copyright (C) 2003 Free Software Foundation, Inc.
958 This configure script is free software; the Free Software Foundation
959 gives unlimited permission to copy, distribute and modify it.
965 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake.
968 It was created by $as_me, which was
969 generated by GNU Autoconf 2.59. Invocation command line was
980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
992 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1003 test -z "$as_dir" && as_dir=.
1004 echo "PATH: $as_dir"
1019 # Keep a trace of the command line.
1020 # Strip out --no-create and --no-recursion so they do not pile up.
1021 # Strip out --silent because we don't want to record it for future runs.
1022 # Also quote any args containing shell meta-characters.
1023 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_must_keep_next=false
1034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1038 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1042 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1045 if test $ac_must_keep_next = true; then
1046 ac_must_keep_next=false # Got value, back to normal.
1049 *=* | --config-cache | -C | -disable-* | --disable-* \
1050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1052 | -with-* | --with-* | -without-* | --without-* | --x)
1053 case "$ac_configure_args0 " in
1054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1057 -* ) ac_must_keep_next=true ;;
1060 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1061 # Get rid of the leading space.
1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070 # When interrupted or exit'd, cleanup temporary files, and complete
1071 # config.log. We remove comments because anyway the quotes in there
1072 # would cause problems or look ugly.
1073 # WARNING: Be sure not to use single quotes in there, as some shells,
1074 # such as our DU 5.0 friend, will then `close' the trap.
1075 trap 'exit_status=$?
1076 # Save into config.log some information that might help in debugging.
1081 ## ---------------- ##
1082 ## Cache variables. ##
1083 ## ---------------- ##
1086 # The following way of writing the cache mishandles newlines in values,
1089 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1092 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 ## ----------------- ##
1105 ## Output variables. ##
1106 ## ----------------- ##
1109 for ac_var in $ac_subst_vars
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -n "$ac_subst_files"; then
1123 for ac_var in $ac_subst_files
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -s confdefs.h; then
1138 sed "/^$/d" confdefs.h | sort
1141 test "$ac_signal" != 0 &&
1142 echo "$as_me: caught signal $ac_signal"
1143 echo "$as_me: exit $exit_status"
1145 rm -f core *.core &&
1146 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1149 for ac_signal in 1 2 13 15; do
1150 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1155 rm -rf conftest* confdefs.h
1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1159 # Predefined preprocessor variables.
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_NAME "$PACKAGE_NAME"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_STRING "$PACKAGE_STRING"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1186 # Let the site file select an alternate cache file if it wants to.
1187 # Prefer explicitly selected file to automatically selected ones.
1188 if test -z "$CONFIG_SITE"; then
1189 if test "x$prefix" != xNONE; then
1190 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1195 for ac_site_file in $CONFIG_SITE; do
1196 if test -r "$ac_site_file"; then
1197 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1198 echo "$as_me: loading site script $ac_site_file" >&6;}
1199 sed 's/^/| /' "$ac_site_file" >&5
1204 if test -r "$cache_file"; then
1205 # Some versions of bash will fail to source /dev/null (special
1206 # files actually), so we avoid doing that.
1207 if test -f "$cache_file"; then
1208 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1209 echo "$as_me: loading cache $cache_file" >&6;}
1211 [\\/]* | ?:[\\/]* ) . $cache_file;;
1212 *) . ./$cache_file;;
1216 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1217 echo "$as_me: creating cache $cache_file" >&6;}
1221 # Check that the precious variables saved in the cache have kept the same
1223 ac_cache_corrupted=false
1224 for ac_var in `(set) 2>&1 |
1225 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1227 eval ac_new_set=\$ac_env_${ac_var}_set
1228 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1229 eval ac_new_val="\$ac_env_${ac_var}_value"
1230 case $ac_old_set,$ac_new_set in
1232 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1241 if test "x$ac_old_val" != "x$ac_new_val"; then
1242 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1244 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1245 echo "$as_me: former value: $ac_old_val" >&2;}
1246 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1247 echo "$as_me: current value: $ac_new_val" >&2;}
1248 ac_cache_corrupted=:
1251 # Pass precious variables to config.status.
1252 if test "$ac_new_set" = set; then
1254 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1256 *) ac_arg=$ac_var=$ac_new_val ;;
1258 case " $ac_configure_args " in
1259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1260 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1264 if $ac_cache_corrupted; then
1265 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1267 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1269 { (exit 1); exit 1; }; }
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1297 ac_config_headers="$ac_config_headers config.h"
1301 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1302 if test -f $ac_dir/install-sh; then
1304 ac_install_sh="$ac_aux_dir/install-sh -c"
1306 elif test -f $ac_dir/install.sh; then
1308 ac_install_sh="$ac_aux_dir/install.sh -c"
1310 elif test -f $ac_dir/shtool; then
1312 ac_install_sh="$ac_aux_dir/shtool install -c"
1316 if test -z "$ac_aux_dir"; then
1317 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1318 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1319 { (exit 1); exit 1; }; }
1321 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1322 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1323 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1325 # Make sure we can run config.sub.
1326 $ac_config_sub sun4 >/dev/null 2>&1 ||
1327 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1328 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1329 { (exit 1); exit 1; }; }
1331 echo "$as_me:$LINENO: checking build system type" >&5
1332 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1333 if test "${ac_cv_build+set}" = set; then
1334 echo $ECHO_N "(cached) $ECHO_C" >&6
1336 ac_cv_build_alias=$build_alias
1337 test -z "$ac_cv_build_alias" &&
1338 ac_cv_build_alias=`$ac_config_guess`
1339 test -z "$ac_cv_build_alias" &&
1340 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1341 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1342 { (exit 1); exit 1; }; }
1343 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1345 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1346 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1350 echo "${ECHO_T}$ac_cv_build" >&6
1352 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1353 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1354 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1357 echo "$as_me:$LINENO: checking host system type" >&5
1358 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1359 if test "${ac_cv_host+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_host_alias=$host_alias
1363 test -z "$ac_cv_host_alias" &&
1364 ac_cv_host_alias=$ac_cv_build_alias
1365 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1372 echo "${ECHO_T}$ac_cv_host" >&6
1374 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1375 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1376 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1380 echo "$as_me:$LINENO: checking cached host tuple" >&5
1381 echo $ECHO_N "checking cached host tuple... $ECHO_C" >&6
1382 if { test x"${ac_cv_host_system_type+set}" = x"set" &&
1383 test x"$ac_cv_host_system_type" != x"$host"; }; then
1384 echo "$as_me:$LINENO: result: different" >&5
1385 echo "${ECHO_T}different" >&6
1386 { { echo "$as_me:$LINENO: error: remove config.cache and re-run configure" >&5
1387 echo "$as_me: error: remove config.cache and re-run configure" >&2;}
1388 { (exit 1); exit 1; }; }
1390 echo "$as_me:$LINENO: result: ok" >&5
1391 echo "${ECHO_T}ok" >&6
1393 ac_cv_host_system_type="$host"
1399 ## Alpha (DEC) machines.
1401 tcsh_config_file=decosf1
1406 tcsh_config_file=ultrix
1411 tcsh_config_file=dgux5.4
1414 tcsh_config_file=dgux5.4
1419 tcsh_config_file=hpux7
1422 tcsh_config_file=hpux8
1425 tcsh_config_file=hpux11
1430 tcsh_config_file=aix
1435 CC='cc -h0,ansi,novector,float0'
1437 tcsh_config_file=superux8
1440 ## IBM OS/390 systems
1443 tcsh_config_file=os390
1447 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
1448 tcsh_config_file=linux
1452 m68k-motorola-sysv* )
1453 tcsh_config_file=sysV68
1455 m88k-motorola-sysv3* )
1456 tcsh_config_file=sysV88
1461 tcsh_config_file=bsd4.4
1466 tcsh_config_file=bsd4.4
1471 tcsh_config_file=bsd4.4
1476 tcsh_config_file=bsd4.4
1481 tcsh_config_file=bsd4.4
1486 tcsh_config_file=bsd4.4
1489 ## Silicon Graphics machines
1491 tcsh_config_file=irix
1492 case "${host_os}" in
1493 irix[34]*) # Irix-3.x - Irix 4.x
1494 NON_GNU_DFLAGS='-D__STDC__'
1495 LIBS='-lsun -lbsd -lc_s'
1497 irix5* | irix6.[01]*) # Irix 5.x, Irix 6.0 - 6.1
1500 irix6.[2-9]*) # Irix 6.2 and later
1501 tcsh_config_file=irix62
1508 tcsh_config_file=sunos35
1511 tcsh_config_file=sunos40
1513 *-sun-sunos4.1.[12]* )
1514 tcsh_config_file=sunos41
1516 *-sun-sunos4.1.[3456]* )
1517 tcsh_config_file=sunos413
1519 *-*-solaris2.[01]* ) # Should handle sparc or x86
1520 tcsh_config_file=sol2
1522 *-sun-solaris2.2* ) # Sparc only release
1523 tcsh_config_file=sol22
1525 *-sun-solaris2.3* ) # Sparc only release
1526 tcsh_config_file=sol23
1528 *-*-solaris2.[45]* ) # Should handle sparc, x86 and powerpc
1529 tcsh_config_file=sol24
1531 *-*-solaris2.* ) # Should handle sparc, x86 and powerpc
1532 tcsh_config_file=sol26
1537 tcsh_config_file=sysv4
1538 DFLAGS="$DFLAGS -DDELL"
1541 ## SVR4 (Generic and otherwise)
1543 tcsh_config_file=sysv4
1546 ## Tektronix systems
1547 m68k-tektronix-bsd* )
1548 tcsh_config_file=bsd
1549 NON_GNU_DFLAGS='-DBSD -DUTek'
1551 m88k-tektronix-sysv3* )
1552 tcsh_config_file=tekXD88
1557 tcsh_config_file=sco32v5
1560 tcsh_config_file=sco32v4
1563 tcsh_config_file=sco32v2
1566 ## Siemens BS2000 Mainframe
1568 tcsh_config_file=bs2000
1573 tcsh_config_file=convex
1578 tcsh_config_file=cray
1583 tcsh_config_file=cygwin32
1586 ## mips-compaq-nonstopux
1588 tcsh_config_file=sysv4
1593 tcsh_config_file=apollo
1597 { { echo "$as_me:$LINENO: error: Tcsh can't guess the configuration file name
1598 for \`${host}' systems.
1599 Check tcsh's \`Ported' file for manual configuration instructions." >&5
1600 echo "$as_me: error: Tcsh can't guess the configuration file name
1601 for \`${host}' systems.
1602 Check tcsh's \`Ported' file for manual configuration instructions." >&2;}
1603 { (exit 1); exit 1; }; }
1608 echo "Tcsh will use configuration file \`$tcsh_config_file'."
1609 cp ${srcdir}/config/${tcsh_config_file} config_p.h
1614 ac_cpp='$CPP $CPPFLAGS'
1615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC="$CC" # Let the user override the test.
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_CC"; then
1657 # Extract the first word of "gcc", so it can be a program name with args.
1658 set dummy gcc; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$ac_ct_CC"; then
1665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_CC="gcc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684 if test -n "$ac_ct_CC"; then
1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686 echo "${ECHO_T}$ac_ct_CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1697 if test -z "$CC"; then
1698 if test -n "$ac_tool_prefix"; then
1699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1700 set dummy ${ac_tool_prefix}cc; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$CC"; then
1707 ac_cv_prog_CC="$CC" # Let the user override the test.
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_CC="${ac_tool_prefix}cc"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 if test -n "$CC"; then
1727 echo "$as_me:$LINENO: result: $CC" >&5
1728 echo "${ECHO_T}$CC" >&6
1730 echo "$as_me:$LINENO: result: no" >&5
1731 echo "${ECHO_T}no" >&6
1735 if test -z "$ac_cv_prog_CC"; then
1737 # Extract the first word of "cc", so it can be a program name with args.
1738 set dummy cc; ac_word=$2
1739 echo "$as_me:$LINENO: checking for $ac_word" >&5
1740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1742 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 if test -n "$ac_ct_CC"; then
1745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751 test -z "$as_dir" && as_dir=.
1752 for ac_exec_ext in '' $ac_executable_extensions; do
1753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1754 ac_cv_prog_ac_ct_CC="cc"
1755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1764 if test -n "$ac_ct_CC"; then
1765 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1766 echo "${ECHO_T}$ac_ct_CC" >&6
1768 echo "$as_me:$LINENO: result: no" >&5
1769 echo "${ECHO_T}no" >&6
1778 if test -z "$CC"; then
1779 # Extract the first word of "cc", so it can be a program name with args.
1780 set dummy cc; ac_word=$2
1781 echo "$as_me:$LINENO: checking for $ac_word" >&5
1782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1783 if test "${ac_cv_prog_CC+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 if test -n "$CC"; then
1787 ac_cv_prog_CC="$CC" # Let the user override the test.
1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 test -z "$as_dir" && as_dir=.
1795 for ac_exec_ext in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1798 ac_prog_rejected=yes
1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808 if test $ac_prog_rejected = yes; then
1809 # We found a bogon in the path, so make sure we never use it.
1810 set dummy $ac_cv_prog_CC
1812 if test $# != 0; then
1813 # We chose a different compiler from the bogus one.
1814 # However, it has the same basename, so the bogon will be chosen
1815 # first if we set CC to just the basename; use the full file name.
1817 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1823 if test -n "$CC"; then
1824 echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1832 if test -z "$CC"; then
1833 if test -n "$ac_tool_prefix"; then
1836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1838 echo "$as_me:$LINENO: checking for $ac_word" >&5
1839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1840 if test "${ac_cv_prog_CC+set}" = set; then
1841 echo $ECHO_N "(cached) $ECHO_C" >&6
1843 if test -n "$CC"; then
1844 ac_cv_prog_CC="$CC" # Let the user override the test.
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir=.
1851 for ac_exec_ext in '' $ac_executable_extensions; do
1852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 if test -n "$CC"; then
1864 echo "$as_me:$LINENO: result: $CC" >&5
1865 echo "${ECHO_T}$CC" >&6
1867 echo "$as_me:$LINENO: result: no" >&5
1868 echo "${ECHO_T}no" >&6
1871 test -n "$CC" && break
1874 if test -z "$CC"; then
1878 # Extract the first word of "$ac_prog", so it can be a program name with args.
1879 set dummy $ac_prog; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 if test -n "$ac_ct_CC"; then
1886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895 ac_cv_prog_ac_ct_CC="$ac_prog"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1905 if test -n "$ac_ct_CC"; then
1906 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1907 echo "${ECHO_T}$ac_ct_CC" >&6
1909 echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1913 test -n "$ac_ct_CC" && break
1922 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: no acceptable C compiler found in \$PATH
1925 See \`config.log' for more details." >&2;}
1926 { (exit 1); exit 1; }; }
1928 # Provide some information about the compiler.
1929 echo "$as_me:$LINENO:" \
1930 "checking for C compiler version" >&5
1931 ac_compiler=`set X $ac_compile; echo $2`
1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1933 (eval $ac_compiler --version </dev/null >&5) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }
1937 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1938 (eval $ac_compiler -v </dev/null >&5) 2>&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }
1942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1943 (eval $ac_compiler -V </dev/null >&5) 2>&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }
1948 cat >conftest.$ac_ext <<_ACEOF
1951 cat confdefs.h >>conftest.$ac_ext
1952 cat >>conftest.$ac_ext <<_ACEOF
1953 /* end confdefs.h. */
1963 ac_clean_files_save=$ac_clean_files
1964 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1965 # Try to create an executable without -o first, disregard a.out.
1966 # It will help us diagnose broken compilers, and finding out an intuition
1968 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1969 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1970 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1971 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1972 (eval $ac_link_default) 2>&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; then
1976 # Find the output, starting from the most likely. This scheme is
1977 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1980 # Be careful to initialize this variable, since it used to be cached.
1981 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1983 # b.out is created by i960 compilers.
1984 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1986 test -f "$ac_file" || continue
1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1991 # This is the source file.
1994 # We found the default executable, but exeext='' is most
1998 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1999 # FIXME: I believe we export ac_cv_exeext for Libtool,
2000 # but it would be cool to find out if it's true. Does anybody
2001 # maintain Libtool? --akim.
2009 echo "$as_me: failed program was:" >&5
2010 sed 's/^/| /' conftest.$ac_ext >&5
2012 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2013 See \`config.log' for more details." >&5
2014 echo "$as_me: error: C compiler cannot create executables
2015 See \`config.log' for more details." >&2;}
2016 { (exit 77); exit 77; }; }
2019 ac_exeext=$ac_cv_exeext
2020 echo "$as_me:$LINENO: result: $ac_file" >&5
2021 echo "${ECHO_T}$ac_file" >&6
2023 # Check the compiler produces executables we can run. If not, either
2024 # the compiler is broken, or we cross compile.
2025 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2026 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2028 # If not cross compiling, check that we can run a simple program.
2029 if test "$cross_compiling" != yes; then
2030 if { ac_try='./$ac_file'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; }; then
2038 if test "$cross_compiling" = maybe; then
2041 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2042 If you meant to cross compile, use \`--host'.
2043 See \`config.log' for more details." >&5
2044 echo "$as_me: error: cannot run C compiled programs.
2045 If you meant to cross compile, use \`--host'.
2046 See \`config.log' for more details." >&2;}
2047 { (exit 1); exit 1; }; }
2051 echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6
2054 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2055 ac_clean_files=$ac_clean_files_save
2056 # Check the compiler produces executables we can run. If not, either
2057 # the compiler is broken, or we cross compile.
2058 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2059 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2060 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2061 echo "${ECHO_T}$cross_compiling" >&6
2063 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2064 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2066 (eval $ac_link) 2>&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; then
2070 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2071 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2072 # work properly (i.e., refer to `conftest.exe'), while it won't with
2074 for ac_file in conftest.exe conftest conftest.*; do
2075 test -f "$ac_file" || continue
2077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2078 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2085 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2086 See \`config.log' for more details." >&5
2087 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2088 See \`config.log' for more details." >&2;}
2089 { (exit 1); exit 1; }; }
2092 rm -f conftest$ac_cv_exeext
2093 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2094 echo "${ECHO_T}$ac_cv_exeext" >&6
2096 rm -f conftest.$ac_ext
2097 EXEEXT=$ac_cv_exeext
2099 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2100 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2101 if test "${ac_cv_objext+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 cat >conftest.$ac_ext <<_ACEOF
2107 cat confdefs.h >>conftest.$ac_ext
2108 cat >>conftest.$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2119 rm -f conftest.o conftest.obj
2120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2121 (eval $ac_compile) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; then
2125 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2133 echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2136 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2137 See \`config.log' for more details." >&5
2138 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2139 See \`config.log' for more details." >&2;}
2140 { (exit 1); exit 1; }; }
2143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2145 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2146 echo "${ECHO_T}$ac_cv_objext" >&6
2147 OBJEXT=$ac_cv_objext
2149 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2150 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2151 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 cat >conftest.$ac_ext <<_ACEOF
2157 cat confdefs.h >>conftest.$ac_ext
2158 cat >>conftest.$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2172 rm -f conftest.$ac_objext
2173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2174 (eval $ac_compile) 2>conftest.er1
2176 grep -v '^ *+' conftest.er1 >conftest.err
2178 cat conftest.err >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try='test -z "$ac_c_werror_flag"
2182 || test ! -s conftest.err'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; } &&
2188 { ac_try='test -s conftest.$ac_objext'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2196 echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.$ac_ext >&5
2201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2202 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2205 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2206 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2207 GCC=`test $ac_compiler_gnu = yes && echo yes`
2208 ac_test_CFLAGS=${CFLAGS+set}
2209 ac_save_CFLAGS=$CFLAGS
2211 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2212 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2213 if test "${ac_cv_prog_cc_g+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 cat >conftest.$ac_ext <<_ACEOF
2219 cat confdefs.h >>conftest.$ac_ext
2220 cat >>conftest.$ac_ext <<_ACEOF
2221 /* end confdefs.h. */
2231 rm -f conftest.$ac_objext
2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2233 (eval $ac_compile) 2>conftest.er1
2235 grep -v '^ *+' conftest.er1 >conftest.err
2237 cat conftest.err >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); } &&
2240 { ac_try='test -z "$ac_c_werror_flag"
2241 || test ! -s conftest.err'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; } &&
2247 { ac_try='test -s conftest.$ac_objext'
2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; }; then
2255 echo "$as_me: failed program was:" >&5
2256 sed 's/^/| /' conftest.$ac_ext >&5
2260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2262 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2263 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2264 if test "$ac_test_CFLAGS" = set; then
2265 CFLAGS=$ac_save_CFLAGS
2266 elif test $ac_cv_prog_cc_g = yes; then
2267 if test "$GCC" = yes; then
2273 if test "$GCC" = yes; then
2279 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2280 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2281 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 ac_cv_prog_cc_stdc=no
2286 cat >conftest.$ac_ext <<_ACEOF
2289 cat confdefs.h >>conftest.$ac_ext
2290 cat >>conftest.$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2294 #include <sys/types.h>
2295 #include <sys/stat.h>
2296 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2297 struct buf { int x; };
2298 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2299 static char *e (p, i)
2305 static char *f (char * (*g) (char **, int), char **p, ...)
2310 s = g (p, va_arg (v,int));
2315 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2316 function prototypes and stuff, but not '\xHH' hex character constants.
2317 These don't provoke an error unfortunately, instead are silently treated
2318 as 'x'. The following induces an error, until -std1 is added to get
2319 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2320 array size at least. It's necessary to write '\x00'==0 to get something
2321 that's true only with -std1. */
2322 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2324 int test (int i, double x);
2325 struct s1 {int (*f) (int a);};
2326 struct s2 {int (*f) (double a);};
2327 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2333 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2338 # Don't try gcc -ansi; that turns off useful extensions and
2339 # breaks some systems' header files.
2340 # AIX -qlanglvl=ansi
2341 # Ultrix and OSF/1 -std1
2342 # HP-UX 10.20 and later -Ae
2343 # HP-UX older versions -Aa -D_HPUX_SOURCE
2344 # SVR4 -Xc -D__EXTENSIONS__
2345 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2347 CC="$ac_save_CC $ac_arg"
2348 rm -f conftest.$ac_objext
2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2350 (eval $ac_compile) 2>conftest.er1
2352 grep -v '^ *+' conftest.er1 >conftest.err
2354 cat conftest.err >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); } &&
2357 { ac_try='test -z "$ac_c_werror_flag"
2358 || test ! -s conftest.err'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; } &&
2364 { ac_try='test -s conftest.$ac_objext'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; }; then
2370 ac_cv_prog_cc_stdc=$ac_arg
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2377 rm -f conftest.err conftest.$ac_objext
2379 rm -f conftest.$ac_ext conftest.$ac_objext
2384 case "x$ac_cv_prog_cc_stdc" in
2386 echo "$as_me:$LINENO: result: none needed" >&5
2387 echo "${ECHO_T}none needed" >&6 ;;
2389 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2390 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2391 CC="$CC $ac_cv_prog_cc_stdc" ;;
2394 # Some people use a C++ compiler to compile C. Since we use `exit',
2395 # in C++ we need to declare it. In case someone uses the same compiler
2396 # for both compiling C and C++ we need to have the C++ compiler decide
2397 # the declaration of exit, since it's the most demanding environment.
2398 cat >conftest.$ac_ext <<_ACEOF
2403 rm -f conftest.$ac_objext
2404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2407 grep -v '^ *+' conftest.er1 >conftest.err
2409 cat conftest.err >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try='test -z "$ac_c_werror_flag"
2413 || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2425 for ac_declaration in \
2427 'extern "C" void std::exit (int) throw (); using std::exit;' \
2428 'extern "C" void std::exit (int); using std::exit;' \
2429 'extern "C" void exit (int) throw ();' \
2430 'extern "C" void exit (int);' \
2433 cat >conftest.$ac_ext <<_ACEOF
2436 cat confdefs.h >>conftest.$ac_ext
2437 cat >>conftest.$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2449 rm -f conftest.$ac_objext
2450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2451 (eval $ac_compile) 2>conftest.er1
2453 grep -v '^ *+' conftest.er1 >conftest.err
2455 cat conftest.err >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try='test -z "$ac_c_werror_flag"
2459 || test ! -s conftest.err'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; } &&
2465 { ac_try='test -s conftest.$ac_objext'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2479 cat >conftest.$ac_ext <<_ACEOF
2482 cat confdefs.h >>conftest.$ac_ext
2483 cat >>conftest.$ac_ext <<_ACEOF
2484 /* end confdefs.h. */
2494 rm -f conftest.$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496 (eval $ac_compile) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1 >conftest.err
2500 cat conftest.err >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } &&
2503 { ac_try='test -z "$ac_c_werror_flag"
2504 || test ! -s conftest.err'
2505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; } &&
2510 { ac_try='test -s conftest.$ac_objext'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; }; then
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2525 if test -n "$ac_declaration"; then
2526 echo '#ifdef __cplusplus' >>confdefs.h
2527 echo $ac_declaration >>confdefs.h
2528 echo '#endif' >>confdefs.h
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2538 ac_cpp='$CPP $CPPFLAGS'
2539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2544 ac_cpp='$CPP $CPPFLAGS'
2545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2549 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2550 # On Suns, sometimes $CPP names a directory.
2551 if test -n "$CPP" && test -d "$CPP"; then
2554 if test -z "$CPP"; then
2555 if test "${ac_cv_prog_CPP+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 # Double quotes because CPP needs to be expanded
2559 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2562 for ac_c_preproc_warn_flag in '' yes
2564 # Use a header file that comes with gcc, so configuring glibc
2565 # with a fresh cross-compiler works.
2566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2567 # <limits.h> exists even on freestanding compilers.
2568 # On the NeXT, cc -E runs the code through the compiler's parser,
2569 # not just through cpp. "Syntax error" is here to catch this case.
2570 cat >conftest.$ac_ext <<_ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2577 # include <limits.h>
2579 # include <assert.h>
2583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2586 grep -v '^ *+' conftest.er1 >conftest.err
2588 cat conftest.err >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } >/dev/null; then
2591 if test -s conftest.err; then
2592 ac_cpp_err=$ac_c_preproc_warn_flag
2593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2600 if test -z "$ac_cpp_err"; then
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 # Broken: fails on valid input.
2609 rm -f conftest.err conftest.$ac_ext
2611 # OK, works on sane cases. Now check whether non-existent headers
2612 # can be detected and how.
2613 cat >conftest.$ac_ext <<_ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2619 #include <ac_nonexistent.h>
2621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2624 grep -v '^ *+' conftest.er1 >conftest.err
2626 cat conftest.err >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); } >/dev/null; then
2629 if test -s conftest.err; then
2630 ac_cpp_err=$ac_c_preproc_warn_flag
2631 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2638 if test -z "$ac_cpp_err"; then
2639 # Broken: success on invalid input.
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2645 # Passes both tests.
2649 rm -f conftest.err conftest.$ac_ext
2652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2653 rm -f conftest.err conftest.$ac_ext
2654 if $ac_preproc_ok; then
2666 echo "$as_me:$LINENO: result: $CPP" >&5
2667 echo "${ECHO_T}$CPP" >&6
2669 for ac_c_preproc_warn_flag in '' yes
2671 # Use a header file that comes with gcc, so configuring glibc
2672 # with a fresh cross-compiler works.
2673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2674 # <limits.h> exists even on freestanding compilers.
2675 # On the NeXT, cc -E runs the code through the compiler's parser,
2676 # not just through cpp. "Syntax error" is here to catch this case.
2677 cat >conftest.$ac_ext <<_ACEOF
2680 cat confdefs.h >>conftest.$ac_ext
2681 cat >>conftest.$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2684 # include <limits.h>
2686 # include <assert.h>
2690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2693 grep -v '^ *+' conftest.er1 >conftest.err
2695 cat conftest.err >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } >/dev/null; then
2698 if test -s conftest.err; then
2699 ac_cpp_err=$ac_c_preproc_warn_flag
2700 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2707 if test -z "$ac_cpp_err"; then
2710 echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 # Broken: fails on valid input.
2716 rm -f conftest.err conftest.$ac_ext
2718 # OK, works on sane cases. Now check whether non-existent headers
2719 # can be detected and how.
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2726 #include <ac_nonexistent.h>
2728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2731 grep -v '^ *+' conftest.er1 >conftest.err
2733 cat conftest.err >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } >/dev/null; then
2736 if test -s conftest.err; then
2737 ac_cpp_err=$ac_c_preproc_warn_flag
2738 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2745 if test -z "$ac_cpp_err"; then
2746 # Broken: success on invalid input.
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 # Passes both tests.
2756 rm -f conftest.err conftest.$ac_ext
2759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2760 rm -f conftest.err conftest.$ac_ext
2761 if $ac_preproc_ok; then
2764 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2765 See \`config.log' for more details." >&5
2766 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2767 See \`config.log' for more details." >&2;}
2768 { (exit 1); exit 1; }; }
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2779 echo "$as_me:$LINENO: checking for egrep" >&5
2780 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2781 if test "${ac_cv_prog_egrep+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2785 then ac_cv_prog_egrep='grep -E'
2786 else ac_cv_prog_egrep='egrep'
2789 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2790 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2791 EGREP=$ac_cv_prog_egrep
2794 if test $ac_cv_c_compiler_gnu = yes; then
2795 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
2796 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2797 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 ac_pattern="Autoconf.*'x'"
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2811 $EGREP "$ac_pattern" >/dev/null 2>&1; then
2812 ac_cv_prog_gcc_traditional=yes
2814 ac_cv_prog_gcc_traditional=no
2819 if test $ac_cv_prog_gcc_traditional = no; then
2820 cat >conftest.$ac_ext <<_ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2830 $EGREP "$ac_pattern" >/dev/null 2>&1; then
2831 ac_cv_prog_gcc_traditional=yes
2837 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
2838 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2839 if test $ac_cv_prog_gcc_traditional = yes; then
2840 CC="$CC -traditional"
2845 if test "x$GCC" != xyes ; then
2846 DFLAGS="$DFLAGS $NON_GNU_DFLAGS"
2847 CFLAGS="$CFLAGS $NON_GNU_CFLAGS"
2850 echo "$as_me:$LINENO: checking for library containing crypt" >&5
2851 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
2852 if test "${ac_cv_search_crypt+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 ac_func_search_save_LIBS=$LIBS
2856 ac_cv_search_crypt=no
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2864 /* Override any gcc2 internal prototype to avoid an error. */
2868 /* We use char because int might match the return type of a gcc2
2869 builtin and then its argument prototype would still apply. */
2879 rm -f conftest.$ac_objext conftest$ac_exeext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2881 (eval $ac_link) 2>conftest.er1
2883 grep -v '^ *+' conftest.er1 >conftest.err
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest$ac_exeext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 ac_cv_search_crypt="none required"
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2907 rm -f conftest.err conftest.$ac_objext \
2908 conftest$ac_exeext conftest.$ac_ext
2909 if test "$ac_cv_search_crypt" = no; then
2910 for ac_lib in crypt; do
2911 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2912 cat >conftest.$ac_ext <<_ACEOF
2915 cat confdefs.h >>conftest.$ac_ext
2916 cat >>conftest.$ac_ext <<_ACEOF
2917 /* end confdefs.h. */
2919 /* Override any gcc2 internal prototype to avoid an error. */
2923 /* We use char because int might match the return type of a gcc2
2924 builtin and then its argument prototype would still apply. */
2934 rm -f conftest.$ac_objext conftest$ac_exeext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2936 (eval $ac_link) 2>conftest.er1
2938 grep -v '^ *+' conftest.er1 >conftest.err
2940 cat conftest.err >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); } &&
2943 { ac_try='test -z "$ac_c_werror_flag"
2944 || test ! -s conftest.err'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; } &&
2950 { ac_try='test -s conftest$ac_exeext'
2951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; }; then
2956 ac_cv_search_crypt="-l$ac_lib"
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2963 rm -f conftest.err conftest.$ac_objext \
2964 conftest$ac_exeext conftest.$ac_ext
2967 LIBS=$ac_func_search_save_LIBS
2969 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
2970 echo "${ECHO_T}$ac_cv_search_crypt" >&6
2971 if test "$ac_cv_search_crypt" != no; then
2972 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
2976 echo "$as_me:$LINENO: checking for library containing getspnam" >&5
2977 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6
2978 if test "${ac_cv_search_getspnam+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 ac_func_search_save_LIBS=$LIBS
2982 ac_cv_search_getspnam=no
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2990 /* Override any gcc2 internal prototype to avoid an error. */
2994 /* We use char because int might match the return type of a gcc2
2995 builtin and then its argument prototype would still apply. */
3005 rm -f conftest.$ac_objext conftest$ac_exeext
3006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3007 (eval $ac_link) 2>conftest.er1
3009 grep -v '^ *+' conftest.er1 >conftest.err
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -z "$ac_c_werror_flag"
3015 || test ! -s conftest.err'
3016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); }; } &&
3021 { ac_try='test -s conftest$ac_exeext'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; }; then
3027 ac_cv_search_getspnam="none required"
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3033 rm -f conftest.err conftest.$ac_objext \
3034 conftest$ac_exeext conftest.$ac_ext
3035 if test "$ac_cv_search_getspnam" = no; then
3036 for ac_lib in sec; do
3037 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3045 /* Override any gcc2 internal prototype to avoid an error. */
3049 /* We use char because int might match the return type of a gcc2
3050 builtin and then its argument prototype would still apply. */
3060 rm -f conftest.$ac_objext conftest$ac_exeext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3062 (eval $ac_link) 2>conftest.er1
3064 grep -v '^ *+' conftest.er1 >conftest.err
3066 cat conftest.err >&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try='test -z "$ac_c_werror_flag"
3070 || test ! -s conftest.err'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; } &&
3076 { ac_try='test -s conftest$ac_exeext'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; }; then
3082 ac_cv_search_getspnam="-l$ac_lib"
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f conftest.err conftest.$ac_objext \
3090 conftest$ac_exeext conftest.$ac_ext
3093 LIBS=$ac_func_search_save_LIBS
3095 echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
3096 echo "${ECHO_T}$ac_cv_search_getspnam" >&6
3097 if test "$ac_cv_search_getspnam" != no; then
3098 test "$ac_cv_search_getspnam" = "none required" || LIBS="$ac_cv_search_getspnam $LIBS"
3102 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
3103 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
3104 if test "${ac_cv_search_tgetent+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 ac_func_search_save_LIBS=$LIBS
3108 ac_cv_search_tgetent=no
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3116 /* Override any gcc2 internal prototype to avoid an error. */
3120 /* We use char because int might match the return type of a gcc2
3121 builtin and then its argument prototype would still apply. */
3131 rm -f conftest.$ac_objext conftest$ac_exeext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3133 (eval $ac_link) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try='test -z "$ac_c_werror_flag"
3141 || test ! -s conftest.err'
3142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }; } &&
3147 { ac_try='test -s conftest$ac_exeext'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; }; then
3153 ac_cv_search_tgetent="none required"
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f conftest.err conftest.$ac_objext \
3160 conftest$ac_exeext conftest.$ac_ext
3161 if test "$ac_cv_search_tgetent" = no; then
3162 for ac_lib in termlib termcap curses ncurses; do
3163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3164 cat >conftest.$ac_ext <<_ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3171 /* Override any gcc2 internal prototype to avoid an error. */
3175 /* We use char because int might match the return type of a gcc2
3176 builtin and then its argument prototype would still apply. */
3186 rm -f conftest.$ac_objext conftest$ac_exeext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188 (eval $ac_link) 2>conftest.er1
3190 grep -v '^ *+' conftest.er1 >conftest.err
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest$ac_exeext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3208 ac_cv_search_tgetent="-l$ac_lib"
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3215 rm -f conftest.err conftest.$ac_objext \
3216 conftest$ac_exeext conftest.$ac_ext
3219 LIBS=$ac_func_search_save_LIBS
3221 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
3222 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
3223 if test "$ac_cv_search_tgetent" != no; then
3224 test "$ac_cv_search_tgetent" = "none required" || LIBS="$ac_cv_search_tgetent $LIBS"
3228 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3229 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3230 if test "${ac_cv_search_gethostbyname+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 ac_func_search_save_LIBS=$LIBS
3234 ac_cv_search_gethostbyname=no
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3242 /* Override any gcc2 internal prototype to avoid an error. */
3246 /* We use char because int might match the return type of a gcc2
3247 builtin and then its argument prototype would still apply. */
3248 char gethostbyname ();
3257 rm -f conftest.$ac_objext conftest$ac_exeext
3258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3259 (eval $ac_link) 2>conftest.er1
3261 grep -v '^ *+' conftest.er1 >conftest.err
3263 cat conftest.err >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } &&
3266 { ac_try='test -z "$ac_c_werror_flag"
3267 || test ! -s conftest.err'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; } &&
3273 { ac_try='test -s conftest$ac_exeext'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; }; then
3279 ac_cv_search_gethostbyname="none required"
3281 echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.$ac_ext >&5
3285 rm -f conftest.err conftest.$ac_objext \
3286 conftest$ac_exeext conftest.$ac_ext
3287 if test "$ac_cv_search_gethostbyname" = no; then
3288 for ac_lib in nsl; do
3289 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3290 cat >conftest.$ac_ext <<_ACEOF
3293 cat confdefs.h >>conftest.$ac_ext
3294 cat >>conftest.$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3297 /* Override any gcc2 internal prototype to avoid an error. */
3301 /* We use char because int might match the return type of a gcc2
3302 builtin and then its argument prototype would still apply. */
3303 char gethostbyname ();
3312 rm -f conftest.$ac_objext conftest$ac_exeext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3314 (eval $ac_link) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try='test -z "$ac_c_werror_flag"
3322 || test ! -s conftest.err'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; } &&
3328 { ac_try='test -s conftest$ac_exeext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3334 ac_cv_search_gethostbyname="-l$ac_lib"
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3341 rm -f conftest.err conftest.$ac_objext \
3342 conftest$ac_exeext conftest.$ac_ext
3345 LIBS=$ac_func_search_save_LIBS
3347 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3348 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3349 if test "$ac_cv_search_gethostbyname" != no; then
3350 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3354 echo "$as_me:$LINENO: checking for library containing connect" >&5
3355 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
3356 if test "${ac_cv_search_connect+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 ac_func_search_save_LIBS=$LIBS
3360 ac_cv_search_connect=no
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3368 /* Override any gcc2 internal prototype to avoid an error. */
3372 /* We use char because int might match the return type of a gcc2
3373 builtin and then its argument prototype would still apply. */
3383 rm -f conftest.$ac_objext conftest$ac_exeext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3385 (eval $ac_link) 2>conftest.er1
3387 grep -v '^ *+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try='test -z "$ac_c_werror_flag"
3393 || test ! -s conftest.err'
3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); }; } &&
3399 { ac_try='test -s conftest$ac_exeext'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; }; then
3405 ac_cv_search_connect="none required"
3407 echo "$as_me: failed program was:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3411 rm -f conftest.err conftest.$ac_objext \
3412 conftest$ac_exeext conftest.$ac_ext
3413 if test "$ac_cv_search_connect" = no; then
3414 for ac_lib in socket; do
3415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3416 cat >conftest.$ac_ext <<_ACEOF
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3423 /* Override any gcc2 internal prototype to avoid an error. */
3427 /* We use char because int might match the return type of a gcc2
3428 builtin and then its argument prototype would still apply. */
3438 rm -f conftest.$ac_objext conftest$ac_exeext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3440 (eval $ac_link) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1 >conftest.err
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } &&
3447 { ac_try='test -z "$ac_c_werror_flag"
3448 || test ! -s conftest.err'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; } &&
3454 { ac_try='test -s conftest$ac_exeext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3460 ac_cv_search_connect="-l$ac_lib"
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3467 rm -f conftest.err conftest.$ac_objext \
3468 conftest$ac_exeext conftest.$ac_ext
3471 LIBS=$ac_func_search_save_LIBS
3473 echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
3474 echo "${ECHO_T}$ac_cv_search_connect" >&6
3475 if test "$ac_cv_search_connect" != no; then
3476 test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS"
3480 echo "$as_me:$LINENO: checking for library containing iconv" >&5
3481 echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6
3482 if test "${ac_cv_search_iconv+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 ac_func_search_save_LIBS=$LIBS
3486 ac_cv_search_iconv=no
3487 cat >conftest.$ac_ext <<_ACEOF
3490 cat confdefs.h >>conftest.$ac_ext
3491 cat >>conftest.$ac_ext <<_ACEOF
3492 /* end confdefs.h. */
3494 /* Override any gcc2 internal prototype to avoid an error. */
3498 /* We use char because int might match the return type of a gcc2
3499 builtin and then its argument prototype would still apply. */
3509 rm -f conftest.$ac_objext conftest$ac_exeext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3511 (eval $ac_link) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1 >conftest.err
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try='test -z "$ac_c_werror_flag"
3519 || test ! -s conftest.err'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; } &&
3525 { ac_try='test -s conftest$ac_exeext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_search_iconv="none required"
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f conftest.err conftest.$ac_objext \
3538 conftest$ac_exeext conftest.$ac_ext
3539 if test "$ac_cv_search_iconv" = no; then
3540 for ac_lib in iconv; do
3541 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3542 cat >conftest.$ac_ext <<_ACEOF
3545 cat confdefs.h >>conftest.$ac_ext
3546 cat >>conftest.$ac_ext <<_ACEOF
3547 /* end confdefs.h. */
3549 /* Override any gcc2 internal prototype to avoid an error. */
3553 /* We use char because int might match the return type of a gcc2
3554 builtin and then its argument prototype would still apply. */
3564 rm -f conftest.$ac_objext conftest$ac_exeext
3565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3566 (eval $ac_link) 2>conftest.er1
3568 grep -v '^ *+' conftest.er1 >conftest.err
3570 cat conftest.err >&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try='test -z "$ac_c_werror_flag"
3574 || test ! -s conftest.err'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; } &&
3580 { ac_try='test -s conftest$ac_exeext'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; }; then
3586 ac_cv_search_iconv="-l$ac_lib"
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3593 rm -f conftest.err conftest.$ac_objext \
3594 conftest$ac_exeext conftest.$ac_ext
3597 LIBS=$ac_func_search_save_LIBS
3599 echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
3600 echo "${ECHO_T}$ac_cv_search_iconv" >&6
3601 if test "$ac_cv_search_iconv" != no; then
3602 test "$ac_cv_search_iconv" = "none required" || LIBS="$ac_cv_search_iconv $LIBS"
3604 cat >>confdefs.h <<\_ACEOF
3605 #define HAVE_ICONV 1
3611 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3613 if test "${ac_cv_header_stdc+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 cat >conftest.$ac_ext <<_ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3635 rm -f conftest.$ac_objext
3636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3637 (eval $ac_compile) 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } &&
3644 { ac_try='test -z "$ac_c_werror_flag"
3645 || test ! -s conftest.err'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try='test -s conftest.$ac_objext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_header_stdc=yes
3659 echo "$as_me: failed program was:" >&5
3660 sed 's/^/| /' conftest.$ac_ext >&5
3662 ac_cv_header_stdc=no
3664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3666 if test $ac_cv_header_stdc = yes; then
3667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3668 cat >conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3678 $EGREP "memchr" >/dev/null 2>&1; then
3681 ac_cv_header_stdc=no
3687 if test $ac_cv_header_stdc = yes; then
3688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3689 cat >conftest.$ac_ext <<_ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3699 $EGREP "free" >/dev/null 2>&1; then
3702 ac_cv_header_stdc=no
3708 if test $ac_cv_header_stdc = yes; then
3709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3710 if test "$cross_compiling" = yes; then
3713 cat >conftest.$ac_ext <<_ACEOF
3716 cat confdefs.h >>conftest.$ac_ext
3717 cat >>conftest.$ac_ext <<_ACEOF
3718 /* end confdefs.h. */
3720 #if ((' ' & 0x0FF) == 0x020)
3721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3724 # define ISLOWER(c) \
3725 (('a' <= (c) && (c) <= 'i') \
3726 || ('j' <= (c) && (c) <= 'r') \
3727 || ('s' <= (c) && (c) <= 'z'))
3728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3736 for (i = 0; i < 256; i++)
3737 if (XOR (islower (i), ISLOWER (i))
3738 || toupper (i) != TOUPPER (i))
3743 rm -f conftest$ac_exeext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 (eval $ac_link) 2>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3756 echo "$as_me: program exited with status $ac_status" >&5
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3761 ac_cv_header_stdc=no
3763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3767 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3768 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3769 if test $ac_cv_header_stdc = yes; then
3771 cat >>confdefs.h <<\_ACEOF
3772 #define STDC_HEADERS 1
3777 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3788 inttypes.h stdint.h unistd.h
3790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3791 echo "$as_me:$LINENO: checking for $ac_header" >&5
3792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3794 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 cat >conftest.$ac_ext <<_ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3802 $ac_includes_default
3804 #include <$ac_header>
3806 rm -f conftest.$ac_objext
3807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 (eval $ac_compile) 2>conftest.er1
3810 grep -v '^ *+' conftest.er1 >conftest.err
3812 cat conftest.err >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); } &&
3815 { ac_try='test -z "$ac_c_werror_flag"
3816 || test ! -s conftest.err'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; } &&
3822 { ac_try='test -s conftest.$ac_objext'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; }; then
3828 eval "$as_ac_Header=yes"
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 eval "$as_ac_Header=no"
3835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3840 cat >>confdefs.h <<_ACEOF
3841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3853 for ac_header in auth.h inttypes.h shadow.h stdint.h
3855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3857 echo "$as_me:$LINENO: checking for $ac_header" >&5
3858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3865 # Is the header compilable?
3866 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 $ac_includes_default
3875 #include <$ac_header>
3877 rm -f conftest.$ac_objext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3879 (eval $ac_compile) 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try='test -z "$ac_c_werror_flag"
3887 || test ! -s conftest.err'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; } &&
3893 { ac_try='test -s conftest.$ac_objext'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; }; then
3899 ac_header_compiler=yes
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.$ac_ext >&5
3904 ac_header_compiler=no
3906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3908 echo "${ECHO_T}$ac_header_compiler" >&6
3910 # Is the header present?
3911 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3919 #include <$ac_header>
3921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3924 grep -v '^ *+' conftest.er1 >conftest.err
3926 cat conftest.err >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } >/dev/null; then
3929 if test -s conftest.err; then
3930 ac_cpp_err=$ac_c_preproc_warn_flag
3931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3938 if test -z "$ac_cpp_err"; then
3939 ac_header_preproc=yes
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3944 ac_header_preproc=no
3946 rm -f conftest.err conftest.$ac_ext
3947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3948 echo "${ECHO_T}$ac_header_preproc" >&6
3950 # So? What about this header?
3951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3957 ac_header_preproc=yes
3960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3974 ## ------------------------------------------ ##
3975 ## Report this to the AC_PACKAGE_NAME lists. ##
3976 ## ------------------------------------------ ##
3979 sed "s/^/$as_me: WARNING: /" >&2
3982 echo "$as_me:$LINENO: checking for $ac_header" >&5
3983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3987 eval "$as_ac_Header=\$ac_header_preproc"
3989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3994 cat >>confdefs.h <<_ACEOF
3995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4004 for ac_header in utmpx.h utmp.h
4006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4008 echo "$as_me:$LINENO: checking for $ac_header" >&5
4009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4016 # Is the header compilable?
4017 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4019 cat >conftest.$ac_ext <<_ACEOF
4022 cat confdefs.h >>conftest.$ac_ext
4023 cat >>conftest.$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4025 $ac_includes_default
4026 #include <$ac_header>
4028 rm -f conftest.$ac_objext
4029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4030 (eval $ac_compile) 2>conftest.er1
4032 grep -v '^ *+' conftest.er1 >conftest.err
4034 cat conftest.err >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); } &&
4037 { ac_try='test -z "$ac_c_werror_flag"
4038 || test ! -s conftest.err'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; } &&
4044 { ac_try='test -s conftest.$ac_objext'
4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4050 ac_header_compiler=yes
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.$ac_ext >&5
4055 ac_header_compiler=no
4057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4058 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4059 echo "${ECHO_T}$ac_header_compiler" >&6
4061 # Is the header present?
4062 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4063 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4064 cat >conftest.$ac_ext <<_ACEOF
4067 cat confdefs.h >>conftest.$ac_ext
4068 cat >>conftest.$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4070 #include <$ac_header>
4072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } >/dev/null; then
4080 if test -s conftest.err; then
4081 ac_cpp_err=$ac_c_preproc_warn_flag
4082 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4089 if test -z "$ac_cpp_err"; then
4090 ac_header_preproc=yes
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 ac_header_preproc=no
4097 rm -f conftest.err conftest.$ac_ext
4098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4099 echo "${ECHO_T}$ac_header_preproc" >&6
4101 # So? What about this header?
4102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4107 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4108 ac_header_preproc=yes
4111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4115 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4116 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4117 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4118 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4121 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4122 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4125 ## ------------------------------------------ ##
4126 ## Report this to the AC_PACKAGE_NAME lists. ##
4127 ## ------------------------------------------ ##
4130 sed "s/^/$as_me: WARNING: /" >&2
4133 echo "$as_me:$LINENO: checking for $ac_header" >&5
4134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 eval "$as_ac_Header=\$ac_header_preproc"
4140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4145 cat >>confdefs.h <<_ACEOF
4146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4154 for ac_header in wchar.h
4156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4158 echo "$as_me:$LINENO: checking for $ac_header" >&5
4159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4166 # Is the header compilable?
4167 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4168 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4169 cat >conftest.$ac_ext <<_ACEOF
4172 cat confdefs.h >>conftest.$ac_ext
4173 cat >>conftest.$ac_ext <<_ACEOF
4174 /* end confdefs.h. */
4175 $ac_includes_default
4176 #include <$ac_header>
4178 rm -f conftest.$ac_objext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_header_compiler=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_header_compiler=no
4207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4209 echo "${ECHO_T}$ac_header_compiler" >&6
4211 # Is the header present?
4212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4214 cat >conftest.$ac_ext <<_ACEOF
4217 cat confdefs.h >>conftest.$ac_ext
4218 cat >>conftest.$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4220 #include <$ac_header>
4222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } >/dev/null; then
4230 if test -s conftest.err; then
4231 ac_cpp_err=$ac_c_preproc_warn_flag
4232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4239 if test -z "$ac_cpp_err"; then
4240 ac_header_preproc=yes
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 ac_header_preproc=no
4247 rm -f conftest.err conftest.$ac_ext
4248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4249 echo "${ECHO_T}$ac_header_preproc" >&6
4251 # So? What about this header?
4252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4258 ac_header_preproc=yes
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4275 ## ------------------------------------------ ##
4276 ## Report this to the AC_PACKAGE_NAME lists. ##
4277 ## ------------------------------------------ ##
4280 sed "s/^/$as_me: WARNING: /" >&2
4283 echo "$as_me:$LINENO: checking for $ac_header" >&5
4284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 eval "$as_ac_Header=\$ac_header_preproc"
4290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4295 cat >>confdefs.h <<_ACEOF
4296 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4298 echo "$as_me:$LINENO: checking for wchar_t" >&5
4299 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
4300 if test "${ac_cv_type_wchar_t+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 cat >conftest.$ac_ext <<_ACEOF
4306 cat confdefs.h >>conftest.$ac_ext
4307 cat >>conftest.$ac_ext <<_ACEOF
4308 /* end confdefs.h. */
4317 if (sizeof (wchar_t))
4323 rm -f conftest.$ac_objext
4324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4325 (eval $ac_compile) 2>conftest.er1
4327 grep -v '^ *+' conftest.er1 >conftest.err
4329 cat conftest.err >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try='test -z "$ac_c_werror_flag"
4333 || test ! -s conftest.err'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; } &&
4339 { ac_try='test -s conftest.$ac_objext'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; }; then
4345 ac_cv_type_wchar_t=yes
4347 echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.$ac_ext >&5
4350 ac_cv_type_wchar_t=no
4352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4354 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
4355 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
4357 echo "$as_me:$LINENO: checking size of wchar_t" >&5
4358 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
4359 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 if test "$ac_cv_type_wchar_t" = yes; then
4363 # The cast to unsigned long works around a bug in the HP C Compiler
4364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4366 # This bug is HP SR number 8606223364.
4367 if test "$cross_compiling" = yes; then
4368 # Depending upon the size, compute the lo and hi bounds.
4369 cat >conftest.$ac_ext <<_ACEOF
4372 cat confdefs.h >>conftest.$ac_ext
4373 cat >>conftest.$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4381 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
4388 rm -f conftest.$ac_objext
4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4390 (eval $ac_compile) 2>conftest.er1
4392 grep -v '^ *+' conftest.er1 >conftest.err
4394 cat conftest.err >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } &&
4397 { ac_try='test -z "$ac_c_werror_flag"
4398 || test ! -s conftest.err'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; } &&
4404 { ac_try='test -s conftest.$ac_objext'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; }; then
4412 cat >conftest.$ac_ext <<_ACEOF
4415 cat confdefs.h >>conftest.$ac_ext
4416 cat >>conftest.$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4424 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
4431 rm -f conftest.$ac_objext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>conftest.er1
4435 grep -v '^ *+' conftest.er1 >conftest.err
4437 cat conftest.err >&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } &&
4440 { ac_try='test -z "$ac_c_werror_flag"
4441 || test ! -s conftest.err'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; } &&
4447 { ac_try='test -s conftest.$ac_objext'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; }; then
4453 ac_hi=$ac_mid; break
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4458 ac_lo=`expr $ac_mid + 1`
4459 if test $ac_lo -le $ac_mid; then
4463 ac_mid=`expr 2 '*' $ac_mid + 1`
4465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.$ac_ext >&5
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4483 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
4490 rm -f conftest.$ac_objext
4491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4492 (eval $ac_compile) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1 >conftest.err
4496 cat conftest.err >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try='test -z "$ac_c_werror_flag"
4500 || test ! -s conftest.err'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; } &&
4506 { ac_try='test -s conftest.$ac_objext'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; }; then
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4526 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
4533 rm -f conftest.$ac_objext
4534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4535 (eval $ac_compile) 2>conftest.er1
4537 grep -v '^ *+' conftest.er1 >conftest.err
4539 cat conftest.err >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try='test -z "$ac_c_werror_flag"
4543 || test ! -s conftest.err'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; } &&
4549 { ac_try='test -s conftest.$ac_objext'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; }; then
4555 ac_lo=$ac_mid; break
4557 echo "$as_me: failed program was:" >&5
4558 sed 's/^/| /' conftest.$ac_ext >&5
4560 ac_hi=`expr '(' $ac_mid ')' - 1`
4561 if test $ac_mid -le $ac_hi; then
4565 ac_mid=`expr 2 '*' $ac_mid`
4567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4570 echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4578 # Binary search between lo and hi bounds.
4579 while test "x$ac_lo" != "x$ac_hi"; do
4580 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4593 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
4600 rm -f conftest.$ac_objext
4601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4602 (eval $ac_compile) 2>conftest.er1
4604 grep -v '^ *+' conftest.er1 >conftest.err
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } &&
4609 { ac_try='test -z "$ac_c_werror_flag"
4610 || test ! -s conftest.err'
4611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }; } &&
4616 { ac_try='test -s conftest.$ac_objext'
4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }; }; then
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4627 ac_lo=`expr '(' $ac_mid ')' + 1`
4629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4632 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
4633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
4634 See \`config.log' for more details." >&5
4635 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
4636 See \`config.log' for more details." >&2;}
4637 { (exit 1); exit 1; }; } ;;
4640 if test "$cross_compiling" = yes; then
4641 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4642 See \`config.log' for more details." >&5
4643 echo "$as_me: error: cannot run test program while cross compiling
4644 See \`config.log' for more details." >&2;}
4645 { (exit 1); exit 1; }; }
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4656 long longval () { return (long) (sizeof (wchar_t)); }
4657 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
4664 FILE *f = fopen ("conftest.val", "w");
4667 if (((long) (sizeof (wchar_t))) < 0)
4669 long i = longval ();
4670 if (i != ((long) (sizeof (wchar_t))))
4672 fprintf (f, "%ld\n", i);
4676 unsigned long i = ulongval ();
4677 if (i != ((long) (sizeof (wchar_t))))
4679 fprintf (f, "%lu\n", i);
4681 exit (ferror (f) || fclose (f) != 0);
4687 rm -f conftest$ac_exeext
4688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4689 (eval $ac_link) 2>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; }; then
4698 ac_cv_sizeof_wchar_t=`cat conftest.val`
4700 echo "$as_me: program exited with status $ac_status" >&5
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.$ac_ext >&5
4705 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
4706 See \`config.log' for more details." >&5
4707 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
4708 See \`config.log' for more details." >&2;}
4709 { (exit 1); exit 1; }; }
4711 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4716 ac_cv_sizeof_wchar_t=0
4719 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
4720 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
4721 cat >>confdefs.h <<_ACEOF
4722 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
4727 for ac_header in wctype.h
4729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4731 echo "$as_me:$LINENO: checking for $ac_header" >&5
4732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4739 # Is the header compilable?
4740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4742 cat >conftest.$ac_ext <<_ACEOF
4745 cat confdefs.h >>conftest.$ac_ext
4746 cat >>conftest.$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4748 $ac_includes_default
4749 #include <$ac_header>
4751 rm -f conftest.$ac_objext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4753 (eval $ac_compile) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try='test -z "$ac_c_werror_flag"
4761 || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try='test -s conftest.$ac_objext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_header_compiler=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4778 ac_header_compiler=no
4780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4782 echo "${ECHO_T}$ac_header_compiler" >&6
4784 # Is the header present?
4785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4787 cat >conftest.$ac_ext <<_ACEOF
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4793 #include <$ac_header>
4795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4798 grep -v '^ *+' conftest.er1 >conftest.err
4800 cat conftest.err >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } >/dev/null; then
4803 if test -s conftest.err; then
4804 ac_cpp_err=$ac_c_preproc_warn_flag
4805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4812 if test -z "$ac_cpp_err"; then
4813 ac_header_preproc=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_header_preproc=no
4820 rm -f conftest.err conftest.$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4822 echo "${ECHO_T}$ac_header_preproc" >&6
4824 # So? What about this header?
4825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4831 ac_header_preproc=yes
4834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4848 ## ------------------------------------------ ##
4849 ## Report this to the AC_PACKAGE_NAME lists. ##
4850 ## ------------------------------------------ ##
4853 sed "s/^/$as_me: WARNING: /" >&2
4856 echo "$as_me:$LINENO: checking for $ac_header" >&5
4857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4861 eval "$as_ac_Header=\$ac_header_preproc"
4863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4868 cat >>confdefs.h <<_ACEOF
4869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4886 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4887 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4888 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4889 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 cat >conftest.$ac_ext <<_ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 #include <sys/types.h>
4911 rm -f conftest.$ac_objext
4912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4913 (eval $ac_compile) 2>conftest.er1
4915 grep -v '^ *+' conftest.er1 >conftest.err
4917 cat conftest.err >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try='test -z "$ac_c_werror_flag"
4921 || test ! -s conftest.err'
4922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; } &&
4927 { ac_try='test -s conftest.$ac_objext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4933 eval "$as_ac_Header=yes"
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.$ac_ext >&5
4938 eval "$as_ac_Header=no"
4940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4945 cat >>confdefs.h <<_ACEOF
4946 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4949 ac_header_dirent=$ac_hdr; break
4953 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4954 if test $ac_header_dirent = dirent.h; then
4955 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4956 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4957 if test "${ac_cv_search_opendir+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 ac_func_search_save_LIBS=$LIBS
4961 ac_cv_search_opendir=no
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4969 /* Override any gcc2 internal prototype to avoid an error. */
4973 /* We use char because int might match the return type of a gcc2
4974 builtin and then its argument prototype would still apply. */
4984 rm -f conftest.$ac_objext conftest$ac_exeext
4985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4986 (eval $ac_link) 2>conftest.er1
4988 grep -v '^ *+' conftest.er1 >conftest.err
4990 cat conftest.err >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } &&
4993 { ac_try='test -z "$ac_c_werror_flag"
4994 || test ! -s conftest.err'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; } &&
5000 { ac_try='test -s conftest$ac_exeext'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 ac_cv_search_opendir="none required"
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5012 rm -f conftest.err conftest.$ac_objext \
5013 conftest$ac_exeext conftest.$ac_ext
5014 if test "$ac_cv_search_opendir" = no; then
5015 for ac_lib in dir; do
5016 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5024 /* Override any gcc2 internal prototype to avoid an error. */
5028 /* We use char because int might match the return type of a gcc2
5029 builtin and then its argument prototype would still apply. */
5039 rm -f conftest.$ac_objext conftest$ac_exeext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5041 (eval $ac_link) 2>conftest.er1
5043 grep -v '^ *+' conftest.er1 >conftest.err
5045 cat conftest.err >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try='test -z "$ac_c_werror_flag"
5049 || test ! -s conftest.err'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; } &&
5055 { ac_try='test -s conftest$ac_exeext'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 ac_cv_search_opendir="-l$ac_lib"
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.$ac_ext >&5
5068 rm -f conftest.err conftest.$ac_objext \
5069 conftest$ac_exeext conftest.$ac_ext
5072 LIBS=$ac_func_search_save_LIBS
5074 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5075 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5076 if test "$ac_cv_search_opendir" != no; then
5077 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5082 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5083 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5084 if test "${ac_cv_search_opendir+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 ac_func_search_save_LIBS=$LIBS
5088 ac_cv_search_opendir=no
5089 cat >conftest.$ac_ext <<_ACEOF
5092 cat confdefs.h >>conftest.$ac_ext
5093 cat >>conftest.$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5096 /* Override any gcc2 internal prototype to avoid an error. */
5100 /* We use char because int might match the return type of a gcc2
5101 builtin and then its argument prototype would still apply. */
5111 rm -f conftest.$ac_objext conftest$ac_exeext
5112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5113 (eval $ac_link) 2>conftest.er1
5115 grep -v '^ *+' conftest.er1 >conftest.err
5117 cat conftest.err >&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); } &&
5120 { ac_try='test -z "$ac_c_werror_flag"
5121 || test ! -s conftest.err'
5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); }; } &&
5127 { ac_try='test -s conftest$ac_exeext'
5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }; }; then
5133 ac_cv_search_opendir="none required"
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.$ac_ext >&5
5139 rm -f conftest.err conftest.$ac_objext \
5140 conftest$ac_exeext conftest.$ac_ext
5141 if test "$ac_cv_search_opendir" = no; then
5143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5144 cat >conftest.$ac_ext <<_ACEOF
5147 cat confdefs.h >>conftest.$ac_ext
5148 cat >>conftest.$ac_ext <<_ACEOF
5149 /* end confdefs.h. */
5151 /* Override any gcc2 internal prototype to avoid an error. */
5155 /* We use char because int might match the return type of a gcc2
5156 builtin and then its argument prototype would still apply. */
5166 rm -f conftest.$ac_objext conftest$ac_exeext
5167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5168 (eval $ac_link) 2>conftest.er1
5170 grep -v '^ *+' conftest.er1 >conftest.err
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } &&
5175 { ac_try='test -z "$ac_c_werror_flag"
5176 || test ! -s conftest.err'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest$ac_exeext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 ac_cv_search_opendir="-l$ac_lib"
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5195 rm -f conftest.err conftest.$ac_objext \
5196 conftest$ac_exeext conftest.$ac_ext
5199 LIBS=$ac_func_search_save_LIBS
5201 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5202 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5203 if test "$ac_cv_search_opendir" != no; then
5204 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5210 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5211 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5212 if test "${ac_cv_header_stat_broken+set}" = set; then
5213 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 cat >conftest.$ac_ext <<_ACEOF
5218 cat confdefs.h >>conftest.$ac_ext
5219 cat >>conftest.$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5221 #include <sys/types.h>
5222 #include <sys/stat.h>
5224 #if defined(S_ISBLK) && defined(S_IFDIR)
5225 # if S_ISBLK (S_IFDIR)
5230 #if defined(S_ISBLK) && defined(S_IFCHR)
5231 # if S_ISBLK (S_IFCHR)
5236 #if defined(S_ISLNK) && defined(S_IFREG)
5237 # if S_ISLNK (S_IFREG)
5242 #if defined(S_ISSOCK) && defined(S_IFREG)
5243 # if S_ISSOCK (S_IFREG)
5249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5250 $EGREP "You lose" >/dev/null 2>&1; then
5251 ac_cv_header_stat_broken=yes
5253 ac_cv_header_stat_broken=no
5258 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5259 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5260 if test $ac_cv_header_stat_broken = yes; then
5262 cat >>confdefs.h <<\_ACEOF
5263 #define STAT_MACROS_BROKEN 1
5268 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5269 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5270 if test "${ac_cv_header_stdc+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 cat >conftest.$ac_ext <<_ACEOF
5276 cat confdefs.h >>conftest.$ac_ext
5277 cat >>conftest.$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5292 rm -f conftest.$ac_objext
5293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5294 (eval $ac_compile) 2>conftest.er1
5296 grep -v '^ *+' conftest.er1 >conftest.err
5298 cat conftest.err >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } &&
5301 { ac_try='test -z "$ac_c_werror_flag"
5302 || test ! -s conftest.err'
5303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; } &&
5308 { ac_try='test -s conftest.$ac_objext'
5309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }; }; then
5314 ac_cv_header_stdc=yes
5316 echo "$as_me: failed program was:" >&5
5317 sed 's/^/| /' conftest.$ac_ext >&5
5319 ac_cv_header_stdc=no
5321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5323 if test $ac_cv_header_stdc = yes; then
5324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5325 cat >conftest.$ac_ext <<_ACEOF
5328 cat confdefs.h >>conftest.$ac_ext
5329 cat >>conftest.$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5335 $EGREP "memchr" >/dev/null 2>&1; then
5338 ac_cv_header_stdc=no
5344 if test $ac_cv_header_stdc = yes; then
5345 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5346 cat >conftest.$ac_ext <<_ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5356 $EGREP "free" >/dev/null 2>&1; then
5359 ac_cv_header_stdc=no
5365 if test $ac_cv_header_stdc = yes; then
5366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5367 if test "$cross_compiling" = yes; then
5370 cat >conftest.$ac_ext <<_ACEOF
5373 cat confdefs.h >>conftest.$ac_ext
5374 cat >>conftest.$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5377 #if ((' ' & 0x0FF) == 0x020)
5378 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5379 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5381 # define ISLOWER(c) \
5382 (('a' <= (c) && (c) <= 'i') \
5383 || ('j' <= (c) && (c) <= 'r') \
5384 || ('s' <= (c) && (c) <= 'z'))
5385 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5388 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5393 for (i = 0; i < 256; i++)
5394 if (XOR (islower (i), ISLOWER (i))
5395 || toupper (i) != TOUPPER (i))
5400 rm -f conftest$ac_exeext
5401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5402 (eval $ac_link) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; }; then
5413 echo "$as_me: program exited with status $ac_status" >&5
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5418 ac_cv_header_stdc=no
5420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5424 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5425 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5426 if test $ac_cv_header_stdc = yes; then
5428 cat >>confdefs.h <<\_ACEOF
5429 #define STDC_HEADERS 1
5435 echo "$as_me:$LINENO: checking for long long" >&5
5436 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5437 if test "${ac_cv_type_long_long+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 cat >conftest.$ac_ext <<_ACEOF
5443 cat confdefs.h >>conftest.$ac_ext
5444 cat >>conftest.$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 $ac_includes_default
5450 if ((long long *) 0)
5452 if (sizeof (long long))
5458 rm -f conftest.$ac_objext
5459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 (eval $ac_compile) 2>conftest.er1
5462 grep -v '^ *+' conftest.er1 >conftest.err
5464 cat conftest.err >&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); } &&
5467 { ac_try='test -z "$ac_c_werror_flag"
5468 || test ! -s conftest.err'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; } &&
5474 { ac_try='test -s conftest.$ac_objext'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5480 ac_cv_type_long_long=yes
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5485 ac_cv_type_long_long=no
5487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5489 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5490 echo "${ECHO_T}$ac_cv_type_long_long" >&6
5491 if test $ac_cv_type_long_long = yes; then
5493 cat >>confdefs.h <<_ACEOF
5494 #define HAVE_LONG_LONG 1
5500 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5501 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5502 if test "${ac_cv_type_uid_t+set}" = set; then
5503 echo $ECHO_N "(cached) $ECHO_C" >&6
5505 cat >conftest.$ac_ext <<_ACEOF
5508 cat confdefs.h >>conftest.$ac_ext
5509 cat >>conftest.$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5511 #include <sys/types.h>
5514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5515 $EGREP "uid_t" >/dev/null 2>&1; then
5516 ac_cv_type_uid_t=yes
5523 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5524 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5525 if test $ac_cv_type_uid_t = no; then
5527 cat >>confdefs.h <<\_ACEOF
5532 cat >>confdefs.h <<\_ACEOF
5538 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
5539 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
5540 if test "${ac_cv_type_getgroups+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 if test "$cross_compiling" = yes; then
5544 ac_cv_type_getgroups=cross
5546 cat >conftest.$ac_ext <<_ACEOF
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 /* Thanks to Mike Rendell for this test. */
5553 #include <sys/types.h>
5556 #define MAX(x, y) ((x) > (y) ? (x) : (y))
5563 union { gid_t gval; long lval; } val;
5566 for (i = 0; i < NGID; i++)
5567 gidset[i] = val.gval;
5568 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5570 /* Exit non-zero if getgroups seems to require an array of ints. This
5571 happens when gid_t is short but getgroups modifies an array of ints. */
5572 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
5575 rm -f conftest$ac_exeext
5576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5577 (eval $ac_link) 2>&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); }; }; then
5586 ac_cv_type_getgroups=gid_t
5588 echo "$as_me: program exited with status $ac_status" >&5
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5593 ac_cv_type_getgroups=int
5595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5597 if test $ac_cv_type_getgroups = cross; then
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5608 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
5609 ac_cv_type_getgroups=gid_t
5611 ac_cv_type_getgroups=int
5617 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
5618 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
5620 cat >>confdefs.h <<_ACEOF
5621 #define GETGROUPS_T $ac_cv_type_getgroups
5625 echo "$as_me:$LINENO: checking for mode_t" >&5
5626 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
5627 if test "${ac_cv_type_mode_t+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 cat >conftest.$ac_ext <<_ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5636 $ac_includes_default
5642 if (sizeof (mode_t))
5648 rm -f conftest.$ac_objext
5649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5650 (eval $ac_compile) 2>conftest.er1
5652 grep -v '^ *+' conftest.er1 >conftest.err
5654 cat conftest.err >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } &&
5657 { ac_try='test -z "$ac_c_werror_flag"
5658 || test ! -s conftest.err'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; } &&
5664 { ac_try='test -s conftest.$ac_objext'
5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); }; }; then
5670 ac_cv_type_mode_t=yes
5672 echo "$as_me: failed program was:" >&5
5673 sed 's/^/| /' conftest.$ac_ext >&5
5675 ac_cv_type_mode_t=no
5677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5679 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5680 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
5681 if test $ac_cv_type_mode_t = yes; then
5685 cat >>confdefs.h <<_ACEOF
5691 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5692 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5693 if test "${ac_cv_type_signal+set}" = set; then
5694 echo $ECHO_N "(cached) $ECHO_C" >&6
5696 cat >conftest.$ac_ext <<_ACEOF
5699 cat confdefs.h >>conftest.$ac_ext
5700 cat >>conftest.$ac_ext <<_ACEOF
5701 /* end confdefs.h. */
5702 #include <sys/types.h>
5708 extern "C" void (*signal (int, void (*)(int)))(int);
5710 void (*signal ()) ();
5721 rm -f conftest.$ac_objext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723 (eval $ac_compile) 2>conftest.er1
5725 grep -v '^ *+' conftest.er1 >conftest.err
5727 cat conftest.err >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } &&
5730 { ac_try='test -z "$ac_c_werror_flag"
5731 || test ! -s conftest.err'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; } &&
5737 { ac_try='test -s conftest.$ac_objext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 ac_cv_type_signal=void
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.$ac_ext >&5
5748 ac_cv_type_signal=int
5750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5752 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5753 echo "${ECHO_T}$ac_cv_type_signal" >&6
5755 cat >>confdefs.h <<_ACEOF
5756 #define RETSIGTYPE $ac_cv_type_signal
5760 echo "$as_me:$LINENO: checking for size_t" >&5
5761 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5762 if test "${ac_cv_type_size_t+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 cat >conftest.$ac_ext <<_ACEOF
5768 cat confdefs.h >>conftest.$ac_ext
5769 cat >>conftest.$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5771 $ac_includes_default
5777 if (sizeof (size_t))
5783 rm -f conftest.$ac_objext
5784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785 (eval $ac_compile) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1 >conftest.err
5789 cat conftest.err >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 { ac_try='test -z "$ac_c_werror_flag"
5793 || test ! -s conftest.err'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; } &&
5799 { ac_try='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; }; then
5805 ac_cv_type_size_t=yes
5807 echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.$ac_ext >&5
5810 ac_cv_type_size_t=no
5812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5815 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5816 if test $ac_cv_type_size_t = yes; then
5820 cat >>confdefs.h <<_ACEOF
5821 #define size_t unsigned
5826 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5827 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5828 if test "${ac_cv_type_uid_t+set}" = set; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 cat >conftest.$ac_ext <<_ACEOF
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5837 #include <sys/types.h>
5840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5841 $EGREP "uid_t" >/dev/null 2>&1; then
5842 ac_cv_type_uid_t=yes
5849 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5850 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5851 if test $ac_cv_type_uid_t = no; then
5853 cat >>confdefs.h <<\_ACEOF
5858 cat >>confdefs.h <<\_ACEOF
5867 echo "$as_me:$LINENO: checking for socklen_t" >&5
5868 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
5869 if test "${ac_cv_type_socklen_t+set}" = set; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5879 #include <sys/types.h>
5880 #include <sys/socket.h>
5886 if ((socklen_t *) 0)
5888 if (sizeof (socklen_t))
5894 rm -f conftest.$ac_objext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5896 (eval $ac_compile) 2>conftest.er1
5898 grep -v '^ *+' conftest.er1 >conftest.err
5900 cat conftest.err >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); } &&
5903 { ac_try='test -z "$ac_c_werror_flag"
5904 || test ! -s conftest.err'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; } &&
5910 { ac_try='test -s conftest.$ac_objext'
5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; }; then
5916 ac_cv_type_socklen_t=yes
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5921 ac_cv_type_socklen_t=no
5923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5925 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
5926 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
5927 if test $ac_cv_type_socklen_t = yes; then
5931 cat >>confdefs.h <<\_ACEOF
5932 #define socklen_t int
5940 echo "$as_me:$LINENO: checking for struct dirent.d_ino" >&5
5941 echo $ECHO_N "checking for struct dirent.d_ino... $ECHO_C" >&6
5942 if test "${ac_cv_member_struct_dirent_d_ino+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 cat >conftest.$ac_ext <<_ACEOF
5948 cat confdefs.h >>conftest.$ac_ext
5949 cat >>conftest.$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5951 #ifdef HAVE_DIRENT_H
5952 # include <dirent.h>
5957 # include <sys/dir.h>
5959 # define dirent direct
5965 static struct dirent ac_aggr;
5972 rm -f conftest.$ac_objext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5974 (eval $ac_compile) 2>conftest.er1
5976 grep -v '^ *+' conftest.er1 >conftest.err
5978 cat conftest.err >&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); } &&
5981 { ac_try='test -z "$ac_c_werror_flag"
5982 || test ! -s conftest.err'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; } &&
5988 { ac_try='test -s conftest.$ac_objext'
5989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); }; }; then
5994 ac_cv_member_struct_dirent_d_ino=yes
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.$ac_ext >&5
5999 cat >conftest.$ac_ext <<_ACEOF
6002 cat confdefs.h >>conftest.$ac_ext
6003 cat >>conftest.$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6005 #ifdef HAVE_DIRENT_H
6006 # include <dirent.h>
6011 # include <sys/dir.h>
6013 # define dirent direct
6019 static struct dirent ac_aggr;
6020 if (sizeof ac_aggr.d_ino)
6026 rm -f conftest.$ac_objext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6028 (eval $ac_compile) 2>conftest.er1
6030 grep -v '^ *+' conftest.er1 >conftest.err
6032 cat conftest.err >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try='test -z "$ac_c_werror_flag"
6036 || test ! -s conftest.err'
6037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); }; } &&
6042 { ac_try='test -s conftest.$ac_objext'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; }; then
6048 ac_cv_member_struct_dirent_d_ino=yes
6050 echo "$as_me: failed program was:" >&5
6051 sed 's/^/| /' conftest.$ac_ext >&5
6053 ac_cv_member_struct_dirent_d_ino=no
6055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6059 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_ino" >&5
6060 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_ino" >&6
6061 if test $ac_cv_member_struct_dirent_d_ino = yes; then
6063 cat >>confdefs.h <<_ACEOF
6064 #define HAVE_STRUCT_DIRENT_D_INO 1
6070 echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
6071 echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6
6072 if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 cat >conftest.$ac_ext <<_ACEOF
6078 cat confdefs.h >>conftest.$ac_ext
6079 cat >>conftest.$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6084 #elif defined HAVE_UTMP_H
6091 static struct utmp ac_aggr;
6092 if (ac_aggr.ut_host)
6098 rm -f conftest.$ac_objext
6099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6100 (eval $ac_compile) 2>conftest.er1
6102 grep -v '^ *+' conftest.er1 >conftest.err
6104 cat conftest.err >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } &&
6107 { ac_try='test -z "$ac_c_werror_flag"
6108 || test ! -s conftest.err'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; } &&
6114 { ac_try='test -s conftest.$ac_objext'
6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); }; }; then
6120 ac_cv_member_struct_utmp_ut_host=yes
6122 echo "$as_me: failed program was:" >&5
6123 sed 's/^/| /' conftest.$ac_ext >&5
6125 cat >conftest.$ac_ext <<_ACEOF
6128 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6134 #elif defined HAVE_UTMP_H
6141 static struct utmp ac_aggr;
6142 if (sizeof ac_aggr.ut_host)
6148 rm -f conftest.$ac_objext
6149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150 (eval $ac_compile) 2>conftest.er1
6152 grep -v '^ *+' conftest.er1 >conftest.err
6154 cat conftest.err >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); } &&
6157 { ac_try='test -z "$ac_c_werror_flag"
6158 || test ! -s conftest.err'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; } &&
6164 { ac_try='test -s conftest.$ac_objext'
6165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); }; }; then
6170 ac_cv_member_struct_utmp_ut_host=yes
6172 echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.$ac_ext >&5
6175 ac_cv_member_struct_utmp_ut_host=no
6177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6181 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
6182 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6
6183 if test $ac_cv_member_struct_utmp_ut_host = yes; then
6185 cat >>confdefs.h <<_ACEOF
6186 #define HAVE_STRUCT_UTMP_UT_HOST 1
6191 echo "$as_me:$LINENO: checking for struct utmp.ut_user" >&5
6192 echo $ECHO_N "checking for struct utmp.ut_user... $ECHO_C" >&6
6193 if test "${ac_cv_member_struct_utmp_ut_user+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 cat >conftest.$ac_ext <<_ACEOF
6199 cat confdefs.h >>conftest.$ac_ext
6200 cat >>conftest.$ac_ext <<_ACEOF
6201 /* end confdefs.h. */
6205 #elif defined HAVE_UTMP_H
6212 static struct utmp ac_aggr;
6213 if (ac_aggr.ut_user)
6219 rm -f conftest.$ac_objext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221 (eval $ac_compile) 2>conftest.er1
6223 grep -v '^ *+' conftest.er1 >conftest.err
6225 cat conftest.err >&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try='test -z "$ac_c_werror_flag"
6229 || test ! -s conftest.err'
6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }; } &&
6235 { ac_try='test -s conftest.$ac_objext'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 ac_cv_member_struct_utmp_ut_user=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.$ac_ext >&5
6246 cat >conftest.$ac_ext <<_ACEOF
6249 cat confdefs.h >>conftest.$ac_ext
6250 cat >>conftest.$ac_ext <<_ACEOF
6251 /* end confdefs.h. */
6255 #elif defined HAVE_UTMP_H
6262 static struct utmp ac_aggr;
6263 if (sizeof ac_aggr.ut_user)
6269 rm -f conftest.$ac_objext
6270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6271 (eval $ac_compile) 2>conftest.er1
6273 grep -v '^ *+' conftest.er1 >conftest.err
6275 cat conftest.err >&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try='test -z "$ac_c_werror_flag"
6279 || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try='test -s conftest.$ac_objext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_member_struct_utmp_ut_user=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6296 ac_cv_member_struct_utmp_ut_user=no
6298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6302 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_user" >&5
6303 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_user" >&6
6304 if test $ac_cv_member_struct_utmp_ut_user = yes; then
6306 cat >>confdefs.h <<_ACEOF
6307 #define HAVE_STRUCT_UTMP_UT_USER 1
6312 echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
6313 echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6
6314 if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
6315 echo $ECHO_N "(cached) $ECHO_C" >&6
6317 cat >conftest.$ac_ext <<_ACEOF
6320 cat confdefs.h >>conftest.$ac_ext
6321 cat >>conftest.$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6326 #elif defined HAVE_UTMP_H
6333 static struct utmp ac_aggr;
6340 rm -f conftest.$ac_objext
6341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6342 (eval $ac_compile) 2>conftest.er1
6344 grep -v '^ *+' conftest.er1 >conftest.err
6346 cat conftest.err >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } &&
6349 { ac_try='test -z "$ac_c_werror_flag"
6350 || test ! -s conftest.err'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; } &&
6356 { ac_try='test -s conftest.$ac_objext'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6362 ac_cv_member_struct_utmp_ut_tv=yes
6364 echo "$as_me: failed program was:" >&5
6365 sed 's/^/| /' conftest.$ac_ext >&5
6367 cat >conftest.$ac_ext <<_ACEOF
6370 cat confdefs.h >>conftest.$ac_ext
6371 cat >>conftest.$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6376 #elif defined HAVE_UTMP_H
6383 static struct utmp ac_aggr;
6384 if (sizeof ac_aggr.ut_tv)
6390 rm -f conftest.$ac_objext
6391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6392 (eval $ac_compile) 2>conftest.er1
6394 grep -v '^ *+' conftest.er1 >conftest.err
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } &&
6399 { ac_try='test -z "$ac_c_werror_flag"
6400 || test ! -s conftest.err'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; } &&
6406 { ac_try='test -s conftest.$ac_objext'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }; then
6412 ac_cv_member_struct_utmp_ut_tv=yes
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.$ac_ext >&5
6417 ac_cv_member_struct_utmp_ut_tv=no
6419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6423 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
6424 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6
6425 if test $ac_cv_member_struct_utmp_ut_tv = yes; then
6427 cat >>confdefs.h <<_ACEOF
6428 #define HAVE_STRUCT_UTMP_UT_TV 1
6433 echo "$as_me:$LINENO: checking for struct utmp.ut_xtime" >&5
6434 echo $ECHO_N "checking for struct utmp.ut_xtime... $ECHO_C" >&6
6435 if test "${ac_cv_member_struct_utmp_ut_xtime+set}" = set; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 cat >conftest.$ac_ext <<_ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6447 #elif defined HAVE_UTMP_H
6454 static struct utmp ac_aggr;
6455 if (ac_aggr.ut_xtime)
6461 rm -f conftest.$ac_objext
6462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463 (eval $ac_compile) 2>conftest.er1
6465 grep -v '^ *+' conftest.er1 >conftest.err
6467 cat conftest.err >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); } &&
6470 { ac_try='test -z "$ac_c_werror_flag"
6471 || test ! -s conftest.err'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; } &&
6477 { ac_try='test -s conftest.$ac_objext'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; }; then
6483 ac_cv_member_struct_utmp_ut_xtime=yes
6485 echo "$as_me: failed program was:" >&5
6486 sed 's/^/| /' conftest.$ac_ext >&5
6488 cat >conftest.$ac_ext <<_ACEOF
6491 cat confdefs.h >>conftest.$ac_ext
6492 cat >>conftest.$ac_ext <<_ACEOF
6493 /* end confdefs.h. */
6497 #elif defined HAVE_UTMP_H
6504 static struct utmp ac_aggr;
6505 if (sizeof ac_aggr.ut_xtime)
6511 rm -f conftest.$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513 (eval $ac_compile) 2>conftest.er1
6515 grep -v '^ *+' conftest.er1 >conftest.err
6517 cat conftest.err >&5
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } &&
6520 { ac_try='test -z "$ac_c_werror_flag"
6521 || test ! -s conftest.err'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; } &&
6527 { ac_try='test -s conftest.$ac_objext'
6528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); }; }; then
6533 ac_cv_member_struct_utmp_ut_xtime=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_member_struct_utmp_ut_xtime=no
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6544 echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_xtime" >&5
6545 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_xtime" >&6
6546 if test $ac_cv_member_struct_utmp_ut_xtime = yes; then
6548 cat >>confdefs.h <<_ACEOF
6549 #define HAVE_STRUCT_UTMP_UT_XTIME 1
6555 echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
6556 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6
6557 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 cat >conftest.$ac_ext <<_ACEOF
6563 cat confdefs.h >>conftest.$ac_ext
6564 cat >>conftest.$ac_ext <<_ACEOF
6565 /* end confdefs.h. */
6566 #include <sys/types.h>
6567 #include <sys/socket.h>
6572 static struct sockaddr_storage ac_aggr;
6573 if (ac_aggr.ss_family)
6579 rm -f conftest.$ac_objext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6581 (eval $ac_compile) 2>conftest.er1
6583 grep -v '^ *+' conftest.er1 >conftest.err
6585 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } &&
6588 { ac_try='test -z "$ac_c_werror_flag"
6589 || test ! -s conftest.err'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; } &&
6595 { ac_try='test -s conftest.$ac_objext'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; }; then
6601 ac_cv_member_struct_sockaddr_storage_ss_family=yes
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.$ac_ext >&5
6606 cat >conftest.$ac_ext <<_ACEOF
6609 cat confdefs.h >>conftest.$ac_ext
6610 cat >>conftest.$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6612 #include <sys/types.h>
6613 #include <sys/socket.h>
6618 static struct sockaddr_storage ac_aggr;
6619 if (sizeof ac_aggr.ss_family)
6625 rm -f conftest.$ac_objext
6626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6627 (eval $ac_compile) 2>conftest.er1
6629 grep -v '^ *+' conftest.er1 >conftest.err
6631 cat conftest.err >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } &&
6634 { ac_try='test -z "$ac_c_werror_flag"
6635 || test ! -s conftest.err'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; } &&
6641 { ac_try='test -s conftest.$ac_objext'
6642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); }; }; then
6647 ac_cv_member_struct_sockaddr_storage_ss_family=yes
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.$ac_ext >&5
6652 ac_cv_member_struct_sockaddr_storage_ss_family=no
6654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6658 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
6659 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6
6660 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
6662 cat >>confdefs.h <<_ACEOF
6663 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
6670 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6671 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6672 if test "${ac_cv_c_const+set}" = set; then
6673 echo $ECHO_N "(cached) $ECHO_C" >&6
6675 cat >conftest.$ac_ext <<_ACEOF
6678 cat confdefs.h >>conftest.$ac_ext
6679 cat >>conftest.$ac_ext <<_ACEOF
6680 /* end confdefs.h. */
6685 /* FIXME: Include the comments suggested by Paul. */
6687 /* Ultrix mips cc rejects this. */
6688 typedef int charset[2];
6690 /* SunOS 4.1.1 cc rejects this. */
6691 char const *const *ccp;
6693 /* NEC SVR4.0.2 mips cc rejects this. */
6694 struct point {int x, y;};
6695 static struct point const zero = {0,0};
6696 /* AIX XL C 1.02.0.0 rejects this.
6697 It does not let you subtract one const X* pointer from another in
6698 an arm of an if-expression whose if-part is not a constant
6700 const char *g = "string";
6701 ccp = &g + (g ? g-g : 0);
6702 /* HPUX 7.0 cc rejects these. */
6705 ccp = (char const *const *) p;
6706 { /* SCO 3.2v4 cc rejects this. */
6708 char const *s = 0 ? (char *) 0 : (char const *) 0;
6712 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6714 const int *foo = &x[0];
6717 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6718 typedef const int *iptr;
6722 { /* AIX XL C 1.02.0.0 rejects this saying
6723 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6724 struct s { int j; const int *ap[3]; };
6725 struct s *b; b->j = 5;
6727 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6736 rm -f conftest.$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738 (eval $ac_compile) 2>conftest.er1
6740 grep -v '^ *+' conftest.er1 >conftest.err
6742 cat conftest.err >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try='test -z "$ac_c_werror_flag"
6746 || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6768 echo "${ECHO_T}$ac_cv_c_const" >&6
6769 if test $ac_cv_c_const = no; then
6771 cat >>confdefs.h <<\_ACEOF
6777 echo "$as_me:$LINENO: checking for function prototypes" >&5
6778 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
6779 if test "$ac_cv_prog_cc_stdc" != no; then
6780 echo "$as_me:$LINENO: result: yes" >&5
6781 echo "${ECHO_T}yes" >&6
6783 cat >>confdefs.h <<\_ACEOF
6784 #define PROTOTYPES 1
6788 cat >>confdefs.h <<\_ACEOF
6789 #define __PROTOTYPES 1
6793 echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for working volatile" >&5
6798 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
6799 if test "${ac_cv_c_volatile+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 cat >conftest.$ac_ext <<_ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>conftest.er1
6823 grep -v '^ *+' conftest.er1 >conftest.err
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_c_werror_flag"
6829 || test ! -s conftest.err'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; } &&
6835 { ac_try='test -s conftest.$ac_objext'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; }; then
6841 ac_cv_c_volatile=yes
6843 echo "$as_me: failed program was:" >&5
6844 sed 's/^/| /' conftest.$ac_ext >&5
6848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6850 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
6851 echo "${ECHO_T}$ac_cv_c_volatile" >&6
6852 if test $ac_cv_c_volatile = no; then
6854 cat >>confdefs.h <<\_ACEOF
6861 echo "$as_me:$LINENO: checking whether gethostname is declared" >&5
6862 echo $ECHO_N "checking whether gethostname is declared... $ECHO_C" >&6
6863 if test "${ac_cv_have_decl_gethostname+set}" = set; then
6864 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 cat >conftest.$ac_ext <<_ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6872 $ac_includes_default
6877 char *p = (char *) gethostname;
6884 rm -f conftest.$ac_objext
6885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6886 (eval $ac_compile) 2>conftest.er1
6888 grep -v '^ *+' conftest.er1 >conftest.err
6890 cat conftest.err >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } &&
6893 { ac_try='test -z "$ac_c_werror_flag"
6894 || test ! -s conftest.err'
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); }; } &&
6900 { ac_try='test -s conftest.$ac_objext'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; }; then
6906 ac_cv_have_decl_gethostname=yes
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ac_cv_have_decl_gethostname=no
6913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6915 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gethostname" >&5
6916 echo "${ECHO_T}$ac_cv_have_decl_gethostname" >&6
6917 if test $ac_cv_have_decl_gethostname = yes; then
6919 cat >>confdefs.h <<_ACEOF
6920 #define HAVE_DECL_GETHOSTNAME 1
6925 cat >>confdefs.h <<_ACEOF
6926 #define HAVE_DECL_GETHOSTNAME 0
6949 for ac_func in dup2 getcwd gethostname getpwent getutent memmove memset nice nl_langinfo sbrk setpgid setpriority strerror strstr sysconf wcwidth
6951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6952 echo "$as_me:$LINENO: checking for $ac_func" >&5
6953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6954 if eval "test \"\${$as_ac_var+set}\" = set"; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6957 cat >conftest.$ac_ext <<_ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6965 #define $ac_func innocuous_$ac_func
6967 /* System header to define __stub macros and hopefully few prototypes,
6968 which can conflict with char $ac_func (); below.
6969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6970 <limits.h> exists even on freestanding compilers. */
6973 # include <limits.h>
6975 # include <assert.h>
6980 /* Override any gcc2 internal prototype to avoid an error. */
6985 /* We use char because int might match the return type of a gcc2
6986 builtin and then its argument prototype would still apply. */
6988 /* The GNU C library defines this for functions which it implements
6989 to always fail with ENOSYS. Some functions are actually named
6990 something starting with __ and the normal name is an alias. */
6991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6994 char (*f) () = $ac_func;
7003 return f != $ac_func;
7008 rm -f conftest.$ac_objext conftest$ac_exeext
7009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7010 (eval $ac_link) 2>conftest.er1
7012 grep -v '^ *+' conftest.er1 >conftest.err
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try='test -z "$ac_c_werror_flag"
7018 || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try='test -s conftest$ac_exeext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7030 eval "$as_ac_var=yes"
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 eval "$as_ac_var=no"
7037 rm -f conftest.err conftest.$ac_objext \
7038 conftest$ac_exeext conftest.$ac_ext
7040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7042 if test `eval echo '${'$as_ac_var'}'` = yes; then
7043 cat >>confdefs.h <<_ACEOF
7044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7050 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
7051 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
7052 if test "${ac_cv_func_getpgrp_void+set}" = set; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 # Use it with a single arg.
7056 cat >conftest.$ac_ext <<_ACEOF
7059 cat confdefs.h >>conftest.$ac_ext
7060 cat >>conftest.$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7062 $ac_includes_default
7071 rm -f conftest.$ac_objext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073 (eval $ac_compile) 2>conftest.er1
7075 grep -v '^ *+' conftest.er1 >conftest.err
7077 cat conftest.err >&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try='test -z "$ac_c_werror_flag"
7081 || test ! -s conftest.err'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; } &&
7087 { ac_try='test -s conftest.$ac_objext'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; }; then
7093 ac_cv_func_getpgrp_void=no
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7098 ac_cv_func_getpgrp_void=yes
7100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7103 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
7104 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
7105 if test $ac_cv_func_getpgrp_void = yes; then
7107 cat >>confdefs.h <<\_ACEOF
7108 #define GETPGRP_VOID 1
7113 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
7114 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
7115 if test "${ac_cv_func_setpgrp_void+set}" = set; then
7116 echo $ECHO_N "(cached) $ECHO_C" >&6
7118 if test "$cross_compiling" = yes; then
7119 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
7120 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
7121 { (exit 1); exit 1; }; }
7123 cat >conftest.$ac_ext <<_ACEOF
7126 cat confdefs.h >>conftest.$ac_ext
7127 cat >>conftest.$ac_ext <<_ACEOF
7128 /* end confdefs.h. */
7130 # include <unistd.h>
7136 /* If this system has a BSD-style setpgrp which takes arguments,
7137 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
7138 exit successfully. */
7139 exit (setpgrp (1,1) == -1 ? 0 : 1);
7144 rm -f conftest$ac_exeext
7145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7146 (eval $ac_link) 2>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_cv_func_setpgrp_void=no
7157 echo "$as_me: program exited with status $ac_status" >&5
7158 echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_cv_func_setpgrp_void=yes
7164 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7167 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
7168 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
7169 if test $ac_cv_func_setpgrp_void = yes; then
7171 cat >>confdefs.h <<\_ACEOF
7172 #define SETPGRP_VOID 1
7182 # Check whether --with-hesiod or --without-hesiod was given.
7183 if test "${with_hesiod+set}" = set; then
7184 withval="$with_hesiod"
7189 if test "$hesiod" != no; then
7191 echo "$as_me:$LINENO: checking for res_send" >&5
7192 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
7193 if test "${ac_cv_func_res_send+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 cat >conftest.$ac_ext <<_ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
7203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7204 #define res_send innocuous_res_send
7206 /* System header to define __stub macros and hopefully few prototypes,
7207 which can conflict with char res_send (); below.
7208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7209 <limits.h> exists even on freestanding compilers. */
7212 # include <limits.h>
7214 # include <assert.h>
7219 /* Override any gcc2 internal prototype to avoid an error. */
7224 /* We use char because int might match the return type of a gcc2
7225 builtin and then its argument prototype would still apply. */
7227 /* The GNU C library defines this for functions which it implements
7228 to always fail with ENOSYS. Some functions are actually named
7229 something starting with __ and the normal name is an alias. */
7230 #if defined (__stub_res_send) || defined (__stub___res_send)
7233 char (*f) () = res_send;
7242 return f != res_send;
7247 rm -f conftest.$ac_objext conftest$ac_exeext
7248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7249 (eval $ac_link) 2>conftest.er1
7251 grep -v '^ *+' conftest.er1 >conftest.err
7253 cat conftest.err >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } &&
7256 { ac_try='test -z "$ac_c_werror_flag"
7257 || test ! -s conftest.err'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; } &&
7263 { ac_try='test -s conftest$ac_exeext'
7264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); }; }; then
7269 ac_cv_func_res_send=yes
7271 echo "$as_me: failed program was:" >&5
7272 sed 's/^/| /' conftest.$ac_ext >&5
7274 ac_cv_func_res_send=no
7276 rm -f conftest.err conftest.$ac_objext \
7277 conftest$ac_exeext conftest.$ac_ext
7279 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
7280 echo "${ECHO_T}$ac_cv_func_res_send" >&6
7281 if test $ac_cv_func_res_send = yes; then
7284 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
7285 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
7286 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 ac_check_lib_save_LIBS=$LIBS
7290 LIBS="-lresolv $LIBS"
7291 cat >conftest.$ac_ext <<_ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7298 /* Override any gcc2 internal prototype to avoid an error. */
7302 /* We use char because int might match the return type of a gcc2
7303 builtin and then its argument prototype would still apply. */
7313 rm -f conftest.$ac_objext conftest$ac_exeext
7314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7315 (eval $ac_link) 2>conftest.er1
7317 grep -v '^ *+' conftest.er1 >conftest.err
7319 cat conftest.err >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); } &&
7322 { ac_try='test -z "$ac_c_werror_flag"
7323 || test ! -s conftest.err'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; } &&
7329 { ac_try='test -s conftest$ac_exeext'
7330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); }; }; then
7335 ac_cv_lib_resolv_res_send=yes
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 ac_cv_lib_resolv_res_send=no
7342 rm -f conftest.err conftest.$ac_objext \
7343 conftest$ac_exeext conftest.$ac_ext
7344 LIBS=$ac_check_lib_save_LIBS
7346 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
7347 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
7348 if test $ac_cv_lib_resolv_res_send = yes; then
7349 HESLIB="$HESLIB -lresolv"
7355 if test "$hesiod" != yes; then
7356 HESDEF="$HESDEF -I$hesiod/include"
7357 HESLIB="-L$hesiod/lib $HESLIB"
7363 ac_config_files="$ac_config_files Makefile"
7365 cat >confcache <<\_ACEOF
7366 # This file is a shell script that caches the results of configure
7367 # tests run on this system so they can be shared between configure
7368 # scripts and configure runs, see configure's option --config-cache.
7369 # It is not useful on other systems. If it contains results you don't
7370 # want to keep, you may remove or edit it.
7372 # config.status only pays attention to the cache file if you give it
7373 # the --recheck option to rerun configure.
7375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7381 # The following way of writing the cache mishandles newlines in values,
7382 # but we know of no workaround that is simple, portable, and efficient.
7383 # So, don't put newlines in cache variables' values.
7384 # Ultrix sh set writes to stderr and can't be redirected directly,
7385 # and sets the high bit in the cache file unless we assign to the vars.
7388 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7390 # `set' does not quote correctly, so add quotes (double-quote
7391 # substitution turns \\\\ into \\, and sed turns \\ into \).
7394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7397 # `set' quotes correctly as required by POSIX, so do not add quotes.
7399 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7408 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7410 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7411 if test -w $cache_file; then
7412 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7413 cat confcache >$cache_file
7415 echo "not updating unwritable cache $cache_file"
7420 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7421 # Let make expand exec_prefix.
7422 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7426 # trailing colons and then remove the whole line if VPATH becomes empty
7427 # (actually we leave an empty line to preserve line numbers).
7428 if test "x$srcdir" = x.; then
7429 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7430 s/:*\$(srcdir):*/:/;
7431 s/:*\${srcdir}:*/:/;
7433 s/^\([^=]*=[ ]*\):*/\1/;
7439 DEFS=-DHAVE_CONFIG_H
7443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7444 # 1. Remove the extension, and $U if already installed.
7445 ac_i=`echo "$ac_i" |
7446 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7448 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7449 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7453 LTLIBOBJS=$ac_ltlibobjs
7457 : ${CONFIG_STATUS=./config.status}
7458 ac_clean_files_save=$ac_clean_files
7459 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7460 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7461 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7462 cat >$CONFIG_STATUS <<_ACEOF
7464 # Generated by $as_me.
7465 # Run this file to recreate the current configuration.
7466 # Compiler output produced by configure, useful for debugging
7467 # configure, is in config.log if it exists.
7472 SHELL=\${CONFIG_SHELL-$SHELL}
7475 cat >>$CONFIG_STATUS <<\_ACEOF
7476 ## --------------------- ##
7477 ## M4sh Initialization. ##
7478 ## --------------------- ##
7480 # Be Bourne compatible
7481 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7484 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7485 # is contrary to our usage. Disable this feature.
7486 alias -g '${1+"$@"}'='"$@"'
7487 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7490 DUALCASE=1; export DUALCASE # for MKS sh
7492 # Support unset when possible.
7493 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7500 # Work around bugs in pre-3.0 UWIN ksh.
7501 $as_unset ENV MAIL MAILPATH
7508 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7509 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7510 LC_TELEPHONE LC_TIME
7512 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7513 eval $as_var=C; export $as_var
7519 # Required to use basename.
7520 if expr a : '\(a\)' >/dev/null 2>&1; then
7526 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7527 as_basename=basename
7533 # Name of the executable.
7534 as_me=`$as_basename "$0" ||
7535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7536 X"$0" : 'X\(//\)$' \| \
7537 X"$0" : 'X\(/\)$' \| \
7538 . : '\(.\)' 2>/dev/null ||
7540 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7541 /^X\/\(\/\/\)$/{ s//\1/; q; }
7542 /^X\/\(\/\).*/{ s//\1/; q; }
7546 # PATH needs CR, and LINENO needs CR and PATH.
7547 # Avoid depending upon Character Ranges.
7548 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7549 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7550 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7551 as_cr_digits='0123456789'
7552 as_cr_alnum=$as_cr_Letters$as_cr_digits
7554 # The user is always right.
7555 if test "${PATH_SEPARATOR+set}" != set; then
7556 echo "#! /bin/sh" >conf$$.sh
7557 echo "exit 0" >>conf$$.sh
7559 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7570 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7571 test "x$as_lineno_1" != "x$as_lineno_2" &&
7572 test "x$as_lineno_3" = "x$as_lineno_2" || {
7573 # Find who we are. Look in the path if we contain no path at all
7576 *[\\/]* ) as_myself=$0 ;;
7577 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir=.
7582 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7587 # We did not find ourselves, most probably we were run as `sh COMMAND'
7588 # in which case we are not to be found in the path.
7589 if test "x$as_myself" = x; then
7592 if test ! -f "$as_myself"; then
7593 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7594 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7595 { (exit 1); exit 1; }; }
7597 case $CONFIG_SHELL in
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7603 test -z "$as_dir" && as_dir=.
7604 for as_base in sh bash ksh sh5; do
7607 if ("$as_dir/$as_base" -c '
7610 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7611 test "x$as_lineno_1" != "x$as_lineno_2" &&
7612 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7613 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7614 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7615 CONFIG_SHELL=$as_dir/$as_base
7617 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7625 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7626 # uniformly replaced by the line number. The first 'sed' inserts a
7627 # line-number line before each line; the second 'sed' does the real
7628 # work. The second script uses 'N' to pair each line-number line
7629 # with the numbered line, and appends trailing '-' during
7630 # substitution so that $LINENO is not a special case at line end.
7631 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7632 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7633 sed '=' <$as_myself |
7638 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7641 s,^['$as_cr_digits']*\n,,
7643 chmod +x $as_me.lineno ||
7644 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7645 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7646 { (exit 1); exit 1; }; }
7648 # Don't try to exec as it changes $[0], causing all sort of problems
7649 # (the dirname of $[0] is not the place where we might find the
7650 # original and so on. Autoconf is especially sensible to this).
7652 # Exit status is that of the last command.
7657 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7658 *c*,-n*) ECHO_N= ECHO_C='
7660 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7661 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7664 if expr a : '\(a\)' >/dev/null 2>&1; then
7670 rm -f conf$$ conf$$.exe conf$$.file
7672 if ln -s conf$$.file conf$$ 2>/dev/null; then
7673 # We could just check for DJGPP; but this test a) works b) is more generic
7674 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7675 if test -f conf$$.exe; then
7676 # Don't use ln at all; we don't have any links
7681 elif ln conf$$.file conf$$ 2>/dev/null; then
7686 rm -f conf$$ conf$$.exe conf$$.file
7688 if mkdir -p . 2>/dev/null; then
7691 test -d ./-p && rmdir ./-p
7695 as_executable_p="test -f"
7697 # Sed expression to map a string onto a valid CPP name.
7698 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7700 # Sed expression to map a string onto a valid variable name.
7701 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7705 # We need space, tab and new line, in precisely that order.
7715 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7716 # report actual input values of CONFIG_FILES etc. instead of their
7717 # values after options handling. Logging --version etc. is OK.
7721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7722 ## Running $as_me. ##
7727 This file was extended by $as_me, which was
7728 generated by GNU Autoconf 2.59. Invocation command line was
7730 CONFIG_FILES = $CONFIG_FILES
7731 CONFIG_HEADERS = $CONFIG_HEADERS
7732 CONFIG_LINKS = $CONFIG_LINKS
7733 CONFIG_COMMANDS = $CONFIG_COMMANDS
7737 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7741 # Files that config.status was made for.
7742 if test -n "$ac_config_files"; then
7743 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7746 if test -n "$ac_config_headers"; then
7747 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7750 if test -n "$ac_config_links"; then
7751 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7754 if test -n "$ac_config_commands"; then
7755 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7758 cat >>$CONFIG_STATUS <<\_ACEOF
7761 \`$as_me' instantiates files from templates according to the
7762 current configuration.
7764 Usage: $0 [OPTIONS] [FILE]...
7766 -h, --help print this help, then exit
7767 -V, --version print version number, then exit
7768 -q, --quiet do not print progress messages
7769 -d, --debug don't remove temporary files
7770 --recheck update $as_me by reconfiguring in the same conditions
7771 --file=FILE[:TEMPLATE]
7772 instantiate the configuration file FILE
7773 --header=FILE[:TEMPLATE]
7774 instantiate the configuration header FILE
7776 Configuration files:
7779 Configuration headers:
7782 Report bugs to <bug-autoconf@gnu.org>."
7785 cat >>$CONFIG_STATUS <<_ACEOF
7788 configured by $0, generated by GNU Autoconf 2.59,
7789 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7791 Copyright (C) 2003 Free Software Foundation, Inc.
7792 This config.status script is free software; the Free Software Foundation
7793 gives unlimited permission to copy, distribute and modify it."
7797 cat >>$CONFIG_STATUS <<\_ACEOF
7798 # If no file are specified by the user, then we need to provide default
7799 # value. By we need to know if files were specified by the user.
7805 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7806 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7814 *) # This is not an option, so the user has probably given explicit
7817 ac_need_defaults=false;;
7821 # Handling of the options.
7823 cat >>$CONFIG_STATUS <<\_ACEOF
7824 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7826 --version | --vers* | -V )
7827 echo "$ac_cs_version"; exit 0 ;;
7829 # Conflict between --help and --header
7830 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7831 Try \`$0 --help' for more information." >&5
7832 echo "$as_me: error: ambiguous option: $1
7833 Try \`$0 --help' for more information." >&2;}
7834 { (exit 1); exit 1; }; };;
7835 --help | --hel | -h )
7836 echo "$ac_cs_usage"; exit 0 ;;
7837 --debug | --d* | -d )
7839 --file | --fil | --fi | --f )
7841 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7842 ac_need_defaults=false;;
7843 --header | --heade | --head | --hea )
7845 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7846 ac_need_defaults=false;;
7847 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7848 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7852 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7853 Try \`$0 --help' for more information." >&5
7854 echo "$as_me: error: unrecognized option: $1
7855 Try \`$0 --help' for more information." >&2;}
7856 { (exit 1); exit 1; }; } ;;
7858 *) ac_config_targets="$ac_config_targets $1" ;;
7864 ac_configure_extra_args=
7866 if $ac_cs_silent; then
7868 ac_configure_extra_args="$ac_configure_extra_args --silent"
7872 cat >>$CONFIG_STATUS <<_ACEOF
7873 if \$ac_cs_recheck; then
7874 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7875 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7884 cat >>$CONFIG_STATUS <<\_ACEOF
7885 for ac_config_target in $ac_config_targets
7887 case "$ac_config_target" in
7888 # Handling of arguments.
7889 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7890 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7891 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7892 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7893 { (exit 1); exit 1; }; };;
7897 # If the user did not use the arguments to specify the items to instantiate,
7898 # then the envvar interface is used. Set only those that are not.
7899 # We use the long form for the default assignment because of an extremely
7900 # bizarre bug on SunOS 4.1.3.
7901 if $ac_need_defaults; then
7902 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7903 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7906 # Have a temporary directory for convenience. Make it in the build tree
7907 # simply because there is no reason to put it here, and in addition,
7908 # creating and moving files from /tmp can sometimes cause problems.
7909 # Create a temporary directory, and hook for its removal unless debugging.
7912 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7913 trap '{ (exit 1); exit 1; }' 1 2 13 15
7916 # Create a (secure) tmp directory for tmp files.
7919 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7920 test -n "$tmp" && test -d "$tmp"
7923 tmp=./confstat$$-$RANDOM
7924 (umask 077 && mkdir $tmp)
7927 echo "$me: cannot create a temporary directory in ." >&2
7928 { (exit 1); exit 1; }
7933 cat >>$CONFIG_STATUS <<_ACEOF
7936 # CONFIG_FILES section.
7939 # No need to generate the scripts if there are no CONFIG_FILES.
7940 # This happens for instance when ./config.status config.h
7941 if test -n "\$CONFIG_FILES"; then
7942 # Protect against being on the right side of a sed subst in config.status.
7943 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7944 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7945 s,@SHELL@,$SHELL,;t t
7946 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7947 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7948 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7949 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7950 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7951 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7952 s,@exec_prefix@,$exec_prefix,;t t
7953 s,@prefix@,$prefix,;t t
7954 s,@program_transform_name@,$program_transform_name,;t t
7955 s,@bindir@,$bindir,;t t
7956 s,@sbindir@,$sbindir,;t t
7957 s,@libexecdir@,$libexecdir,;t t
7958 s,@datadir@,$datadir,;t t
7959 s,@sysconfdir@,$sysconfdir,;t t
7960 s,@sharedstatedir@,$sharedstatedir,;t t
7961 s,@localstatedir@,$localstatedir,;t t
7962 s,@libdir@,$libdir,;t t
7963 s,@includedir@,$includedir,;t t
7964 s,@oldincludedir@,$oldincludedir,;t t
7965 s,@infodir@,$infodir,;t t
7966 s,@mandir@,$mandir,;t t
7967 s,@build_alias@,$build_alias,;t t
7968 s,@host_alias@,$host_alias,;t t
7969 s,@target_alias@,$target_alias,;t t
7971 s,@ECHO_C@,$ECHO_C,;t t
7972 s,@ECHO_N@,$ECHO_N,;t t
7973 s,@ECHO_T@,$ECHO_T,;t t
7975 s,@build@,$build,;t t
7976 s,@build_cpu@,$build_cpu,;t t
7977 s,@build_vendor@,$build_vendor,;t t
7978 s,@build_os@,$build_os,;t t
7980 s,@host_cpu@,$host_cpu,;t t
7981 s,@host_vendor@,$host_vendor,;t t
7982 s,@host_os@,$host_os,;t t
7984 s,@CFLAGS@,$CFLAGS,;t t
7985 s,@LDFLAGS@,$LDFLAGS,;t t
7986 s,@CPPFLAGS@,$CPPFLAGS,;t t
7987 s,@ac_ct_CC@,$ac_ct_CC,;t t
7988 s,@EXEEXT@,$EXEEXT,;t t
7989 s,@OBJEXT@,$OBJEXT,;t t
7991 s,@EGREP@,$EGREP,;t t
7992 s,@DFLAGS@,$DFLAGS,;t t
7993 s,@HESDEF@,$HESDEF,;t t
7994 s,@HESLIB@,$HESLIB,;t t
7995 s,@LIBOBJS@,$LIBOBJS,;t t
7996 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8001 cat >>$CONFIG_STATUS <<\_ACEOF
8002 # Split the substitutions into bite-sized pieces for seds with
8003 # small command number limits, like on Digital OSF/1 and HP-UX.
8005 ac_sed_frag=1 # Number of current file.
8006 ac_beg=1 # First line for current file.
8007 ac_end=$ac_max_sed_lines # Line after last line for current file.
8010 while $ac_more_lines; do
8011 if test $ac_beg -gt 1; then
8012 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8014 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8016 if test ! -s $tmp/subs.frag; then
8019 # The purpose of the label and of the branching condition is to
8020 # speed up the sed processing (if there are no `@' at all, there
8021 # is no need to browse any of the substitutions).
8022 # These are the two extra sed commands mentioned above.
8024 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8025 if test -z "$ac_sed_cmds"; then
8026 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8028 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8030 ac_sed_frag=`expr $ac_sed_frag + 1`
8032 ac_end=`expr $ac_end + $ac_max_sed_lines`
8035 if test -z "$ac_sed_cmds"; then
8038 fi # test -n "$CONFIG_FILES"
8041 cat >>$CONFIG_STATUS <<\_ACEOF
8042 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8043 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8045 - | *:- | *:-:* ) # input from stdin
8047 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8048 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8049 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8050 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8051 * ) ac_file_in=$ac_file.in ;;
8054 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8055 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8057 X"$ac_file" : 'X\(//\)[^/]' \| \
8058 X"$ac_file" : 'X\(//\)$' \| \
8059 X"$ac_file" : 'X\(/\)' \| \
8060 . : '\(.\)' 2>/dev/null ||
8062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8064 /^X\(\/\/\)$/{ s//\1/; q; }
8065 /^X\(\/\).*/{ s//\1/; q; }
8067 { if $as_mkdir_p; then
8072 while test ! -d "$as_dir"; do
8073 as_dirs="$as_dir $as_dirs"
8074 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8076 X"$as_dir" : 'X\(//\)[^/]' \| \
8077 X"$as_dir" : 'X\(//\)$' \| \
8078 X"$as_dir" : 'X\(/\)' \| \
8079 . : '\(.\)' 2>/dev/null ||
8081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8083 /^X\(\/\/\)$/{ s//\1/; q; }
8084 /^X\(\/\).*/{ s//\1/; q; }
8087 test ! -n "$as_dirs" || mkdir $as_dirs
8088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8090 { (exit 1); exit 1; }; }; }
8094 if test "$ac_dir" != .; then
8095 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8096 # A "../" for each directory in $ac_dir_suffix.
8097 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8099 ac_dir_suffix= ac_top_builddir=
8103 .) # No --srcdir option. We are building in place.
8105 if test -z "$ac_top_builddir"; then
8108 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8110 [\\/]* | ?:[\\/]* ) # Absolute path.
8111 ac_srcdir=$srcdir$ac_dir_suffix;
8112 ac_top_srcdir=$srcdir ;;
8114 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8115 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8118 # Do not use `cd foo && pwd` to compute absolute paths, because
8119 # the directories may not exist.
8121 .) ac_abs_builddir="$ac_dir";;
8124 .) ac_abs_builddir=`pwd`;;
8125 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8126 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8129 case $ac_abs_builddir in
8130 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8132 case ${ac_top_builddir}. in
8133 .) ac_abs_top_builddir=$ac_abs_builddir;;
8134 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8135 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8138 case $ac_abs_builddir in
8139 .) ac_abs_srcdir=$ac_srcdir;;
8142 .) ac_abs_srcdir=$ac_abs_builddir;;
8143 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8144 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8147 case $ac_abs_builddir in
8148 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8150 case $ac_top_srcdir in
8151 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8152 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8153 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8159 if test x"$ac_file" != x-; then
8160 { echo "$as_me:$LINENO: creating $ac_file" >&5
8161 echo "$as_me: creating $ac_file" >&6;}
8164 # Let's still pretend it is `configure' which instantiates (i.e., don't
8165 # use $as_me), people would be surprised to read:
8166 # /* config.h. Generated by config.status. */
8167 if test x"$ac_file" = x-; then
8170 configure_input="$ac_file. "
8172 configure_input=$configure_input"Generated from `echo $ac_file_in |
8173 sed 's,.*/,,'` by configure."
8175 # First look for the input files in the build tree, otherwise in the
8177 ac_file_inputs=`IFS=:
8178 for f in $ac_file_in; do
8180 -) echo $tmp/stdin ;;
8182 # Absolute (can't be DOS-style, as IFS=:)
8183 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8184 echo "$as_me: error: cannot find input file: $f" >&2;}
8185 { (exit 1); exit 1; }; }
8188 if test -f "$f"; then
8191 elif test -f "$srcdir/$f"; then
8196 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8197 echo "$as_me: error: cannot find input file: $f" >&2;}
8198 { (exit 1); exit 1; }; }
8201 done` || { (exit 1); exit 1; }
8203 cat >>$CONFIG_STATUS <<_ACEOF
8207 cat >>$CONFIG_STATUS <<\_ACEOF
8209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8210 s,@configure_input@,$configure_input,;t t
8211 s,@srcdir@,$ac_srcdir,;t t
8212 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8213 s,@top_srcdir@,$ac_top_srcdir,;t t
8214 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8215 s,@builddir@,$ac_builddir,;t t
8216 s,@abs_builddir@,$ac_abs_builddir,;t t
8217 s,@top_builddir@,$ac_top_builddir,;t t
8218 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8219 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8221 if test x"$ac_file" != x-; then
8222 mv $tmp/out $ac_file
8230 cat >>$CONFIG_STATUS <<\_ACEOF
8233 # CONFIG_HEADER section.
8236 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8237 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8239 # ac_d sets the value in "#define NAME VALUE" lines.
8240 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8241 ac_dB='[ ].*$,\1#\2'
8244 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8245 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8246 ac_uB='$,\1#\2define\3'
8250 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8251 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8253 - | *:- | *:-:* ) # input from stdin
8255 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8256 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8257 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8258 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8259 * ) ac_file_in=$ac_file.in ;;
8262 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8263 echo "$as_me: creating $ac_file" >&6;}
8265 # First look for the input files in the build tree, otherwise in the
8267 ac_file_inputs=`IFS=:
8268 for f in $ac_file_in; do
8270 -) echo $tmp/stdin ;;
8272 # Absolute (can't be DOS-style, as IFS=:)
8273 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8274 echo "$as_me: error: cannot find input file: $f" >&2;}
8275 { (exit 1); exit 1; }; }
8276 # Do quote $f, to prevent DOS paths from being IFS'd.
8279 if test -f "$f"; then
8282 elif test -f "$srcdir/$f"; then
8287 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8288 echo "$as_me: error: cannot find input file: $f" >&2;}
8289 { (exit 1); exit 1; }; }
8292 done` || { (exit 1); exit 1; }
8293 # Remove the trailing spaces.
8294 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8298 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8299 # `conftest.undefs', that substitutes the proper values into
8300 # config.h.in to produce config.h. The first handles `#define'
8301 # templates, and the second `#undef' templates.
8302 # And first: Protect against being on the right side of a sed subst in
8303 # config.status. Protect against being in an unquoted here document
8305 rm -f conftest.defines conftest.undefs
8306 # Using a here document instead of a string reduces the quoting nightmare.
8307 # Putting comments in sed scripts is not portable.
8309 # `end' is used to avoid that the second main sed command (meant for
8310 # 0-ary CPP macros) applies to n-ary macro definitions.
8311 # See the Autoconf documentation for `clear'.
8312 cat >confdef2sed.sed <<\_ACEOF
8317 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8319 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8322 # If some macros were called several times there might be several times
8323 # the same #defines, which is useless. Nevertheless, we may not want to
8324 # sort them, since we want the *last* AC-DEFINE to be honored.
8325 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8326 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8327 rm -f confdef2sed.sed
8329 # This sed command replaces #undef with comments. This is necessary, for
8330 # example, in the case of _POSIX_SOURCE, which is predefined and required
8331 # on some systems where configure will not decide to define it.
8332 cat >>conftest.undefs <<\_ACEOF
8333 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8336 # Break up conftest.defines because some shells have a limit on the size
8337 # of here documents, and old seds have small limits too (100 cmds).
8338 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8339 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8340 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8341 echo ' :' >>$CONFIG_STATUS
8343 while grep . conftest.defines >/dev/null
8345 # Write a limited-size here document to $tmp/defines.sed.
8346 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8347 # Speed up: don't consider the non `#define' lines.
8348 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8349 # Work around the forget-to-reset-the-flag bug.
8350 echo 't clr' >>$CONFIG_STATUS
8351 echo ': clr' >>$CONFIG_STATUS
8352 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8354 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8358 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8359 rm -f conftest.defines
8360 mv conftest.tail conftest.defines
8362 rm -f conftest.defines
8363 echo ' fi # grep' >>$CONFIG_STATUS
8364 echo >>$CONFIG_STATUS
8366 # Break up conftest.undefs because some shells have a limit on the size
8367 # of here documents, and old seds have small limits too (100 cmds).
8368 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8370 while grep . conftest.undefs >/dev/null
8372 # Write a limited-size here document to $tmp/undefs.sed.
8373 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8374 # Speed up: don't consider the non `#undef'
8375 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8376 # Work around the forget-to-reset-the-flag bug.
8377 echo 't clr' >>$CONFIG_STATUS
8378 echo ': clr' >>$CONFIG_STATUS
8379 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8381 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8385 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8386 rm -f conftest.undefs
8387 mv conftest.tail conftest.undefs
8389 rm -f conftest.undefs
8391 cat >>$CONFIG_STATUS <<\_ACEOF
8392 # Let's still pretend it is `configure' which instantiates (i.e., don't
8393 # use $as_me), people would be surprised to read:
8394 # /* config.h. Generated by config.status. */
8395 if test x"$ac_file" = x-; then
8396 echo "/* Generated by configure. */" >$tmp/config.h
8398 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8400 cat $tmp/in >>$tmp/config.h
8402 if test x"$ac_file" != x-; then
8403 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8404 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8405 echo "$as_me: $ac_file is unchanged" >&6;}
8407 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8409 X"$ac_file" : 'X\(//\)[^/]' \| \
8410 X"$ac_file" : 'X\(//\)$' \| \
8411 X"$ac_file" : 'X\(/\)' \| \
8412 . : '\(.\)' 2>/dev/null ||
8414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8416 /^X\(\/\/\)$/{ s//\1/; q; }
8417 /^X\(\/\).*/{ s//\1/; q; }
8419 { if $as_mkdir_p; then
8424 while test ! -d "$as_dir"; do
8425 as_dirs="$as_dir $as_dirs"
8426 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8428 X"$as_dir" : 'X\(//\)[^/]' \| \
8429 X"$as_dir" : 'X\(//\)$' \| \
8430 X"$as_dir" : 'X\(/\)' \| \
8431 . : '\(.\)' 2>/dev/null ||
8433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8435 /^X\(\/\/\)$/{ s//\1/; q; }
8436 /^X\(\/\).*/{ s//\1/; q; }
8439 test ! -n "$as_dirs" || mkdir $as_dirs
8440 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8441 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8442 { (exit 1); exit 1; }; }; }
8445 mv $tmp/config.h $ac_file
8454 cat >>$CONFIG_STATUS <<\_ACEOF
8456 { (exit 0); exit 0; }
8458 chmod +x $CONFIG_STATUS
8459 ac_clean_files=$ac_clean_files_save
8462 # configure is writing to config.log, and then calls config.status.
8463 # config.status does its own redirection, appending to config.log.
8464 # Unfortunately, on DOS this fails, as config.log is still kept open
8465 # by configure, so config.status won't be able to write to it; its
8466 # output is simply discarded. So we exec the FD to /dev/null,
8467 # effectively closing config.log, so it can be properly (re)opened and
8468 # appended to by config.status. When coming back to configure, we
8469 # need to make the FD available again.
8470 if test "$no_create" != yes; then
8472 ac_config_status_args=
8473 test "$silent" = yes &&
8474 ac_config_status_args="$ac_config_status_args --quiet"
8476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8479 # would make configure fail if this is the last instruction.
8480 $ac_cs_success || { (exit 1); exit 1; }