]> granicus.if.org Git - sysstat/blob - configure
Version 10.0.3 begins.
[sysstat] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for sysstat 10.0.3.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83   as_unset=unset
84 else
85   as_unset=false
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 case $0 in
98   *[\\/]* ) as_myself=$0 ;;
99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
107
108      ;;
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113   as_myself=$0
114 fi
115 if test ! -f "$as_myself"; then
116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117   { (exit 1); exit 1; }
118 fi
119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
137   as_expr=expr
138 else
139   as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143   as_basename=basename
144 else
145   as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152          X"$0" : 'X\(//\)$' \| \
153          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155     sed '/^.*\/\([^/][^/]*\)\/*$/{
156             s//\1/
157             q
158           }
159           /^X\/\(\/\/\)$/{
160             s//\1/
161             q
162           }
163           /^X\/\(\/\).*/{
164             s//\1/
165             q
166           }
167           s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174   if (eval ":") 2>/dev/null; then
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179
180   if test $as_have_required = yes &&     (eval ":
181 (as_func_return () {
182   (exit \$1)
183 }
184 as_func_success () {
185   as_func_return 0
186 }
187 as_func_failure () {
188   as_func_return 1
189 }
190 as_func_ret_success () {
191   return 0
192 }
193 as_func_ret_failure () {
194   return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199   :
200 else
201   exitcode=1
202   echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206   exitcode=1
207   echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211   :
212 else
213   exitcode=1
214   echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218   exitcode=1
219   echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223   :
224 else
225   exitcode=1
226   echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232   as_lineno_1=\$LINENO
233   as_lineno_2=\$LINENO
234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237   :
238 else
239   as_candidate_shells=
240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 do
243   IFS=$as_save_IFS
244   test -z "$as_dir" && as_dir=.
245   case $as_dir in
246          /*)
247            for as_base in sh bash ksh sh5; do
248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249            done;;
250        esac
251 done
252 IFS=$as_save_IFS
253
254
255       for as_shell in $as_candidate_shells $SHELL; do
256          # Try only shells that exist, to save several forks.
257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260   emulate sh
261   NULLCMD=:
262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263   # is contrary to our usage.  Disable this feature.
264   alias -g '${1+"$@"}'='"$@"'
265   setopt NO_GLOB_SUBST
266 else
267   case `(set -o) 2>/dev/null` in
268   *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277   CONFIG_SHELL=$as_shell
278                as_have_required=yes
279                if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281   emulate sh
282   NULLCMD=:
283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284   # is contrary to our usage.  Disable this feature.
285   alias -g '${1+"$@"}'='"$@"'
286   setopt NO_GLOB_SUBST
287 else
288   case `(set -o) 2>/dev/null` in
289   *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297   (exit $1)
298 }
299 as_func_success () {
300   as_func_return 0
301 }
302 as_func_failure () {
303   as_func_return 1
304 }
305 as_func_ret_success () {
306   return 0
307 }
308 as_func_ret_failure () {
309   return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314   :
315 else
316   exitcode=1
317   echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321   exitcode=1
322   echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326   :
327 else
328   exitcode=1
329   echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333   exitcode=1
334   echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338   :
339 else
340   exitcode=1
341   echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
347   as_lineno_1=$LINENO
348   as_lineno_2=$LINENO
349   test "x$as_lineno_1" != "x$as_lineno_2" &&
350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352 _ASEOF
353 }; then
354   break
355 fi
356
357 fi
358
359       done
360
361       if test "x$CONFIG_SHELL" != x; then
362   for as_var in BASH_ENV ENV
363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364         done
365         export CONFIG_SHELL
366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370     if test $as_have_required = no; then
371   echo This script requires a shell more modern than all the
372       echo shells that I found on your system.  Please install a
373       echo modern shell, or manually run the script under such a
374       echo shell if you do have one.
375       { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386   (exit \$1)
387 }
388 as_func_success () {
389   as_func_return 0
390 }
391 as_func_failure () {
392   as_func_return 1
393 }
394 as_func_ret_success () {
395   return 0
396 }
397 as_func_ret_failure () {
398   return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403   :
404 else
405   exitcode=1
406   echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410   exitcode=1
411   echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415   :
416 else
417   exitcode=1
418   echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422   exitcode=1
423   echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427   :
428 else
429   exitcode=1
430   echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434   echo No shell found that supports shell functions.
435   echo Please tell bug-autoconf@gnu.org about your system,
436   echo including any error possibly output before this message.
437   echo This can help us improve future autoconf versions.
438   echo Configuration will now proceed without shell functions.
439 }
440
441
442
443   as_lineno_1=$LINENO
444   as_lineno_2=$LINENO
445   test "x$as_lineno_1" != "x$as_lineno_2" &&
446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449   # uniformly replaced by the line number.  The first 'sed' inserts a
450   # line-number line after each line using $LINENO; the second 'sed'
451   # does the real work.  The second script uses 'N' to pair each
452   # line-number line with the line containing $LINENO, and appends
453   # trailing '-' during substitution so that $LINENO is not a special
454   # case at line end.
455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
457   # E. McMahon (1931-1989) for sed's syntax.  :-)
458   sed -n '
459     p
460     /[$]LINENO/=
461   ' <$as_myself |
462     sed '
463       s/[$]LINENO.*/&-/
464       t lineno
465       b
466       :lineno
467       N
468       :loop
469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470       t loop
471       s/-\n.*//
472     ' >$as_me.lineno &&
473   chmod +x "$as_me.lineno" ||
474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475    { (exit 1); exit 1; }; }
476
477   # Don't try to exec as it changes $[0], causing all sort of problems
478   # (the dirname of $[0] is not the place where we might find the
479   # original and so on.  Autoconf is especially sensitive to this).
480   . "./$as_me.lineno"
481   # Exit status is that of the last command.
482   exit
483 }
484
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487   as_dirname=dirname
488 else
489   as_dirname=false
490 fi
491
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495   case `echo 'x\c'` in
496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497   *)   ECHO_C='\c';;
498   esac;;
499 *)
500   ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
504   as_expr=expr
505 else
506   as_expr=false
507 fi
508
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511   rm -f conf$$.dir/conf$$.file
512 else
513   rm -f conf$$.dir
514   mkdir conf$$.dir 2>/dev/null
515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517   if ln -s conf$$.file conf$$ 2>/dev/null; then
518     as_ln_s='ln -s'
519     # ... but there are two gotchas:
520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522     # In both cases, we have to default to `cp -p'.
523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524       as_ln_s='cp -p'
525   elif ln conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s=ln
527   else
528     as_ln_s='cp -p'
529   fi
530 else
531   as_ln_s='cp -p'
532 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
535
536 if mkdir -p . 2>/dev/null; then
537   as_mkdir_p=:
538 else
539   test -d ./-p && rmdir ./-p
540   as_mkdir_p=false
541 fi
542
543 if test -x / >/dev/null 2>&1; then
544   as_test_x='test -x'
545 else
546   if ls -dL / >/dev/null 2>&1; then
547     as_ls_L_option=L
548   else
549     as_ls_L_option=
550   fi
551   as_test_x='
552     eval sh -c '\''
553       if test -d "$1"; then
554         test -d "$1/.";
555       else
556         case $1 in
557         -*)set "./$1";;
558         esac;
559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560         ???[sx]*):;;*)false;;esac;fi
561     '\'' sh
562   '
563 fi
564 as_executable_p=$as_test_x
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574 exec 7<&0 </dev/null 6>&1
575
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581 #
582 # Initializations.
583 #
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
593
594 # Identity of this package.
595 PACKAGE_NAME='sysstat'
596 PACKAGE_TARNAME='sysstat'
597 PACKAGE_VERSION='10.0.3'
598 PACKAGE_STRING='sysstat 10.0.3'
599 PACKAGE_BUGREPORT=''
600
601 ac_unique_file="ioconf.h"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
604 #include <stdio.h>
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
607 #endif
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
610 #endif
611 #ifdef STDC_HEADERS
612 # include <stdlib.h>
613 # include <stddef.h>
614 #else
615 # ifdef HAVE_STDLIB_H
616 #  include <stdlib.h>
617 # endif
618 #endif
619 #ifdef HAVE_STRING_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #  include <memory.h>
622 # endif
623 # include <string.h>
624 #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
630 #endif
631 #ifdef HAVE_STDINT_H
632 # include <stdint.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
635 # include <unistd.h>
636 #endif"
637
638 ac_subst_vars='LTLIBOBJS
639 LIBOBJS
640 DFLAGS
641 WITH_DEBUG
642 INSTALL_DOC
643 REM_CHOWN
644 QUOTE
645 CRON_COUNT
646 CRON_INTERVAL_SEC
647 CRON_INTERVAL
648 SU_C_OWNER
649 CRON_OWNER
650 cron_interval
651 cron_owner
652 INSTALL_CRON
653 CLEAN_SA_DIR
654 INSTALL_ISAG
655 COMPRESS_MANPG
656 IGNORE_MAN_GROUP
657 MAN_GROUP
658 man_group
659 COMPRESSAFTER
660 compressafter
661 HISTORY
662 history
663 YESTERDAY
664 NLS
665 SYSCONFIG_DIR
666 conf_dir
667 SA_DIR
668 sa_dir
669 SA_LIB_DIR
670 sa_lib_dir
671 INITD_DIR
672 INIT_DIR
673 RC_DIR
674 rcdir
675 DFSENSORS
676 LFSENSORS
677 HAVE_SENSORS
678 PATH_CHKCONFIG
679 PATH_CP
680 INSTALL_BIN
681 INSTALL_DATA
682 ZIP
683 MSGMERGE
684 XGETTEXT
685 MSGFMT
686 INSTALL
687 AR
688 CHOWN
689 CHMOD
690 LN_S
691 EGREP
692 GREP
693 CPP
694 OBJEXT
695 EXEEXT
696 ac_ct_CC
697 CPPFLAGS
698 LDFLAGS
699 CFLAGS
700 CC
701 target_alias
702 host_alias
703 build_alias
704 LIBS
705 ECHO_T
706 ECHO_N
707 ECHO_C
708 DEFS
709 mandir
710 localedir
711 libdir
712 psdir
713 pdfdir
714 dvidir
715 htmldir
716 infodir
717 docdir
718 oldincludedir
719 includedir
720 localstatedir
721 sharedstatedir
722 sysconfdir
723 datadir
724 datarootdir
725 libexecdir
726 sbindir
727 bindir
728 program_transform_name
729 prefix
730 exec_prefix
731 PACKAGE_BUGREPORT
732 PACKAGE_STRING
733 PACKAGE_VERSION
734 PACKAGE_TARNAME
735 PACKAGE_NAME
736 PATH_SEPARATOR
737 SHELL'
738 ac_subst_files=''
739 ac_user_opts='
740 enable_option_checking
741 enable_sensors
742 enable_largefile
743 enable_nls
744 enable_yesterday
745 enable_man_group
746 enable_compress_manpg
747 enable_install_isag
748 enable_clean_sa_dir
749 enable_install_cron
750 enable_documentation
751 enable_debuginfo
752 '
753       ac_precious_vars='build_alias
754 host_alias
755 target_alias
756 CC
757 CFLAGS
758 LDFLAGS
759 LIBS
760 CPPFLAGS
761 CPP
762 rcdir
763 sa_lib_dir
764 sa_dir
765 conf_dir
766 history
767 compressafter
768 man_group
769 cron_owner
770 cron_interval'
771
772
773 # Initialize some variables set by options.
774 ac_init_help=
775 ac_init_version=false
776 ac_unrecognized_opts=
777 ac_unrecognized_sep=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
780 cache_file=/dev/null
781 exec_prefix=NONE
782 no_create=
783 no_recursion=
784 prefix=NONE
785 program_prefix=NONE
786 program_suffix=NONE
787 program_transform_name=s,x,x,
788 silent=
789 site=
790 srcdir=
791 verbose=
792 x_includes=NONE
793 x_libraries=NONE
794
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir='${exec_prefix}/bin'
802 sbindir='${exec_prefix}/sbin'
803 libexecdir='${exec_prefix}/libexec'
804 datarootdir='${prefix}/share'
805 datadir='${datarootdir}'
806 sysconfdir='${prefix}/etc'
807 sharedstatedir='${prefix}/com'
808 localstatedir='${prefix}/var'
809 includedir='${prefix}/include'
810 oldincludedir='/usr/include'
811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir='${datarootdir}/info'
813 htmldir='${docdir}'
814 dvidir='${docdir}'
815 pdfdir='${docdir}'
816 psdir='${docdir}'
817 libdir='${exec_prefix}/lib'
818 localedir='${datarootdir}/locale'
819 mandir='${datarootdir}/man'
820
821 ac_prev=
822 ac_dashdash=
823 for ac_option
824 do
825   # If the previous option needs an argument, assign it.
826   if test -n "$ac_prev"; then
827     eval $ac_prev=\$ac_option
828     ac_prev=
829     continue
830   fi
831
832   case $ac_option in
833   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834   *)    ac_optarg=yes ;;
835   esac
836
837   # Accept the important Cygnus configure options, so we can diagnose typos.
838
839   case $ac_dashdash$ac_option in
840   --)
841     ac_dashdash=yes ;;
842
843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
844     ac_prev=bindir ;;
845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846     bindir=$ac_optarg ;;
847
848   -build | --build | --buil | --bui | --bu)
849     ac_prev=build_alias ;;
850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851     build_alias=$ac_optarg ;;
852
853   -cache-file | --cache-file | --cache-fil | --cache-fi \
854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855     ac_prev=cache_file ;;
856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858     cache_file=$ac_optarg ;;
859
860   --config-cache | -C)
861     cache_file=config.cache ;;
862
863   -datadir | --datadir | --datadi | --datad)
864     ac_prev=datadir ;;
865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
866     datadir=$ac_optarg ;;
867
868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869   | --dataroo | --dataro | --datar)
870     ac_prev=datarootdir ;;
871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873     datarootdir=$ac_optarg ;;
874
875   -disable-* | --disable-*)
876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877     # Reject names that are not valid shell variable names.
878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
880    { (exit 1); exit 1; }; }
881     ac_useropt_orig=$ac_useropt
882     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883     case $ac_user_opts in
884       *"
885 "enable_$ac_useropt"
886 "*) ;;
887       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888          ac_unrecognized_sep=', ';;
889     esac
890     eval enable_$ac_useropt=no ;;
891
892   -docdir | --docdir | --docdi | --doc | --do)
893     ac_prev=docdir ;;
894   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895     docdir=$ac_optarg ;;
896
897   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
898     ac_prev=dvidir ;;
899   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900     dvidir=$ac_optarg ;;
901
902   -enable-* | --enable-*)
903     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904     # Reject names that are not valid shell variable names.
905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
907    { (exit 1); exit 1; }; }
908     ac_useropt_orig=$ac_useropt
909     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910     case $ac_user_opts in
911       *"
912 "enable_$ac_useropt"
913 "*) ;;
914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915          ac_unrecognized_sep=', ';;
916     esac
917     eval enable_$ac_useropt=\$ac_optarg ;;
918
919   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921   | --exec | --exe | --ex)
922     ac_prev=exec_prefix ;;
923   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925   | --exec=* | --exe=* | --ex=*)
926     exec_prefix=$ac_optarg ;;
927
928   -gas | --gas | --ga | --g)
929     # Obsolete; use --with-gas.
930     with_gas=yes ;;
931
932   -help | --help | --hel | --he | -h)
933     ac_init_help=long ;;
934   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935     ac_init_help=recursive ;;
936   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937     ac_init_help=short ;;
938
939   -host | --host | --hos | --ho)
940     ac_prev=host_alias ;;
941   -host=* | --host=* | --hos=* | --ho=*)
942     host_alias=$ac_optarg ;;
943
944   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945     ac_prev=htmldir ;;
946   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947   | --ht=*)
948     htmldir=$ac_optarg ;;
949
950   -includedir | --includedir | --includedi | --included | --include \
951   | --includ | --inclu | --incl | --inc)
952     ac_prev=includedir ;;
953   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954   | --includ=* | --inclu=* | --incl=* | --inc=*)
955     includedir=$ac_optarg ;;
956
957   -infodir | --infodir | --infodi | --infod | --info | --inf)
958     ac_prev=infodir ;;
959   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960     infodir=$ac_optarg ;;
961
962   -libdir | --libdir | --libdi | --libd)
963     ac_prev=libdir ;;
964   -libdir=* | --libdir=* | --libdi=* | --libd=*)
965     libdir=$ac_optarg ;;
966
967   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968   | --libexe | --libex | --libe)
969     ac_prev=libexecdir ;;
970   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971   | --libexe=* | --libex=* | --libe=*)
972     libexecdir=$ac_optarg ;;
973
974   -localedir | --localedir | --localedi | --localed | --locale)
975     ac_prev=localedir ;;
976   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977     localedir=$ac_optarg ;;
978
979   -localstatedir | --localstatedir | --localstatedi | --localstated \
980   | --localstate | --localstat | --localsta | --localst | --locals)
981     ac_prev=localstatedir ;;
982   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984     localstatedir=$ac_optarg ;;
985
986   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987     ac_prev=mandir ;;
988   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989     mandir=$ac_optarg ;;
990
991   -nfp | --nfp | --nf)
992     # Obsolete; use --without-fp.
993     with_fp=no ;;
994
995   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996   | --no-cr | --no-c | -n)
997     no_create=yes ;;
998
999   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001     no_recursion=yes ;;
1002
1003   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005   | --oldin | --oldi | --old | --ol | --o)
1006     ac_prev=oldincludedir ;;
1007   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010     oldincludedir=$ac_optarg ;;
1011
1012   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013     ac_prev=prefix ;;
1014   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015     prefix=$ac_optarg ;;
1016
1017   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018   | --program-pre | --program-pr | --program-p)
1019     ac_prev=program_prefix ;;
1020   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022     program_prefix=$ac_optarg ;;
1023
1024   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025   | --program-suf | --program-su | --program-s)
1026     ac_prev=program_suffix ;;
1027   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029     program_suffix=$ac_optarg ;;
1030
1031   -program-transform-name | --program-transform-name \
1032   | --program-transform-nam | --program-transform-na \
1033   | --program-transform-n | --program-transform- \
1034   | --program-transform | --program-transfor \
1035   | --program-transfo | --program-transf \
1036   | --program-trans | --program-tran \
1037   | --progr-tra | --program-tr | --program-t)
1038     ac_prev=program_transform_name ;;
1039   -program-transform-name=* | --program-transform-name=* \
1040   | --program-transform-nam=* | --program-transform-na=* \
1041   | --program-transform-n=* | --program-transform-=* \
1042   | --program-transform=* | --program-transfor=* \
1043   | --program-transfo=* | --program-transf=* \
1044   | --program-trans=* | --program-tran=* \
1045   | --progr-tra=* | --program-tr=* | --program-t=*)
1046     program_transform_name=$ac_optarg ;;
1047
1048   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049     ac_prev=pdfdir ;;
1050   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051     pdfdir=$ac_optarg ;;
1052
1053   -psdir | --psdir | --psdi | --psd | --ps)
1054     ac_prev=psdir ;;
1055   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056     psdir=$ac_optarg ;;
1057
1058   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059   | -silent | --silent | --silen | --sile | --sil)
1060     silent=yes ;;
1061
1062   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063     ac_prev=sbindir ;;
1064   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065   | --sbi=* | --sb=*)
1066     sbindir=$ac_optarg ;;
1067
1068   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070   | --sharedst | --shareds | --shared | --share | --shar \
1071   | --sha | --sh)
1072     ac_prev=sharedstatedir ;;
1073   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076   | --sha=* | --sh=*)
1077     sharedstatedir=$ac_optarg ;;
1078
1079   -site | --site | --sit)
1080     ac_prev=site ;;
1081   -site=* | --site=* | --sit=*)
1082     site=$ac_optarg ;;
1083
1084   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085     ac_prev=srcdir ;;
1086   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087     srcdir=$ac_optarg ;;
1088
1089   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090   | --syscon | --sysco | --sysc | --sys | --sy)
1091     ac_prev=sysconfdir ;;
1092   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094     sysconfdir=$ac_optarg ;;
1095
1096   -target | --target | --targe | --targ | --tar | --ta | --t)
1097     ac_prev=target_alias ;;
1098   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099     target_alias=$ac_optarg ;;
1100
1101   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102     verbose=yes ;;
1103
1104   -version | --version | --versio | --versi | --vers | -V)
1105     ac_init_version=: ;;
1106
1107   -with-* | --with-*)
1108     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109     # Reject names that are not valid shell variable names.
1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1112    { (exit 1); exit 1; }; }
1113     ac_useropt_orig=$ac_useropt
1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115     case $ac_user_opts in
1116       *"
1117 "with_$ac_useropt"
1118 "*) ;;
1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120          ac_unrecognized_sep=', ';;
1121     esac
1122     eval with_$ac_useropt=\$ac_optarg ;;
1123
1124   -without-* | --without-*)
1125     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126     # Reject names that are not valid shell variable names.
1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1129    { (exit 1); exit 1; }; }
1130     ac_useropt_orig=$ac_useropt
1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132     case $ac_user_opts in
1133       *"
1134 "with_$ac_useropt"
1135 "*) ;;
1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1137          ac_unrecognized_sep=', ';;
1138     esac
1139     eval with_$ac_useropt=no ;;
1140
1141   --x)
1142     # Obsolete; use --with-x.
1143     with_x=yes ;;
1144
1145   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1146   | --x-incl | --x-inc | --x-in | --x-i)
1147     ac_prev=x_includes ;;
1148   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1149   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1150     x_includes=$ac_optarg ;;
1151
1152   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1153   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1154     ac_prev=x_libraries ;;
1155   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1156   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1157     x_libraries=$ac_optarg ;;
1158
1159   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1160 Try \`$0 --help' for more information." >&2
1161    { (exit 1); exit 1; }; }
1162     ;;
1163
1164   *=*)
1165     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166     # Reject names that are not valid shell variable names.
1167     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1168       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1169    { (exit 1); exit 1; }; }
1170     eval $ac_envvar=\$ac_optarg
1171     export $ac_envvar ;;
1172
1173   *)
1174     # FIXME: should be removed in autoconf 3.0.
1175     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1179     ;;
1180
1181   esac
1182 done
1183
1184 if test -n "$ac_prev"; then
1185   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1186   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1187    { (exit 1); exit 1; }; }
1188 fi
1189
1190 if test -n "$ac_unrecognized_opts"; then
1191   case $enable_option_checking in
1192     no) ;;
1193     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1194    { (exit 1); exit 1; }; } ;;
1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196   esac
1197 fi
1198
1199 # Check all directory arguments for consistency.
1200 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201                 datadir sysconfdir sharedstatedir localstatedir includedir \
1202                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203                 libdir localedir mandir
1204 do
1205   eval ac_val=\$$ac_var
1206   # Remove trailing slashes.
1207   case $ac_val in
1208     */ )
1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210       eval $ac_var=\$ac_val;;
1211   esac
1212   # Be sure to have absolute directory names.
1213   case $ac_val in
1214     [\\/$]* | ?:[\\/]* )  continue;;
1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216   esac
1217   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1218    { (exit 1); exit 1; }; }
1219 done
1220
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1224 build=$build_alias
1225 host=$host_alias
1226 target=$target_alias
1227
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x; then
1230   if test "x$build_alias" = x; then
1231     cross_compiling=maybe
1232     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233     If a cross compiler is detected then cross compile mode will be used." >&2
1234   elif test "x$build_alias" != "x$host_alias"; then
1235     cross_compiling=yes
1236   fi
1237 fi
1238
1239 ac_tool_prefix=
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242 test "$silent" = yes && exec 6>/dev/null
1243
1244
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1249    { (exit 1); exit 1; }; }
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1252    { (exit 1); exit 1; }; }
1253
1254
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257   ac_srcdir_defaulted=yes
1258   # Try the directory containing this script, then the parent directory.
1259   ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261          X"$as_myself" : 'X\(//\)[^/]' \| \
1262          X"$as_myself" : 'X\(//\)$' \| \
1263          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\/\)[^/].*/{
1270             s//\1/
1271             q
1272           }
1273           /^X\(\/\/\)$/{
1274             s//\1/
1275             q
1276           }
1277           /^X\(\/\).*/{
1278             s//\1/
1279             q
1280           }
1281           s/.*/./; q'`
1282   srcdir=$ac_confdir
1283   if test ! -r "$srcdir/$ac_unique_file"; then
1284     srcdir=..
1285   fi
1286 else
1287   ac_srcdir_defaulted=no
1288 fi
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1292    { (exit 1); exit 1; }; }
1293 fi
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 ac_abs_confdir=`(
1296         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1297    { (exit 1); exit 1; }; }
1298         pwd)`
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301   srcdir=.
1302 fi
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1306 case $srcdir in
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 esac
1309 for ac_var in $ac_precious_vars; do
1310   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311   eval ac_env_${ac_var}_value=\$${ac_var}
1312   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1314 done
1315
1316 #
1317 # Report the --help message.
1318 #
1319 if test "$ac_init_help" = "long"; then
1320   # Omit some internal or obsolete options to make the list less imposing.
1321   # This message is too long to be a string in the A/UX 3.1 sh.
1322   cat <<_ACEOF
1323 \`configure' configures sysstat 10.0.3 to adapt to many kinds of systems.
1324
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1326
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE.  See below for descriptions of some of the useful variables.
1329
1330 Defaults for the options are specified in brackets.
1331
1332 Configuration:
1333   -h, --help              display this help and exit
1334       --help=short        display options specific to this package
1335       --help=recursive    display the short help of all the included packages
1336   -V, --version           display version information and exit
1337   -q, --quiet, --silent   do not print \`checking...' messages
1338       --cache-file=FILE   cache test results in FILE [disabled]
1339   -C, --config-cache      alias for \`--cache-file=config.cache'
1340   -n, --no-create         do not create output files
1341       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1342
1343 Installation directories:
1344   --prefix=PREFIX         install architecture-independent files in PREFIX
1345                           [$ac_default_prefix]
1346   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1347                           [PREFIX]
1348
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1353
1354 For better control, use the options below.
1355
1356 Fine tuning of the installation directories:
1357   --bindir=DIR            user executables [EPREFIX/bin]
1358   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1359   --libexecdir=DIR        program executables [EPREFIX/libexec]
1360   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1361   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1362   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1363   --libdir=DIR            object code libraries [EPREFIX/lib]
1364   --includedir=DIR        C header files [PREFIX/include]
1365   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1366   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1367   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1368   --infodir=DIR           info documentation [DATAROOTDIR/info]
1369   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1370   --mandir=DIR            man documentation [DATAROOTDIR/man]
1371   --docdir=DIR            documentation root [DATAROOTDIR/doc/sysstat]
1372   --htmldir=DIR           html documentation [DOCDIR]
1373   --dvidir=DIR            dvi documentation [DOCDIR]
1374   --pdfdir=DIR            pdf documentation [DOCDIR]
1375   --psdir=DIR             ps documentation [DOCDIR]
1376 _ACEOF
1377
1378   cat <<\_ACEOF
1379 _ACEOF
1380 fi
1381
1382 if test -n "$ac_init_help"; then
1383   case $ac_init_help in
1384      short | recursive ) echo "Configuration of sysstat 10.0.3:";;
1385    esac
1386   cat <<\_ACEOF
1387
1388 Optional Features:
1389   --disable-option-checking  ignore unrecognized --enable/--with options
1390   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1391   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1392   --disable-sensors       disable sensors support
1393   --disable-largefile     omit support for large files
1394   --disable-nls           disable National Language Support
1395   --enable-yesterday      tell sa2 to use data file of the day before
1396   --disable-man-group     ignore man_group variable value
1397   --enable-compress-manpg compress sysstat manual pages
1398   --enable-install-isag   install isag script
1399   --enable-clean-sa-dir   clean system activity directory
1400   --enable-install-cron   install a crontab to start sar
1401   --disable-documentation do not install documentation
1402   --enable-debuginfo      enable debug output (--debuginfo option)
1403
1404 Some influential environment variables:
1405   CC          C compiler command
1406   CFLAGS      C compiler flags
1407   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1408               nonstandard directory <lib dir>
1409   LIBS        libraries to pass to the linker, e.g. -l<library>
1410   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1411               you have headers in a nonstandard directory <include dir>
1412   CPP         C preprocessor
1413   rcdir       run-commands directory
1414   sa_lib_dir  sadc directory
1415   sa_dir      system activity directory
1416   conf_dir    sysstat configuration directory
1417   history     number of daily data files to keep (default value is 7)
1418   compressafter
1419               number of days after which data files are compressed (default
1420               value is 10)
1421   man_group   group for manual pages
1422   cron_owner  crontab owner
1423   cron_interval
1424               crontab interval
1425
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1428
1429 _ACEOF
1430 ac_status=$?
1431 fi
1432
1433 if test "$ac_init_help" = "recursive"; then
1434   # If there are subdirs, report their specific --help.
1435   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436     test -d "$ac_dir" ||
1437       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1438       continue
1439     ac_builddir=.
1440
1441 case "$ac_dir" in
1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 *)
1444   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1445   # A ".." for each directory in $ac_dir_suffix.
1446   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1447   case $ac_top_builddir_sub in
1448   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1450   esac ;;
1451 esac
1452 ac_abs_top_builddir=$ac_pwd
1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1454 # for backward compatibility:
1455 ac_top_builddir=$ac_top_build_prefix
1456
1457 case $srcdir in
1458   .)  # We are building in place.
1459     ac_srcdir=.
1460     ac_top_srcdir=$ac_top_builddir_sub
1461     ac_abs_top_srcdir=$ac_pwd ;;
1462   [\\/]* | ?:[\\/]* )  # Absolute name.
1463     ac_srcdir=$srcdir$ac_dir_suffix;
1464     ac_top_srcdir=$srcdir
1465     ac_abs_top_srcdir=$srcdir ;;
1466   *) # Relative name.
1467     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1468     ac_top_srcdir=$ac_top_build_prefix$srcdir
1469     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1470 esac
1471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472
1473     cd "$ac_dir" || { ac_status=$?; continue; }
1474     # Check for guested configure.
1475     if test -f "$ac_srcdir/configure.gnu"; then
1476       echo &&
1477       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1478     elif test -f "$ac_srcdir/configure"; then
1479       echo &&
1480       $SHELL "$ac_srcdir/configure" --help=recursive
1481     else
1482       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1483     fi || ac_status=$?
1484     cd "$ac_pwd" || { ac_status=$?; break; }
1485   done
1486 fi
1487
1488 test -n "$ac_init_help" && exit $ac_status
1489 if $ac_init_version; then
1490   cat <<\_ACEOF
1491 sysstat configure 10.0.3
1492 generated by GNU Autoconf 2.63
1493
1494 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1495 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1498 _ACEOF
1499   exit
1500 fi
1501 cat >config.log <<_ACEOF
1502 This file contains any messages produced by compilers while
1503 running configure, to aid debugging if configure makes a mistake.
1504
1505 It was created by sysstat $as_me 10.0.3, which was
1506 generated by GNU Autoconf 2.63.  Invocation command line was
1507
1508   $ $0 $@
1509
1510 _ACEOF
1511 exec 5>>config.log
1512 {
1513 cat <<_ASUNAME
1514 ## --------- ##
1515 ## Platform. ##
1516 ## --------- ##
1517
1518 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1519 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1520 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1521 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1522 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523
1524 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1525 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1526
1527 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1528 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1529 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1530 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1531 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1532 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1533 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1534
1535 _ASUNAME
1536
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 for as_dir in $PATH
1539 do
1540   IFS=$as_save_IFS
1541   test -z "$as_dir" && as_dir=.
1542   $as_echo "PATH: $as_dir"
1543 done
1544 IFS=$as_save_IFS
1545
1546 } >&5
1547
1548 cat >&5 <<_ACEOF
1549
1550
1551 ## ----------- ##
1552 ## Core tests. ##
1553 ## ----------- ##
1554
1555 _ACEOF
1556
1557
1558 # Keep a trace of the command line.
1559 # Strip out --no-create and --no-recursion so they do not pile up.
1560 # Strip out --silent because we don't want to record it for future runs.
1561 # Also quote any args containing shell meta-characters.
1562 # Make two passes to allow for proper duplicate-argument suppression.
1563 ac_configure_args=
1564 ac_configure_args0=
1565 ac_configure_args1=
1566 ac_must_keep_next=false
1567 for ac_pass in 1 2
1568 do
1569   for ac_arg
1570   do
1571     case $ac_arg in
1572     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1573     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1574     | -silent | --silent | --silen | --sile | --sil)
1575       continue ;;
1576     *\'*)
1577       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1578     esac
1579     case $ac_pass in
1580     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1581     2)
1582       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1583       if test $ac_must_keep_next = true; then
1584         ac_must_keep_next=false # Got value, back to normal.
1585       else
1586         case $ac_arg in
1587           *=* | --config-cache | -C | -disable-* | --disable-* \
1588           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1589           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1590           | -with-* | --with-* | -without-* | --without-* | --x)
1591             case "$ac_configure_args0 " in
1592               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1593             esac
1594             ;;
1595           -* ) ac_must_keep_next=true ;;
1596         esac
1597       fi
1598       ac_configure_args="$ac_configure_args '$ac_arg'"
1599       ;;
1600     esac
1601   done
1602 done
1603 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1604 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1605
1606 # When interrupted or exit'd, cleanup temporary files, and complete
1607 # config.log.  We remove comments because anyway the quotes in there
1608 # would cause problems or look ugly.
1609 # WARNING: Use '\'' to represent an apostrophe within the trap.
1610 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1611 trap 'exit_status=$?
1612   # Save into config.log some information that might help in debugging.
1613   {
1614     echo
1615
1616     cat <<\_ASBOX
1617 ## ---------------- ##
1618 ## Cache variables. ##
1619 ## ---------------- ##
1620 _ASBOX
1621     echo
1622     # The following way of writing the cache mishandles newlines in values,
1623 (
1624   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1625     eval ac_val=\$$ac_var
1626     case $ac_val in #(
1627     *${as_nl}*)
1628       case $ac_var in #(
1629       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1631       esac
1632       case $ac_var in #(
1633       _ | IFS | as_nl) ;; #(
1634       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1635       *) $as_unset $ac_var ;;
1636       esac ;;
1637     esac
1638   done
1639   (set) 2>&1 |
1640     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641     *${as_nl}ac_space=\ *)
1642       sed -n \
1643         "s/'\''/'\''\\\\'\'''\''/g;
1644           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645       ;; #(
1646     *)
1647       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1648       ;;
1649     esac |
1650     sort
1651 )
1652     echo
1653
1654     cat <<\_ASBOX
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1658 _ASBOX
1659     echo
1660     for ac_var in $ac_subst_vars
1661     do
1662       eval ac_val=\$$ac_var
1663       case $ac_val in
1664       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665       esac
1666       $as_echo "$ac_var='\''$ac_val'\''"
1667     done | sort
1668     echo
1669
1670     if test -n "$ac_subst_files"; then
1671       cat <<\_ASBOX
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1675 _ASBOX
1676       echo
1677       for ac_var in $ac_subst_files
1678       do
1679         eval ac_val=\$$ac_var
1680         case $ac_val in
1681         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682         esac
1683         $as_echo "$ac_var='\''$ac_val'\''"
1684       done | sort
1685       echo
1686     fi
1687
1688     if test -s confdefs.h; then
1689       cat <<\_ASBOX
1690 ## ----------- ##
1691 ## confdefs.h. ##
1692 ## ----------- ##
1693 _ASBOX
1694       echo
1695       cat confdefs.h
1696       echo
1697     fi
1698     test "$ac_signal" != 0 &&
1699       $as_echo "$as_me: caught signal $ac_signal"
1700     $as_echo "$as_me: exit $exit_status"
1701   } >&5
1702   rm -f core *.core core.conftest.* &&
1703     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704     exit $exit_status
1705 ' 0
1706 for ac_signal in 1 2 13 15; do
1707   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1708 done
1709 ac_signal=0
1710
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1713
1714 # Predefined preprocessor variables.
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 _ACEOF
1719
1720
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 _ACEOF
1724
1725
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 _ACEOF
1729
1730
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 _ACEOF
1734
1735
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1738 _ACEOF
1739
1740
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer an explicitly selected file to automatically selected ones.
1743 ac_site_file1=NONE
1744 ac_site_file2=NONE
1745 if test -n "$CONFIG_SITE"; then
1746   ac_site_file1=$CONFIG_SITE
1747 elif test "x$prefix" != xNONE; then
1748   ac_site_file1=$prefix/share/config.site
1749   ac_site_file2=$prefix/etc/config.site
1750 else
1751   ac_site_file1=$ac_default_prefix/share/config.site
1752   ac_site_file2=$ac_default_prefix/etc/config.site
1753 fi
1754 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1755 do
1756   test "x$ac_site_file" = xNONE && continue
1757   if test -r "$ac_site_file"; then
1758     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1760     sed 's/^/| /' "$ac_site_file" >&5
1761     . "$ac_site_file"
1762   fi
1763 done
1764
1765 if test -r "$cache_file"; then
1766   # Some versions of bash will fail to source /dev/null (special
1767   # files actually), so we avoid doing that.
1768   if test -f "$cache_file"; then
1769     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 $as_echo "$as_me: loading cache $cache_file" >&6;}
1771     case $cache_file in
1772       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773       *)                      . "./$cache_file";;
1774     esac
1775   fi
1776 else
1777   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 $as_echo "$as_me: creating cache $cache_file" >&6;}
1779   >$cache_file
1780 fi
1781
1782 # Check that the precious variables saved in the cache have kept the same
1783 # value.
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787   eval ac_new_set=\$ac_env_${ac_var}_set
1788   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789   eval ac_new_val=\$ac_env_${ac_var}_value
1790   case $ac_old_set,$ac_new_set in
1791     set,)
1792       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794       ac_cache_corrupted=: ;;
1795     ,set)
1796       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798       ac_cache_corrupted=: ;;
1799     ,);;
1800     *)
1801       if test "x$ac_old_val" != "x$ac_new_val"; then
1802         # differences in whitespace do not lead to failure.
1803         ac_old_val_w=`echo x $ac_old_val`
1804         ac_new_val_w=`echo x $ac_new_val`
1805         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1806           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1807 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808           ac_cache_corrupted=:
1809         else
1810           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1811 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1812           eval $ac_var=\$ac_old_val
1813         fi
1814         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1815 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1816         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1817 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1818       fi;;
1819   esac
1820   # Pass precious variables to config.status.
1821   if test "$ac_new_set" = set; then
1822     case $ac_new_val in
1823     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1824     *) ac_arg=$ac_var=$ac_new_val ;;
1825     esac
1826     case " $ac_configure_args " in
1827       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1828       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1829     esac
1830   fi
1831 done
1832 if $ac_cache_corrupted; then
1833   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1835   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1836 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1837   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1838 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1839    { (exit 1); exit 1; }; }
1840 fi
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866 ac_ext=c
1867 ac_cpp='$CPP $CPPFLAGS'
1868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1871
1872
1873
1874 # Ensure that a recent enough version of Autoconf is being used
1875
1876
1877 # Check whether the configure script is in the right dir
1878
1879
1880 # Check programs
1881 echo .
1882 echo Check programs:
1883 echo .
1884
1885 ac_ext=c
1886 ac_cpp='$CPP $CPPFLAGS'
1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1890 if test -n "$ac_tool_prefix"; then
1891   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 $as_echo_n "checking for $ac_word... " >&6; }
1895 if test "${ac_cv_prog_CC+set}" = set; then
1896   $as_echo_n "(cached) " >&6
1897 else
1898   if test -n "$CC"; then
1899   ac_cv_prog_CC="$CC" # Let the user override the test.
1900 else
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 for as_dir in $PATH
1903 do
1904   IFS=$as_save_IFS
1905   test -z "$as_dir" && as_dir=.
1906   for ac_exec_ext in '' $ac_executable_extensions; do
1907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1909     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910     break 2
1911   fi
1912 done
1913 done
1914 IFS=$as_save_IFS
1915
1916 fi
1917 fi
1918 CC=$ac_cv_prog_CC
1919 if test -n "$CC"; then
1920   { $as_echo "$as_me:$LINENO: result: $CC" >&5
1921 $as_echo "$CC" >&6; }
1922 else
1923   { $as_echo "$as_me:$LINENO: result: no" >&5
1924 $as_echo "no" >&6; }
1925 fi
1926
1927
1928 fi
1929 if test -z "$ac_cv_prog_CC"; then
1930   ac_ct_CC=$CC
1931   # Extract the first word of "gcc", so it can be a program name with args.
1932 set dummy gcc; ac_word=$2
1933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1934 $as_echo_n "checking for $ac_word... " >&6; }
1935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1936   $as_echo_n "(cached) " >&6
1937 else
1938   if test -n "$ac_ct_CC"; then
1939   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1940 else
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 for as_dir in $PATH
1943 do
1944   IFS=$as_save_IFS
1945   test -z "$as_dir" && as_dir=.
1946   for ac_exec_ext in '' $ac_executable_extensions; do
1947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1948     ac_cv_prog_ac_ct_CC="gcc"
1949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1950     break 2
1951   fi
1952 done
1953 done
1954 IFS=$as_save_IFS
1955
1956 fi
1957 fi
1958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1959 if test -n "$ac_ct_CC"; then
1960   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1961 $as_echo "$ac_ct_CC" >&6; }
1962 else
1963   { $as_echo "$as_me:$LINENO: result: no" >&5
1964 $as_echo "no" >&6; }
1965 fi
1966
1967   if test "x$ac_ct_CC" = x; then
1968     CC=""
1969   else
1970     case $cross_compiling:$ac_tool_warned in
1971 yes:)
1972 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1974 ac_tool_warned=yes ;;
1975 esac
1976     CC=$ac_ct_CC
1977   fi
1978 else
1979   CC="$ac_cv_prog_CC"
1980 fi
1981
1982 if test -z "$CC"; then
1983           if test -n "$ac_tool_prefix"; then
1984     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1985 set dummy ${ac_tool_prefix}cc; ac_word=$2
1986 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 $as_echo_n "checking for $ac_word... " >&6; }
1988 if test "${ac_cv_prog_CC+set}" = set; then
1989   $as_echo_n "(cached) " >&6
1990 else
1991   if test -n "$CC"; then
1992   ac_cv_prog_CC="$CC" # Let the user override the test.
1993 else
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 for as_dir in $PATH
1996 do
1997   IFS=$as_save_IFS
1998   test -z "$as_dir" && as_dir=.
1999   for ac_exec_ext in '' $ac_executable_extensions; do
2000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2001     ac_cv_prog_CC="${ac_tool_prefix}cc"
2002     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003     break 2
2004   fi
2005 done
2006 done
2007 IFS=$as_save_IFS
2008
2009 fi
2010 fi
2011 CC=$ac_cv_prog_CC
2012 if test -n "$CC"; then
2013   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2014 $as_echo "$CC" >&6; }
2015 else
2016   { $as_echo "$as_me:$LINENO: result: no" >&5
2017 $as_echo "no" >&6; }
2018 fi
2019
2020
2021   fi
2022 fi
2023 if test -z "$CC"; then
2024   # Extract the first word of "cc", so it can be a program name with args.
2025 set dummy cc; ac_word=$2
2026 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 $as_echo_n "checking for $ac_word... " >&6; }
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029   $as_echo_n "(cached) " >&6
2030 else
2031   if test -n "$CC"; then
2032   ac_cv_prog_CC="$CC" # Let the user override the test.
2033 else
2034   ac_prog_rejected=no
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2037 do
2038   IFS=$as_save_IFS
2039   test -z "$as_dir" && as_dir=.
2040   for ac_exec_ext in '' $ac_executable_extensions; do
2041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2043        ac_prog_rejected=yes
2044        continue
2045      fi
2046     ac_cv_prog_CC="cc"
2047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048     break 2
2049   fi
2050 done
2051 done
2052 IFS=$as_save_IFS
2053
2054 if test $ac_prog_rejected = yes; then
2055   # We found a bogon in the path, so make sure we never use it.
2056   set dummy $ac_cv_prog_CC
2057   shift
2058   if test $# != 0; then
2059     # We chose a different compiler from the bogus one.
2060     # However, it has the same basename, so the bogon will be chosen
2061     # first if we set CC to just the basename; use the full file name.
2062     shift
2063     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2064   fi
2065 fi
2066 fi
2067 fi
2068 CC=$ac_cv_prog_CC
2069 if test -n "$CC"; then
2070   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2071 $as_echo "$CC" >&6; }
2072 else
2073   { $as_echo "$as_me:$LINENO: result: no" >&5
2074 $as_echo "no" >&6; }
2075 fi
2076
2077
2078 fi
2079 if test -z "$CC"; then
2080   if test -n "$ac_tool_prefix"; then
2081   for ac_prog in cl.exe
2082   do
2083     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088   $as_echo_n "(cached) " >&6
2089 else
2090   if test -n "$CC"; then
2091   ac_cv_prog_CC="$CC" # Let the user override the test.
2092 else
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2095 do
2096   IFS=$as_save_IFS
2097   test -z "$as_dir" && as_dir=.
2098   for ac_exec_ext in '' $ac_executable_extensions; do
2099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2101     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102     break 2
2103   fi
2104 done
2105 done
2106 IFS=$as_save_IFS
2107
2108 fi
2109 fi
2110 CC=$ac_cv_prog_CC
2111 if test -n "$CC"; then
2112   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2113 $as_echo "$CC" >&6; }
2114 else
2115   { $as_echo "$as_me:$LINENO: result: no" >&5
2116 $as_echo "no" >&6; }
2117 fi
2118
2119
2120     test -n "$CC" && break
2121   done
2122 fi
2123 if test -z "$CC"; then
2124   ac_ct_CC=$CC
2125   for ac_prog in cl.exe
2126 do
2127   # Extract the first word of "$ac_prog", so it can be a program name with args.
2128 set dummy $ac_prog; ac_word=$2
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132   $as_echo_n "(cached) " >&6
2133 else
2134   if test -n "$ac_ct_CC"; then
2135   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2136 else
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $PATH
2139 do
2140   IFS=$as_save_IFS
2141   test -z "$as_dir" && as_dir=.
2142   for ac_exec_ext in '' $ac_executable_extensions; do
2143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144     ac_cv_prog_ac_ct_CC="$ac_prog"
2145     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146     break 2
2147   fi
2148 done
2149 done
2150 IFS=$as_save_IFS
2151
2152 fi
2153 fi
2154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2155 if test -n "$ac_ct_CC"; then
2156   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2157 $as_echo "$ac_ct_CC" >&6; }
2158 else
2159   { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2161 fi
2162
2163
2164   test -n "$ac_ct_CC" && break
2165 done
2166
2167   if test "x$ac_ct_CC" = x; then
2168     CC=""
2169   else
2170     case $cross_compiling:$ac_tool_warned in
2171 yes:)
2172 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2174 ac_tool_warned=yes ;;
2175 esac
2176     CC=$ac_ct_CC
2177   fi
2178 fi
2179
2180 fi
2181
2182
2183 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2186 See \`config.log' for more details." >&5
2187 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2188 See \`config.log' for more details." >&2;}
2189    { (exit 1); exit 1; }; }; }
2190
2191 # Provide some information about the compiler.
2192 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2193 set X $ac_compile
2194 ac_compiler=$2
2195 { (ac_try="$ac_compiler --version >&5"
2196 case "(($ac_try" in
2197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2198   *) ac_try_echo=$ac_try;;
2199 esac
2200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2201 $as_echo "$ac_try_echo") >&5
2202   (eval "$ac_compiler --version >&5") 2>&5
2203   ac_status=$?
2204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205   (exit $ac_status); }
2206 { (ac_try="$ac_compiler -v >&5"
2207 case "(($ac_try" in
2208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2209   *) ac_try_echo=$ac_try;;
2210 esac
2211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2212 $as_echo "$ac_try_echo") >&5
2213   (eval "$ac_compiler -v >&5") 2>&5
2214   ac_status=$?
2215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216   (exit $ac_status); }
2217 { (ac_try="$ac_compiler -V >&5"
2218 case "(($ac_try" in
2219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220   *) ac_try_echo=$ac_try;;
2221 esac
2222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2223 $as_echo "$ac_try_echo") >&5
2224   (eval "$ac_compiler -V >&5") 2>&5
2225   ac_status=$?
2226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227   (exit $ac_status); }
2228
2229 cat >conftest.$ac_ext <<_ACEOF
2230 /* confdefs.h.  */
2231 _ACEOF
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h.  */
2235
2236 int
2237 main ()
2238 {
2239
2240   ;
2241   return 0;
2242 }
2243 _ACEOF
2244 ac_clean_files_save=$ac_clean_files
2245 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2246 # Try to create an executable without -o first, disregard a.out.
2247 # It will help us diagnose broken compilers, and finding out an intuition
2248 # of exeext.
2249 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2250 $as_echo_n "checking for C compiler default output file name... " >&6; }
2251 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2252
2253 # The possible output files:
2254 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2255
2256 ac_rmfiles=
2257 for ac_file in $ac_files
2258 do
2259   case $ac_file in
2260     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2261     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2262   esac
2263 done
2264 rm -f $ac_rmfiles
2265
2266 if { (ac_try="$ac_link_default"
2267 case "(($ac_try" in
2268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269   *) ac_try_echo=$ac_try;;
2270 esac
2271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2272 $as_echo "$ac_try_echo") >&5
2273   (eval "$ac_link_default") 2>&5
2274   ac_status=$?
2275   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276   (exit $ac_status); }; then
2277   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2278 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2279 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2280 # so that the user can short-circuit this test for compilers unknown to
2281 # Autoconf.
2282 for ac_file in $ac_files ''
2283 do
2284   test -f "$ac_file" || continue
2285   case $ac_file in
2286     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2287         ;;
2288     [ab].out )
2289         # We found the default executable, but exeext='' is most
2290         # certainly right.
2291         break;;
2292     *.* )
2293         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2294         then :; else
2295            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2296         fi
2297         # We set ac_cv_exeext here because the later test for it is not
2298         # safe: cross compilers may not add the suffix if given an `-o'
2299         # argument, so we may need to know it at that point already.
2300         # Even if this section looks crufty: it has the advantage of
2301         # actually working.
2302         break;;
2303     * )
2304         break;;
2305   esac
2306 done
2307 test "$ac_cv_exeext" = no && ac_cv_exeext=
2308
2309 else
2310   ac_file=''
2311 fi
2312
2313 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2314 $as_echo "$ac_file" >&6; }
2315 if test -z "$ac_file"; then
2316   $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2318
2319 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2321 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2322 See \`config.log' for more details." >&5
2323 $as_echo "$as_me: error: C compiler cannot create executables
2324 See \`config.log' for more details." >&2;}
2325    { (exit 77); exit 77; }; }; }
2326 fi
2327
2328 ac_exeext=$ac_cv_exeext
2329
2330 # Check that the compiler produces executables we can run.  If not, either
2331 # the compiler is broken, or we cross compile.
2332 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2333 $as_echo_n "checking whether the C compiler works... " >&6; }
2334 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2335 # If not cross compiling, check that we can run a simple program.
2336 if test "$cross_compiling" != yes; then
2337   if { ac_try='./$ac_file'
2338   { (case "(($ac_try" in
2339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340   *) ac_try_echo=$ac_try;;
2341 esac
2342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2343 $as_echo "$ac_try_echo") >&5
2344   (eval "$ac_try") 2>&5
2345   ac_status=$?
2346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347   (exit $ac_status); }; }; then
2348     cross_compiling=no
2349   else
2350     if test "$cross_compiling" = maybe; then
2351         cross_compiling=yes
2352     else
2353         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2356 If you meant to cross compile, use \`--host'.
2357 See \`config.log' for more details." >&5
2358 $as_echo "$as_me: error: cannot run C compiled programs.
2359 If you meant to cross compile, use \`--host'.
2360 See \`config.log' for more details." >&2;}
2361    { (exit 1); exit 1; }; }; }
2362     fi
2363   fi
2364 fi
2365 { $as_echo "$as_me:$LINENO: result: yes" >&5
2366 $as_echo "yes" >&6; }
2367
2368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2369 ac_clean_files=$ac_clean_files_save
2370 # Check that the compiler produces executables we can run.  If not, either
2371 # the compiler is broken, or we cross compile.
2372 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2373 $as_echo_n "checking whether we are cross compiling... " >&6; }
2374 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2375 $as_echo "$cross_compiling" >&6; }
2376
2377 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2378 $as_echo_n "checking for suffix of executables... " >&6; }
2379 if { (ac_try="$ac_link"
2380 case "(($ac_try" in
2381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382   *) ac_try_echo=$ac_try;;
2383 esac
2384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2385 $as_echo "$ac_try_echo") >&5
2386   (eval "$ac_link") 2>&5
2387   ac_status=$?
2388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389   (exit $ac_status); }; then
2390   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2391 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2392 # work properly (i.e., refer to `conftest.exe'), while it won't with
2393 # `rm'.
2394 for ac_file in conftest.exe conftest conftest.*; do
2395   test -f "$ac_file" || continue
2396   case $ac_file in
2397     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2398     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2399           break;;
2400     * ) break;;
2401   esac
2402 done
2403 else
2404   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2407 See \`config.log' for more details." >&5
2408 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2409 See \`config.log' for more details." >&2;}
2410    { (exit 1); exit 1; }; }; }
2411 fi
2412
2413 rm -f conftest$ac_cv_exeext
2414 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2415 $as_echo "$ac_cv_exeext" >&6; }
2416
2417 rm -f conftest.$ac_ext
2418 EXEEXT=$ac_cv_exeext
2419 ac_exeext=$EXEEXT
2420 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2421 $as_echo_n "checking for suffix of object files... " >&6; }
2422 if test "${ac_cv_objext+set}" = set; then
2423   $as_echo_n "(cached) " >&6
2424 else
2425   cat >conftest.$ac_ext <<_ACEOF
2426 /* confdefs.h.  */
2427 _ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h.  */
2431
2432 int
2433 main ()
2434 {
2435
2436   ;
2437   return 0;
2438 }
2439 _ACEOF
2440 rm -f conftest.o conftest.obj
2441 if { (ac_try="$ac_compile"
2442 case "(($ac_try" in
2443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444   *) ac_try_echo=$ac_try;;
2445 esac
2446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2447 $as_echo "$ac_try_echo") >&5
2448   (eval "$ac_compile") 2>&5
2449   ac_status=$?
2450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451   (exit $ac_status); }; then
2452   for ac_file in conftest.o conftest.obj conftest.*; do
2453   test -f "$ac_file" || continue;
2454   case $ac_file in
2455     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2456     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2457        break;;
2458   esac
2459 done
2460 else
2461   $as_echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2463
2464 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2466 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2467 See \`config.log' for more details." >&5
2468 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2469 See \`config.log' for more details." >&2;}
2470    { (exit 1); exit 1; }; }; }
2471 fi
2472
2473 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2474 fi
2475 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2476 $as_echo "$ac_cv_objext" >&6; }
2477 OBJEXT=$ac_cv_objext
2478 ac_objext=$OBJEXT
2479 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2481 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2482   $as_echo_n "(cached) " >&6
2483 else
2484   cat >conftest.$ac_ext <<_ACEOF
2485 /* confdefs.h.  */
2486 _ACEOF
2487 cat confdefs.h >>conftest.$ac_ext
2488 cat >>conftest.$ac_ext <<_ACEOF
2489 /* end confdefs.h.  */
2490
2491 int
2492 main ()
2493 {
2494 #ifndef __GNUC__
2495        choke me
2496 #endif
2497
2498   ;
2499   return 0;
2500 }
2501 _ACEOF
2502 rm -f conftest.$ac_objext
2503 if { (ac_try="$ac_compile"
2504 case "(($ac_try" in
2505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506   *) ac_try_echo=$ac_try;;
2507 esac
2508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2509 $as_echo "$ac_try_echo") >&5
2510   (eval "$ac_compile") 2>conftest.er1
2511   ac_status=$?
2512   grep -v '^ *+' conftest.er1 >conftest.err
2513   rm -f conftest.er1
2514   cat conftest.err >&5
2515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516   (exit $ac_status); } && {
2517          test -z "$ac_c_werror_flag" ||
2518          test ! -s conftest.err
2519        } && test -s conftest.$ac_objext; then
2520   ac_compiler_gnu=yes
2521 else
2522   $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2524
2525         ac_compiler_gnu=no
2526 fi
2527
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2530
2531 fi
2532 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2533 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2534 if test $ac_compiler_gnu = yes; then
2535   GCC=yes
2536 else
2537   GCC=
2538 fi
2539 ac_test_CFLAGS=${CFLAGS+set}
2540 ac_save_CFLAGS=$CFLAGS
2541 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2543 if test "${ac_cv_prog_cc_g+set}" = set; then
2544   $as_echo_n "(cached) " >&6
2545 else
2546   ac_save_c_werror_flag=$ac_c_werror_flag
2547    ac_c_werror_flag=yes
2548    ac_cv_prog_cc_g=no
2549    CFLAGS="-g"
2550    cat >conftest.$ac_ext <<_ACEOF
2551 /* confdefs.h.  */
2552 _ACEOF
2553 cat confdefs.h >>conftest.$ac_ext
2554 cat >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h.  */
2556
2557 int
2558 main ()
2559 {
2560
2561   ;
2562   return 0;
2563 }
2564 _ACEOF
2565 rm -f conftest.$ac_objext
2566 if { (ac_try="$ac_compile"
2567 case "(($ac_try" in
2568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569   *) ac_try_echo=$ac_try;;
2570 esac
2571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2572 $as_echo "$ac_try_echo") >&5
2573   (eval "$ac_compile") 2>conftest.er1
2574   ac_status=$?
2575   grep -v '^ *+' conftest.er1 >conftest.err
2576   rm -f conftest.er1
2577   cat conftest.err >&5
2578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579   (exit $ac_status); } && {
2580          test -z "$ac_c_werror_flag" ||
2581          test ! -s conftest.err
2582        } && test -s conftest.$ac_objext; then
2583   ac_cv_prog_cc_g=yes
2584 else
2585   $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2587
2588         CFLAGS=""
2589       cat >conftest.$ac_ext <<_ACEOF
2590 /* confdefs.h.  */
2591 _ACEOF
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h.  */
2595
2596 int
2597 main ()
2598 {
2599
2600   ;
2601   return 0;
2602 }
2603 _ACEOF
2604 rm -f conftest.$ac_objext
2605 if { (ac_try="$ac_compile"
2606 case "(($ac_try" in
2607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608   *) ac_try_echo=$ac_try;;
2609 esac
2610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2611 $as_echo "$ac_try_echo") >&5
2612   (eval "$ac_compile") 2>conftest.er1
2613   ac_status=$?
2614   grep -v '^ *+' conftest.er1 >conftest.err
2615   rm -f conftest.er1
2616   cat conftest.err >&5
2617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618   (exit $ac_status); } && {
2619          test -z "$ac_c_werror_flag" ||
2620          test ! -s conftest.err
2621        } && test -s conftest.$ac_objext; then
2622   :
2623 else
2624   $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2626
2627         ac_c_werror_flag=$ac_save_c_werror_flag
2628          CFLAGS="-g"
2629          cat >conftest.$ac_ext <<_ACEOF
2630 /* confdefs.h.  */
2631 _ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h.  */
2635
2636 int
2637 main ()
2638 {
2639
2640   ;
2641   return 0;
2642 }
2643 _ACEOF
2644 rm -f conftest.$ac_objext
2645 if { (ac_try="$ac_compile"
2646 case "(($ac_try" in
2647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648   *) ac_try_echo=$ac_try;;
2649 esac
2650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2651 $as_echo "$ac_try_echo") >&5
2652   (eval "$ac_compile") 2>conftest.er1
2653   ac_status=$?
2654   grep -v '^ *+' conftest.er1 >conftest.err
2655   rm -f conftest.er1
2656   cat conftest.err >&5
2657   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658   (exit $ac_status); } && {
2659          test -z "$ac_c_werror_flag" ||
2660          test ! -s conftest.err
2661        } && test -s conftest.$ac_objext; then
2662   ac_cv_prog_cc_g=yes
2663 else
2664   $as_echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2666
2667
2668 fi
2669
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 fi
2672
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 fi
2675
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677    ac_c_werror_flag=$ac_save_c_werror_flag
2678 fi
2679 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2680 $as_echo "$ac_cv_prog_cc_g" >&6; }
2681 if test "$ac_test_CFLAGS" = set; then
2682   CFLAGS=$ac_save_CFLAGS
2683 elif test $ac_cv_prog_cc_g = yes; then
2684   if test "$GCC" = yes; then
2685     CFLAGS="-g -O2"
2686   else
2687     CFLAGS="-g"
2688   fi
2689 else
2690   if test "$GCC" = yes; then
2691     CFLAGS="-O2"
2692   else
2693     CFLAGS=
2694   fi
2695 fi
2696 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2698 if test "${ac_cv_prog_cc_c89+set}" = set; then
2699   $as_echo_n "(cached) " >&6
2700 else
2701   ac_cv_prog_cc_c89=no
2702 ac_save_CC=$CC
2703 cat >conftest.$ac_ext <<_ACEOF
2704 /* confdefs.h.  */
2705 _ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h.  */
2709 #include <stdarg.h>
2710 #include <stdio.h>
2711 #include <sys/types.h>
2712 #include <sys/stat.h>
2713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2714 struct buf { int x; };
2715 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2716 static char *e (p, i)
2717      char **p;
2718      int i;
2719 {
2720   return p[i];
2721 }
2722 static char *f (char * (*g) (char **, int), char **p, ...)
2723 {
2724   char *s;
2725   va_list v;
2726   va_start (v,p);
2727   s = g (p, va_arg (v,int));
2728   va_end (v);
2729   return s;
2730 }
2731
2732 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2733    function prototypes and stuff, but not '\xHH' hex character constants.
2734    These don't provoke an error unfortunately, instead are silently treated
2735    as 'x'.  The following induces an error, until -std is added to get
2736    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2737    array size at least.  It's necessary to write '\x00'==0 to get something
2738    that's true only with -std.  */
2739 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2740
2741 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2742    inside strings and character constants.  */
2743 #define FOO(x) 'x'
2744 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2745
2746 int test (int i, double x);
2747 struct s1 {int (*f) (int a);};
2748 struct s2 {int (*f) (double a);};
2749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2750 int argc;
2751 char **argv;
2752 int
2753 main ()
2754 {
2755 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2756   ;
2757   return 0;
2758 }
2759 _ACEOF
2760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2761         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2762 do
2763   CC="$ac_save_CC $ac_arg"
2764   rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2766 case "(($ac_try" in
2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768   *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771 $as_echo "$ac_try_echo") >&5
2772   (eval "$ac_compile") 2>conftest.er1
2773   ac_status=$?
2774   grep -v '^ *+' conftest.er1 >conftest.err
2775   rm -f conftest.er1
2776   cat conftest.err >&5
2777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778   (exit $ac_status); } && {
2779          test -z "$ac_c_werror_flag" ||
2780          test ! -s conftest.err
2781        } && test -s conftest.$ac_objext; then
2782   ac_cv_prog_cc_c89=$ac_arg
2783 else
2784   $as_echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2786
2787
2788 fi
2789
2790 rm -f core conftest.err conftest.$ac_objext
2791   test "x$ac_cv_prog_cc_c89" != "xno" && break
2792 done
2793 rm -f conftest.$ac_ext
2794 CC=$ac_save_CC
2795
2796 fi
2797 # AC_CACHE_VAL
2798 case "x$ac_cv_prog_cc_c89" in
2799   x)
2800     { $as_echo "$as_me:$LINENO: result: none needed" >&5
2801 $as_echo "none needed" >&6; } ;;
2802   xno)
2803     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2804 $as_echo "unsupported" >&6; } ;;
2805   *)
2806     CC="$CC $ac_cv_prog_cc_c89"
2807     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2809 esac
2810
2811
2812 ac_ext=c
2813 ac_cpp='$CPP $CPPFLAGS'
2814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817
2818
2819 ac_ext=c
2820 ac_cpp='$CPP $CPPFLAGS'
2821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2824 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2825 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2826 # On Suns, sometimes $CPP names a directory.
2827 if test -n "$CPP" && test -d "$CPP"; then
2828   CPP=
2829 fi
2830 if test -z "$CPP"; then
2831   if test "${ac_cv_prog_CPP+set}" = set; then
2832   $as_echo_n "(cached) " >&6
2833 else
2834       # Double quotes because CPP needs to be expanded
2835     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2836     do
2837       ac_preproc_ok=false
2838 for ac_c_preproc_warn_flag in '' yes
2839 do
2840   # Use a header file that comes with gcc, so configuring glibc
2841   # with a fresh cross-compiler works.
2842   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2843   # <limits.h> exists even on freestanding compilers.
2844   # On the NeXT, cc -E runs the code through the compiler's parser,
2845   # not just through cpp. "Syntax error" is here to catch this case.
2846   cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h.  */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h.  */
2852 #ifdef __STDC__
2853 # include <limits.h>
2854 #else
2855 # include <assert.h>
2856 #endif
2857                      Syntax error
2858 _ACEOF
2859 if { (ac_try="$ac_cpp conftest.$ac_ext"
2860 case "(($ac_try" in
2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862   *) ac_try_echo=$ac_try;;
2863 esac
2864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2865 $as_echo "$ac_try_echo") >&5
2866   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2867   ac_status=$?
2868   grep -v '^ *+' conftest.er1 >conftest.err
2869   rm -f conftest.er1
2870   cat conftest.err >&5
2871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872   (exit $ac_status); } >/dev/null && {
2873          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2874          test ! -s conftest.err
2875        }; then
2876   :
2877 else
2878   $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2880
2881   # Broken: fails on valid input.
2882 continue
2883 fi
2884
2885 rm -f conftest.err conftest.$ac_ext
2886
2887   # OK, works on sane cases.  Now check whether nonexistent headers
2888   # can be detected and how.
2889   cat >conftest.$ac_ext <<_ACEOF
2890 /* confdefs.h.  */
2891 _ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h.  */
2895 #include <ac_nonexistent.h>
2896 _ACEOF
2897 if { (ac_try="$ac_cpp conftest.$ac_ext"
2898 case "(($ac_try" in
2899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900   *) ac_try_echo=$ac_try;;
2901 esac
2902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2903 $as_echo "$ac_try_echo") >&5
2904   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2905   ac_status=$?
2906   grep -v '^ *+' conftest.er1 >conftest.err
2907   rm -f conftest.er1
2908   cat conftest.err >&5
2909   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910   (exit $ac_status); } >/dev/null && {
2911          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2912          test ! -s conftest.err
2913        }; then
2914   # Broken: success on invalid input.
2915 continue
2916 else
2917   $as_echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2919
2920   # Passes both tests.
2921 ac_preproc_ok=:
2922 break
2923 fi
2924
2925 rm -f conftest.err conftest.$ac_ext
2926
2927 done
2928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2929 rm -f conftest.err conftest.$ac_ext
2930 if $ac_preproc_ok; then
2931   break
2932 fi
2933
2934     done
2935     ac_cv_prog_CPP=$CPP
2936
2937 fi
2938   CPP=$ac_cv_prog_CPP
2939 else
2940   ac_cv_prog_CPP=$CPP
2941 fi
2942 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2943 $as_echo "$CPP" >&6; }
2944 ac_preproc_ok=false
2945 for ac_c_preproc_warn_flag in '' yes
2946 do
2947   # Use a header file that comes with gcc, so configuring glibc
2948   # with a fresh cross-compiler works.
2949   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950   # <limits.h> exists even on freestanding compilers.
2951   # On the NeXT, cc -E runs the code through the compiler's parser,
2952   # not just through cpp. "Syntax error" is here to catch this case.
2953   cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h.  */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h.  */
2959 #ifdef __STDC__
2960 # include <limits.h>
2961 #else
2962 # include <assert.h>
2963 #endif
2964                      Syntax error
2965 _ACEOF
2966 if { (ac_try="$ac_cpp conftest.$ac_ext"
2967 case "(($ac_try" in
2968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969   *) ac_try_echo=$ac_try;;
2970 esac
2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2972 $as_echo "$ac_try_echo") >&5
2973   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2974   ac_status=$?
2975   grep -v '^ *+' conftest.er1 >conftest.err
2976   rm -f conftest.er1
2977   cat conftest.err >&5
2978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979   (exit $ac_status); } >/dev/null && {
2980          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2981          test ! -s conftest.err
2982        }; then
2983   :
2984 else
2985   $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2987
2988   # Broken: fails on valid input.
2989 continue
2990 fi
2991
2992 rm -f conftest.err conftest.$ac_ext
2993
2994   # OK, works on sane cases.  Now check whether nonexistent headers
2995   # can be detected and how.
2996   cat >conftest.$ac_ext <<_ACEOF
2997 /* confdefs.h.  */
2998 _ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h.  */
3002 #include <ac_nonexistent.h>
3003 _ACEOF
3004 if { (ac_try="$ac_cpp conftest.$ac_ext"
3005 case "(($ac_try" in
3006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007   *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3010 $as_echo "$ac_try_echo") >&5
3011   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3012   ac_status=$?
3013   grep -v '^ *+' conftest.er1 >conftest.err
3014   rm -f conftest.er1
3015   cat conftest.err >&5
3016   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017   (exit $ac_status); } >/dev/null && {
3018          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3019          test ! -s conftest.err
3020        }; then
3021   # Broken: success on invalid input.
3022 continue
3023 else
3024   $as_echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3026
3027   # Passes both tests.
3028 ac_preproc_ok=:
3029 break
3030 fi
3031
3032 rm -f conftest.err conftest.$ac_ext
3033
3034 done
3035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3036 rm -f conftest.err conftest.$ac_ext
3037 if $ac_preproc_ok; then
3038   :
3039 else
3040   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3043 See \`config.log' for more details." >&5
3044 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3045 See \`config.log' for more details." >&2;}
3046    { (exit 1); exit 1; }; }; }
3047 fi
3048
3049 ac_ext=c
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054
3055
3056 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3057 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3058 if test "${ac_cv_path_GREP+set}" = set; then
3059   $as_echo_n "(cached) " >&6
3060 else
3061   if test -z "$GREP"; then
3062   ac_path_GREP_found=false
3063   # Loop through the user's path and test for each of PROGNAME-LIST
3064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3066 do
3067   IFS=$as_save_IFS
3068   test -z "$as_dir" && as_dir=.
3069   for ac_prog in grep ggrep; do
3070     for ac_exec_ext in '' $ac_executable_extensions; do
3071       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3072       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3073 # Check for GNU ac_path_GREP and select it if it is found.
3074   # Check for GNU $ac_path_GREP
3075 case `"$ac_path_GREP" --version 2>&1` in
3076 *GNU*)
3077   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3078 *)
3079   ac_count=0
3080   $as_echo_n 0123456789 >"conftest.in"
3081   while :
3082   do
3083     cat "conftest.in" "conftest.in" >"conftest.tmp"
3084     mv "conftest.tmp" "conftest.in"
3085     cp "conftest.in" "conftest.nl"
3086     $as_echo 'GREP' >> "conftest.nl"
3087     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3088     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3089     ac_count=`expr $ac_count + 1`
3090     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3091       # Best one so far, save it but keep looking for a better one
3092       ac_cv_path_GREP="$ac_path_GREP"
3093       ac_path_GREP_max=$ac_count
3094     fi
3095     # 10*(2^10) chars as input seems more than enough
3096     test $ac_count -gt 10 && break
3097   done
3098   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3099 esac
3100
3101       $ac_path_GREP_found && break 3
3102     done
3103   done
3104 done
3105 IFS=$as_save_IFS
3106   if test -z "$ac_cv_path_GREP"; then
3107     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3108 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3109    { (exit 1); exit 1; }; }
3110   fi
3111 else
3112   ac_cv_path_GREP=$GREP
3113 fi
3114
3115 fi
3116 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3117 $as_echo "$ac_cv_path_GREP" >&6; }
3118  GREP="$ac_cv_path_GREP"
3119
3120
3121 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3122 $as_echo_n "checking for egrep... " >&6; }
3123 if test "${ac_cv_path_EGREP+set}" = set; then
3124   $as_echo_n "(cached) " >&6
3125 else
3126   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3127    then ac_cv_path_EGREP="$GREP -E"
3128    else
3129      if test -z "$EGREP"; then
3130   ac_path_EGREP_found=false
3131   # Loop through the user's path and test for each of PROGNAME-LIST
3132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3134 do
3135   IFS=$as_save_IFS
3136   test -z "$as_dir" && as_dir=.
3137   for ac_prog in egrep; do
3138     for ac_exec_ext in '' $ac_executable_extensions; do
3139       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3140       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3141 # Check for GNU ac_path_EGREP and select it if it is found.
3142   # Check for GNU $ac_path_EGREP
3143 case `"$ac_path_EGREP" --version 2>&1` in
3144 *GNU*)
3145   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3146 *)
3147   ac_count=0
3148   $as_echo_n 0123456789 >"conftest.in"
3149   while :
3150   do
3151     cat "conftest.in" "conftest.in" >"conftest.tmp"
3152     mv "conftest.tmp" "conftest.in"
3153     cp "conftest.in" "conftest.nl"
3154     $as_echo 'EGREP' >> "conftest.nl"
3155     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3156     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3157     ac_count=`expr $ac_count + 1`
3158     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3159       # Best one so far, save it but keep looking for a better one
3160       ac_cv_path_EGREP="$ac_path_EGREP"
3161       ac_path_EGREP_max=$ac_count
3162     fi
3163     # 10*(2^10) chars as input seems more than enough
3164     test $ac_count -gt 10 && break
3165   done
3166   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3167 esac
3168
3169       $ac_path_EGREP_found && break 3
3170     done
3171   done
3172 done
3173 IFS=$as_save_IFS
3174   if test -z "$ac_cv_path_EGREP"; then
3175     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3176 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3177    { (exit 1); exit 1; }; }
3178   fi
3179 else
3180   ac_cv_path_EGREP=$EGREP
3181 fi
3182
3183    fi
3184 fi
3185 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3186 $as_echo "$ac_cv_path_EGREP" >&6; }
3187  EGREP="$ac_cv_path_EGREP"
3188
3189
3190 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3191 $as_echo_n "checking for ANSI C header files... " >&6; }
3192 if test "${ac_cv_header_stdc+set}" = set; then
3193   $as_echo_n "(cached) " >&6
3194 else
3195   cat >conftest.$ac_ext <<_ACEOF
3196 /* confdefs.h.  */
3197 _ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h.  */
3201 #include <stdlib.h>
3202 #include <stdarg.h>
3203 #include <string.h>
3204 #include <float.h>
3205
3206 int
3207 main ()
3208 {
3209
3210   ;
3211   return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3216 case "(($ac_try" in
3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218   *) ac_try_echo=$ac_try;;
3219 esac
3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221 $as_echo "$ac_try_echo") >&5
3222   (eval "$ac_compile") 2>conftest.er1
3223   ac_status=$?
3224   grep -v '^ *+' conftest.er1 >conftest.err
3225   rm -f conftest.er1
3226   cat conftest.err >&5
3227   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228   (exit $ac_status); } && {
3229          test -z "$ac_c_werror_flag" ||
3230          test ! -s conftest.err
3231        } && test -s conftest.$ac_objext; then
3232   ac_cv_header_stdc=yes
3233 else
3234   $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3236
3237         ac_cv_header_stdc=no
3238 fi
3239
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241
3242 if test $ac_cv_header_stdc = yes; then
3243   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3244   cat >conftest.$ac_ext <<_ACEOF
3245 /* confdefs.h.  */
3246 _ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h.  */
3250 #include <string.h>
3251
3252 _ACEOF
3253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3254   $EGREP "memchr" >/dev/null 2>&1; then
3255   :
3256 else
3257   ac_cv_header_stdc=no
3258 fi
3259 rm -f conftest*
3260
3261 fi
3262
3263 if test $ac_cv_header_stdc = yes; then
3264   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3265   cat >conftest.$ac_ext <<_ACEOF
3266 /* confdefs.h.  */
3267 _ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h.  */
3271 #include <stdlib.h>
3272
3273 _ACEOF
3274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3275   $EGREP "free" >/dev/null 2>&1; then
3276   :
3277 else
3278   ac_cv_header_stdc=no
3279 fi
3280 rm -f conftest*
3281
3282 fi
3283
3284 if test $ac_cv_header_stdc = yes; then
3285   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3286   if test "$cross_compiling" = yes; then
3287   :
3288 else
3289   cat >conftest.$ac_ext <<_ACEOF
3290 /* confdefs.h.  */
3291 _ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h.  */
3295 #include <ctype.h>
3296 #include <stdlib.h>
3297 #if ((' ' & 0x0FF) == 0x020)
3298 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3299 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3300 #else
3301 # define ISLOWER(c) \
3302                    (('a' <= (c) && (c) <= 'i') \
3303                      || ('j' <= (c) && (c) <= 'r') \
3304                      || ('s' <= (c) && (c) <= 'z'))
3305 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3306 #endif
3307
3308 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3309 int
3310 main ()
3311 {
3312   int i;
3313   for (i = 0; i < 256; i++)
3314     if (XOR (islower (i), ISLOWER (i))
3315         || toupper (i) != TOUPPER (i))
3316       return 2;
3317   return 0;
3318 }
3319 _ACEOF
3320 rm -f conftest$ac_exeext
3321 if { (ac_try="$ac_link"
3322 case "(($ac_try" in
3323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324   *) ac_try_echo=$ac_try;;
3325 esac
3326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3327 $as_echo "$ac_try_echo") >&5
3328   (eval "$ac_link") 2>&5
3329   ac_status=$?
3330   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3332   { (case "(($ac_try" in
3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334   *) ac_try_echo=$ac_try;;
3335 esac
3336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337 $as_echo "$ac_try_echo") >&5
3338   (eval "$ac_try") 2>&5
3339   ac_status=$?
3340   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341   (exit $ac_status); }; }; then
3342   :
3343 else
3344   $as_echo "$as_me: program exited with status $ac_status" >&5
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3347
3348 ( exit $ac_status )
3349 ac_cv_header_stdc=no
3350 fi
3351 rm -rf conftest.dSYM
3352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3353 fi
3354
3355
3356 fi
3357 fi
3358 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3359 $as_echo "$ac_cv_header_stdc" >&6; }
3360 if test $ac_cv_header_stdc = yes; then
3361
3362 cat >>confdefs.h <<\_ACEOF
3363 #define STDC_HEADERS 1
3364 _ACEOF
3365
3366 fi
3367
3368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3379                   inttypes.h stdint.h unistd.h
3380 do
3381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3383 $as_echo_n "checking for $ac_header... " >&6; }
3384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3385   $as_echo_n "(cached) " >&6
3386 else
3387   cat >conftest.$ac_ext <<_ACEOF
3388 /* confdefs.h.  */
3389 _ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h.  */
3393 $ac_includes_default
3394
3395 #include <$ac_header>
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3399 case "(($ac_try" in
3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401   *) ac_try_echo=$ac_try;;
3402 esac
3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404 $as_echo "$ac_try_echo") >&5
3405   (eval "$ac_compile") 2>conftest.er1
3406   ac_status=$?
3407   grep -v '^ *+' conftest.er1 >conftest.err
3408   rm -f conftest.er1
3409   cat conftest.err >&5
3410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411   (exit $ac_status); } && {
3412          test -z "$ac_c_werror_flag" ||
3413          test ! -s conftest.err
3414        } && test -s conftest.$ac_objext; then
3415   eval "$as_ac_Header=yes"
3416 else
3417   $as_echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3419
3420         eval "$as_ac_Header=no"
3421 fi
3422
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 fi
3425 ac_res=`eval 'as_val=${'$as_ac_Header'}
3426                  $as_echo "$as_val"'`
3427                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3428 $as_echo "$ac_res" >&6; }
3429 as_val=`eval 'as_val=${'$as_ac_Header'}
3430                  $as_echo "$as_val"'`
3431    if test "x$as_val" = x""yes; then
3432   cat >>confdefs.h <<_ACEOF
3433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3434 _ACEOF
3435
3436 fi
3437
3438 done
3439
3440
3441
3442   if test "${ac_cv_header_minix_config_h+set}" = set; then
3443   { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3444 $as_echo_n "checking for minix/config.h... " >&6; }
3445 if test "${ac_cv_header_minix_config_h+set}" = set; then
3446   $as_echo_n "(cached) " >&6
3447 fi
3448 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3449 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3450 else
3451   # Is the header compilable?
3452 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3453 $as_echo_n "checking minix/config.h usability... " >&6; }
3454 cat >conftest.$ac_ext <<_ACEOF
3455 /* confdefs.h.  */
3456 _ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h.  */
3460 $ac_includes_default
3461 #include <minix/config.h>
3462 _ACEOF
3463 rm -f conftest.$ac_objext
3464 if { (ac_try="$ac_compile"
3465 case "(($ac_try" in
3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467   *) ac_try_echo=$ac_try;;
3468 esac
3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470 $as_echo "$ac_try_echo") >&5
3471   (eval "$ac_compile") 2>conftest.er1
3472   ac_status=$?
3473   grep -v '^ *+' conftest.er1 >conftest.err
3474   rm -f conftest.er1
3475   cat conftest.err >&5
3476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477   (exit $ac_status); } && {
3478          test -z "$ac_c_werror_flag" ||
3479          test ! -s conftest.err
3480        } && test -s conftest.$ac_objext; then
3481   ac_header_compiler=yes
3482 else
3483   $as_echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3485
3486         ac_header_compiler=no
3487 fi
3488
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3491 $as_echo "$ac_header_compiler" >&6; }
3492
3493 # Is the header present?
3494 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3495 $as_echo_n "checking minix/config.h presence... " >&6; }
3496 cat >conftest.$ac_ext <<_ACEOF
3497 /* confdefs.h.  */
3498 _ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h.  */
3502 #include <minix/config.h>
3503 _ACEOF
3504 if { (ac_try="$ac_cpp conftest.$ac_ext"
3505 case "(($ac_try" in
3506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507   *) ac_try_echo=$ac_try;;
3508 esac
3509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3510 $as_echo "$ac_try_echo") >&5
3511   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3512   ac_status=$?
3513   grep -v '^ *+' conftest.er1 >conftest.err
3514   rm -f conftest.er1
3515   cat conftest.err >&5
3516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517   (exit $ac_status); } >/dev/null && {
3518          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3519          test ! -s conftest.err
3520        }; then
3521   ac_header_preproc=yes
3522 else
3523   $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3525
3526   ac_header_preproc=no
3527 fi
3528
3529 rm -f conftest.err conftest.$ac_ext
3530 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3531 $as_echo "$ac_header_preproc" >&6; }
3532
3533 # So?  What about this header?
3534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3535   yes:no: )
3536     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3537 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3538     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3539 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3540     ac_header_preproc=yes
3541     ;;
3542   no:yes:* )
3543     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3544 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3545     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
3546 $as_echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
3547     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3548 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3549     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
3550 $as_echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3551     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3552 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3553     { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3554 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3555
3556     ;;
3557 esac
3558 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3559 $as_echo_n "checking for minix/config.h... " >&6; }
3560 if test "${ac_cv_header_minix_config_h+set}" = set; then
3561   $as_echo_n "(cached) " >&6
3562 else
3563   ac_cv_header_minix_config_h=$ac_header_preproc
3564 fi
3565 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3566 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3567
3568 fi
3569 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3570   MINIX=yes
3571 else
3572   MINIX=
3573 fi
3574
3575
3576   if test "$MINIX" = yes; then
3577
3578 cat >>confdefs.h <<\_ACEOF
3579 #define _POSIX_SOURCE 1
3580 _ACEOF
3581
3582
3583 cat >>confdefs.h <<\_ACEOF
3584 #define _POSIX_1_SOURCE 2
3585 _ACEOF
3586
3587
3588 cat >>confdefs.h <<\_ACEOF
3589 #define _MINIX 1
3590 _ACEOF
3591
3592   fi
3593
3594
3595
3596   { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3597 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3598 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3599   $as_echo_n "(cached) " >&6
3600 else
3601   cat >conftest.$ac_ext <<_ACEOF
3602 /* confdefs.h.  */
3603 _ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h.  */
3607
3608 #         define __EXTENSIONS__ 1
3609           $ac_includes_default
3610 int
3611 main ()
3612 {
3613
3614   ;
3615   return 0;
3616 }
3617 _ACEOF
3618 rm -f conftest.$ac_objext
3619 if { (ac_try="$ac_compile"
3620 case "(($ac_try" in
3621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622   *) ac_try_echo=$ac_try;;
3623 esac
3624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3625 $as_echo "$ac_try_echo") >&5
3626   (eval "$ac_compile") 2>conftest.er1
3627   ac_status=$?
3628   grep -v '^ *+' conftest.er1 >conftest.err
3629   rm -f conftest.er1
3630   cat conftest.err >&5
3631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632   (exit $ac_status); } && {
3633          test -z "$ac_c_werror_flag" ||
3634          test ! -s conftest.err
3635        } && test -s conftest.$ac_objext; then
3636   ac_cv_safe_to_define___extensions__=yes
3637 else
3638   $as_echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3640
3641         ac_cv_safe_to_define___extensions__=no
3642 fi
3643
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 fi
3646 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3647 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3648   test $ac_cv_safe_to_define___extensions__ = yes &&
3649     cat >>confdefs.h <<\_ACEOF
3650 #define __EXTENSIONS__ 1
3651 _ACEOF
3652
3653   cat >>confdefs.h <<\_ACEOF
3654 #define _ALL_SOURCE 1
3655 _ACEOF
3656
3657   cat >>confdefs.h <<\_ACEOF
3658 #define _GNU_SOURCE 1
3659 _ACEOF
3660
3661   cat >>confdefs.h <<\_ACEOF
3662 #define _POSIX_PTHREAD_SEMANTICS 1
3663 _ACEOF
3664
3665   cat >>confdefs.h <<\_ACEOF
3666 #define _TANDEM_SOURCE 1
3667 _ACEOF
3668
3669
3670 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3671 $as_echo_n "checking whether ln -s works... " >&6; }
3672 LN_S=$as_ln_s
3673 if test "$LN_S" = "ln -s"; then
3674   { $as_echo "$as_me:$LINENO: result: yes" >&5
3675 $as_echo "yes" >&6; }
3676 else
3677   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3678 $as_echo "no, using $LN_S" >&6; }
3679 fi
3680
3681
3682 DFLAGS=""
3683
3684 # Extract the first word of "chmod", so it can be a program name with args.
3685 set dummy chmod; ac_word=$2
3686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_CHMOD+set}" = set; then
3689   $as_echo_n "(cached) " >&6
3690 else
3691   if test -n "$CHMOD"; then
3692   ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3693 else
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3696 do
3697   IFS=$as_save_IFS
3698   test -z "$as_dir" && as_dir=.
3699   for ac_exec_ext in '' $ac_executable_extensions; do
3700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701     ac_cv_prog_CHMOD="chmod"
3702     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703     break 2
3704   fi
3705 done
3706 done
3707 IFS=$as_save_IFS
3708
3709 fi
3710 fi
3711 CHMOD=$ac_cv_prog_CHMOD
3712 if test -n "$CHMOD"; then
3713   { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
3714 $as_echo "$CHMOD" >&6; }
3715 else
3716   { $as_echo "$as_me:$LINENO: result: no" >&5
3717 $as_echo "no" >&6; }
3718 fi
3719
3720
3721 # Extract the first word of "chown", so it can be a program name with args.
3722 set dummy chown; ac_word=$2
3723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if test "${ac_cv_prog_CHOWN+set}" = set; then
3726   $as_echo_n "(cached) " >&6
3727 else
3728   if test -n "$CHOWN"; then
3729   ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3730 else
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH
3733 do
3734   IFS=$as_save_IFS
3735   test -z "$as_dir" && as_dir=.
3736   for ac_exec_ext in '' $ac_executable_extensions; do
3737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3738     ac_cv_prog_CHOWN="chown"
3739     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3740     break 2
3741   fi
3742 done
3743 done
3744 IFS=$as_save_IFS
3745
3746 fi
3747 fi
3748 CHOWN=$ac_cv_prog_CHOWN
3749 if test -n "$CHOWN"; then
3750   { $as_echo "$as_me:$LINENO: result: $CHOWN" >&5
3751 $as_echo "$CHOWN" >&6; }
3752 else
3753   { $as_echo "$as_me:$LINENO: result: no" >&5
3754 $as_echo "no" >&6; }
3755 fi
3756
3757
3758 # Extract the first word of "ar", so it can be a program name with args.
3759 set dummy ar; ac_word=$2
3760 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3761 $as_echo_n "checking for $ac_word... " >&6; }
3762 if test "${ac_cv_prog_AR+set}" = set; then
3763   $as_echo_n "(cached) " >&6
3764 else
3765   if test -n "$AR"; then
3766   ac_cv_prog_AR="$AR" # Let the user override the test.
3767 else
3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 for as_dir in $PATH
3770 do
3771   IFS=$as_save_IFS
3772   test -z "$as_dir" && as_dir=.
3773   for ac_exec_ext in '' $ac_executable_extensions; do
3774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3775     ac_cv_prog_AR="ar"
3776     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3777     break 2
3778   fi
3779 done
3780 done
3781 IFS=$as_save_IFS
3782
3783 fi
3784 fi
3785 AR=$ac_cv_prog_AR
3786 if test -n "$AR"; then
3787   { $as_echo "$as_me:$LINENO: result: $AR" >&5
3788 $as_echo "$AR" >&6; }
3789 else
3790   { $as_echo "$as_me:$LINENO: result: no" >&5
3791 $as_echo "no" >&6; }
3792 fi
3793
3794
3795 # Extract the first word of "install", so it can be a program name with args.
3796 set dummy install; ac_word=$2
3797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if test "${ac_cv_prog_INSTALL+set}" = set; then
3800   $as_echo_n "(cached) " >&6
3801 else
3802   if test -n "$INSTALL"; then
3803   ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3807 do
3808   IFS=$as_save_IFS
3809   test -z "$as_dir" && as_dir=.
3810   for ac_exec_ext in '' $ac_executable_extensions; do
3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812     ac_cv_prog_INSTALL="install"
3813     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814     break 2
3815   fi
3816 done
3817 done
3818 IFS=$as_save_IFS
3819
3820 fi
3821 fi
3822 INSTALL=$ac_cv_prog_INSTALL
3823 if test -n "$INSTALL"; then
3824   { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3825 $as_echo "$INSTALL" >&6; }
3826 else
3827   { $as_echo "$as_me:$LINENO: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832 # Extract the first word of "msgfmt", so it can be a program name with args.
3833 set dummy msgfmt; ac_word=$2
3834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if test "${ac_cv_prog_MSGFMT+set}" = set; then
3837   $as_echo_n "(cached) " >&6
3838 else
3839   if test -n "$MSGFMT"; then
3840   ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845   IFS=$as_save_IFS
3846   test -z "$as_dir" && as_dir=.
3847   for ac_exec_ext in '' $ac_executable_extensions; do
3848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849     ac_cv_prog_MSGFMT="msgfmt"
3850     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851     break 2
3852   fi
3853 done
3854 done
3855 IFS=$as_save_IFS
3856
3857 fi
3858 fi
3859 MSGFMT=$ac_cv_prog_MSGFMT
3860 if test -n "$MSGFMT"; then
3861   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
3862 $as_echo "$MSGFMT" >&6; }
3863 else
3864   { $as_echo "$as_me:$LINENO: result: no" >&5
3865 $as_echo "no" >&6; }
3866 fi
3867
3868
3869 # Extract the first word of "xgettext", so it can be a program name with args.
3870 set dummy xgettext; ac_word=$2
3871 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_XGETTEXT+set}" = set; then
3874   $as_echo_n "(cached) " >&6
3875 else
3876   if test -n "$XGETTEXT"; then
3877   ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3878 else
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3881 do
3882   IFS=$as_save_IFS
3883   test -z "$as_dir" && as_dir=.
3884   for ac_exec_ext in '' $ac_executable_extensions; do
3885   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886     ac_cv_prog_XGETTEXT="xgettext"
3887     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3888     break 2
3889   fi
3890 done
3891 done
3892 IFS=$as_save_IFS
3893
3894 fi
3895 fi
3896 XGETTEXT=$ac_cv_prog_XGETTEXT
3897 if test -n "$XGETTEXT"; then
3898   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3899 $as_echo "$XGETTEXT" >&6; }
3900 else
3901   { $as_echo "$as_me:$LINENO: result: no" >&5
3902 $as_echo "no" >&6; }
3903 fi
3904
3905
3906 # Extract the first word of "msgmerge", so it can be a program name with args.
3907 set dummy msgmerge; ac_word=$2
3908 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_MSGMERGE+set}" = set; then
3911   $as_echo_n "(cached) " >&6
3912 else
3913   if test -n "$MSGMERGE"; then
3914   ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3915 else
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH
3918 do
3919   IFS=$as_save_IFS
3920   test -z "$as_dir" && as_dir=.
3921   for ac_exec_ext in '' $ac_executable_extensions; do
3922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923     ac_cv_prog_MSGMERGE="msgmerge"
3924     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3925     break 2
3926   fi
3927 done
3928 done
3929 IFS=$as_save_IFS
3930
3931 fi
3932 fi
3933 MSGMERGE=$ac_cv_prog_MSGMERGE
3934 if test -n "$MSGMERGE"; then
3935   { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3936 $as_echo "$MSGMERGE" >&6; }
3937 else
3938   { $as_echo "$as_me:$LINENO: result: no" >&5
3939 $as_echo "no" >&6; }
3940 fi
3941
3942
3943 for ac_prog in bzip2 gzip
3944 do
3945   # Extract the first word of "$ac_prog", so it can be a program name with args.
3946 set dummy $ac_prog; ac_word=$2
3947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if test "${ac_cv_prog_ZIP+set}" = set; then
3950   $as_echo_n "(cached) " >&6
3951 else
3952   if test -n "$ZIP"; then
3953   ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3957 do
3958   IFS=$as_save_IFS
3959   test -z "$as_dir" && as_dir=.
3960   for ac_exec_ext in '' $ac_executable_extensions; do
3961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962     ac_cv_prog_ZIP="$ac_prog"
3963     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964     break 2
3965   fi
3966 done
3967 done
3968 IFS=$as_save_IFS
3969
3970 fi
3971 fi
3972 ZIP=$ac_cv_prog_ZIP
3973 if test -n "$ZIP"; then
3974   { $as_echo "$as_me:$LINENO: result: $ZIP" >&5
3975 $as_echo "$ZIP" >&6; }
3976 else
3977   { $as_echo "$as_me:$LINENO: result: no" >&5
3978 $as_echo "no" >&6; }
3979 fi
3980
3981
3982   test -n "$ZIP" && break
3983 done
3984 test -n "$ZIP" || ZIP="gzip"
3985
3986 INSTALL_DATA="\${INSTALL} -m 644"
3987
3988 INSTALL_BIN="\${INSTALL} -m 755"
3989
3990
3991 for ac_prog in cp
3992 do
3993   # Extract the first word of "$ac_prog", so it can be a program name with args.
3994 set dummy $ac_prog; ac_word=$2
3995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if test "${ac_cv_path_PATH_CP+set}" = set; then
3998   $as_echo_n "(cached) " >&6
3999 else
4000   case $PATH_CP in
4001   [\\/]* | ?:[\\/]*)
4002   ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
4003   ;;
4004   *)
4005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
4007 do
4008   IFS=$as_save_IFS
4009   test -z "$as_dir" && as_dir=.
4010   for ac_exec_ext in '' $ac_executable_extensions; do
4011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4012     ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
4013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4014     break 2
4015   fi
4016 done
4017 done
4018 IFS=$as_save_IFS
4019
4020   ;;
4021 esac
4022 fi
4023 PATH_CP=$ac_cv_path_PATH_CP
4024 if test -n "$PATH_CP"; then
4025   { $as_echo "$as_me:$LINENO: result: $PATH_CP" >&5
4026 $as_echo "$PATH_CP" >&6; }
4027 else
4028   { $as_echo "$as_me:$LINENO: result: no" >&5
4029 $as_echo "no" >&6; }
4030 fi
4031
4032
4033   test -n "$PATH_CP" && break
4034 done
4035 test -n "$PATH_CP" || PATH_CP="cp"
4036
4037 for ac_prog in chkconfig
4038 do
4039   # Extract the first word of "$ac_prog", so it can be a program name with args.
4040 set dummy $ac_prog; ac_word=$2
4041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if test "${ac_cv_path_PATH_CHKCONFIG+set}" = set; then
4044   $as_echo_n "(cached) " >&6
4045 else
4046   case $PATH_CHKCONFIG in
4047   [\\/]* | ?:[\\/]*)
4048   ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
4049   ;;
4050   *)
4051   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
4053 do
4054   IFS=$as_save_IFS
4055   test -z "$as_dir" && as_dir=.
4056   for ac_exec_ext in '' $ac_executable_extensions; do
4057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058     ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
4059     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060     break 2
4061   fi
4062 done
4063 done
4064 IFS=$as_save_IFS
4065
4066   ;;
4067 esac
4068 fi
4069 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4070 if test -n "$PATH_CHKCONFIG"; then
4071   { $as_echo "$as_me:$LINENO: result: $PATH_CHKCONFIG" >&5
4072 $as_echo "$PATH_CHKCONFIG" >&6; }
4073 else
4074   { $as_echo "$as_me:$LINENO: result: no" >&5
4075 $as_echo "no" >&6; }
4076 fi
4077
4078
4079   test -n "$PATH_CHKCONFIG" && break
4080 done
4081 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
4082
4083
4084 # Check libraries
4085
4086 # Check header files
4087 echo .
4088 echo Check header files:
4089 echo .
4090 HAVE_LIBINTL_H=
4091 HAVE_LOCALE_H=
4092 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4093 $as_echo_n "checking for ANSI C header files... " >&6; }
4094 if test "${ac_cv_header_stdc+set}" = set; then
4095   $as_echo_n "(cached) " >&6
4096 else
4097   cat >conftest.$ac_ext <<_ACEOF
4098 /* confdefs.h.  */
4099 _ACEOF
4100 cat confdefs.h >>conftest.$ac_ext
4101 cat >>conftest.$ac_ext <<_ACEOF
4102 /* end confdefs.h.  */
4103 #include <stdlib.h>
4104 #include <stdarg.h>
4105 #include <string.h>
4106 #include <float.h>
4107
4108 int
4109 main ()
4110 {
4111
4112   ;
4113   return 0;
4114 }
4115 _ACEOF
4116 rm -f conftest.$ac_objext
4117 if { (ac_try="$ac_compile"
4118 case "(($ac_try" in
4119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120   *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4123 $as_echo "$ac_try_echo") >&5
4124   (eval "$ac_compile") 2>conftest.er1
4125   ac_status=$?
4126   grep -v '^ *+' conftest.er1 >conftest.err
4127   rm -f conftest.er1
4128   cat conftest.err >&5
4129   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130   (exit $ac_status); } && {
4131          test -z "$ac_c_werror_flag" ||
4132          test ! -s conftest.err
4133        } && test -s conftest.$ac_objext; then
4134   ac_cv_header_stdc=yes
4135 else
4136   $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4138
4139         ac_cv_header_stdc=no
4140 fi
4141
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143
4144 if test $ac_cv_header_stdc = yes; then
4145   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4146   cat >conftest.$ac_ext <<_ACEOF
4147 /* confdefs.h.  */
4148 _ACEOF
4149 cat confdefs.h >>conftest.$ac_ext
4150 cat >>conftest.$ac_ext <<_ACEOF
4151 /* end confdefs.h.  */
4152 #include <string.h>
4153
4154 _ACEOF
4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4156   $EGREP "memchr" >/dev/null 2>&1; then
4157   :
4158 else
4159   ac_cv_header_stdc=no
4160 fi
4161 rm -f conftest*
4162
4163 fi
4164
4165 if test $ac_cv_header_stdc = yes; then
4166   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4167   cat >conftest.$ac_ext <<_ACEOF
4168 /* confdefs.h.  */
4169 _ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h.  */
4173 #include <stdlib.h>
4174
4175 _ACEOF
4176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4177   $EGREP "free" >/dev/null 2>&1; then
4178   :
4179 else
4180   ac_cv_header_stdc=no
4181 fi
4182 rm -f conftest*
4183
4184 fi
4185
4186 if test $ac_cv_header_stdc = yes; then
4187   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4188   if test "$cross_compiling" = yes; then
4189   :
4190 else
4191   cat >conftest.$ac_ext <<_ACEOF
4192 /* confdefs.h.  */
4193 _ACEOF
4194 cat confdefs.h >>conftest.$ac_ext
4195 cat >>conftest.$ac_ext <<_ACEOF
4196 /* end confdefs.h.  */
4197 #include <ctype.h>
4198 #include <stdlib.h>
4199 #if ((' ' & 0x0FF) == 0x020)
4200 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4201 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4202 #else
4203 # define ISLOWER(c) \
4204                    (('a' <= (c) && (c) <= 'i') \
4205                      || ('j' <= (c) && (c) <= 'r') \
4206                      || ('s' <= (c) && (c) <= 'z'))
4207 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4208 #endif
4209
4210 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4211 int
4212 main ()
4213 {
4214   int i;
4215   for (i = 0; i < 256; i++)
4216     if (XOR (islower (i), ISLOWER (i))
4217         || toupper (i) != TOUPPER (i))
4218       return 2;
4219   return 0;
4220 }
4221 _ACEOF
4222 rm -f conftest$ac_exeext
4223 if { (ac_try="$ac_link"
4224 case "(($ac_try" in
4225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226   *) ac_try_echo=$ac_try;;
4227 esac
4228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4229 $as_echo "$ac_try_echo") >&5
4230   (eval "$ac_link") 2>&5
4231   ac_status=$?
4232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4234   { (case "(($ac_try" in
4235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236   *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240   (eval "$ac_try") 2>&5
4241   ac_status=$?
4242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243   (exit $ac_status); }; }; then
4244   :
4245 else
4246   $as_echo "$as_me: program exited with status $ac_status" >&5
4247 $as_echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.$ac_ext >&5
4249
4250 ( exit $ac_status )
4251 ac_cv_header_stdc=no
4252 fi
4253 rm -rf conftest.dSYM
4254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4255 fi
4256
4257
4258 fi
4259 fi
4260 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4261 $as_echo "$ac_cv_header_stdc" >&6; }
4262 if test $ac_cv_header_stdc = yes; then
4263
4264 cat >>confdefs.h <<\_ACEOF
4265 #define STDC_HEADERS 1
4266 _ACEOF
4267
4268 fi
4269
4270
4271
4272
4273
4274
4275 ac_header_dirent=no
4276 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4277   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4278 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4279 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4281   $as_echo_n "(cached) " >&6
4282 else
4283   cat >conftest.$ac_ext <<_ACEOF
4284 /* confdefs.h.  */
4285 _ACEOF
4286 cat confdefs.h >>conftest.$ac_ext
4287 cat >>conftest.$ac_ext <<_ACEOF
4288 /* end confdefs.h.  */
4289 #include <sys/types.h>
4290 #include <$ac_hdr>
4291
4292 int
4293 main ()
4294 {
4295 if ((DIR *) 0)
4296 return 0;
4297   ;
4298   return 0;
4299 }
4300 _ACEOF
4301 rm -f conftest.$ac_objext
4302 if { (ac_try="$ac_compile"
4303 case "(($ac_try" in
4304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305   *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4308 $as_echo "$ac_try_echo") >&5
4309   (eval "$ac_compile") 2>conftest.er1
4310   ac_status=$?
4311   grep -v '^ *+' conftest.er1 >conftest.err
4312   rm -f conftest.er1
4313   cat conftest.err >&5
4314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315   (exit $ac_status); } && {
4316          test -z "$ac_c_werror_flag" ||
4317          test ! -s conftest.err
4318        } && test -s conftest.$ac_objext; then
4319   eval "$as_ac_Header=yes"
4320 else
4321   $as_echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4323
4324         eval "$as_ac_Header=no"
4325 fi
4326
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 fi
4329 ac_res=`eval 'as_val=${'$as_ac_Header'}
4330                  $as_echo "$as_val"'`
4331                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4332 $as_echo "$ac_res" >&6; }
4333 as_val=`eval 'as_val=${'$as_ac_Header'}
4334                  $as_echo "$as_val"'`
4335    if test "x$as_val" = x""yes; then
4336   cat >>confdefs.h <<_ACEOF
4337 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4338 _ACEOF
4339
4340 ac_header_dirent=$ac_hdr; break
4341 fi
4342
4343 done
4344 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4345 if test $ac_header_dirent = dirent.h; then
4346   { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4347 $as_echo_n "checking for library containing opendir... " >&6; }
4348 if test "${ac_cv_search_opendir+set}" = set; then
4349   $as_echo_n "(cached) " >&6
4350 else
4351   ac_func_search_save_LIBS=$LIBS
4352 cat >conftest.$ac_ext <<_ACEOF
4353 /* confdefs.h.  */
4354 _ACEOF
4355 cat confdefs.h >>conftest.$ac_ext
4356 cat >>conftest.$ac_ext <<_ACEOF
4357 /* end confdefs.h.  */
4358
4359 /* Override any GCC internal prototype to avoid an error.
4360    Use char because int might match the return type of a GCC
4361    builtin and then its argument prototype would still apply.  */
4362 #ifdef __cplusplus
4363 extern "C"
4364 #endif
4365 char opendir ();
4366 int
4367 main ()
4368 {
4369 return opendir ();
4370   ;
4371   return 0;
4372 }
4373 _ACEOF
4374 for ac_lib in '' dir; do
4375   if test -z "$ac_lib"; then
4376     ac_res="none required"
4377   else
4378     ac_res=-l$ac_lib
4379     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4380   fi
4381   rm -f conftest.$ac_objext conftest$ac_exeext
4382 if { (ac_try="$ac_link"
4383 case "(($ac_try" in
4384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385   *) ac_try_echo=$ac_try;;
4386 esac
4387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4388 $as_echo "$ac_try_echo") >&5
4389   (eval "$ac_link") 2>conftest.er1
4390   ac_status=$?
4391   grep -v '^ *+' conftest.er1 >conftest.err
4392   rm -f conftest.er1
4393   cat conftest.err >&5
4394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395   (exit $ac_status); } && {
4396          test -z "$ac_c_werror_flag" ||
4397          test ! -s conftest.err
4398        } && test -s conftest$ac_exeext && {
4399          test "$cross_compiling" = yes ||
4400          $as_test_x conftest$ac_exeext
4401        }; then
4402   ac_cv_search_opendir=$ac_res
4403 else
4404   $as_echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.$ac_ext >&5
4406
4407
4408 fi
4409
4410 rm -rf conftest.dSYM
4411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4412       conftest$ac_exeext
4413   if test "${ac_cv_search_opendir+set}" = set; then
4414   break
4415 fi
4416 done
4417 if test "${ac_cv_search_opendir+set}" = set; then
4418   :
4419 else
4420   ac_cv_search_opendir=no
4421 fi
4422 rm conftest.$ac_ext
4423 LIBS=$ac_func_search_save_LIBS
4424 fi
4425 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4426 $as_echo "$ac_cv_search_opendir" >&6; }
4427 ac_res=$ac_cv_search_opendir
4428 if test "$ac_res" != no; then
4429   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4430
4431 fi
4432
4433 else
4434   { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4435 $as_echo_n "checking for library containing opendir... " >&6; }
4436 if test "${ac_cv_search_opendir+set}" = set; then
4437   $as_echo_n "(cached) " >&6
4438 else
4439   ac_func_search_save_LIBS=$LIBS
4440 cat >conftest.$ac_ext <<_ACEOF
4441 /* confdefs.h.  */
4442 _ACEOF
4443 cat confdefs.h >>conftest.$ac_ext
4444 cat >>conftest.$ac_ext <<_ACEOF
4445 /* end confdefs.h.  */
4446
4447 /* Override any GCC internal prototype to avoid an error.
4448    Use char because int might match the return type of a GCC
4449    builtin and then its argument prototype would still apply.  */
4450 #ifdef __cplusplus
4451 extern "C"
4452 #endif
4453 char opendir ();
4454 int
4455 main ()
4456 {
4457 return opendir ();
4458   ;
4459   return 0;
4460 }
4461 _ACEOF
4462 for ac_lib in '' x; do
4463   if test -z "$ac_lib"; then
4464     ac_res="none required"
4465   else
4466     ac_res=-l$ac_lib
4467     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4468   fi
4469   rm -f conftest.$ac_objext conftest$ac_exeext
4470 if { (ac_try="$ac_link"
4471 case "(($ac_try" in
4472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4473   *) ac_try_echo=$ac_try;;
4474 esac
4475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4476 $as_echo "$ac_try_echo") >&5
4477   (eval "$ac_link") 2>conftest.er1
4478   ac_status=$?
4479   grep -v '^ *+' conftest.er1 >conftest.err
4480   rm -f conftest.er1
4481   cat conftest.err >&5
4482   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483   (exit $ac_status); } && {
4484          test -z "$ac_c_werror_flag" ||
4485          test ! -s conftest.err
4486        } && test -s conftest$ac_exeext && {
4487          test "$cross_compiling" = yes ||
4488          $as_test_x conftest$ac_exeext
4489        }; then
4490   ac_cv_search_opendir=$ac_res
4491 else
4492   $as_echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4494
4495
4496 fi
4497
4498 rm -rf conftest.dSYM
4499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4500       conftest$ac_exeext
4501   if test "${ac_cv_search_opendir+set}" = set; then
4502   break
4503 fi
4504 done
4505 if test "${ac_cv_search_opendir+set}" = set; then
4506   :
4507 else
4508   ac_cv_search_opendir=no
4509 fi
4510 rm conftest.$ac_ext
4511 LIBS=$ac_func_search_save_LIBS
4512 fi
4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4514 $as_echo "$ac_cv_search_opendir" >&6; }
4515 ac_res=$ac_cv_search_opendir
4516 if test "$ac_res" != no; then
4517   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4518
4519 fi
4520
4521 fi
4522
4523
4524 for ac_header in ctype.h
4525 do
4526 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4528   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4529 $as_echo_n "checking for $ac_header... " >&6; }
4530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4531   $as_echo_n "(cached) " >&6
4532 fi
4533 ac_res=`eval 'as_val=${'$as_ac_Header'}
4534                  $as_echo "$as_val"'`
4535                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4536 $as_echo "$ac_res" >&6; }
4537 else
4538   # Is the header compilable?
4539 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4540 $as_echo_n "checking $ac_header usability... " >&6; }
4541 cat >conftest.$ac_ext <<_ACEOF
4542 /* confdefs.h.  */
4543 _ACEOF
4544 cat confdefs.h >>conftest.$ac_ext
4545 cat >>conftest.$ac_ext <<_ACEOF
4546 /* end confdefs.h.  */
4547 $ac_includes_default
4548 #include <$ac_header>
4549 _ACEOF
4550 rm -f conftest.$ac_objext
4551 if { (ac_try="$ac_compile"
4552 case "(($ac_try" in
4553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554   *) ac_try_echo=$ac_try;;
4555 esac
4556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4557 $as_echo "$ac_try_echo") >&5
4558   (eval "$ac_compile") 2>conftest.er1
4559   ac_status=$?
4560   grep -v '^ *+' conftest.er1 >conftest.err
4561   rm -f conftest.er1
4562   cat conftest.err >&5
4563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564   (exit $ac_status); } && {
4565          test -z "$ac_c_werror_flag" ||
4566          test ! -s conftest.err
4567        } && test -s conftest.$ac_objext; then
4568   ac_header_compiler=yes
4569 else
4570   $as_echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4572
4573         ac_header_compiler=no
4574 fi
4575
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4578 $as_echo "$ac_header_compiler" >&6; }
4579
4580 # Is the header present?
4581 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4582 $as_echo_n "checking $ac_header presence... " >&6; }
4583 cat >conftest.$ac_ext <<_ACEOF
4584 /* confdefs.h.  */
4585 _ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h.  */
4589 #include <$ac_header>
4590 _ACEOF
4591 if { (ac_try="$ac_cpp conftest.$ac_ext"
4592 case "(($ac_try" in
4593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594   *) ac_try_echo=$ac_try;;
4595 esac
4596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4597 $as_echo "$ac_try_echo") >&5
4598   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4599   ac_status=$?
4600   grep -v '^ *+' conftest.er1 >conftest.err
4601   rm -f conftest.er1
4602   cat conftest.err >&5
4603   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604   (exit $ac_status); } >/dev/null && {
4605          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4606          test ! -s conftest.err
4607        }; then
4608   ac_header_preproc=yes
4609 else
4610   $as_echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.$ac_ext >&5
4612
4613   ac_header_preproc=no
4614 fi
4615
4616 rm -f conftest.err conftest.$ac_ext
4617 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4618 $as_echo "$ac_header_preproc" >&6; }
4619
4620 # So?  What about this header?
4621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4622   yes:no: )
4623     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4624 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4625     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4626 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4627     ac_header_preproc=yes
4628     ;;
4629   no:yes:* )
4630     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4631 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4632     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4633 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4634     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4635 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4636     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4637 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4638     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4639 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4640     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4641 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4642
4643     ;;
4644 esac
4645 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4646 $as_echo_n "checking for $ac_header... " >&6; }
4647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4648   $as_echo_n "(cached) " >&6
4649 else
4650   eval "$as_ac_Header=\$ac_header_preproc"
4651 fi
4652 ac_res=`eval 'as_val=${'$as_ac_Header'}
4653                  $as_echo "$as_val"'`
4654                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4655 $as_echo "$ac_res" >&6; }
4656
4657 fi
4658 as_val=`eval 'as_val=${'$as_ac_Header'}
4659                  $as_echo "$as_val"'`
4660    if test "x$as_val" = x""yes; then
4661   cat >>confdefs.h <<_ACEOF
4662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4663 _ACEOF
4664
4665 fi
4666
4667 done
4668
4669
4670 for ac_header in errno.h
4671 do
4672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4674   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4675 $as_echo_n "checking for $ac_header... " >&6; }
4676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4677   $as_echo_n "(cached) " >&6
4678 fi
4679 ac_res=`eval 'as_val=${'$as_ac_Header'}
4680                  $as_echo "$as_val"'`
4681                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4682 $as_echo "$ac_res" >&6; }
4683 else
4684   # Is the header compilable?
4685 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4686 $as_echo_n "checking $ac_header usability... " >&6; }
4687 cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h.  */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h.  */
4693 $ac_includes_default
4694 #include <$ac_header>
4695 _ACEOF
4696 rm -f conftest.$ac_objext
4697 if { (ac_try="$ac_compile"
4698 case "(($ac_try" in
4699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700   *) ac_try_echo=$ac_try;;
4701 esac
4702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4703 $as_echo "$ac_try_echo") >&5
4704   (eval "$ac_compile") 2>conftest.er1
4705   ac_status=$?
4706   grep -v '^ *+' conftest.er1 >conftest.err
4707   rm -f conftest.er1
4708   cat conftest.err >&5
4709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710   (exit $ac_status); } && {
4711          test -z "$ac_c_werror_flag" ||
4712          test ! -s conftest.err
4713        } && test -s conftest.$ac_objext; then
4714   ac_header_compiler=yes
4715 else
4716   $as_echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4718
4719         ac_header_compiler=no
4720 fi
4721
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4724 $as_echo "$ac_header_compiler" >&6; }
4725
4726 # Is the header present?
4727 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4728 $as_echo_n "checking $ac_header presence... " >&6; }
4729 cat >conftest.$ac_ext <<_ACEOF
4730 /* confdefs.h.  */
4731 _ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h.  */
4735 #include <$ac_header>
4736 _ACEOF
4737 if { (ac_try="$ac_cpp conftest.$ac_ext"
4738 case "(($ac_try" in
4739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740   *) ac_try_echo=$ac_try;;
4741 esac
4742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743 $as_echo "$ac_try_echo") >&5
4744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4745   ac_status=$?
4746   grep -v '^ *+' conftest.er1 >conftest.err
4747   rm -f conftest.er1
4748   cat conftest.err >&5
4749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750   (exit $ac_status); } >/dev/null && {
4751          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4752          test ! -s conftest.err
4753        }; then
4754   ac_header_preproc=yes
4755 else
4756   $as_echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4758
4759   ac_header_preproc=no
4760 fi
4761
4762 rm -f conftest.err conftest.$ac_ext
4763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4764 $as_echo "$ac_header_preproc" >&6; }
4765
4766 # So?  What about this header?
4767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4768   yes:no: )
4769     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4770 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4771     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4772 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4773     ac_header_preproc=yes
4774     ;;
4775   no:yes:* )
4776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4777 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4779 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4780     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4781 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4782     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4783 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4784     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4785 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4786     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4787 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4788
4789     ;;
4790 esac
4791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4792 $as_echo_n "checking for $ac_header... " >&6; }
4793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4794   $as_echo_n "(cached) " >&6
4795 else
4796   eval "$as_ac_Header=\$ac_header_preproc"
4797 fi
4798 ac_res=`eval 'as_val=${'$as_ac_Header'}
4799                  $as_echo "$as_val"'`
4800                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4801 $as_echo "$ac_res" >&6; }
4802
4803 fi
4804 as_val=`eval 'as_val=${'$as_ac_Header'}
4805                  $as_echo "$as_val"'`
4806    if test "x$as_val" = x""yes; then
4807   cat >>confdefs.h <<_ACEOF
4808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4809 _ACEOF
4810
4811 fi
4812
4813 done
4814
4815
4816 for ac_header in libintl.h
4817 do
4818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4820   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4821 $as_echo_n "checking for $ac_header... " >&6; }
4822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4823   $as_echo_n "(cached) " >&6
4824 fi
4825 ac_res=`eval 'as_val=${'$as_ac_Header'}
4826                  $as_echo "$as_val"'`
4827                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4828 $as_echo "$ac_res" >&6; }
4829 else
4830   # Is the header compilable?
4831 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4832 $as_echo_n "checking $ac_header usability... " >&6; }
4833 cat >conftest.$ac_ext <<_ACEOF
4834 /* confdefs.h.  */
4835 _ACEOF
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h.  */
4839 $ac_includes_default
4840 #include <$ac_header>
4841 _ACEOF
4842 rm -f conftest.$ac_objext
4843 if { (ac_try="$ac_compile"
4844 case "(($ac_try" in
4845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846   *) ac_try_echo=$ac_try;;
4847 esac
4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4849 $as_echo "$ac_try_echo") >&5
4850   (eval "$ac_compile") 2>conftest.er1
4851   ac_status=$?
4852   grep -v '^ *+' conftest.er1 >conftest.err
4853   rm -f conftest.er1
4854   cat conftest.err >&5
4855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856   (exit $ac_status); } && {
4857          test -z "$ac_c_werror_flag" ||
4858          test ! -s conftest.err
4859        } && test -s conftest.$ac_objext; then
4860   ac_header_compiler=yes
4861 else
4862   $as_echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.$ac_ext >&5
4864
4865         ac_header_compiler=no
4866 fi
4867
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4870 $as_echo "$ac_header_compiler" >&6; }
4871
4872 # Is the header present?
4873 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4874 $as_echo_n "checking $ac_header presence... " >&6; }
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h.  */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h.  */
4881 #include <$ac_header>
4882 _ACEOF
4883 if { (ac_try="$ac_cpp conftest.$ac_ext"
4884 case "(($ac_try" in
4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886   *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4891   ac_status=$?
4892   grep -v '^ *+' conftest.er1 >conftest.err
4893   rm -f conftest.er1
4894   cat conftest.err >&5
4895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896   (exit $ac_status); } >/dev/null && {
4897          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4898          test ! -s conftest.err
4899        }; then
4900   ac_header_preproc=yes
4901 else
4902   $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4904
4905   ac_header_preproc=no
4906 fi
4907
4908 rm -f conftest.err conftest.$ac_ext
4909 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4910 $as_echo "$ac_header_preproc" >&6; }
4911
4912 # So?  What about this header?
4913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4914   yes:no: )
4915     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4916 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4917     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4918 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4919     ac_header_preproc=yes
4920     ;;
4921   no:yes:* )
4922     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4923 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4924     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4925 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4926     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4927 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4928     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4929 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4930     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4931 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4932     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4933 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4934
4935     ;;
4936 esac
4937 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4938 $as_echo_n "checking for $ac_header... " >&6; }
4939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4940   $as_echo_n "(cached) " >&6
4941 else
4942   eval "$as_ac_Header=\$ac_header_preproc"
4943 fi
4944 ac_res=`eval 'as_val=${'$as_ac_Header'}
4945                  $as_echo "$as_val"'`
4946                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4947 $as_echo "$ac_res" >&6; }
4948
4949 fi
4950 as_val=`eval 'as_val=${'$as_ac_Header'}
4951                  $as_echo "$as_val"'`
4952    if test "x$as_val" = x""yes; then
4953   cat >>confdefs.h <<_ACEOF
4954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4955 _ACEOF
4956  HAVE_LIBINTL_H=1
4957 fi
4958
4959 done
4960
4961
4962 for ac_header in locale.h
4963 do
4964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4966   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4967 $as_echo_n "checking for $ac_header... " >&6; }
4968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4969   $as_echo_n "(cached) " >&6
4970 fi
4971 ac_res=`eval 'as_val=${'$as_ac_Header'}
4972                  $as_echo "$as_val"'`
4973                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4974 $as_echo "$ac_res" >&6; }
4975 else
4976   # Is the header compilable?
4977 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4978 $as_echo_n "checking $ac_header usability... " >&6; }
4979 cat >conftest.$ac_ext <<_ACEOF
4980 /* confdefs.h.  */
4981 _ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h.  */
4985 $ac_includes_default
4986 #include <$ac_header>
4987 _ACEOF
4988 rm -f conftest.$ac_objext
4989 if { (ac_try="$ac_compile"
4990 case "(($ac_try" in
4991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992   *) ac_try_echo=$ac_try;;
4993 esac
4994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4995 $as_echo "$ac_try_echo") >&5
4996   (eval "$ac_compile") 2>conftest.er1
4997   ac_status=$?
4998   grep -v '^ *+' conftest.er1 >conftest.err
4999   rm -f conftest.er1
5000   cat conftest.err >&5
5001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002   (exit $ac_status); } && {
5003          test -z "$ac_c_werror_flag" ||
5004          test ! -s conftest.err
5005        } && test -s conftest.$ac_objext; then
5006   ac_header_compiler=yes
5007 else
5008   $as_echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5010
5011         ac_header_compiler=no
5012 fi
5013
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5016 $as_echo "$ac_header_compiler" >&6; }
5017
5018 # Is the header present?
5019 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5020 $as_echo_n "checking $ac_header presence... " >&6; }
5021 cat >conftest.$ac_ext <<_ACEOF
5022 /* confdefs.h.  */
5023 _ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h.  */
5027 #include <$ac_header>
5028 _ACEOF
5029 if { (ac_try="$ac_cpp conftest.$ac_ext"
5030 case "(($ac_try" in
5031   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032   *) ac_try_echo=$ac_try;;
5033 esac
5034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5035 $as_echo "$ac_try_echo") >&5
5036   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5037   ac_status=$?
5038   grep -v '^ *+' conftest.er1 >conftest.err
5039   rm -f conftest.er1
5040   cat conftest.err >&5
5041   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042   (exit $ac_status); } >/dev/null && {
5043          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5044          test ! -s conftest.err
5045        }; then
5046   ac_header_preproc=yes
5047 else
5048   $as_echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5050
5051   ac_header_preproc=no
5052 fi
5053
5054 rm -f conftest.err conftest.$ac_ext
5055 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5056 $as_echo "$ac_header_preproc" >&6; }
5057
5058 # So?  What about this header?
5059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5060   yes:no: )
5061     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5062 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5063     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5064 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5065     ac_header_preproc=yes
5066     ;;
5067   no:yes:* )
5068     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5069 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5070     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5071 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5072     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5073 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5074     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5075 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5076     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5077 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5078     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5079 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5080
5081     ;;
5082 esac
5083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5084 $as_echo_n "checking for $ac_header... " >&6; }
5085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5086   $as_echo_n "(cached) " >&6
5087 else
5088   eval "$as_ac_Header=\$ac_header_preproc"
5089 fi
5090 ac_res=`eval 'as_val=${'$as_ac_Header'}
5091                  $as_echo "$as_val"'`
5092                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5093 $as_echo "$ac_res" >&6; }
5094
5095 fi
5096 as_val=`eval 'as_val=${'$as_ac_Header'}
5097                  $as_echo "$as_val"'`
5098    if test "x$as_val" = x""yes; then
5099   cat >>confdefs.h <<_ACEOF
5100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5101 _ACEOF
5102  HAVE_LOCALE_H=1
5103 fi
5104
5105 done
5106
5107
5108 for ac_header in net/if.h
5109 do
5110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5112   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5113 $as_echo_n "checking for $ac_header... " >&6; }
5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5115   $as_echo_n "(cached) " >&6
5116 fi
5117 ac_res=`eval 'as_val=${'$as_ac_Header'}
5118                  $as_echo "$as_val"'`
5119                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5120 $as_echo "$ac_res" >&6; }
5121 else
5122   # Is the header compilable?
5123 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5124 $as_echo_n "checking $ac_header usability... " >&6; }
5125 cat >conftest.$ac_ext <<_ACEOF
5126 /* confdefs.h.  */
5127 _ACEOF
5128 cat confdefs.h >>conftest.$ac_ext
5129 cat >>conftest.$ac_ext <<_ACEOF
5130 /* end confdefs.h.  */
5131 $ac_includes_default
5132 #include <$ac_header>
5133 _ACEOF
5134 rm -f conftest.$ac_objext
5135 if { (ac_try="$ac_compile"
5136 case "(($ac_try" in
5137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138   *) ac_try_echo=$ac_try;;
5139 esac
5140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5141 $as_echo "$ac_try_echo") >&5
5142   (eval "$ac_compile") 2>conftest.er1
5143   ac_status=$?
5144   grep -v '^ *+' conftest.er1 >conftest.err
5145   rm -f conftest.er1
5146   cat conftest.err >&5
5147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148   (exit $ac_status); } && {
5149          test -z "$ac_c_werror_flag" ||
5150          test ! -s conftest.err
5151        } && test -s conftest.$ac_objext; then
5152   ac_header_compiler=yes
5153 else
5154   $as_echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5156
5157         ac_header_compiler=no
5158 fi
5159
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5162 $as_echo "$ac_header_compiler" >&6; }
5163
5164 # Is the header present?
5165 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5166 $as_echo_n "checking $ac_header presence... " >&6; }
5167 cat >conftest.$ac_ext <<_ACEOF
5168 /* confdefs.h.  */
5169 _ACEOF
5170 cat confdefs.h >>conftest.$ac_ext
5171 cat >>conftest.$ac_ext <<_ACEOF
5172 /* end confdefs.h.  */
5173 #include <$ac_header>
5174 _ACEOF
5175 if { (ac_try="$ac_cpp conftest.$ac_ext"
5176 case "(($ac_try" in
5177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178   *) ac_try_echo=$ac_try;;
5179 esac
5180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5181 $as_echo "$ac_try_echo") >&5
5182   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5183   ac_status=$?
5184   grep -v '^ *+' conftest.er1 >conftest.err
5185   rm -f conftest.er1
5186   cat conftest.err >&5
5187   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188   (exit $ac_status); } >/dev/null && {
5189          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5190          test ! -s conftest.err
5191        }; then
5192   ac_header_preproc=yes
5193 else
5194   $as_echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197   ac_header_preproc=no
5198 fi
5199
5200 rm -f conftest.err conftest.$ac_ext
5201 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5202 $as_echo "$ac_header_preproc" >&6; }
5203
5204 # So?  What about this header?
5205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5206   yes:no: )
5207     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5208 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5209     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5211     ac_header_preproc=yes
5212     ;;
5213   no:yes:* )
5214     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5215 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5216     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5217 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5218     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5219 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5220     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5221 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5222     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5224     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5225 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5226
5227     ;;
5228 esac
5229 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5230 $as_echo_n "checking for $ac_header... " >&6; }
5231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5232   $as_echo_n "(cached) " >&6
5233 else
5234   eval "$as_ac_Header=\$ac_header_preproc"
5235 fi
5236 ac_res=`eval 'as_val=${'$as_ac_Header'}
5237                  $as_echo "$as_val"'`
5238                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5239 $as_echo "$ac_res" >&6; }
5240
5241 fi
5242 as_val=`eval 'as_val=${'$as_ac_Header'}
5243                  $as_echo "$as_val"'`
5244    if test "x$as_val" = x""yes; then
5245   cat >>confdefs.h <<_ACEOF
5246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5247 _ACEOF
5248
5249 fi
5250
5251 done
5252
5253
5254 for ac_header in regex.h
5255 do
5256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5258   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5259 $as_echo_n "checking for $ac_header... " >&6; }
5260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5261   $as_echo_n "(cached) " >&6
5262 fi
5263 ac_res=`eval 'as_val=${'$as_ac_Header'}
5264                  $as_echo "$as_val"'`
5265                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5266 $as_echo "$ac_res" >&6; }
5267 else
5268   # Is the header compilable?
5269 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5270 $as_echo_n "checking $ac_header usability... " >&6; }
5271 cat >conftest.$ac_ext <<_ACEOF
5272 /* confdefs.h.  */
5273 _ACEOF
5274 cat confdefs.h >>conftest.$ac_ext
5275 cat >>conftest.$ac_ext <<_ACEOF
5276 /* end confdefs.h.  */
5277 $ac_includes_default
5278 #include <$ac_header>
5279 _ACEOF
5280 rm -f conftest.$ac_objext
5281 if { (ac_try="$ac_compile"
5282 case "(($ac_try" in
5283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284   *) ac_try_echo=$ac_try;;
5285 esac
5286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5287 $as_echo "$ac_try_echo") >&5
5288   (eval "$ac_compile") 2>conftest.er1
5289   ac_status=$?
5290   grep -v '^ *+' conftest.er1 >conftest.err
5291   rm -f conftest.er1
5292   cat conftest.err >&5
5293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294   (exit $ac_status); } && {
5295          test -z "$ac_c_werror_flag" ||
5296          test ! -s conftest.err
5297        } && test -s conftest.$ac_objext; then
5298   ac_header_compiler=yes
5299 else
5300   $as_echo "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5302
5303         ac_header_compiler=no
5304 fi
5305
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5308 $as_echo "$ac_header_compiler" >&6; }
5309
5310 # Is the header present?
5311 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5312 $as_echo_n "checking $ac_header presence... " >&6; }
5313 cat >conftest.$ac_ext <<_ACEOF
5314 /* confdefs.h.  */
5315 _ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h.  */
5319 #include <$ac_header>
5320 _ACEOF
5321 if { (ac_try="$ac_cpp conftest.$ac_ext"
5322 case "(($ac_try" in
5323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324   *) ac_try_echo=$ac_try;;
5325 esac
5326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5327 $as_echo "$ac_try_echo") >&5
5328   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5329   ac_status=$?
5330   grep -v '^ *+' conftest.er1 >conftest.err
5331   rm -f conftest.er1
5332   cat conftest.err >&5
5333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334   (exit $ac_status); } >/dev/null && {
5335          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5336          test ! -s conftest.err
5337        }; then
5338   ac_header_preproc=yes
5339 else
5340   $as_echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.$ac_ext >&5
5342
5343   ac_header_preproc=no
5344 fi
5345
5346 rm -f conftest.err conftest.$ac_ext
5347 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5348 $as_echo "$ac_header_preproc" >&6; }
5349
5350 # So?  What about this header?
5351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5352   yes:no: )
5353     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5354 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5356 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5357     ac_header_preproc=yes
5358     ;;
5359   no:yes:* )
5360     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5361 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5362     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5363 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5364     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5365 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5367 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5368     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5369 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5370     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5371 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5372
5373     ;;
5374 esac
5375 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5376 $as_echo_n "checking for $ac_header... " >&6; }
5377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5378   $as_echo_n "(cached) " >&6
5379 else
5380   eval "$as_ac_Header=\$ac_header_preproc"
5381 fi
5382 ac_res=`eval 'as_val=${'$as_ac_Header'}
5383                  $as_echo "$as_val"'`
5384                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5385 $as_echo "$ac_res" >&6; }
5386
5387 fi
5388 as_val=`eval 'as_val=${'$as_ac_Header'}
5389                  $as_echo "$as_val"'`
5390    if test "x$as_val" = x""yes; then
5391   cat >>confdefs.h <<_ACEOF
5392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5393 _ACEOF
5394
5395 fi
5396
5397 done
5398
5399
5400 for ac_header in signal.h
5401 do
5402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5404   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 $as_echo_n "checking for $ac_header... " >&6; }
5406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5407   $as_echo_n "(cached) " >&6
5408 fi
5409 ac_res=`eval 'as_val=${'$as_ac_Header'}
5410                  $as_echo "$as_val"'`
5411                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5412 $as_echo "$ac_res" >&6; }
5413 else
5414   # Is the header compilable?
5415 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5416 $as_echo_n "checking $ac_header usability... " >&6; }
5417 cat >conftest.$ac_ext <<_ACEOF
5418 /* confdefs.h.  */
5419 _ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h.  */
5423 $ac_includes_default
5424 #include <$ac_header>
5425 _ACEOF
5426 rm -f conftest.$ac_objext
5427 if { (ac_try="$ac_compile"
5428 case "(($ac_try" in
5429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430   *) ac_try_echo=$ac_try;;
5431 esac
5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5433 $as_echo "$ac_try_echo") >&5
5434   (eval "$ac_compile") 2>conftest.er1
5435   ac_status=$?
5436   grep -v '^ *+' conftest.er1 >conftest.err
5437   rm -f conftest.er1
5438   cat conftest.err >&5
5439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440   (exit $ac_status); } && {
5441          test -z "$ac_c_werror_flag" ||
5442          test ! -s conftest.err
5443        } && test -s conftest.$ac_objext; then
5444   ac_header_compiler=yes
5445 else
5446   $as_echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.$ac_ext >&5
5448
5449         ac_header_compiler=no
5450 fi
5451
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5454 $as_echo "$ac_header_compiler" >&6; }
5455
5456 # Is the header present?
5457 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5458 $as_echo_n "checking $ac_header presence... " >&6; }
5459 cat >conftest.$ac_ext <<_ACEOF
5460 /* confdefs.h.  */
5461 _ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h.  */
5465 #include <$ac_header>
5466 _ACEOF
5467 if { (ac_try="$ac_cpp conftest.$ac_ext"
5468 case "(($ac_try" in
5469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470   *) ac_try_echo=$ac_try;;
5471 esac
5472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5473 $as_echo "$ac_try_echo") >&5
5474   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5475   ac_status=$?
5476   grep -v '^ *+' conftest.er1 >conftest.err
5477   rm -f conftest.er1
5478   cat conftest.err >&5
5479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480   (exit $ac_status); } >/dev/null && {
5481          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5482          test ! -s conftest.err
5483        }; then
5484   ac_header_preproc=yes
5485 else
5486   $as_echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.$ac_ext >&5
5488
5489   ac_header_preproc=no
5490 fi
5491
5492 rm -f conftest.err conftest.$ac_ext
5493 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5494 $as_echo "$ac_header_preproc" >&6; }
5495
5496 # So?  What about this header?
5497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5498   yes:no: )
5499     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5500 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5501     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5502 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5503     ac_header_preproc=yes
5504     ;;
5505   no:yes:* )
5506     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5507 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5508     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5509 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5510     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5511 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5512     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5513 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5514     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5515 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5516     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5517 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5518
5519     ;;
5520 esac
5521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5522 $as_echo_n "checking for $ac_header... " >&6; }
5523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5524   $as_echo_n "(cached) " >&6
5525 else
5526   eval "$as_ac_Header=\$ac_header_preproc"
5527 fi
5528 ac_res=`eval 'as_val=${'$as_ac_Header'}
5529                  $as_echo "$as_val"'`
5530                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5531 $as_echo "$ac_res" >&6; }
5532
5533 fi
5534 as_val=`eval 'as_val=${'$as_ac_Header'}
5535                  $as_echo "$as_val"'`
5536    if test "x$as_val" = x""yes; then
5537   cat >>confdefs.h <<_ACEOF
5538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5539 _ACEOF
5540
5541 fi
5542
5543 done
5544
5545
5546 for ac_header in stdio.h
5547 do
5548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5550   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5551 $as_echo_n "checking for $ac_header... " >&6; }
5552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5553   $as_echo_n "(cached) " >&6
5554 fi
5555 ac_res=`eval 'as_val=${'$as_ac_Header'}
5556                  $as_echo "$as_val"'`
5557                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5558 $as_echo "$ac_res" >&6; }
5559 else
5560   # Is the header compilable?
5561 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5562 $as_echo_n "checking $ac_header usability... " >&6; }
5563 cat >conftest.$ac_ext <<_ACEOF
5564 /* confdefs.h.  */
5565 _ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h.  */
5569 $ac_includes_default
5570 #include <$ac_header>
5571 _ACEOF
5572 rm -f conftest.$ac_objext
5573 if { (ac_try="$ac_compile"
5574 case "(($ac_try" in
5575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5576   *) ac_try_echo=$ac_try;;
5577 esac
5578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5579 $as_echo "$ac_try_echo") >&5
5580   (eval "$ac_compile") 2>conftest.er1
5581   ac_status=$?
5582   grep -v '^ *+' conftest.er1 >conftest.err
5583   rm -f conftest.er1
5584   cat conftest.err >&5
5585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586   (exit $ac_status); } && {
5587          test -z "$ac_c_werror_flag" ||
5588          test ! -s conftest.err
5589        } && test -s conftest.$ac_objext; then
5590   ac_header_compiler=yes
5591 else
5592   $as_echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.$ac_ext >&5
5594
5595         ac_header_compiler=no
5596 fi
5597
5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5599 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5600 $as_echo "$ac_header_compiler" >&6; }
5601
5602 # Is the header present?
5603 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5604 $as_echo_n "checking $ac_header presence... " >&6; }
5605 cat >conftest.$ac_ext <<_ACEOF
5606 /* confdefs.h.  */
5607 _ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h.  */
5611 #include <$ac_header>
5612 _ACEOF
5613 if { (ac_try="$ac_cpp conftest.$ac_ext"
5614 case "(($ac_try" in
5615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616   *) ac_try_echo=$ac_try;;
5617 esac
5618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5619 $as_echo "$ac_try_echo") >&5
5620   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5621   ac_status=$?
5622   grep -v '^ *+' conftest.er1 >conftest.err
5623   rm -f conftest.er1
5624   cat conftest.err >&5
5625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626   (exit $ac_status); } >/dev/null && {
5627          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5628          test ! -s conftest.err
5629        }; then
5630   ac_header_preproc=yes
5631 else
5632   $as_echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.$ac_ext >&5
5634
5635   ac_header_preproc=no
5636 fi
5637
5638 rm -f conftest.err conftest.$ac_ext
5639 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5640 $as_echo "$ac_header_preproc" >&6; }
5641
5642 # So?  What about this header?
5643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5644   yes:no: )
5645     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5646 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5647     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5648 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5649     ac_header_preproc=yes
5650     ;;
5651   no:yes:* )
5652     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5653 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5654     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5655 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5656     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5657 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5658     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5659 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5660     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5661 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5662     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5663 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5664
5665     ;;
5666 esac
5667 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5668 $as_echo_n "checking for $ac_header... " >&6; }
5669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5670   $as_echo_n "(cached) " >&6
5671 else
5672   eval "$as_ac_Header=\$ac_header_preproc"
5673 fi
5674 ac_res=`eval 'as_val=${'$as_ac_Header'}
5675                  $as_echo "$as_val"'`
5676                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5677 $as_echo "$ac_res" >&6; }
5678
5679 fi
5680 as_val=`eval 'as_val=${'$as_ac_Header'}
5681                  $as_echo "$as_val"'`
5682    if test "x$as_val" = x""yes; then
5683   cat >>confdefs.h <<_ACEOF
5684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5685 _ACEOF
5686
5687 fi
5688
5689 done
5690
5691
5692 for ac_header in sys/file.h
5693 do
5694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5696   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5697 $as_echo_n "checking for $ac_header... " >&6; }
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699   $as_echo_n "(cached) " >&6
5700 fi
5701 ac_res=`eval 'as_val=${'$as_ac_Header'}
5702                  $as_echo "$as_val"'`
5703                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5704 $as_echo "$ac_res" >&6; }
5705 else
5706   # Is the header compilable?
5707 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5708 $as_echo_n "checking $ac_header usability... " >&6; }
5709 cat >conftest.$ac_ext <<_ACEOF
5710 /* confdefs.h.  */
5711 _ACEOF
5712 cat confdefs.h >>conftest.$ac_ext
5713 cat >>conftest.$ac_ext <<_ACEOF
5714 /* end confdefs.h.  */
5715 $ac_includes_default
5716 #include <$ac_header>
5717 _ACEOF
5718 rm -f conftest.$ac_objext
5719 if { (ac_try="$ac_compile"
5720 case "(($ac_try" in
5721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722   *) ac_try_echo=$ac_try;;
5723 esac
5724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5725 $as_echo "$ac_try_echo") >&5
5726   (eval "$ac_compile") 2>conftest.er1
5727   ac_status=$?
5728   grep -v '^ *+' conftest.er1 >conftest.err
5729   rm -f conftest.er1
5730   cat conftest.err >&5
5731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732   (exit $ac_status); } && {
5733          test -z "$ac_c_werror_flag" ||
5734          test ! -s conftest.err
5735        } && test -s conftest.$ac_objext; then
5736   ac_header_compiler=yes
5737 else
5738   $as_echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5
5740
5741         ac_header_compiler=no
5742 fi
5743
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5746 $as_echo "$ac_header_compiler" >&6; }
5747
5748 # Is the header present?
5749 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5750 $as_echo_n "checking $ac_header presence... " >&6; }
5751 cat >conftest.$ac_ext <<_ACEOF
5752 /* confdefs.h.  */
5753 _ACEOF
5754 cat confdefs.h >>conftest.$ac_ext
5755 cat >>conftest.$ac_ext <<_ACEOF
5756 /* end confdefs.h.  */
5757 #include <$ac_header>
5758 _ACEOF
5759 if { (ac_try="$ac_cpp conftest.$ac_ext"
5760 case "(($ac_try" in
5761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762   *) ac_try_echo=$ac_try;;
5763 esac
5764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5765 $as_echo "$ac_try_echo") >&5
5766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5767   ac_status=$?
5768   grep -v '^ *+' conftest.er1 >conftest.err
5769   rm -f conftest.er1
5770   cat conftest.err >&5
5771   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772   (exit $ac_status); } >/dev/null && {
5773          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5774          test ! -s conftest.err
5775        }; then
5776   ac_header_preproc=yes
5777 else
5778   $as_echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5780
5781   ac_header_preproc=no
5782 fi
5783
5784 rm -f conftest.err conftest.$ac_ext
5785 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 $as_echo "$ac_header_preproc" >&6; }
5787
5788 # So?  What about this header?
5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5790   yes:no: )
5791     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5794 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5795     ac_header_preproc=yes
5796     ;;
5797   no:yes:* )
5798     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5799 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5800     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5801 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5802     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5803 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5804     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5805 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5806     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5808     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5809 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5810
5811     ;;
5812 esac
5813 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5814 $as_echo_n "checking for $ac_header... " >&6; }
5815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5816   $as_echo_n "(cached) " >&6
5817 else
5818   eval "$as_ac_Header=\$ac_header_preproc"
5819 fi
5820 ac_res=`eval 'as_val=${'$as_ac_Header'}
5821                  $as_echo "$as_val"'`
5822                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5823 $as_echo "$ac_res" >&6; }
5824
5825 fi
5826 as_val=`eval 'as_val=${'$as_ac_Header'}
5827                  $as_echo "$as_val"'`
5828    if test "x$as_val" = x""yes; then
5829   cat >>confdefs.h <<_ACEOF
5830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5831 _ACEOF
5832
5833 fi
5834
5835 done
5836
5837
5838 for ac_header in sys/ioctl.h
5839 do
5840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5842   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5843 $as_echo_n "checking for $ac_header... " >&6; }
5844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5845   $as_echo_n "(cached) " >&6
5846 fi
5847 ac_res=`eval 'as_val=${'$as_ac_Header'}
5848                  $as_echo "$as_val"'`
5849                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5850 $as_echo "$ac_res" >&6; }
5851 else
5852   # Is the header compilable?
5853 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5854 $as_echo_n "checking $ac_header usability... " >&6; }
5855 cat >conftest.$ac_ext <<_ACEOF
5856 /* confdefs.h.  */
5857 _ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h.  */
5861 $ac_includes_default
5862 #include <$ac_header>
5863 _ACEOF
5864 rm -f conftest.$ac_objext
5865 if { (ac_try="$ac_compile"
5866 case "(($ac_try" in
5867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5868   *) ac_try_echo=$ac_try;;
5869 esac
5870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5871 $as_echo "$ac_try_echo") >&5
5872   (eval "$ac_compile") 2>conftest.er1
5873   ac_status=$?
5874   grep -v '^ *+' conftest.er1 >conftest.err
5875   rm -f conftest.er1
5876   cat conftest.err >&5
5877   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878   (exit $ac_status); } && {
5879          test -z "$ac_c_werror_flag" ||
5880          test ! -s conftest.err
5881        } && test -s conftest.$ac_objext; then
5882   ac_header_compiler=yes
5883 else
5884   $as_echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5
5886
5887         ac_header_compiler=no
5888 fi
5889
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5892 $as_echo "$ac_header_compiler" >&6; }
5893
5894 # Is the header present?
5895 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5896 $as_echo_n "checking $ac_header presence... " >&6; }
5897 cat >conftest.$ac_ext <<_ACEOF
5898 /* confdefs.h.  */
5899 _ACEOF
5900 cat confdefs.h >>conftest.$ac_ext
5901 cat >>conftest.$ac_ext <<_ACEOF
5902 /* end confdefs.h.  */
5903 #include <$ac_header>
5904 _ACEOF
5905 if { (ac_try="$ac_cpp conftest.$ac_ext"
5906 case "(($ac_try" in
5907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908   *) ac_try_echo=$ac_try;;
5909 esac
5910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5911 $as_echo "$ac_try_echo") >&5
5912   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5913   ac_status=$?
5914   grep -v '^ *+' conftest.er1 >conftest.err
5915   rm -f conftest.er1
5916   cat conftest.err >&5
5917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918   (exit $ac_status); } >/dev/null && {
5919          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5920          test ! -s conftest.err
5921        }; then
5922   ac_header_preproc=yes
5923 else
5924   $as_echo "$as_me: failed program was:" >&5
5925 sed 's/^/| /' conftest.$ac_ext >&5
5926
5927   ac_header_preproc=no
5928 fi
5929
5930 rm -f conftest.err conftest.$ac_ext
5931 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5932 $as_echo "$ac_header_preproc" >&6; }
5933
5934 # So?  What about this header?
5935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5936   yes:no: )
5937     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5938 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5939     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5940 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5941     ac_header_preproc=yes
5942     ;;
5943   no:yes:* )
5944     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5945 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5946     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5947 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5948     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5949 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5950     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5951 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5952     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5953 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5954     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5955 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5956
5957     ;;
5958 esac
5959 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5960 $as_echo_n "checking for $ac_header... " >&6; }
5961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5962   $as_echo_n "(cached) " >&6
5963 else
5964   eval "$as_ac_Header=\$ac_header_preproc"
5965 fi
5966 ac_res=`eval 'as_val=${'$as_ac_Header'}
5967                  $as_echo "$as_val"'`
5968                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5969 $as_echo "$ac_res" >&6; }
5970
5971 fi
5972 as_val=`eval 'as_val=${'$as_ac_Header'}
5973                  $as_echo "$as_val"'`
5974    if test "x$as_val" = x""yes; then
5975   cat >>confdefs.h <<_ACEOF
5976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5977 _ACEOF
5978
5979 fi
5980
5981 done
5982
5983
5984 for ac_header in sys/stat.h
5985 do
5986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5988   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5989 $as_echo_n "checking for $ac_header... " >&6; }
5990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5991   $as_echo_n "(cached) " >&6
5992 fi
5993 ac_res=`eval 'as_val=${'$as_ac_Header'}
5994                  $as_echo "$as_val"'`
5995                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5996 $as_echo "$ac_res" >&6; }
5997 else
5998   # Is the header compilable?
5999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6000 $as_echo_n "checking $ac_header usability... " >&6; }
6001 cat >conftest.$ac_ext <<_ACEOF
6002 /* confdefs.h.  */
6003 _ACEOF
6004 cat confdefs.h >>conftest.$ac_ext
6005 cat >>conftest.$ac_ext <<_ACEOF
6006 /* end confdefs.h.  */
6007 $ac_includes_default
6008 #include <$ac_header>
6009 _ACEOF
6010 rm -f conftest.$ac_objext
6011 if { (ac_try="$ac_compile"
6012 case "(($ac_try" in
6013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6014   *) ac_try_echo=$ac_try;;
6015 esac
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6017 $as_echo "$ac_try_echo") >&5
6018   (eval "$ac_compile") 2>conftest.er1
6019   ac_status=$?
6020   grep -v '^ *+' conftest.er1 >conftest.err
6021   rm -f conftest.er1
6022   cat conftest.err >&5
6023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024   (exit $ac_status); } && {
6025          test -z "$ac_c_werror_flag" ||
6026          test ! -s conftest.err
6027        } && test -s conftest.$ac_objext; then
6028   ac_header_compiler=yes
6029 else
6030   $as_echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6032
6033         ac_header_compiler=no
6034 fi
6035
6036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6038 $as_echo "$ac_header_compiler" >&6; }
6039
6040 # Is the header present?
6041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6042 $as_echo_n "checking $ac_header presence... " >&6; }
6043 cat >conftest.$ac_ext <<_ACEOF
6044 /* confdefs.h.  */
6045 _ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h.  */
6049 #include <$ac_header>
6050 _ACEOF
6051 if { (ac_try="$ac_cpp conftest.$ac_ext"
6052 case "(($ac_try" in
6053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6054   *) ac_try_echo=$ac_try;;
6055 esac
6056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6059   ac_status=$?
6060   grep -v '^ *+' conftest.er1 >conftest.err
6061   rm -f conftest.er1
6062   cat conftest.err >&5
6063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064   (exit $ac_status); } >/dev/null && {
6065          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6066          test ! -s conftest.err
6067        }; then
6068   ac_header_preproc=yes
6069 else
6070   $as_echo "$as_me: failed program was:" >&5
6071 sed 's/^/| /' conftest.$ac_ext >&5
6072
6073   ac_header_preproc=no
6074 fi
6075
6076 rm -f conftest.err conftest.$ac_ext
6077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6078 $as_echo "$ac_header_preproc" >&6; }
6079
6080 # So?  What about this header?
6081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6082   yes:no: )
6083     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6085     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6087     ac_header_preproc=yes
6088     ;;
6089   no:yes:* )
6090     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6092     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6093 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6094     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6096     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6097 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6098     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6100     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6102
6103     ;;
6104 esac
6105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6106 $as_echo_n "checking for $ac_header... " >&6; }
6107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6108   $as_echo_n "(cached) " >&6
6109 else
6110   eval "$as_ac_Header=\$ac_header_preproc"
6111 fi
6112 ac_res=`eval 'as_val=${'$as_ac_Header'}
6113                  $as_echo "$as_val"'`
6114                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6115 $as_echo "$ac_res" >&6; }
6116
6117 fi
6118 as_val=`eval 'as_val=${'$as_ac_Header'}
6119                  $as_echo "$as_val"'`
6120    if test "x$as_val" = x""yes; then
6121   cat >>confdefs.h <<_ACEOF
6122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6123 _ACEOF
6124
6125 fi
6126
6127 done
6128
6129
6130 echo .
6131 echo Check typedefs, structures and compiler characteristics:
6132 echo .
6133 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6134 $as_echo_n "checking return type of signal handlers... " >&6; }
6135 if test "${ac_cv_type_signal+set}" = set; then
6136   $as_echo_n "(cached) " >&6
6137 else
6138   cat >conftest.$ac_ext <<_ACEOF
6139 /* confdefs.h.  */
6140 _ACEOF
6141 cat confdefs.h >>conftest.$ac_ext
6142 cat >>conftest.$ac_ext <<_ACEOF
6143 /* end confdefs.h.  */
6144 #include <sys/types.h>
6145 #include <signal.h>
6146
6147 int
6148 main ()
6149 {
6150 return *(signal (0, 0)) (0) == 1;
6151   ;
6152   return 0;
6153 }
6154 _ACEOF
6155 rm -f conftest.$ac_objext
6156 if { (ac_try="$ac_compile"
6157 case "(($ac_try" in
6158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6159   *) ac_try_echo=$ac_try;;
6160 esac
6161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6162 $as_echo "$ac_try_echo") >&5
6163   (eval "$ac_compile") 2>conftest.er1
6164   ac_status=$?
6165   grep -v '^ *+' conftest.er1 >conftest.err
6166   rm -f conftest.er1
6167   cat conftest.err >&5
6168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169   (exit $ac_status); } && {
6170          test -z "$ac_c_werror_flag" ||
6171          test ! -s conftest.err
6172        } && test -s conftest.$ac_objext; then
6173   ac_cv_type_signal=int
6174 else
6175   $as_echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.$ac_ext >&5
6177
6178         ac_cv_type_signal=void
6179 fi
6180
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6182 fi
6183 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6184 $as_echo "$ac_cv_type_signal" >&6; }
6185
6186 cat >>confdefs.h <<_ACEOF
6187 #define RETSIGTYPE $ac_cv_type_signal
6188 _ACEOF
6189
6190
6191 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6192 $as_echo_n "checking for size_t... " >&6; }
6193 if test "${ac_cv_type_size_t+set}" = set; then
6194   $as_echo_n "(cached) " >&6
6195 else
6196   ac_cv_type_size_t=no
6197 cat >conftest.$ac_ext <<_ACEOF
6198 /* confdefs.h.  */
6199 _ACEOF
6200 cat confdefs.h >>conftest.$ac_ext
6201 cat >>conftest.$ac_ext <<_ACEOF
6202 /* end confdefs.h.  */
6203 $ac_includes_default
6204 int
6205 main ()
6206 {
6207 if (sizeof (size_t))
6208        return 0;
6209   ;
6210   return 0;
6211 }
6212 _ACEOF
6213 rm -f conftest.$ac_objext
6214 if { (ac_try="$ac_compile"
6215 case "(($ac_try" in
6216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6217   *) ac_try_echo=$ac_try;;
6218 esac
6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220 $as_echo "$ac_try_echo") >&5
6221   (eval "$ac_compile") 2>conftest.er1
6222   ac_status=$?
6223   grep -v '^ *+' conftest.er1 >conftest.err
6224   rm -f conftest.er1
6225   cat conftest.err >&5
6226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227   (exit $ac_status); } && {
6228          test -z "$ac_c_werror_flag" ||
6229          test ! -s conftest.err
6230        } && test -s conftest.$ac_objext; then
6231   cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h.  */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h.  */
6237 $ac_includes_default
6238 int
6239 main ()
6240 {
6241 if (sizeof ((size_t)))
6242           return 0;
6243   ;
6244   return 0;
6245 }
6246 _ACEOF
6247 rm -f conftest.$ac_objext
6248 if { (ac_try="$ac_compile"
6249 case "(($ac_try" in
6250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251   *) ac_try_echo=$ac_try;;
6252 esac
6253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6254 $as_echo "$ac_try_echo") >&5
6255   (eval "$ac_compile") 2>conftest.er1
6256   ac_status=$?
6257   grep -v '^ *+' conftest.er1 >conftest.err
6258   rm -f conftest.er1
6259   cat conftest.err >&5
6260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); } && {
6262          test -z "$ac_c_werror_flag" ||
6263          test ! -s conftest.err
6264        } && test -s conftest.$ac_objext; then
6265   :
6266 else
6267   $as_echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6269
6270         ac_cv_type_size_t=yes
6271 fi
6272
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6274 else
6275   $as_echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.$ac_ext >&5
6277
6278
6279 fi
6280
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6282 fi
6283 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6284 $as_echo "$ac_cv_type_size_t" >&6; }
6285 if test "x$ac_cv_type_size_t" = x""yes; then
6286   :
6287 else
6288
6289 cat >>confdefs.h <<_ACEOF
6290 #define size_t unsigned int
6291 _ACEOF
6292
6293 fi
6294
6295 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
6296 $as_echo_n "checking for off_t... " >&6; }
6297 if test "${ac_cv_type_off_t+set}" = set; then
6298   $as_echo_n "(cached) " >&6
6299 else
6300   ac_cv_type_off_t=no
6301 cat >conftest.$ac_ext <<_ACEOF
6302 /* confdefs.h.  */
6303 _ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h.  */
6307 $ac_includes_default
6308 int
6309 main ()
6310 {
6311 if (sizeof (off_t))
6312        return 0;
6313   ;
6314   return 0;
6315 }
6316 _ACEOF
6317 rm -f conftest.$ac_objext
6318 if { (ac_try="$ac_compile"
6319 case "(($ac_try" in
6320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6321   *) ac_try_echo=$ac_try;;
6322 esac
6323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6324 $as_echo "$ac_try_echo") >&5
6325   (eval "$ac_compile") 2>conftest.er1
6326   ac_status=$?
6327   grep -v '^ *+' conftest.er1 >conftest.err
6328   rm -f conftest.er1
6329   cat conftest.err >&5
6330   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331   (exit $ac_status); } && {
6332          test -z "$ac_c_werror_flag" ||
6333          test ! -s conftest.err
6334        } && test -s conftest.$ac_objext; then
6335   cat >conftest.$ac_ext <<_ACEOF
6336 /* confdefs.h.  */
6337 _ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h.  */
6341 $ac_includes_default
6342 int
6343 main ()
6344 {
6345 if (sizeof ((off_t)))
6346           return 0;
6347   ;
6348   return 0;
6349 }
6350 _ACEOF
6351 rm -f conftest.$ac_objext
6352 if { (ac_try="$ac_compile"
6353 case "(($ac_try" in
6354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355   *) ac_try_echo=$ac_try;;
6356 esac
6357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6358 $as_echo "$ac_try_echo") >&5
6359   (eval "$ac_compile") 2>conftest.er1
6360   ac_status=$?
6361   grep -v '^ *+' conftest.er1 >conftest.err
6362   rm -f conftest.er1
6363   cat conftest.err >&5
6364   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365   (exit $ac_status); } && {
6366          test -z "$ac_c_werror_flag" ||
6367          test ! -s conftest.err
6368        } && test -s conftest.$ac_objext; then
6369   :
6370 else
6371   $as_echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6373
6374         ac_cv_type_off_t=yes
6375 fi
6376
6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6378 else
6379   $as_echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.$ac_ext >&5
6381
6382
6383 fi
6384
6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6386 fi
6387 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6388 $as_echo "$ac_cv_type_off_t" >&6; }
6389 if test "x$ac_cv_type_off_t" = x""yes; then
6390   :
6391 else
6392
6393 cat >>confdefs.h <<_ACEOF
6394 #define off_t long int
6395 _ACEOF
6396
6397 fi
6398
6399
6400 echo .
6401 echo Check library functions:
6402 echo .
6403
6404 for ac_func in strchr
6405 do
6406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6407 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6408 $as_echo_n "checking for $ac_func... " >&6; }
6409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6410   $as_echo_n "(cached) " >&6
6411 else
6412   cat >conftest.$ac_ext <<_ACEOF
6413 /* confdefs.h.  */
6414 _ACEOF
6415 cat confdefs.h >>conftest.$ac_ext
6416 cat >>conftest.$ac_ext <<_ACEOF
6417 /* end confdefs.h.  */
6418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6420 #define $ac_func innocuous_$ac_func
6421
6422 /* System header to define __stub macros and hopefully few prototypes,
6423     which can conflict with char $ac_func (); below.
6424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6425     <limits.h> exists even on freestanding compilers.  */
6426
6427 #ifdef __STDC__
6428 # include <limits.h>
6429 #else
6430 # include <assert.h>
6431 #endif
6432
6433 #undef $ac_func
6434
6435 /* Override any GCC internal prototype to avoid an error.
6436    Use char because int might match the return type of a GCC
6437    builtin and then its argument prototype would still apply.  */
6438 #ifdef __cplusplus
6439 extern "C"
6440 #endif
6441 char $ac_func ();
6442 /* The GNU C library defines this for functions which it implements
6443     to always fail with ENOSYS.  Some functions are actually named
6444     something starting with __ and the normal name is an alias.  */
6445 #if defined __stub_$ac_func || defined __stub___$ac_func
6446 choke me
6447 #endif
6448
6449 int
6450 main ()
6451 {
6452 return $ac_func ();
6453   ;
6454   return 0;
6455 }
6456 _ACEOF
6457 rm -f conftest.$ac_objext conftest$ac_exeext
6458 if { (ac_try="$ac_link"
6459 case "(($ac_try" in
6460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6461   *) ac_try_echo=$ac_try;;
6462 esac
6463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6464 $as_echo "$ac_try_echo") >&5
6465   (eval "$ac_link") 2>conftest.er1
6466   ac_status=$?
6467   grep -v '^ *+' conftest.er1 >conftest.err
6468   rm -f conftest.er1
6469   cat conftest.err >&5
6470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471   (exit $ac_status); } && {
6472          test -z "$ac_c_werror_flag" ||
6473          test ! -s conftest.err
6474        } && test -s conftest$ac_exeext && {
6475          test "$cross_compiling" = yes ||
6476          $as_test_x conftest$ac_exeext
6477        }; then
6478   eval "$as_ac_var=yes"
6479 else
6480   $as_echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6482
6483         eval "$as_ac_var=no"
6484 fi
6485
6486 rm -rf conftest.dSYM
6487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6488       conftest$ac_exeext conftest.$ac_ext
6489 fi
6490 ac_res=`eval 'as_val=${'$as_ac_var'}
6491                  $as_echo "$as_val"'`
6492                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6493 $as_echo "$ac_res" >&6; }
6494 as_val=`eval 'as_val=${'$as_ac_var'}
6495                  $as_echo "$as_val"'`
6496    if test "x$as_val" = x""yes; then
6497   cat >>confdefs.h <<_ACEOF
6498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6499 _ACEOF
6500
6501 fi
6502 done
6503
6504
6505 for ac_func in strcspn
6506 do
6507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6508 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6509 $as_echo_n "checking for $ac_func... " >&6; }
6510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6511   $as_echo_n "(cached) " >&6
6512 else
6513   cat >conftest.$ac_ext <<_ACEOF
6514 /* confdefs.h.  */
6515 _ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h.  */
6519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6521 #define $ac_func innocuous_$ac_func
6522
6523 /* System header to define __stub macros and hopefully few prototypes,
6524     which can conflict with char $ac_func (); below.
6525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6526     <limits.h> exists even on freestanding compilers.  */
6527
6528 #ifdef __STDC__
6529 # include <limits.h>
6530 #else
6531 # include <assert.h>
6532 #endif
6533
6534 #undef $ac_func
6535
6536 /* Override any GCC internal prototype to avoid an error.
6537    Use char because int might match the return type of a GCC
6538    builtin and then its argument prototype would still apply.  */
6539 #ifdef __cplusplus
6540 extern "C"
6541 #endif
6542 char $ac_func ();
6543 /* The GNU C library defines this for functions which it implements
6544     to always fail with ENOSYS.  Some functions are actually named
6545     something starting with __ and the normal name is an alias.  */
6546 #if defined __stub_$ac_func || defined __stub___$ac_func
6547 choke me
6548 #endif
6549
6550 int
6551 main ()
6552 {
6553 return $ac_func ();
6554   ;
6555   return 0;
6556 }
6557 _ACEOF
6558 rm -f conftest.$ac_objext conftest$ac_exeext
6559 if { (ac_try="$ac_link"
6560 case "(($ac_try" in
6561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562   *) ac_try_echo=$ac_try;;
6563 esac
6564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6565 $as_echo "$ac_try_echo") >&5
6566   (eval "$ac_link") 2>conftest.er1
6567   ac_status=$?
6568   grep -v '^ *+' conftest.er1 >conftest.err
6569   rm -f conftest.er1
6570   cat conftest.err >&5
6571   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572   (exit $ac_status); } && {
6573          test -z "$ac_c_werror_flag" ||
6574          test ! -s conftest.err
6575        } && test -s conftest$ac_exeext && {
6576          test "$cross_compiling" = yes ||
6577          $as_test_x conftest$ac_exeext
6578        }; then
6579   eval "$as_ac_var=yes"
6580 else
6581   $as_echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6583
6584         eval "$as_ac_var=no"
6585 fi
6586
6587 rm -rf conftest.dSYM
6588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6589       conftest$ac_exeext conftest.$ac_ext
6590 fi
6591 ac_res=`eval 'as_val=${'$as_ac_var'}
6592                  $as_echo "$as_val"'`
6593                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6594 $as_echo "$ac_res" >&6; }
6595 as_val=`eval 'as_val=${'$as_ac_var'}
6596                  $as_echo "$as_val"'`
6597    if test "x$as_val" = x""yes; then
6598   cat >>confdefs.h <<_ACEOF
6599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6600 _ACEOF
6601
6602 fi
6603 done
6604
6605
6606 for ac_func in strspn
6607 do
6608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6609 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6610 $as_echo_n "checking for $ac_func... " >&6; }
6611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6612   $as_echo_n "(cached) " >&6
6613 else
6614   cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h.  */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h.  */
6620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6622 #define $ac_func innocuous_$ac_func
6623
6624 /* System header to define __stub macros and hopefully few prototypes,
6625     which can conflict with char $ac_func (); below.
6626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6627     <limits.h> exists even on freestanding compilers.  */
6628
6629 #ifdef __STDC__
6630 # include <limits.h>
6631 #else
6632 # include <assert.h>
6633 #endif
6634
6635 #undef $ac_func
6636
6637 /* Override any GCC internal prototype to avoid an error.
6638    Use char because int might match the return type of a GCC
6639    builtin and then its argument prototype would still apply.  */
6640 #ifdef __cplusplus
6641 extern "C"
6642 #endif
6643 char $ac_func ();
6644 /* The GNU C library defines this for functions which it implements
6645     to always fail with ENOSYS.  Some functions are actually named
6646     something starting with __ and the normal name is an alias.  */
6647 #if defined __stub_$ac_func || defined __stub___$ac_func
6648 choke me
6649 #endif
6650
6651 int
6652 main ()
6653 {
6654 return $ac_func ();
6655   ;
6656   return 0;
6657 }
6658 _ACEOF
6659 rm -f conftest.$ac_objext conftest$ac_exeext
6660 if { (ac_try="$ac_link"
6661 case "(($ac_try" in
6662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6663   *) ac_try_echo=$ac_try;;
6664 esac
6665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6666 $as_echo "$ac_try_echo") >&5
6667   (eval "$ac_link") 2>conftest.er1
6668   ac_status=$?
6669   grep -v '^ *+' conftest.er1 >conftest.err
6670   rm -f conftest.er1
6671   cat conftest.err >&5
6672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673   (exit $ac_status); } && {
6674          test -z "$ac_c_werror_flag" ||
6675          test ! -s conftest.err
6676        } && test -s conftest$ac_exeext && {
6677          test "$cross_compiling" = yes ||
6678          $as_test_x conftest$ac_exeext
6679        }; then
6680   eval "$as_ac_var=yes"
6681 else
6682   $as_echo "$as_me: failed program was:" >&5
6683 sed 's/^/| /' conftest.$ac_ext >&5
6684
6685         eval "$as_ac_var=no"
6686 fi
6687
6688 rm -rf conftest.dSYM
6689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6690       conftest$ac_exeext conftest.$ac_ext
6691 fi
6692 ac_res=`eval 'as_val=${'$as_ac_var'}
6693                  $as_echo "$as_val"'`
6694                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6695 $as_echo "$ac_res" >&6; }
6696 as_val=`eval 'as_val=${'$as_ac_var'}
6697                  $as_echo "$as_val"'`
6698    if test "x$as_val" = x""yes; then
6699   cat >>confdefs.h <<_ACEOF
6700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6701 _ACEOF
6702
6703 fi
6704 done
6705
6706
6707 for ac_func in strstr
6708 do
6709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6710 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6711 $as_echo_n "checking for $ac_func... " >&6; }
6712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6713   $as_echo_n "(cached) " >&6
6714 else
6715   cat >conftest.$ac_ext <<_ACEOF
6716 /* confdefs.h.  */
6717 _ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h.  */
6721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6723 #define $ac_func innocuous_$ac_func
6724
6725 /* System header to define __stub macros and hopefully few prototypes,
6726     which can conflict with char $ac_func (); below.
6727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6728     <limits.h> exists even on freestanding compilers.  */
6729
6730 #ifdef __STDC__
6731 # include <limits.h>
6732 #else
6733 # include <assert.h>
6734 #endif
6735
6736 #undef $ac_func
6737
6738 /* Override any GCC internal prototype to avoid an error.
6739    Use char because int might match the return type of a GCC
6740    builtin and then its argument prototype would still apply.  */
6741 #ifdef __cplusplus
6742 extern "C"
6743 #endif
6744 char $ac_func ();
6745 /* The GNU C library defines this for functions which it implements
6746     to always fail with ENOSYS.  Some functions are actually named
6747     something starting with __ and the normal name is an alias.  */
6748 #if defined __stub_$ac_func || defined __stub___$ac_func
6749 choke me
6750 #endif
6751
6752 int
6753 main ()
6754 {
6755 return $ac_func ();
6756   ;
6757   return 0;
6758 }
6759 _ACEOF
6760 rm -f conftest.$ac_objext conftest$ac_exeext
6761 if { (ac_try="$ac_link"
6762 case "(($ac_try" in
6763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764   *) ac_try_echo=$ac_try;;
6765 esac
6766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6767 $as_echo "$ac_try_echo") >&5
6768   (eval "$ac_link") 2>conftest.er1
6769   ac_status=$?
6770   grep -v '^ *+' conftest.er1 >conftest.err
6771   rm -f conftest.er1
6772   cat conftest.err >&5
6773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774   (exit $ac_status); } && {
6775          test -z "$ac_c_werror_flag" ||
6776          test ! -s conftest.err
6777        } && test -s conftest$ac_exeext && {
6778          test "$cross_compiling" = yes ||
6779          $as_test_x conftest$ac_exeext
6780        }; then
6781   eval "$as_ac_var=yes"
6782 else
6783   $as_echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.$ac_ext >&5
6785
6786         eval "$as_ac_var=no"
6787 fi
6788
6789 rm -rf conftest.dSYM
6790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6791       conftest$ac_exeext conftest.$ac_ext
6792 fi
6793 ac_res=`eval 'as_val=${'$as_ac_var'}
6794                  $as_echo "$as_val"'`
6795                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6796 $as_echo "$ac_res" >&6; }
6797 as_val=`eval 'as_val=${'$as_ac_var'}
6798                  $as_echo "$as_val"'`
6799    if test "x$as_val" = x""yes; then
6800   cat >>confdefs.h <<_ACEOF
6801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6802 _ACEOF
6803
6804 fi
6805 done
6806
6807
6808 # Should we check for lm_sensors?
6809 { $as_echo "$as_me:$LINENO: checking for sensors support" >&5
6810 $as_echo_n "checking for sensors support... " >&6; }
6811 # Check whether --enable-sensors was given.
6812 if test "${enable_sensors+set}" = set; then
6813   enableval=$enable_sensors; SENSORS=$enableval
6814 else
6815   SENSORS=yes
6816 fi
6817
6818 if test $SENSORS != "yes"; then
6819    HAVE_SENSORS="n"
6820 else
6821    HAVE_SENSORS="y"
6822 fi
6823 { $as_echo "$as_me:$LINENO: result: $SENSORS" >&5
6824 $as_echo "$SENSORS" >&6; }
6825
6826 # Check for lm_sensors
6827 SENSORS=no
6828 LFSENSORS=""
6829 DFSENSORS=""
6830 { $as_echo "$as_me:$LINENO: checking for sensors_get_detected_chips in -lsensors" >&5
6831 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
6832 if test "${ac_cv_lib_sensors_sensors_get_detected_chips+set}" = set; then
6833   $as_echo_n "(cached) " >&6
6834 else
6835   ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-lsensors  $LIBS"
6837 cat >conftest.$ac_ext <<_ACEOF
6838 /* confdefs.h.  */
6839 _ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h.  */
6843
6844 /* Override any GCC internal prototype to avoid an error.
6845    Use char because int might match the return type of a GCC
6846    builtin and then its argument prototype would still apply.  */
6847 #ifdef __cplusplus
6848 extern "C"
6849 #endif
6850 char sensors_get_detected_chips ();
6851 int
6852 main ()
6853 {
6854 return sensors_get_detected_chips ();
6855   ;
6856   return 0;
6857 }
6858 _ACEOF
6859 rm -f conftest.$ac_objext conftest$ac_exeext
6860 if { (ac_try="$ac_link"
6861 case "(($ac_try" in
6862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863   *) ac_try_echo=$ac_try;;
6864 esac
6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6866 $as_echo "$ac_try_echo") >&5
6867   (eval "$ac_link") 2>conftest.er1
6868   ac_status=$?
6869   grep -v '^ *+' conftest.er1 >conftest.err
6870   rm -f conftest.er1
6871   cat conftest.err >&5
6872   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873   (exit $ac_status); } && {
6874          test -z "$ac_c_werror_flag" ||
6875          test ! -s conftest.err
6876        } && test -s conftest$ac_exeext && {
6877          test "$cross_compiling" = yes ||
6878          $as_test_x conftest$ac_exeext
6879        }; then
6880   ac_cv_lib_sensors_sensors_get_detected_chips=yes
6881 else
6882   $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6884
6885         ac_cv_lib_sensors_sensors_get_detected_chips=no
6886 fi
6887
6888 rm -rf conftest.dSYM
6889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6890       conftest$ac_exeext conftest.$ac_ext
6891 LIBS=$ac_check_lib_save_LIBS
6892 fi
6893 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
6894 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
6895 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = x""yes; then
6896   LFSENSORS="-lsensors"
6897 else
6898   HAVE_SENSORS="n"
6899 fi
6900
6901 { $as_echo "$as_me:$LINENO: checking for sensors lib" >&5
6902 $as_echo_n "checking for sensors lib... " >&6; }
6903 cat >conftest.$ac_ext <<_ACEOF
6904 /* confdefs.h.  */
6905 _ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h.  */
6909 #include <sensors/sensors.h>
6910 #include <sensors/error.h>
6911
6912 int
6913 main ()
6914 {
6915 sensors_cleanup();
6916   ;
6917   return 0;
6918 }
6919 _ACEOF
6920 rm -f conftest.$ac_objext
6921 if { (ac_try="$ac_compile"
6922 case "(($ac_try" in
6923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6924   *) ac_try_echo=$ac_try;;
6925 esac
6926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6927 $as_echo "$ac_try_echo") >&5
6928   (eval "$ac_compile") 2>conftest.er1
6929   ac_status=$?
6930   grep -v '^ *+' conftest.er1 >conftest.err
6931   rm -f conftest.er1
6932   cat conftest.err >&5
6933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934   (exit $ac_status); } && {
6935          test -z "$ac_c_werror_flag" ||
6936          test ! -s conftest.err
6937        } && test -s conftest.$ac_objext; then
6938   SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
6939 else
6940   $as_echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.$ac_ext >&5
6942
6943         HAVE_SENSORS="n"; SENSORS=no
6944 fi
6945
6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6947 { $as_echo "$as_me:$LINENO: result: $SENSORS" >&5
6948 $as_echo "$SENSORS" >&6; }
6949
6950
6951
6952
6953 echo .
6954 echo Check system services:
6955 echo .
6956 # Check whether --enable-largefile was given.
6957 if test "${enable_largefile+set}" = set; then
6958   enableval=$enable_largefile;
6959 fi
6960
6961 if test "$enable_largefile" != no; then
6962
6963   { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
6964 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6965 if test "${ac_cv_sys_largefile_CC+set}" = set; then
6966   $as_echo_n "(cached) " >&6
6967 else
6968   ac_cv_sys_largefile_CC=no
6969      if test "$GCC" != yes; then
6970        ac_save_CC=$CC
6971        while :; do
6972          # IRIX 6.2 and later do not support large files by default,
6973          # so use the C compiler's -n32 option if that helps.
6974          cat >conftest.$ac_ext <<_ACEOF
6975 /* confdefs.h.  */
6976 _ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h.  */
6980 #include <sys/types.h>
6981  /* Check that off_t can represent 2**63 - 1 correctly.
6982     We can't simply define LARGE_OFF_T to be 9223372036854775807,
6983     since some C++ compilers masquerading as C compilers
6984     incorrectly reject 9223372036854775807.  */
6985 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6986   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6987                        && LARGE_OFF_T % 2147483647 == 1)
6988                       ? 1 : -1];
6989 int
6990 main ()
6991 {
6992
6993   ;
6994   return 0;
6995 }
6996 _ACEOF
6997          rm -f conftest.$ac_objext
6998 if { (ac_try="$ac_compile"
6999 case "(($ac_try" in
7000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001   *) ac_try_echo=$ac_try;;
7002 esac
7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7004 $as_echo "$ac_try_echo") >&5
7005   (eval "$ac_compile") 2>conftest.er1
7006   ac_status=$?
7007   grep -v '^ *+' conftest.er1 >conftest.err
7008   rm -f conftest.er1
7009   cat conftest.err >&5
7010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011   (exit $ac_status); } && {
7012          test -z "$ac_c_werror_flag" ||
7013          test ! -s conftest.err
7014        } && test -s conftest.$ac_objext; then
7015   break
7016 else
7017   $as_echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7019
7020
7021 fi
7022
7023 rm -f core conftest.err conftest.$ac_objext
7024          CC="$CC -n32"
7025          rm -f conftest.$ac_objext
7026 if { (ac_try="$ac_compile"
7027 case "(($ac_try" in
7028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7029   *) ac_try_echo=$ac_try;;
7030 esac
7031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7032 $as_echo "$ac_try_echo") >&5
7033   (eval "$ac_compile") 2>conftest.er1
7034   ac_status=$?
7035   grep -v '^ *+' conftest.er1 >conftest.err
7036   rm -f conftest.er1
7037   cat conftest.err >&5
7038   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039   (exit $ac_status); } && {
7040          test -z "$ac_c_werror_flag" ||
7041          test ! -s conftest.err
7042        } && test -s conftest.$ac_objext; then
7043   ac_cv_sys_largefile_CC=' -n32'; break
7044 else
7045   $as_echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.$ac_ext >&5
7047
7048
7049 fi
7050
7051 rm -f core conftest.err conftest.$ac_objext
7052          break
7053        done
7054        CC=$ac_save_CC
7055        rm -f conftest.$ac_ext
7056     fi
7057 fi
7058 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
7059 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7060   if test "$ac_cv_sys_largefile_CC" != no; then
7061     CC=$CC$ac_cv_sys_largefile_CC
7062   fi
7063
7064   { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7065 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7066 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
7067   $as_echo_n "(cached) " >&6
7068 else
7069   while :; do
7070   cat >conftest.$ac_ext <<_ACEOF
7071 /* confdefs.h.  */
7072 _ACEOF
7073 cat confdefs.h >>conftest.$ac_ext
7074 cat >>conftest.$ac_ext <<_ACEOF
7075 /* end confdefs.h.  */
7076 #include <sys/types.h>
7077  /* Check that off_t can represent 2**63 - 1 correctly.
7078     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7079     since some C++ compilers masquerading as C compilers
7080     incorrectly reject 9223372036854775807.  */
7081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7082   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7083                        && LARGE_OFF_T % 2147483647 == 1)
7084                       ? 1 : -1];
7085 int
7086 main ()
7087 {
7088
7089   ;
7090   return 0;
7091 }
7092 _ACEOF
7093 rm -f conftest.$ac_objext
7094 if { (ac_try="$ac_compile"
7095 case "(($ac_try" in
7096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7097   *) ac_try_echo=$ac_try;;
7098 esac
7099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7100 $as_echo "$ac_try_echo") >&5
7101   (eval "$ac_compile") 2>conftest.er1
7102   ac_status=$?
7103   grep -v '^ *+' conftest.er1 >conftest.err
7104   rm -f conftest.er1
7105   cat conftest.err >&5
7106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107   (exit $ac_status); } && {
7108          test -z "$ac_c_werror_flag" ||
7109          test ! -s conftest.err
7110        } && test -s conftest.$ac_objext; then
7111   ac_cv_sys_file_offset_bits=no; break
7112 else
7113   $as_echo "$as_me: failed program was:" >&5
7114 sed 's/^/| /' conftest.$ac_ext >&5
7115
7116
7117 fi
7118
7119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7120   cat >conftest.$ac_ext <<_ACEOF
7121 /* confdefs.h.  */
7122 _ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h.  */
7126 #define _FILE_OFFSET_BITS 64
7127 #include <sys/types.h>
7128  /* Check that off_t can represent 2**63 - 1 correctly.
7129     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7130     since some C++ compilers masquerading as C compilers
7131     incorrectly reject 9223372036854775807.  */
7132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7133   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7134                        && LARGE_OFF_T % 2147483647 == 1)
7135                       ? 1 : -1];
7136 int
7137 main ()
7138 {
7139
7140   ;
7141   return 0;
7142 }
7143 _ACEOF
7144 rm -f conftest.$ac_objext
7145 if { (ac_try="$ac_compile"
7146 case "(($ac_try" in
7147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148   *) ac_try_echo=$ac_try;;
7149 esac
7150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7151 $as_echo "$ac_try_echo") >&5
7152   (eval "$ac_compile") 2>conftest.er1
7153   ac_status=$?
7154   grep -v '^ *+' conftest.er1 >conftest.err
7155   rm -f conftest.er1
7156   cat conftest.err >&5
7157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158   (exit $ac_status); } && {
7159          test -z "$ac_c_werror_flag" ||
7160          test ! -s conftest.err
7161        } && test -s conftest.$ac_objext; then
7162   ac_cv_sys_file_offset_bits=64; break
7163 else
7164   $as_echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7166
7167
7168 fi
7169
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171   ac_cv_sys_file_offset_bits=unknown
7172   break
7173 done
7174 fi
7175 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7176 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7177 case $ac_cv_sys_file_offset_bits in #(
7178   no | unknown) ;;
7179   *)
7180 cat >>confdefs.h <<_ACEOF
7181 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7182 _ACEOF
7183 ;;
7184 esac
7185 rm -rf conftest*
7186   if test $ac_cv_sys_file_offset_bits = unknown; then
7187     { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
7188 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7189 if test "${ac_cv_sys_large_files+set}" = set; then
7190   $as_echo_n "(cached) " >&6
7191 else
7192   while :; do
7193   cat >conftest.$ac_ext <<_ACEOF
7194 /* confdefs.h.  */
7195 _ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h.  */
7199 #include <sys/types.h>
7200  /* Check that off_t can represent 2**63 - 1 correctly.
7201     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7202     since some C++ compilers masquerading as C compilers
7203     incorrectly reject 9223372036854775807.  */
7204 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7205   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7206                        && LARGE_OFF_T % 2147483647 == 1)
7207                       ? 1 : -1];
7208 int
7209 main ()
7210 {
7211
7212   ;
7213   return 0;
7214 }
7215 _ACEOF
7216 rm -f conftest.$ac_objext
7217 if { (ac_try="$ac_compile"
7218 case "(($ac_try" in
7219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220   *) ac_try_echo=$ac_try;;
7221 esac
7222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7223 $as_echo "$ac_try_echo") >&5
7224   (eval "$ac_compile") 2>conftest.er1
7225   ac_status=$?
7226   grep -v '^ *+' conftest.er1 >conftest.err
7227   rm -f conftest.er1
7228   cat conftest.err >&5
7229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230   (exit $ac_status); } && {
7231          test -z "$ac_c_werror_flag" ||
7232          test ! -s conftest.err
7233        } && test -s conftest.$ac_objext; then
7234   ac_cv_sys_large_files=no; break
7235 else
7236   $as_echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.$ac_ext >&5
7238
7239
7240 fi
7241
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243   cat >conftest.$ac_ext <<_ACEOF
7244 /* confdefs.h.  */
7245 _ACEOF
7246 cat confdefs.h >>conftest.$ac_ext
7247 cat >>conftest.$ac_ext <<_ACEOF
7248 /* end confdefs.h.  */
7249 #define _LARGE_FILES 1
7250 #include <sys/types.h>
7251  /* Check that off_t can represent 2**63 - 1 correctly.
7252     We can't simply define LARGE_OFF_T to be 9223372036854775807,
7253     since some C++ compilers masquerading as C compilers
7254     incorrectly reject 9223372036854775807.  */
7255 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7256   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7257                        && LARGE_OFF_T % 2147483647 == 1)
7258                       ? 1 : -1];
7259 int
7260 main ()
7261 {
7262
7263   ;
7264   return 0;
7265 }
7266 _ACEOF
7267 rm -f conftest.$ac_objext
7268 if { (ac_try="$ac_compile"
7269 case "(($ac_try" in
7270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7271   *) ac_try_echo=$ac_try;;
7272 esac
7273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7274 $as_echo "$ac_try_echo") >&5
7275   (eval "$ac_compile") 2>conftest.er1
7276   ac_status=$?
7277   grep -v '^ *+' conftest.er1 >conftest.err
7278   rm -f conftest.er1
7279   cat conftest.err >&5
7280   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281   (exit $ac_status); } && {
7282          test -z "$ac_c_werror_flag" ||
7283          test ! -s conftest.err
7284        } && test -s conftest.$ac_objext; then
7285   ac_cv_sys_large_files=1; break
7286 else
7287   $as_echo "$as_me: failed program was:" >&5
7288 sed 's/^/| /' conftest.$ac_ext >&5
7289
7290
7291 fi
7292
7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294   ac_cv_sys_large_files=unknown
7295   break
7296 done
7297 fi
7298 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7299 $as_echo "$ac_cv_sys_large_files" >&6; }
7300 case $ac_cv_sys_large_files in #(
7301   no | unknown) ;;
7302   *)
7303 cat >>confdefs.h <<_ACEOF
7304 #define _LARGE_FILES $ac_cv_sys_large_files
7305 _ACEOF
7306 ;;
7307 esac
7308 rm -rf conftest*
7309   fi
7310 fi
7311
7312
7313 echo .
7314 echo Check configuration:
7315 echo .
7316 # Check arguments used
7317 #
7318 # Optional Features:
7319 #  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
7320 #  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
7321 #  --disable-largefile     omit support for large files
7322 #  --disable-nls           disable National Language Support
7323 #  --enable-yesterday      tell sa2 to use "yesterday" data files
7324 #  --disable-man-group     ignore man_group variable value
7325 #  --enable-install-cron   tell sysstat to install cron scripts
7326 #  --enable-clean-sa-dir   clean system activity directory
7327 #  --enable-compress-manpg compress manual pages
7328 #  --enable-install-isag   install isag script
7329 #  --enable-debuginfo      enable debug output (--debuginfo option)
7330 #  --disable-documentation do not install documentation (man pages...)
7331 #  --disable-sensors       do not link against libsensors even if available
7332 #
7333 # Some influential environment variables:
7334 #  rcdir         directory where startup scripts are installed
7335 #  sa_lib_dir    sadc, sa1 and sa2 directory
7336 #  sa_dir        system activity daily datafiles directory
7337 #  conf_dir      sysstat configuration directory (default is /etc/sysconfig)
7338 #  history       number of daily datafiles to keep (default value is 7)
7339 #  compressafter number of days after which datafiles are compressed
7340 #  man_group     group for man pages
7341 #  cron_owner    crontab owner
7342 #  cron_interval crontab sampling interval
7343 #
7344 # Fine tuning the installation directories:
7345 #  --mandir=DIR           man documentation directory [PREFIX/man]
7346 #  --docdir=DIR           other documentation directory [PREFIX/share/doc]
7347 #
7348 # Installation directories:
7349 #  --prefix=PREFIX         install architecture-independent files in PREFIX
7350 #                            [/usr/local]
7351 #  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
7352 #                            [PREFIX]
7353
7354 # Set directories
7355 if test -d /etc/init.d && test ! -L /etc/init.d; then
7356    if test -d /etc/init.d/rc2.d; then
7357       RC_DIR=/etc/init.d
7358       INITD_DIR=.
7359    else
7360       RC_DIR=/etc
7361       INITD_DIR=init.d
7362    fi
7363    INIT_DIR=/etc/init.d
7364 elif test -d /sbin/init.d; then
7365    RC_DIR=/sbin/init.d
7366    INIT_DIR=/sbin/init.d
7367    INITD_DIR=.
7368 else
7369    RC_DIR=/etc/rc.d
7370    INIT_DIR=/etc/rc.d/init.d
7371    INITD_DIR=init.d
7372 fi
7373
7374 { $as_echo "$as_me:$LINENO: checking run-commands directory" >&5
7375 $as_echo_n "checking run-commands directory... " >&6; }
7376
7377 if test x$rcdir != x""; then
7378         # Override previous rc directories values
7379         RC_DIR=$rcdir
7380         INIT_DIR=$rcdir/init.d
7381         INITD_DIR=init.d
7382 fi
7383 { $as_echo "$as_me:$LINENO: result: $RC_DIR" >&5
7384 $as_echo "$RC_DIR" >&6; }
7385 if test ! -d $RC_DIR; then
7386         echo "INFO: Directory ${RC_DIR} doesn't exist."
7387         echo "INFO: Startup scripts won't be installed."
7388 fi
7389
7390
7391
7392
7393
7394 # Set sadc directory
7395 if test $prefix != "NONE"; then
7396    AuxPrefix=$prefix
7397 else
7398    AuxPrefix=/usr/local
7399 fi
7400
7401 if test -d $AuxPrefix/lib; then
7402    SADC_DIR=$AuxPrefix/lib
7403 elif test -d $AuxPrefix/lib64; then
7404    SADC_DIR=$AuxPrefix/lib64
7405 else
7406    SADC_DIR=$AuxPrefix/lib
7407 fi
7408
7409 { $as_echo "$as_me:$LINENO: checking sadc directory" >&5
7410 $as_echo_n "checking sadc directory... " >&6; }
7411
7412 if test x$sa_lib_dir != x""; then
7413    SA_LIB_DIR=$sa_lib_dir
7414 else
7415    SA_LIB_DIR=$SADC_DIR/sa
7416 fi
7417 { $as_echo "$as_me:$LINENO: result: $SA_LIB_DIR" >&5
7418 $as_echo "$SA_LIB_DIR" >&6; }
7419 if test ! -d $SA_LIB_DIR; then
7420    echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
7421 fi
7422
7423
7424 # Set system activity directory
7425 { $as_echo "$as_me:$LINENO: checking system activity directory" >&5
7426 $as_echo_n "checking system activity directory... " >&6; }
7427
7428 if test x$sa_dir != x""; then
7429    SA_DIR=$sa_dir
7430 else
7431    SA_DIR=/var/log/sa
7432 fi
7433 { $as_echo "$as_me:$LINENO: result: $SA_DIR" >&5
7434 $as_echo "$SA_DIR" >&6; }
7435 if test ! -d $SA_DIR; then
7436    echo "INFO: Directory ${SA_DIR} will be created during installation stage."
7437 fi
7438
7439
7440 # Set configuration directory
7441 { $as_echo "$as_me:$LINENO: checking sysstat configuration directory" >&5
7442 $as_echo_n "checking sysstat configuration directory... " >&6; }
7443
7444 if test x$conf_dir != x""; then
7445    SYSCONFIG_DIR=$conf_dir
7446 else
7447    SYSCONFIG_DIR=/etc/sysconfig
7448 fi
7449 { $as_echo "$as_me:$LINENO: result: $SYSCONFIG_DIR" >&5
7450 $as_echo "$SYSCONFIG_DIR" >&6; }
7451 if test ! -d $SYSCONFIG_DIR; then
7452    echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
7453 fi
7454
7455
7456 # National Language Support
7457 { $as_echo "$as_me:$LINENO: checking National Language Support" >&5
7458 $as_echo_n "checking National Language Support... " >&6; }
7459 # Check whether --enable-nls was given.
7460 if test "${enable_nls+set}" = set; then
7461   enableval=$enable_nls; AUX_NLS=$enableval
7462 else
7463   AUX_NLS=yes
7464 fi
7465
7466 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
7467    AUX_NLS="yes"
7468    NLS="y"
7469 else
7470    AUX_NLS="no"
7471    NLS="n"
7472 fi
7473 { $as_echo "$as_me:$LINENO: result: $AUX_NLS" >&5
7474 $as_echo "$AUX_NLS" >&6; }
7475
7476 if test $AUX_NLS = "yes" &&  test x$MSGFMT != x"msgfmt"; then
7477    echo "WARNING: msgfmt command not found!"
7478 fi
7479 if test $AUX_NLS = "yes" &&  test x$XGETTEXT != x"xgettext"; then
7480    echo "WARNING: xgettext command not found!"
7481 fi
7482 if test $AUX_NLS = "yes" &&  test x$MSGMERGE != x"msgmerge"; then
7483    echo "WARNING: msgmerge command not found!"
7484 fi
7485
7486 # Check whether sa2 should process data file of the day before
7487 { $as_echo "$as_me:$LINENO: checking whether sa2 should process data file of the day before" >&5
7488 $as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
7489 # Check whether --enable-yesterday was given.
7490 if test "${enable_yesterday+set}" = set; then
7491   enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
7492 else
7493   AUX_YESTERDAY=no
7494 fi
7495
7496 if test $AUX_YESTERDAY = "yes"; then
7497    YESTERDAY="--date=yesterday"
7498    { $as_echo "$as_me:$LINENO: result: yes" >&5
7499 $as_echo "yes" >&6; }
7500 else
7501    YESTERDAY=""
7502    { $as_echo "$as_me:$LINENO: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506
7507 # Data history to keep by sa2
7508 { $as_echo "$as_me:$LINENO: checking number of daily data files to keep" >&5
7509 $as_echo_n "checking number of daily data files to keep... " >&6; }
7510
7511 if test x$history = x""; then
7512    HISTORY=7
7513 else
7514    HISTORY=$history
7515 fi
7516 { $as_echo "$as_me:$LINENO: result: $HISTORY" >&5
7517 $as_echo "$HISTORY" >&6; }
7518
7519
7520 # Number of days after which datafiles are compressed
7521 { $as_echo "$as_me:$LINENO: checking number of days after which data files are compressed" >&5
7522 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
7523
7524 if test x$compressafter = x""; then
7525    COMPRESSAFTER=10
7526 else
7527    COMPRESSAFTER=$compressafter
7528 fi
7529 { $as_echo "$as_me:$LINENO: result: $COMPRESSAFTER" >&5
7530 $as_echo "$COMPRESSAFTER" >&6; }
7531
7532
7533 # Manual page group
7534 if `grep ^man: /etc/group >/dev/null 2>&1`; then
7535    GRP=man
7536 else
7537    GRP=root
7538 fi
7539
7540 { $as_echo "$as_me:$LINENO: checking group for manual pages" >&5
7541 $as_echo_n "checking group for manual pages... " >&6; }
7542
7543 if test x$man_group = x""; then
7544    MAN_GROUP=$GRP
7545    { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7546 $as_echo "$MAN_GROUP" >&6; }
7547 else
7548    if !(`grep ^$man_group: /etc/group >/dev/null 2>&1`); then
7549       MAN_GROUP=$GRP
7550       { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7551 $as_echo "$MAN_GROUP" >&6; }
7552       echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
7553    else
7554       MAN_GROUP=$man_group
7555       { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7556 $as_echo "$MAN_GROUP" >&6; }
7557    fi
7558 fi
7559
7560
7561 # Ignore manual pages group?
7562 { $as_echo "$as_me:$LINENO: checking whether man_group variable should be ignored" >&5
7563 $as_echo_n "checking whether man_group variable should be ignored... " >&6; }
7564 # Check whether --enable-man-group was given.
7565 if test "${enable_man_group+set}" = set; then
7566   enableval=$enable_man_group; AUX_IMG=$enableval
7567 else
7568   AUX_IMG=yes
7569 fi
7570
7571 if test $AUX_IMG != "no"; then
7572    IGNORE_MAN_GROUP=n
7573    AUX_IMG=no
7574 else
7575    IGNORE_MAN_GROUP=y
7576    AUX_IMG=yes
7577 fi
7578 { $as_echo "$as_me:$LINENO: result: $AUX_IMG" >&5
7579 $as_echo "$AUX_IMG" >&6; }
7580
7581
7582 # Compress manual pages?
7583 { $as_echo "$as_me:$LINENO: checking whether manual pages should be compressed" >&5
7584 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
7585 # Check whether --enable-compress-manpg was given.
7586 if test "${enable_compress_manpg+set}" = set; then
7587   enableval=$enable_compress_manpg; AUX_MPG=$enableval
7588 else
7589   AUX_MPG=no
7590 fi
7591
7592 if test $AUX_MPG != "yes"; then
7593    COMPRESS_MANPG=n
7594    AUX_MPG=no
7595 else
7596    COMPRESS_MANPG=y
7597 fi
7598 { $as_echo "$as_me:$LINENO: result: $AUX_MPG" >&5
7599 $as_echo "$AUX_MPG" >&6; }
7600
7601
7602 # Check whether isag should be installed
7603 { $as_echo "$as_me:$LINENO: checking whether isag script should be installed" >&5
7604 $as_echo_n "checking whether isag script should be installed... " >&6; }
7605 # Check whether --enable-install-isag was given.
7606 if test "${enable_install_isag+set}" = set; then
7607   enableval=$enable_install_isag; AUX_IIS=$enableval
7608 else
7609   AUX_IIS=no
7610 fi
7611
7612 if test $AUX_IIS != "yes"; then
7613    INSTALL_ISAG=n
7614    AUX_IIS=no
7615 else
7616    INSTALL_ISAG=y
7617 fi
7618 { $as_echo "$as_me:$LINENO: result: $AUX_IIS" >&5
7619 $as_echo "$AUX_IIS" >&6; }
7620
7621
7622 # Check whether sa directory should be cleaned
7623 { $as_echo "$as_me:$LINENO: checking whether system activity directory should be cleaned" >&5
7624 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
7625 # Check whether --enable-clean-sa-dir was given.
7626 if test "${enable_clean_sa_dir+set}" = set; then
7627   enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
7628 else
7629   AUX_CSD=no
7630 fi
7631
7632 if test $AUX_CSD != "yes"; then
7633    CLEAN_SA_DIR=n
7634    AUX_CSD=no
7635 else
7636    CLEAN_SA_DIR=y
7637 fi
7638 { $as_echo "$as_me:$LINENO: result: $AUX_CSD" >&5
7639 $as_echo "$AUX_CSD" >&6; }
7640
7641
7642 # Crontab
7643 { $as_echo "$as_me:$LINENO: checking whether cron should start sar automatically" >&5
7644 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
7645 # Check whether --enable-install-cron was given.
7646 if test "${enable_install_cron+set}" = set; then
7647   enableval=$enable_install_cron; INSTALL_CRON=$enableval
7648 else
7649   INSTALL_CRON=n
7650 fi
7651
7652 if test $INSTALL_CRON != "yes"; then
7653    INSTALL_CRON=n
7654    AUX_CRON=no
7655 else
7656    INSTALL_CRON=y
7657    AUX_CRON=yes
7658 fi
7659 { $as_echo "$as_me:$LINENO: result: $AUX_CRON" >&5
7660 $as_echo "$AUX_CRON" >&6; }
7661
7662
7663 CUSR="root"
7664 if test $INSTALL_CRON = "y"; then
7665    { $as_echo "$as_me:$LINENO: checking crontab owner" >&5
7666 $as_echo_n "checking crontab owner... " >&6; }
7667
7668    if test x$cron_owner = x""; then
7669       CRON_OWNER=$CUSR
7670       { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7671 $as_echo "$CRON_OWNER" >&6; }
7672    else
7673       if !(`grep ^$cron_owner: /etc/passwd >/dev/null 2>&1`); then
7674          CRON_OWNER=$CUSR;
7675          { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7676 $as_echo "$CRON_OWNER" >&6; }
7677          echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
7678       else
7679          CRON_OWNER=$cron_owner
7680          { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7681 $as_echo "$CRON_OWNER" >&6; }
7682       fi
7683    fi
7684    echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
7685    if test $CRON_OWNER = "root"; then
7686       SU_C_OWNER=""
7687       QUOTE=""
7688       REM_CHOWN="# REM_CHOWN"
7689    else
7690       SU_C_OWNER="su $CRON_OWNER -c "
7691       QUOTE=\"
7692       # " (ignore this line)
7693       REM_CHOWN=$CHOWN
7694    fi
7695
7696    { $as_echo "$as_me:$LINENO: checking crontab interval" >&5
7697 $as_echo_n "checking crontab interval... " >&6; }
7698
7699    if test x$cron_interval = x""; then
7700       CRON_INTERVAL=10
7701    else
7702       CRON_INTERVAL=$cron_interval
7703    fi
7704    { $as_echo "$as_me:$LINENO: result: $CRON_INTERVAL" >&5
7705 $as_echo "$CRON_INTERVAL" >&6; }
7706    CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
7707    CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
7708 else
7709    CRON_OWNER="root"
7710    SU_C_OWNER=""
7711    QUOTE=""
7712    REM_CHOWN="# REM_CHOWN"
7713    CRON_INTERVAL=10
7714    CRON_INTERVAL_SEC=600
7715    CRON_COUNT=6
7716 fi
7717
7718
7719
7720
7721
7722
7723
7724
7725 # Check whether documentation should be installed
7726 { $as_echo "$as_me:$LINENO: checking whether documentation should be installed" >&5
7727 $as_echo_n "checking whether documentation should be installed... " >&6; }
7728 # Check whether --enable-documentation was given.
7729 if test "${enable_documentation+set}" = set; then
7730   enableval=$enable_documentation; AUX_DOC=$enableval
7731 else
7732   AUX_DOC=yes
7733 fi
7734
7735 if  test  $AUX_DOC !=  "no"; then
7736    AUX_DOC="yes"
7737    INSTALL_DOC="y"
7738 else
7739    AUX_DOC="no"
7740    INSTALL_DOC="n"
7741 fi
7742 { $as_echo "$as_me:$LINENO: result: $AUX_DOC" >&5
7743 $as_echo "$AUX_DOC" >&6; }
7744
7745
7746 # Set directory for installing manual pages (see comment in Makefile)
7747
7748
7749 # Check whether --debuginfo options should be allowed
7750 # Check whether --enable-debuginfo was given.
7751 if test "${enable_debuginfo+set}" = set; then
7752   enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
7753 else
7754   WITH_DEBUG=no
7755 fi
7756
7757
7758
7759
7760 # Create files
7761 echo .
7762 echo Now create files:
7763 echo .
7764 ac_config_files="$ac_config_files sa1"
7765         # Permissions must be changed
7766 ac_config_files="$ac_config_files sa2"
7767                 # Permissions must be changed
7768 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
7769         # File must be renamed
7770 ac_config_files="$ac_config_files sysstat.sysconfig"
7771
7772 ac_config_files="$ac_config_files version.h:version.in"
7773                 # File must be renamed
7774 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
7775         # File must be renamed
7776 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
7777
7778 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
7779
7780 ac_config_files="$ac_config_files cron/sysstat.crond"
7781
7782 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
7783
7784 ac_config_files="$ac_config_files sysstat"
7785         # Permissions must be changed
7786 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
7787                 # File must be renamed
7788 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
7789                 # File must be renamed
7790 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
7791         # File must be renamed
7792 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
7793         # File must be renamed
7794 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
7795                 # File must be renamed
7796 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
7797         # File must be renamed
7798 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
7799         # File must be renamed
7800 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
7801         # File must be renamed
7802 ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
7803         # File must be renamed
7804 ac_config_files="$ac_config_files contrib/isag/isag"
7805  # Permissions must be changed
7806
7807 ac_config_files="$ac_config_files Makefile"
7808
7809 cat >confcache <<\_ACEOF
7810 # This file is a shell script that caches the results of configure
7811 # tests run on this system so they can be shared between configure
7812 # scripts and configure runs, see configure's option --config-cache.
7813 # It is not useful on other systems.  If it contains results you don't
7814 # want to keep, you may remove or edit it.
7815 #
7816 # config.status only pays attention to the cache file if you give it
7817 # the --recheck option to rerun configure.
7818 #
7819 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7820 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7821 # following values.
7822
7823 _ACEOF
7824
7825 # The following way of writing the cache mishandles newlines in values,
7826 # but we know of no workaround that is simple, portable, and efficient.
7827 # So, we kill variables containing newlines.
7828 # Ultrix sh set writes to stderr and can't be redirected directly,
7829 # and sets the high bit in the cache file unless we assign to the vars.
7830 (
7831   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7832     eval ac_val=\$$ac_var
7833     case $ac_val in #(
7834     *${as_nl}*)
7835       case $ac_var in #(
7836       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7838       esac
7839       case $ac_var in #(
7840       _ | IFS | as_nl) ;; #(
7841       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7842       *) $as_unset $ac_var ;;
7843       esac ;;
7844     esac
7845   done
7846
7847   (set) 2>&1 |
7848     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7849     *${as_nl}ac_space=\ *)
7850       # `set' does not quote correctly, so add quotes (double-quote
7851       # substitution turns \\\\ into \\, and sed turns \\ into \).
7852       sed -n \
7853         "s/'/'\\\\''/g;
7854           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7855       ;; #(
7856     *)
7857       # `set' quotes correctly as required by POSIX, so do not add quotes.
7858       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7859       ;;
7860     esac |
7861     sort
7862 ) |
7863   sed '
7864      /^ac_cv_env_/b end
7865      t clear
7866      :clear
7867      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7868      t end
7869      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7870      :end' >>confcache
7871 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7872   if test -w "$cache_file"; then
7873     test "x$cache_file" != "x/dev/null" &&
7874       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7875 $as_echo "$as_me: updating cache $cache_file" >&6;}
7876     cat confcache >$cache_file
7877   else
7878     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7880   fi
7881 fi
7882 rm -f confcache
7883
7884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7885 # Let make expand exec_prefix.
7886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7887
7888 # Transform confdefs.h into DEFS.
7889 # Protect against shell expansion while executing Makefile rules.
7890 # Protect against Makefile macro expansion.
7891 #
7892 # If the first sed substitution is executed (which looks for macros that
7893 # take arguments), then branch to the quote section.  Otherwise,
7894 # look for a macro that doesn't take arguments.
7895 ac_script='
7896 :mline
7897 /\\$/{
7898  N
7899  s,\\\n,,
7900  b mline
7901 }
7902 t clear
7903 :clear
7904 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
7905 t quote
7906 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
7907 t quote
7908 b any
7909 :quote
7910 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7911 s/\[/\\&/g
7912 s/\]/\\&/g
7913 s/\$/$$/g
7914 H
7915 :any
7916 ${
7917         g
7918         s/^\n//
7919         s/\n/ /g
7920         p
7921 }
7922 '
7923 DEFS=`sed -n "$ac_script" confdefs.h`
7924
7925
7926 ac_libobjs=
7927 ac_ltlibobjs=
7928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7929   # 1. Remove the extension, and $U if already installed.
7930   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7931   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7932   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7933   #    will be set to the directory where LIBOBJS objects are built.
7934   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7935   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7936 done
7937 LIBOBJS=$ac_libobjs
7938
7939 LTLIBOBJS=$ac_ltlibobjs
7940
7941
7942
7943 : ${CONFIG_STATUS=./config.status}
7944 ac_write_fail=0
7945 ac_clean_files_save=$ac_clean_files
7946 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7947 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7948 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7949 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7950 #! $SHELL
7951 # Generated by $as_me.
7952 # Run this file to recreate the current configuration.
7953 # Compiler output produced by configure, useful for debugging
7954 # configure, is in config.log if it exists.
7955
7956 debug=false
7957 ac_cs_recheck=false
7958 ac_cs_silent=false
7959 SHELL=\${CONFIG_SHELL-$SHELL}
7960 _ACEOF
7961
7962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7963 ## --------------------- ##
7964 ## M4sh Initialization.  ##
7965 ## --------------------- ##
7966
7967 # Be more Bourne compatible
7968 DUALCASE=1; export DUALCASE # for MKS sh
7969 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7970   emulate sh
7971   NULLCMD=:
7972   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7973   # is contrary to our usage.  Disable this feature.
7974   alias -g '${1+"$@"}'='"$@"'
7975   setopt NO_GLOB_SUBST
7976 else
7977   case `(set -o) 2>/dev/null` in
7978   *posix*) set -o posix ;;
7979 esac
7980
7981 fi
7982
7983
7984
7985
7986 # PATH needs CR
7987 # Avoid depending upon Character Ranges.
7988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7991 as_cr_digits='0123456789'
7992 as_cr_alnum=$as_cr_Letters$as_cr_digits
7993
7994 as_nl='
7995 '
7996 export as_nl
7997 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7998 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8001 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8002   as_echo='printf %s\n'
8003   as_echo_n='printf %s'
8004 else
8005   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8006     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8007     as_echo_n='/usr/ucb/echo -n'
8008   else
8009     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8010     as_echo_n_body='eval
8011       arg=$1;
8012       case $arg in
8013       *"$as_nl"*)
8014         expr "X$arg" : "X\\(.*\\)$as_nl";
8015         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8016       esac;
8017       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8018     '
8019     export as_echo_n_body
8020     as_echo_n='sh -c $as_echo_n_body as_echo'
8021   fi
8022   export as_echo_body
8023   as_echo='sh -c $as_echo_body as_echo'
8024 fi
8025
8026 # The user is always right.
8027 if test "${PATH_SEPARATOR+set}" != set; then
8028   PATH_SEPARATOR=:
8029   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8030     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8031       PATH_SEPARATOR=';'
8032   }
8033 fi
8034
8035 # Support unset when possible.
8036 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8037   as_unset=unset
8038 else
8039   as_unset=false
8040 fi
8041
8042
8043 # IFS
8044 # We need space, tab and new line, in precisely that order.  Quoting is
8045 # there to prevent editors from complaining about space-tab.
8046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8047 # splitting by setting IFS to empty value.)
8048 IFS=" ""        $as_nl"
8049
8050 # Find who we are.  Look in the path if we contain no directory separator.
8051 case $0 in
8052   *[\\/]* ) as_myself=$0 ;;
8053   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 for as_dir in $PATH
8055 do
8056   IFS=$as_save_IFS
8057   test -z "$as_dir" && as_dir=.
8058   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8059 done
8060 IFS=$as_save_IFS
8061
8062      ;;
8063 esac
8064 # We did not find ourselves, most probably we were run as `sh COMMAND'
8065 # in which case we are not to be found in the path.
8066 if test "x$as_myself" = x; then
8067   as_myself=$0
8068 fi
8069 if test ! -f "$as_myself"; then
8070   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8071   { (exit 1); exit 1; }
8072 fi
8073
8074 # Work around bugs in pre-3.0 UWIN ksh.
8075 for as_var in ENV MAIL MAILPATH
8076 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8077 done
8078 PS1='$ '
8079 PS2='> '
8080 PS4='+ '
8081
8082 # NLS nuisances.
8083 LC_ALL=C
8084 export LC_ALL
8085 LANGUAGE=C
8086 export LANGUAGE
8087
8088 # Required to use basename.
8089 if expr a : '\(a\)' >/dev/null 2>&1 &&
8090    test "X`expr 00001 : '.*\(...\)'`" = X001; then
8091   as_expr=expr
8092 else
8093   as_expr=false
8094 fi
8095
8096 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8097   as_basename=basename
8098 else
8099   as_basename=false
8100 fi
8101
8102
8103 # Name of the executable.
8104 as_me=`$as_basename -- "$0" ||
8105 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8106          X"$0" : 'X\(//\)$' \| \
8107          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8108 $as_echo X/"$0" |
8109     sed '/^.*\/\([^/][^/]*\)\/*$/{
8110             s//\1/
8111             q
8112           }
8113           /^X\/\(\/\/\)$/{
8114             s//\1/
8115             q
8116           }
8117           /^X\/\(\/\).*/{
8118             s//\1/
8119             q
8120           }
8121           s/.*/./; q'`
8122
8123 # CDPATH.
8124 $as_unset CDPATH
8125
8126
8127
8128   as_lineno_1=$LINENO
8129   as_lineno_2=$LINENO
8130   test "x$as_lineno_1" != "x$as_lineno_2" &&
8131   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8132
8133   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8134   # uniformly replaced by the line number.  The first 'sed' inserts a
8135   # line-number line after each line using $LINENO; the second 'sed'
8136   # does the real work.  The second script uses 'N' to pair each
8137   # line-number line with the line containing $LINENO, and appends
8138   # trailing '-' during substitution so that $LINENO is not a special
8139   # case at line end.
8140   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8141   # scripts with optimization help from Paolo Bonzini.  Blame Lee
8142   # E. McMahon (1931-1989) for sed's syntax.  :-)
8143   sed -n '
8144     p
8145     /[$]LINENO/=
8146   ' <$as_myself |
8147     sed '
8148       s/[$]LINENO.*/&-/
8149       t lineno
8150       b
8151       :lineno
8152       N
8153       :loop
8154       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8155       t loop
8156       s/-\n.*//
8157     ' >$as_me.lineno &&
8158   chmod +x "$as_me.lineno" ||
8159     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8160    { (exit 1); exit 1; }; }
8161
8162   # Don't try to exec as it changes $[0], causing all sort of problems
8163   # (the dirname of $[0] is not the place where we might find the
8164   # original and so on.  Autoconf is especially sensitive to this).
8165   . "./$as_me.lineno"
8166   # Exit status is that of the last command.
8167   exit
8168 }
8169
8170
8171 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8172   as_dirname=dirname
8173 else
8174   as_dirname=false
8175 fi
8176
8177 ECHO_C= ECHO_N= ECHO_T=
8178 case `echo -n x` in
8179 -n*)
8180   case `echo 'x\c'` in
8181   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8182   *)   ECHO_C='\c';;
8183   esac;;
8184 *)
8185   ECHO_N='-n';;
8186 esac
8187 if expr a : '\(a\)' >/dev/null 2>&1 &&
8188    test "X`expr 00001 : '.*\(...\)'`" = X001; then
8189   as_expr=expr
8190 else
8191   as_expr=false
8192 fi
8193
8194 rm -f conf$$ conf$$.exe conf$$.file
8195 if test -d conf$$.dir; then
8196   rm -f conf$$.dir/conf$$.file
8197 else
8198   rm -f conf$$.dir
8199   mkdir conf$$.dir 2>/dev/null
8200 fi
8201 if (echo >conf$$.file) 2>/dev/null; then
8202   if ln -s conf$$.file conf$$ 2>/dev/null; then
8203     as_ln_s='ln -s'
8204     # ... but there are two gotchas:
8205     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8206     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8207     # In both cases, we have to default to `cp -p'.
8208     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8209       as_ln_s='cp -p'
8210   elif ln conf$$.file conf$$ 2>/dev/null; then
8211     as_ln_s=ln
8212   else
8213     as_ln_s='cp -p'
8214   fi
8215 else
8216   as_ln_s='cp -p'
8217 fi
8218 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8219 rmdir conf$$.dir 2>/dev/null
8220
8221 if mkdir -p . 2>/dev/null; then
8222   as_mkdir_p=:
8223 else
8224   test -d ./-p && rmdir ./-p
8225   as_mkdir_p=false
8226 fi
8227
8228 if test -x / >/dev/null 2>&1; then
8229   as_test_x='test -x'
8230 else
8231   if ls -dL / >/dev/null 2>&1; then
8232     as_ls_L_option=L
8233   else
8234     as_ls_L_option=
8235   fi
8236   as_test_x='
8237     eval sh -c '\''
8238       if test -d "$1"; then
8239         test -d "$1/.";
8240       else
8241         case $1 in
8242         -*)set "./$1";;
8243         esac;
8244         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8245         ???[sx]*):;;*)false;;esac;fi
8246     '\'' sh
8247   '
8248 fi
8249 as_executable_p=$as_test_x
8250
8251 # Sed expression to map a string onto a valid CPP name.
8252 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8253
8254 # Sed expression to map a string onto a valid variable name.
8255 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8256
8257
8258 exec 6>&1
8259
8260 # Save the log message, to keep $[0] and so on meaningful, and to
8261 # report actual input values of CONFIG_FILES etc. instead of their
8262 # values after options handling.
8263 ac_log="
8264 This file was extended by sysstat $as_me 10.0.3, which was
8265 generated by GNU Autoconf 2.63.  Invocation command line was
8266
8267   CONFIG_FILES    = $CONFIG_FILES
8268   CONFIG_HEADERS  = $CONFIG_HEADERS
8269   CONFIG_LINKS    = $CONFIG_LINKS
8270   CONFIG_COMMANDS = $CONFIG_COMMANDS
8271   $ $0 $@
8272
8273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8274 "
8275
8276 _ACEOF
8277
8278 case $ac_config_files in *"
8279 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8280 esac
8281
8282
8283
8284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8285 # Files that config.status was made for.
8286 config_files="$ac_config_files"
8287
8288 _ACEOF
8289
8290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8291 ac_cs_usage="\
8292 \`$as_me' instantiates files from templates according to the
8293 current configuration.
8294
8295 Usage: $0 [OPTION]... [FILE]...
8296
8297   -h, --help       print this help, then exit
8298   -V, --version    print version number and configuration settings, then exit
8299   -q, --quiet, --silent
8300                    do not print progress messages
8301   -d, --debug      don't remove temporary files
8302       --recheck    update $as_me by reconfiguring in the same conditions
8303       --file=FILE[:TEMPLATE]
8304                    instantiate the configuration file FILE
8305
8306 Configuration files:
8307 $config_files
8308
8309 Report bugs to <bug-autoconf@gnu.org>."
8310
8311 _ACEOF
8312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8313 ac_cs_version="\\
8314 sysstat config.status 10.0.3
8315 configured by $0, generated by GNU Autoconf 2.63,
8316   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8317
8318 Copyright (C) 2008 Free Software Foundation, Inc.
8319 This config.status script is free software; the Free Software Foundation
8320 gives unlimited permission to copy, distribute and modify it."
8321
8322 ac_pwd='$ac_pwd'
8323 srcdir='$srcdir'
8324 test -n "\$AWK" || AWK=awk
8325 _ACEOF
8326
8327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8328 # The default lists apply if the user does not specify any file.
8329 ac_need_defaults=:
8330 while test $# != 0
8331 do
8332   case $1 in
8333   --*=*)
8334     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8335     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8336     ac_shift=:
8337     ;;
8338   *)
8339     ac_option=$1
8340     ac_optarg=$2
8341     ac_shift=shift
8342     ;;
8343   esac
8344
8345   case $ac_option in
8346   # Handling of the options.
8347   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8348     ac_cs_recheck=: ;;
8349   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8350     $as_echo "$ac_cs_version"; exit ;;
8351   --debug | --debu | --deb | --de | --d | -d )
8352     debug=: ;;
8353   --file | --fil | --fi | --f )
8354     $ac_shift
8355     case $ac_optarg in
8356     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8357     esac
8358     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8359     ac_need_defaults=false;;
8360   --he | --h |  --help | --hel | -h )
8361     $as_echo "$ac_cs_usage"; exit ;;
8362   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8363   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8364     ac_cs_silent=: ;;
8365
8366   # This is an error.
8367   -*) { $as_echo "$as_me: error: unrecognized option: $1
8368 Try \`$0 --help' for more information." >&2
8369    { (exit 1); exit 1; }; } ;;
8370
8371   *) ac_config_targets="$ac_config_targets $1"
8372      ac_need_defaults=false ;;
8373
8374   esac
8375   shift
8376 done
8377
8378 ac_configure_extra_args=
8379
8380 if $ac_cs_silent; then
8381   exec 6>/dev/null
8382   ac_configure_extra_args="$ac_configure_extra_args --silent"
8383 fi
8384
8385 _ACEOF
8386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8387 if \$ac_cs_recheck; then
8388   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8389   shift
8390   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8391   CONFIG_SHELL='$SHELL'
8392   export CONFIG_SHELL
8393   exec "\$@"
8394 fi
8395
8396 _ACEOF
8397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8398 exec 5>>config.log
8399 {
8400   echo
8401   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8402 ## Running $as_me. ##
8403 _ASBOX
8404   $as_echo "$ac_log"
8405 } >&5
8406
8407 _ACEOF
8408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8409 _ACEOF
8410
8411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8412
8413 # Handling of arguments.
8414 for ac_config_target in $ac_config_targets
8415 do
8416   case $ac_config_target in
8417     "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
8418     "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
8419     "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
8420     "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
8421     "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
8422     "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
8423     "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
8424     "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
8425     "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
8426     "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
8427     "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
8428     "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
8429     "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
8430     "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
8431     "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
8432     "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
8433     "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
8434     "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
8435     "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
8436     "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
8437     "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
8438     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8439
8440   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8441 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8442    { (exit 1); exit 1; }; };;
8443   esac
8444 done
8445
8446
8447 # If the user did not use the arguments to specify the items to instantiate,
8448 # then the envvar interface is used.  Set only those that are not.
8449 # We use the long form for the default assignment because of an extremely
8450 # bizarre bug on SunOS 4.1.3.
8451 if $ac_need_defaults; then
8452   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8453 fi
8454
8455 # Have a temporary directory for convenience.  Make it in the build tree
8456 # simply because there is no reason against having it here, and in addition,
8457 # creating and moving files from /tmp can sometimes cause problems.
8458 # Hook for its removal unless debugging.
8459 # Note that there is a small window in which the directory will not be cleaned:
8460 # after its creation but before its name has been assigned to `$tmp'.
8461 $debug ||
8462 {
8463   tmp=
8464   trap 'exit_status=$?
8465   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8466 ' 0
8467   trap '{ (exit 1); exit 1; }' 1 2 13 15
8468 }
8469 # Create a (secure) tmp directory for tmp files.
8470
8471 {
8472   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8473   test -n "$tmp" && test -d "$tmp"
8474 }  ||
8475 {
8476   tmp=./conf$$-$RANDOM
8477   (umask 077 && mkdir "$tmp")
8478 } ||
8479 {
8480    $as_echo "$as_me: cannot create a temporary directory in ." >&2
8481    { (exit 1); exit 1; }
8482 }
8483
8484 # Set up the scripts for CONFIG_FILES section.
8485 # No need to generate them if there are no CONFIG_FILES.
8486 # This happens for instance with `./config.status config.h'.
8487 if test -n "$CONFIG_FILES"; then
8488
8489
8490 ac_cr='\r'
8491 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8492 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8493   ac_cs_awk_cr='\\r'
8494 else
8495   ac_cs_awk_cr=$ac_cr
8496 fi
8497
8498 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8499 _ACEOF
8500
8501
8502 {
8503   echo "cat >conf$$subs.awk <<_ACEOF" &&
8504   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8505   echo "_ACEOF"
8506 } >conf$$subs.sh ||
8507   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8508 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8509    { (exit 1); exit 1; }; }
8510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8511 ac_delim='%!_!# '
8512 for ac_last_try in false false false false false :; do
8513   . ./conf$$subs.sh ||
8514     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8515 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8516    { (exit 1); exit 1; }; }
8517
8518   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8519   if test $ac_delim_n = $ac_delim_num; then
8520     break
8521   elif $ac_last_try; then
8522     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8523 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8524    { (exit 1); exit 1; }; }
8525   else
8526     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8527   fi
8528 done
8529 rm -f conf$$subs.sh
8530
8531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8532 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8533 _ACEOF
8534 sed -n '
8535 h
8536 s/^/S["/; s/!.*/"]=/
8537 p
8538 g
8539 s/^[^!]*!//
8540 :repl
8541 t repl
8542 s/'"$ac_delim"'$//
8543 t delim
8544 :nl
8545 h
8546 s/\(.\{148\}\).*/\1/
8547 t more1
8548 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8549 p
8550 n
8551 b repl
8552 :more1
8553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8554 p
8555 g
8556 s/.\{148\}//
8557 t nl
8558 :delim
8559 h
8560 s/\(.\{148\}\).*/\1/
8561 t more2
8562 s/["\\]/\\&/g; s/^/"/; s/$/"/
8563 p
8564 b
8565 :more2
8566 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8567 p
8568 g
8569 s/.\{148\}//
8570 t delim
8571 ' <conf$$subs.awk | sed '
8572 /^[^""]/{
8573   N
8574   s/\n//
8575 }
8576 ' >>$CONFIG_STATUS || ac_write_fail=1
8577 rm -f conf$$subs.awk
8578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8579 _ACAWK
8580 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8581   for (key in S) S_is_set[key] = 1
8582   FS = "\a"
8583
8584 }
8585 {
8586   line = $ 0
8587   nfields = split(line, field, "@")
8588   substed = 0
8589   len = length(field[1])
8590   for (i = 2; i < nfields; i++) {
8591     key = field[i]
8592     keylen = length(key)
8593     if (S_is_set[key]) {
8594       value = S[key]
8595       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8596       len += length(value) + length(field[++i])
8597       substed = 1
8598     } else
8599       len += 1 + keylen
8600   }
8601
8602   print line
8603 }
8604
8605 _ACAWK
8606 _ACEOF
8607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8608 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8609   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8610 else
8611   cat
8612 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8613   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8614 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8615    { (exit 1); exit 1; }; }
8616 _ACEOF
8617
8618 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8619 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8620 # trailing colons and then remove the whole line if VPATH becomes empty
8621 # (actually we leave an empty line to preserve line numbers).
8622 if test "x$srcdir" = x.; then
8623   ac_vpsub='/^[  ]*VPATH[        ]*=/{
8624 s/:*\$(srcdir):*/:/
8625 s/:*\${srcdir}:*/:/
8626 s/:*@srcdir@:*/:/
8627 s/^\([^=]*=[     ]*\):*/\1/
8628 s/:*$//
8629 s/^[^=]*=[       ]*$//
8630 }'
8631 fi
8632
8633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8634 fi # test -n "$CONFIG_FILES"
8635
8636
8637 eval set X "  :F $CONFIG_FILES      "
8638 shift
8639 for ac_tag
8640 do
8641   case $ac_tag in
8642   :[FHLC]) ac_mode=$ac_tag; continue;;
8643   esac
8644   case $ac_mode$ac_tag in
8645   :[FHL]*:*);;
8646   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8647 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8648    { (exit 1); exit 1; }; };;
8649   :[FH]-) ac_tag=-:-;;
8650   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8651   esac
8652   ac_save_IFS=$IFS
8653   IFS=:
8654   set x $ac_tag
8655   IFS=$ac_save_IFS
8656   shift
8657   ac_file=$1
8658   shift
8659
8660   case $ac_mode in
8661   :L) ac_source=$1;;
8662   :[FH])
8663     ac_file_inputs=
8664     for ac_f
8665     do
8666       case $ac_f in
8667       -) ac_f="$tmp/stdin";;
8668       *) # Look for the file first in the build tree, then in the source tree
8669          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8670          # because $ac_f cannot contain `:'.
8671          test -f "$ac_f" ||
8672            case $ac_f in
8673            [\\/$]*) false;;
8674            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8675            esac ||
8676            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8677 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8678    { (exit 1); exit 1; }; };;
8679       esac
8680       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8681       ac_file_inputs="$ac_file_inputs '$ac_f'"
8682     done
8683
8684     # Let's still pretend it is `configure' which instantiates (i.e., don't
8685     # use $as_me), people would be surprised to read:
8686     #    /* config.h.  Generated by config.status.  */
8687     configure_input='Generated from '`
8688           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8689         `' by configure.'
8690     if test x"$ac_file" != x-; then
8691       configure_input="$ac_file.  $configure_input"
8692       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8693 $as_echo "$as_me: creating $ac_file" >&6;}
8694     fi
8695     # Neutralize special characters interpreted by sed in replacement strings.
8696     case $configure_input in #(
8697     *\&* | *\|* | *\\* )
8698        ac_sed_conf_input=`$as_echo "$configure_input" |
8699        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8700     *) ac_sed_conf_input=$configure_input;;
8701     esac
8702
8703     case $ac_tag in
8704     *:-:* | *:-) cat >"$tmp/stdin" \
8705       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8706 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8707    { (exit 1); exit 1; }; } ;;
8708     esac
8709     ;;
8710   esac
8711
8712   ac_dir=`$as_dirname -- "$ac_file" ||
8713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8714          X"$ac_file" : 'X\(//\)[^/]' \| \
8715          X"$ac_file" : 'X\(//\)$' \| \
8716          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8717 $as_echo X"$ac_file" |
8718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8719             s//\1/
8720             q
8721           }
8722           /^X\(\/\/\)[^/].*/{
8723             s//\1/
8724             q
8725           }
8726           /^X\(\/\/\)$/{
8727             s//\1/
8728             q
8729           }
8730           /^X\(\/\).*/{
8731             s//\1/
8732             q
8733           }
8734           s/.*/./; q'`
8735   { as_dir="$ac_dir"
8736   case $as_dir in #(
8737   -*) as_dir=./$as_dir;;
8738   esac
8739   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8740     as_dirs=
8741     while :; do
8742       case $as_dir in #(
8743       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8744       *) as_qdir=$as_dir;;
8745       esac
8746       as_dirs="'$as_qdir' $as_dirs"
8747       as_dir=`$as_dirname -- "$as_dir" ||
8748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8749          X"$as_dir" : 'X\(//\)[^/]' \| \
8750          X"$as_dir" : 'X\(//\)$' \| \
8751          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8752 $as_echo X"$as_dir" |
8753     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8754             s//\1/
8755             q
8756           }
8757           /^X\(\/\/\)[^/].*/{
8758             s//\1/
8759             q
8760           }
8761           /^X\(\/\/\)$/{
8762             s//\1/
8763             q
8764           }
8765           /^X\(\/\).*/{
8766             s//\1/
8767             q
8768           }
8769           s/.*/./; q'`
8770       test -d "$as_dir" && break
8771     done
8772     test -z "$as_dirs" || eval "mkdir $as_dirs"
8773   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8774 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8775    { (exit 1); exit 1; }; }; }
8776   ac_builddir=.
8777
8778 case "$ac_dir" in
8779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8780 *)
8781   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8782   # A ".." for each directory in $ac_dir_suffix.
8783   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8784   case $ac_top_builddir_sub in
8785   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8786   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8787   esac ;;
8788 esac
8789 ac_abs_top_builddir=$ac_pwd
8790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8791 # for backward compatibility:
8792 ac_top_builddir=$ac_top_build_prefix
8793
8794 case $srcdir in
8795   .)  # We are building in place.
8796     ac_srcdir=.
8797     ac_top_srcdir=$ac_top_builddir_sub
8798     ac_abs_top_srcdir=$ac_pwd ;;
8799   [\\/]* | ?:[\\/]* )  # Absolute name.
8800     ac_srcdir=$srcdir$ac_dir_suffix;
8801     ac_top_srcdir=$srcdir
8802     ac_abs_top_srcdir=$srcdir ;;
8803   *) # Relative name.
8804     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8805     ac_top_srcdir=$ac_top_build_prefix$srcdir
8806     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8807 esac
8808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8809
8810
8811   case $ac_mode in
8812   :F)
8813   #
8814   # CONFIG_FILE
8815   #
8816
8817 _ACEOF
8818
8819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8820 # If the template does not know about datarootdir, expand it.
8821 # FIXME: This hack should be removed a few years after 2.60.
8822 ac_datarootdir_hack=; ac_datarootdir_seen=
8823
8824 ac_sed_dataroot='
8825 /datarootdir/ {
8826   p
8827   q
8828 }
8829 /@datadir@/p
8830 /@docdir@/p
8831 /@infodir@/p
8832 /@localedir@/p
8833 /@mandir@/p
8834 '
8835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8836 *datarootdir*) ac_datarootdir_seen=yes;;
8837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8838   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8840 _ACEOF
8841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8842   ac_datarootdir_hack='
8843   s&@datadir@&$datadir&g
8844   s&@docdir@&$docdir&g
8845   s&@infodir@&$infodir&g
8846   s&@localedir@&$localedir&g
8847   s&@mandir@&$mandir&g
8848     s&\\\${datarootdir}&$datarootdir&g' ;;
8849 esac
8850 _ACEOF
8851
8852 # Neutralize VPATH when `$srcdir' = `.'.
8853 # Shell code in configure.ac might set extrasub.
8854 # FIXME: do we really want to maintain this feature?
8855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8856 ac_sed_extra="$ac_vpsub
8857 $extrasub
8858 _ACEOF
8859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8860 :t
8861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8862 s|@configure_input@|$ac_sed_conf_input|;t t
8863 s&@top_builddir@&$ac_top_builddir_sub&;t t
8864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8865 s&@srcdir@&$ac_srcdir&;t t
8866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8867 s&@top_srcdir@&$ac_top_srcdir&;t t
8868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8869 s&@builddir@&$ac_builddir&;t t
8870 s&@abs_builddir@&$ac_abs_builddir&;t t
8871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8872 $ac_datarootdir_hack
8873 "
8874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8875   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8876 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8877    { (exit 1); exit 1; }; }
8878
8879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8880   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8881   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8882   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8883 which seems to be undefined.  Please make sure it is defined." >&5
8884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8885 which seems to be undefined.  Please make sure it is defined." >&2;}
8886
8887   rm -f "$tmp/stdin"
8888   case $ac_file in
8889   -) cat "$tmp/out" && rm -f "$tmp/out";;
8890   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8891   esac \
8892   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8893 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8894    { (exit 1); exit 1; }; }
8895  ;;
8896
8897
8898
8899   esac
8900
8901
8902   case $ac_file$ac_mode in
8903     "sa1":F) chmod +x sa1 ;;
8904     "sa2":F) chmod +x sa2 ;;
8905     "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
8906     "sysstat":F) chmod +x sysstat ;;
8907     "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
8908
8909   esac
8910 done # for ac_tag
8911
8912
8913 { (exit 0); exit 0; }
8914 _ACEOF
8915 chmod +x $CONFIG_STATUS
8916 ac_clean_files=$ac_clean_files_save
8917
8918 test $ac_write_fail = 0 ||
8919   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8920 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8921    { (exit 1); exit 1; }; }
8922
8923
8924 # configure is writing to config.log, and then calls config.status.
8925 # config.status does its own redirection, appending to config.log.
8926 # Unfortunately, on DOS this fails, as config.log is still kept open
8927 # by configure, so config.status won't be able to write to it; its
8928 # output is simply discarded.  So we exec the FD to /dev/null,
8929 # effectively closing config.log, so it can be properly (re)opened and
8930 # appended to by config.status.  When coming back to configure, we
8931 # need to make the FD available again.
8932 if test "$no_create" != yes; then
8933   ac_cs_success=:
8934   ac_config_status_args=
8935   test "$silent" = yes &&
8936     ac_config_status_args="$ac_config_status_args --quiet"
8937   exec 5>/dev/null
8938   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8939   exec 5>>config.log
8940   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8941   # would make configure fail if this is the last instruction.
8942   $ac_cs_success || { (exit 1); exit 1; }
8943 fi
8944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8945   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8947 fi
8948
8949
8950 echo "
8951    Sysstat version:             $PACKAGE_VERSION
8952    Installation prefix:         $prefix
8953    rc directory:                ${RC_DIR}
8954    Init directory:              ${INIT_DIR}
8955    Configuration directory:     ${SYSCONFIG_DIR}
8956    Man pages directory:         $mandir
8957    Compiler:                    $CC
8958    Compiler flags:              $CFLAGS
8959 "
8960