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