2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for sysstat 10.0.0.
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 ## --------------------- ##
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
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
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
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
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'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
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
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
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.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
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'"
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'"
574 exec 7<&0 </dev/null 6>&1
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`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
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'
601 ac_unique_file="ioconf.h"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars='LTLIBOBJS
726 program_transform_name
738 enable_option_checking
744 enable_compress_manpg
751 ac_precious_vars='build_alias
771 # Initialize some variables set by options.
773 ac_init_version=false
774 ac_unrecognized_opts=
776 # The variables have the same names as the options, with
777 # dashes changed to underlines.
785 program_transform_name=s,x,x,
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'
815 libdir='${exec_prefix}/lib'
816 localedir='${datarootdir}/locale'
817 mandir='${datarootdir}/man'
823 # If the previous option needs an argument, assign it.
824 if test -n "$ac_prev"; then
825 eval $ac_prev=\$ac_option
831 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
835 # Accept the important Cygnus configure options, so we can diagnose typos.
837 case $ac_dashdash$ac_option in
841 -bindir | --bindir | --bindi | --bind | --bin | --bi)
843 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846 -build | --build | --buil | --bui | --bu)
847 ac_prev=build_alias ;;
848 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849 build_alias=$ac_optarg ;;
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 ;;
859 cache_file=config.cache ;;
861 -datadir | --datadir | --datadi | --datad)
863 -datadir=* | --datadir=* | --datadi=* | --datad=*)
864 datadir=$ac_optarg ;;
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 ;;
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
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
888 eval enable_$ac_useropt=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913 ac_unrecognized_sep=', ';;
915 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
926 -gas | --gas | --ga | --g)
927 # Obsolete; use --with-gas.
930 -help | --help | --hel | --he | -h)
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 ;;
937 -host | --host | --hos | --ho)
938 ac_prev=host_alias ;;
939 -host=* | --host=* | --hos=* | --ho=*)
940 host_alias=$ac_optarg ;;
942 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
944 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
946 htmldir=$ac_optarg ;;
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 ;;
955 -infodir | --infodir | --infodi | --infod | --info | --inf)
957 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
958 infodir=$ac_optarg ;;
960 -libdir | --libdir | --libdi | --libd)
962 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
972 -localedir | --localedir | --localedi | --localed | --locale)
974 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
975 localedir=$ac_optarg ;;
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 ;;
984 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
986 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 # Obsolete; use --without-fp.
993 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994 | --no-cr | --no-c | -n)
997 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
1010 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1012 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1013 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
1046 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1048 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1049 pdfdir=$ac_optarg ;;
1051 -psdir | --psdir | --psdi | --psd | --ps)
1053 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1060 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1062 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1064 sbindir=$ac_optarg ;;
1066 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1067 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1068 | --sharedst | --shareds | --shared | --share | --shar \
1070 ac_prev=sharedstatedir ;;
1071 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1072 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1073 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1075 sharedstatedir=$ac_optarg ;;
1077 -site | --site | --sit)
1079 -site=* | --site=* | --sit=*)
1082 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1084 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1085 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1099 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 -version | --version | --versio | --versi | --vers | -V)
1103 ac_init_version=: ;;
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
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1120 eval with_$ac_useropt=\$ac_optarg ;;
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
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1137 eval with_$ac_useropt=no ;;
1140 # Obsolete; use --with-x.
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 ;;
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 ;;
1157 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1158 Try \`$0 --help' for more information." >&2
1159 { (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
1188 if test -n "$ac_unrecognized_opts"; then
1189 case $enable_option_checking in
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 ;;
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
1203 eval ac_val=\$$ac_var
1204 # Remove trailing slashes.
1207 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1208 eval $ac_var=\$ac_val;;
1210 # Be sure to have absolute directory names.
1212 [\\/$]* | ?:[\\/]* ) continue;;
1213 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1216 { (exit 1); exit 1; }; }
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.
1224 target=$target_alias
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
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
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; }; }
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted=no
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; }; }
1292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1295 { (exit 1); exit 1; }; }
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1315 # Report the --help message.
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.
1321 \`configure' configures sysstat 10.0.0 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1328 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1352 For better control, use the options below.
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]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive ) echo "Configuration of sysstat 10.0.0:";;
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)
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>
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)
1417 number of days after which data files are compressed (default
1419 man_group group for manual pages
1420 cron_owner crontab owner
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.
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"; } ||
1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1456 .) # We are building in place.
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 ;;
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 ;;
1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1471 cd "$ac_dir" || { ac_status=$?; continue; }
1472 # Check for guested configure.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 cd "$ac_pwd" || { ac_status=$?; break; }
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1489 sysstat configure 10.0.0
1490 generated by GNU Autoconf 2.63
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.
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.
1503 It was created by sysstat $as_me 10.0.0, which was
1504 generated by GNU Autoconf 2.63. Invocation command line was
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`
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`
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`
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir=.
1540 $as_echo "PATH: $as_dir"
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.
1564 ac_must_keep_next=false
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)
1575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1578 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1593 -* ) ac_must_keep_next=true ;;
1596 ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1615 ## ---------------- ##
1616 ## Cache variables. ##
1617 ## ---------------- ##
1620 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1631 _ | IFS | as_nl) ;; #(
1632 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1633 *) $as_unset $ac_var ;;
1638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639 *${as_nl}ac_space=\ *)
1641 "s/'\''/'\''\\\\'\'''\''/g;
1642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1653 ## ----------------- ##
1654 ## Output variables. ##
1655 ## ----------------- ##
1658 for ac_var in $ac_subst_vars
1660 eval ac_val=\$$ac_var
1662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1664 $as_echo "$ac_var='\''$ac_val'\''"
1668 if test -n "$ac_subst_files"; then
1670 ## ------------------- ##
1671 ## File substitutions. ##
1672 ## ------------------- ##
1675 for ac_var in $ac_subst_files
1677 eval ac_val=\$$ac_var
1679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 $as_echo "$ac_var='\''$ac_val'\''"
1686 if test -s confdefs.h; then
1696 test "$ac_signal" != 0 &&
1697 $as_echo "$as_me: caught signal $ac_signal"
1698 $as_echo "$as_me: exit $exit_status"
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 for ac_signal in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest* confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer an explicitly selected file to automatically selected ones.
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
1749 ac_site_file1=$ac_default_prefix/share/config.site
1750 ac_site_file2=$ac_default_prefix/etc/config.site
1752 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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;}
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1775 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776 $as_echo "$as_me: creating cache $cache_file" >&6;}
1780 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1821 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1872 # Ensure that a recent enough version of Autoconf is being used
1875 # Check whether the configure script is in the right dir
1880 echo Check programs:
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
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1917 if test -n "$CC"; then
1918 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1919 $as_echo "$CC" >&6; }
1921 { $as_echo "$as_me:$LINENO: result: no" >&5
1922 $as_echo "no" >&6; }
1927 if test -z "$ac_cv_prog_CC"; then
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
1936 if test -n "$ac_ct_CC"; then
1937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1961 { $as_echo "$as_me:$LINENO: result: no" >&5
1962 $as_echo "no" >&6; }
1965 if test "x$ac_ct_CC" = x; then
1968 case $cross_compiling:$ac_tool_warned in
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 ;;
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
1989 if test -n "$CC"; then
1990 ac_cv_prog_CC="$CC" # Let the user override the test.
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2010 if test -n "$CC"; then
2011 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2012 $as_echo "$CC" >&6; }
2014 { $as_echo "$as_me:$LINENO: result: no" >&5
2015 $as_echo "no" >&6; }
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
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC="$CC" # Let the user override the test.
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2061 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2067 if test -n "$CC"; then
2068 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2069 $as_echo "$CC" >&6; }
2071 { $as_echo "$as_me:$LINENO: result: no" >&5
2072 $as_echo "no" >&6; }
2077 if test -z "$CC"; then
2078 if test -n "$ac_tool_prefix"; then
2079 for ac_prog in cl.exe
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
2088 if test -n "$CC"; then
2089 ac_cv_prog_CC="$CC" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2109 if test -n "$CC"; then
2110 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2111 $as_echo "$CC" >&6; }
2113 { $as_echo "$as_me:$LINENO: result: no" >&5
2114 $as_echo "no" >&6; }
2118 test -n "$CC" && break
2121 if test -z "$CC"; then
2123 for ac_prog in cl.exe
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
2132 if test -n "$ac_ct_CC"; then
2133 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2157 { $as_echo "$as_me:$LINENO: result: no" >&5
2158 $as_echo "no" >&6; }
2162 test -n "$ac_ct_CC" && break
2165 if test "x$ac_ct_CC" = x; then
2168 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }; }; }
2189 # Provide some information about the compiler.
2190 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2193 { (ac_try="$ac_compiler --version >&5"
2195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2196 *) ac_try_echo=$ac_try;;
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
2202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }
2204 { (ac_try="$ac_compiler -v >&5"
2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207 *) ac_try_echo=$ac_try;;
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
2213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }
2215 { (ac_try="$ac_compiler -V >&5"
2217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2218 *) ac_try_echo=$ac_try;;
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
2224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }
2227 cat >conftest.$ac_ext <<_ACEOF
2230 cat confdefs.h >>conftest.$ac_ext
2231 cat >>conftest.$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
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
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[^ ]*//'`
2251 # The possible output files:
2252 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2255 for ac_file in $ac_files
2258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2259 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2264 if { (ac_try="$ac_link_default"
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
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
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
2280 for ac_file in $ac_files ''
2282 test -f "$ac_file" || continue
2284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2287 # We found the default executable, but exeext='' is most
2291 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2293 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2305 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }; }; }
2326 ac_exeext=$ac_cv_exeext
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;;
2340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2341 $as_echo "$ac_try_echo") >&5
2342 (eval "$ac_try") 2>&5
2344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; }; then
2348 if test "$cross_compiling" = maybe; then
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; }; }; }
2363 { $as_echo "$as_me:$LINENO: result: yes" >&5
2364 $as_echo "yes" >&6; }
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; }
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"
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2383 $as_echo "$ac_try_echo") >&5
2384 (eval "$ac_link") 2>&5
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
2392 for ac_file in conftest.exe conftest conftest.*; do
2393 test -f "$ac_file" || continue
2395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }; }
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; }
2415 rm -f conftest.$ac_ext
2416 EXEEXT=$ac_cv_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
2423 cat >conftest.$ac_ext <<_ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.o conftest.obj
2439 if { (ac_try="$ac_compile"
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2445 $as_echo "$ac_try_echo") >&5
2446 (eval "$ac_compile") 2>&5
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;
2453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2459 $as_echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
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; }; }; }
2471 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2473 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2474 $as_echo "$ac_cv_objext" >&6; }
2475 OBJEXT=$ac_cv_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
2482 cat >conftest.$ac_ext <<_ACEOF
2485 cat confdefs.h >>conftest.$ac_ext
2486 cat >>conftest.$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2500 rm -f conftest.$ac_objext
2501 if { (ac_try="$ac_compile"
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
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
2510 grep -v '^ *+' conftest.er1 >conftest.err
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
2520 $as_echo "$as_me: failed program was:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2544 ac_save_c_werror_flag=$ac_c_werror_flag
2545 ac_c_werror_flag=yes
2548 cat >conftest.$ac_ext <<_ACEOF
2551 cat confdefs.h >>conftest.$ac_ext
2552 cat >>conftest.$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2563 rm -f conftest.$ac_objext
2564 if { (ac_try="$ac_compile"
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
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
2573 grep -v '^ *+' conftest.er1 >conftest.err
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
2583 $as_echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.$ac_ext >&5
2587 cat >conftest.$ac_ext <<_ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2602 rm -f conftest.$ac_objext
2603 if { (ac_try="$ac_compile"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
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
2612 grep -v '^ *+' conftest.er1 >conftest.err
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
2622 $as_echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2625 ac_c_werror_flag=$ac_save_c_werror_flag
2627 cat >conftest.$ac_ext <<_ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (ac_try="$ac_compile"
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
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
2652 grep -v '^ *+' conftest.er1 >conftest.err
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
2662 $as_echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2675 ac_c_werror_flag=$ac_save_c_werror_flag
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
2688 if test "$GCC" = yes; then
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
2699 ac_cv_prog_cc_c89=no
2701 cat >conftest.$ac_ext <<_ACEOF
2704 cat confdefs.h >>conftest.$ac_ext
2705 cat >>conftest.$ac_ext <<_ACEOF
2706 /* end confdefs.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)
2720 static char *f (char * (*g) (char **, int), char **p, ...)
2725 s = g (p, va_arg (v,int));
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];
2739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2740 inside strings and character constants. */
2742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
2753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2761 CC="$ac_save_CC $ac_arg"
2762 rm -f conftest.$ac_objext
2763 if { (ac_try="$ac_compile"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
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
2772 grep -v '^ *+' conftest.er1 >conftest.err
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
2782 $as_echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2788 rm -f core conftest.err conftest.$ac_objext
2789 test "x$ac_cv_prog_cc_c89" != "xno" && break
2791 rm -f conftest.$ac_ext
2796 case "x$ac_cv_prog_cc_c89" in
2798 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2799 $as_echo "none needed" >&6; } ;;
2801 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2802 $as_echo "unsupported" >&6; } ;;
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; } ;;
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
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
2828 if test -z "$CPP"; then
2829 if test "${ac_cv_prog_CPP+set}" = set; then
2830 $as_echo_n "(cached) " >&6
2832 # Double quotes because CPP needs to be expanded
2833 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2836 for ac_c_preproc_warn_flag in '' yes
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
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2851 # include <limits.h>
2853 # include <assert.h>
2857 if { (ac_try="$ac_cpp conftest.$ac_ext"
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
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
2866 grep -v '^ *+' conftest.er1 >conftest.err
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
2876 $as_echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2879 # Broken: fails on valid input.
2883 rm -f conftest.err conftest.$ac_ext
2885 # OK, works on sane cases. Now check whether nonexistent headers
2886 # can be detected and how.
2887 cat >conftest.$ac_ext <<_ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2893 #include <ac_nonexistent.h>
2895 if { (ac_try="$ac_cpp conftest.$ac_ext"
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
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
2904 grep -v '^ *+' conftest.er1 >conftest.err
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
2912 # Broken: success on invalid input.
2915 $as_echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 # Passes both tests.
2923 rm -f conftest.err conftest.$ac_ext
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
2940 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2941 $as_echo "$CPP" >&6; }
2943 for ac_c_preproc_warn_flag in '' yes
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
2954 cat confdefs.h >>conftest.$ac_ext
2955 cat >>conftest.$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2958 # include <limits.h>
2960 # include <assert.h>
2964 if { (ac_try="$ac_cpp conftest.$ac_ext"
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
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
2973 grep -v '^ *+' conftest.er1 >conftest.err
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
2983 $as_echo "$as_me: failed program was:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2986 # Broken: fails on valid input.
2990 rm -f conftest.err conftest.$ac_ext
2992 # OK, works on sane cases. Now check whether nonexistent headers
2993 # can be detected and how.
2994 cat >conftest.$ac_ext <<_ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3000 #include <ac_nonexistent.h>
3002 if { (ac_try="$ac_cpp conftest.$ac_ext"
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
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
3011 grep -v '^ *+' conftest.er1 >conftest.err
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
3019 # Broken: success on invalid input.
3022 $as_echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3025 # Passes both tests.
3030 rm -f conftest.err conftest.$ac_ext
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
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; }; }; }
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
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
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
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
3075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3078 $as_echo_n 0123456789 >"conftest.in"
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
3093 # 10*(2^10) chars as input seems more than enough
3094 test $ac_count -gt 10 && break
3096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3099 $ac_path_GREP_found && break 3
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; }; }
3110 ac_cv_path_GREP=$GREP
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"
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
3124 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3125 then ac_cv_path_EGREP="$GREP -E"
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
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
3143 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3146 $as_echo_n 0123456789 >"conftest.in"
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
3161 # 10*(2^10) chars as input seems more than enough
3162 test $ac_count -gt 10 && break
3164 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3167 $ac_path_EGREP_found && break 3
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; }; }
3178 ac_cv_path_EGREP=$EGREP
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"
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
3193 cat >conftest.$ac_ext <<_ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3212 rm -f conftest.$ac_objext
3213 if { (ac_try="$ac_compile"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
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
3222 grep -v '^ *+' conftest.er1 >conftest.err
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
3232 $as_echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3235 ac_cv_header_stdc=no
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3252 $EGREP "memchr" >/dev/null 2>&1; then
3255 ac_cv_header_stdc=no
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
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3273 $EGREP "free" >/dev/null 2>&1; then
3276 ac_cv_header_stdc=no
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
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3295 #if ((' ' & 0x0FF) == 0x020)
3296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
3306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3311 for (i = 0; i < 256; i++)
3312 if (XOR (islower (i), ISLOWER (i))
3313 || toupper (i) != TOUPPER (i))
3318 rm -f conftest$ac_exeext
3319 if { (ac_try="$ac_link"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3325 $as_echo "$ac_try_echo") >&5
3326 (eval "$ac_link") 2>&5
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;;
3334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3335 $as_echo "$ac_try_echo") >&5
3336 (eval "$ac_try") 2>&5
3338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
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
3347 ac_cv_header_stdc=no
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
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
3360 cat >>confdefs.h <<\_ACEOF
3361 #define STDC_HEADERS 1
3366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
3385 cat >conftest.$ac_ext <<_ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3391 $ac_includes_default
3393 #include <$ac_header>
3395 rm -f conftest.$ac_objext
3396 if { (ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
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
3405 grep -v '^ *+' conftest.er1 >conftest.err
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"
3415 $as_echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3418 eval "$as_ac_Header=no"
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
3446 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3447 $as_echo "$ac_cv_header_minix_config_h" >&6; }
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
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>
3461 rm -f conftest.$ac_objext
3462 if { (ac_try="$ac_compile"
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
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
3471 grep -v '^ *+' conftest.er1 >conftest.err
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
3481 $as_echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3484 ac_header_compiler=no
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; }
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
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <minix/config.h>
3502 if { (ac_try="$ac_cpp conftest.$ac_ext"
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
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
3511 grep -v '^ *+' conftest.er1 >conftest.err
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
3519 ac_header_preproc=yes
3521 $as_echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3524 ac_header_preproc=no
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; }
3531 # So? What about this header?
3532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
3561 ac_cv_header_minix_config_h=$ac_header_preproc
3563 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3564 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3567 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3574 if test "$MINIX" = yes; then
3576 cat >>confdefs.h <<\_ACEOF
3577 #define _POSIX_SOURCE 1
3581 cat >>confdefs.h <<\_ACEOF
3582 #define _POSIX_1_SOURCE 2
3586 cat >>confdefs.h <<\_ACEOF
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
3599 cat >conftest.$ac_ext <<_ACEOF
3602 cat confdefs.h >>conftest.$ac_ext
3603 cat >>conftest.$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3606 # define __EXTENSIONS__ 1
3607 $ac_includes_default
3616 rm -f conftest.$ac_objext
3617 if { (ac_try="$ac_compile"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
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
3626 grep -v '^ *+' conftest.er1 >conftest.err
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
3636 $as_echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.$ac_ext >&5
3639 ac_cv_safe_to_define___extensions__=no
3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
3651 cat >>confdefs.h <<\_ACEOF
3652 #define _ALL_SOURCE 1
3655 cat >>confdefs.h <<\_ACEOF
3656 #define _GNU_SOURCE 1
3659 cat >>confdefs.h <<\_ACEOF
3660 #define _POSIX_PTHREAD_SEMANTICS 1
3663 cat >>confdefs.h <<\_ACEOF
3664 #define _TANDEM_SOURCE 1
3668 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3669 $as_echo_n "checking whether ln -s works... " >&6; }
3671 if test "$LN_S" = "ln -s"; then
3672 { $as_echo "$as_me:$LINENO: result: yes" >&5
3673 $as_echo "yes" >&6; }
3675 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3676 $as_echo "no, using $LN_S" >&6; }
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
3687 if test -n "$CHMOD"; then
3688 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3712 { $as_echo "$as_me:$LINENO: result: no" >&5
3713 $as_echo "no" >&6; }
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
3724 if test -n "$CHOWN"; then
3725 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3749 { $as_echo "$as_me:$LINENO: result: no" >&5
3750 $as_echo "no" >&6; }
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
3761 if test -n "$AR"; then
3762 ac_cv_prog_AR="$AR" # Let the user override the test.
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 if test -n "$AR"; then
3783 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3784 $as_echo "$AR" >&6; }
3786 { $as_echo "$as_me:$LINENO: result: no" >&5
3787 $as_echo "no" >&6; }
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
3798 if test -n "$INSTALL"; then
3799 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3823 { $as_echo "$as_me:$LINENO: result: no" >&5
3824 $as_echo "no" >&6; }
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
3835 if test -n "$MSGFMT"; then
3836 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3860 { $as_echo "$as_me:$LINENO: result: no" >&5
3861 $as_echo "no" >&6; }
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
3872 if test -n "$XGETTEXT"; then
3873 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3897 { $as_echo "$as_me:$LINENO: result: no" >&5
3898 $as_echo "no" >&6; }
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
3909 if test -n "$MSGMERGE"; then
3910 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3934 { $as_echo "$as_me:$LINENO: result: no" >&5
3935 $as_echo "no" >&6; }
3939 for ac_prog in bzip2 gzip
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
3948 if test -n "$ZIP"; then
3949 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
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
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
3969 if test -n "$ZIP"; then
3970 { $as_echo "$as_me:$LINENO: result: $ZIP" >&5
3971 $as_echo "$ZIP" >&6; }
3973 { $as_echo "$as_me:$LINENO: result: no" >&5
3974 $as_echo "no" >&6; }
3978 test -n "$ZIP" && break
3980 test -n "$ZIP" || ZIP="gzip"
3982 INSTALL_DATA="\${INSTALL} -m 644"
3984 INSTALL_BIN="\${INSTALL} -m 755"
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
3998 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
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
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
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; }
4024 { $as_echo "$as_me:$LINENO: result: no" >&5
4025 $as_echo "no" >&6; }
4029 test -n "$PATH_CP" && break
4031 test -n "$PATH_CP" || PATH_CP="cp"
4033 for ac_prog in chkconfig
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
4042 case $PATH_CHKCONFIG in
4044 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
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
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
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; }
4070 { $as_echo "$as_me:$LINENO: result: no" >&5
4071 $as_echo "no" >&6; }
4075 test -n "$PATH_CHKCONFIG" && break
4077 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
4082 # Check header files
4084 echo Check header files:
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
4093 cat >conftest.$ac_ext <<_ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4112 rm -f conftest.$ac_objext
4113 if { (ac_try="$ac_compile"
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
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
4122 grep -v '^ *+' conftest.er1 >conftest.err
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
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 ac_cv_header_stdc=no
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152 $EGREP "memchr" >/dev/null 2>&1; then
4155 ac_cv_header_stdc=no
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
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4173 $EGREP "free" >/dev/null 2>&1; then
4176 ac_cv_header_stdc=no
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
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4195 #if ((' ' & 0x0FF) == 0x020)
4196 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4197 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4206 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4211 for (i = 0; i < 256; i++)
4212 if (XOR (islower (i), ISLOWER (i))
4213 || toupper (i) != TOUPPER (i))
4218 rm -f conftest$ac_exeext
4219 if { (ac_try="$ac_link"
4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4225 $as_echo "$ac_try_echo") >&5
4226 (eval "$ac_link") 2>&5
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;;
4234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4235 $as_echo "$ac_try_echo") >&5
4236 (eval "$ac_try") 2>&5
4238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
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
4247 ac_cv_header_stdc=no
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
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
4260 cat >>confdefs.h <<\_ACEOF
4261 #define STDC_HEADERS 1
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
4279 cat >conftest.$ac_ext <<_ACEOF
4282 cat confdefs.h >>conftest.$ac_ext
4283 cat >>conftest.$ac_ext <<_ACEOF
4284 /* end confdefs.h. */
4285 #include <sys/types.h>
4297 rm -f conftest.$ac_objext
4298 if { (ac_try="$ac_compile"
4300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4301 *) ac_try_echo=$ac_try;;
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
4307 grep -v '^ *+' conftest.er1 >conftest.err
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"
4317 $as_echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.$ac_ext >&5
4320 eval "$as_ac_Header=no"
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4336 ac_header_dirent=$ac_hdr; break
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
4347 ac_func_search_save_LIBS=$LIBS
4348 cat >conftest.$ac_ext <<_ACEOF
4351 cat confdefs.h >>conftest.$ac_ext
4352 cat >>conftest.$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
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. */
4370 for ac_lib in '' dir; do
4371 if test -z "$ac_lib"; then
4372 ac_res="none required"
4375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4377 rm -f conftest.$ac_objext conftest$ac_exeext
4378 if { (ac_try="$ac_link"
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
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
4387 grep -v '^ *+' conftest.er1 >conftest.err
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
4398 ac_cv_search_opendir=$ac_res
4400 $as_echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4406 rm -rf conftest.dSYM
4407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4409 if test "${ac_cv_search_opendir+set}" = set; then
4413 if test "${ac_cv_search_opendir+set}" = set; then
4416 ac_cv_search_opendir=no
4419 LIBS=$ac_func_search_save_LIBS
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"
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
4435 ac_func_search_save_LIBS=$LIBS
4436 cat >conftest.$ac_ext <<_ACEOF
4439 cat confdefs.h >>conftest.$ac_ext
4440 cat >>conftest.$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
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. */
4458 for ac_lib in '' x; do
4459 if test -z "$ac_lib"; then
4460 ac_res="none required"
4463 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4465 rm -f conftest.$ac_objext conftest$ac_exeext
4466 if { (ac_try="$ac_link"
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
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
4475 grep -v '^ *+' conftest.er1 >conftest.err
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
4486 ac_cv_search_opendir=$ac_res
4488 $as_echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4494 rm -rf conftest.dSYM
4495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4497 if test "${ac_cv_search_opendir+set}" = set; then
4501 if test "${ac_cv_search_opendir+set}" = set; then
4504 ac_cv_search_opendir=no
4507 LIBS=$ac_func_search_save_LIBS
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"
4520 for ac_header in ctype.h
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
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; }
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
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>
4546 rm -f conftest.$ac_objext
4547 if { (ac_try="$ac_compile"
4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
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
4556 grep -v '^ *+' conftest.er1 >conftest.err
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
4566 $as_echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.$ac_ext >&5
4569 ac_header_compiler=no
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; }
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
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 #include <$ac_header>
4587 if { (ac_try="$ac_cpp conftest.$ac_ext"
4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
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
4596 grep -v '^ *+' conftest.er1 >conftest.err
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
4604 ac_header_preproc=yes
4606 $as_echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4609 ac_header_preproc=no
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; }
4616 # So? What about this header?
4617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
4646 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
4666 for ac_header in errno.h
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
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; }
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
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>
4692 rm -f conftest.$ac_objext
4693 if { (ac_try="$ac_compile"
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
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
4702 grep -v '^ *+' conftest.er1 >conftest.err
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
4712 $as_echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4715 ac_header_compiler=no
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; }
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
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731 #include <$ac_header>
4733 if { (ac_try="$ac_cpp conftest.$ac_ext"
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
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
4742 grep -v '^ *+' conftest.er1 >conftest.err
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
4750 ac_header_preproc=yes
4752 $as_echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_header_preproc=no
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; }
4762 # So? What about this header?
4763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
4792 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
4812 for ac_header in libintl.h
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
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; }
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
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>
4838 rm -f conftest.$ac_objext
4839 if { (ac_try="$ac_compile"
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
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
4848 grep -v '^ *+' conftest.er1 >conftest.err
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
4858 $as_echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4861 ac_header_compiler=no
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; }
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
4874 cat confdefs.h >>conftest.$ac_ext
4875 cat >>conftest.$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4877 #include <$ac_header>
4879 if { (ac_try="$ac_cpp conftest.$ac_ext"
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
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
4888 grep -v '^ *+' conftest.er1 >conftest.err
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
4896 ac_header_preproc=yes
4898 $as_echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_header_preproc=no
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; }
4908 # So? What about this header?
4909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
4938 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
4958 for ac_header in locale.h
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
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; }
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
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>
4984 rm -f conftest.$ac_objext
4985 if { (ac_try="$ac_compile"
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;;
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
4994 grep -v '^ *+' conftest.er1 >conftest.err
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
5004 $as_echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5
5007 ac_header_compiler=no
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; }
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
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 #include <$ac_header>
5025 if { (ac_try="$ac_cpp conftest.$ac_ext"
5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
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
5034 grep -v '^ *+' conftest.er1 >conftest.err
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
5042 ac_header_preproc=yes
5044 $as_echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.$ac_ext >&5
5047 ac_header_preproc=no
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; }
5054 # So? What about this header?
5055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5084 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5104 for ac_header in net/if.h
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
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; }
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
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>
5130 rm -f conftest.$ac_objext
5131 if { (ac_try="$ac_compile"
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134 *) ac_try_echo=$ac_try;;
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
5140 grep -v '^ *+' conftest.er1 >conftest.err
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
5150 $as_echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.$ac_ext >&5
5153 ac_header_compiler=no
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; }
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
5166 cat confdefs.h >>conftest.$ac_ext
5167 cat >>conftest.$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5169 #include <$ac_header>
5171 if { (ac_try="$ac_cpp conftest.$ac_ext"
5173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
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
5180 grep -v '^ *+' conftest.er1 >conftest.err
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
5188 ac_header_preproc=yes
5190 $as_echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5193 ac_header_preproc=no
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; }
5200 # So? What about this header?
5201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5230 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5250 for ac_header in regex.h
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
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; }
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
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>
5276 rm -f conftest.$ac_objext
5277 if { (ac_try="$ac_compile"
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
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
5286 grep -v '^ *+' conftest.er1 >conftest.err
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
5296 $as_echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5299 ac_header_compiler=no
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; }
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
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 #include <$ac_header>
5317 if { (ac_try="$ac_cpp conftest.$ac_ext"
5319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
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
5326 grep -v '^ *+' conftest.er1 >conftest.err
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
5334 ac_header_preproc=yes
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 ac_header_preproc=no
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; }
5346 # So? What about this header?
5347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5376 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5396 for ac_header in signal.h
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
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; }
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
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>
5422 rm -f conftest.$ac_objext
5423 if { (ac_try="$ac_compile"
5425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5426 *) ac_try_echo=$ac_try;;
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
5432 grep -v '^ *+' conftest.er1 >conftest.err
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
5442 $as_echo "$as_me: failed program was:" >&5
5443 sed 's/^/| /' conftest.$ac_ext >&5
5445 ac_header_compiler=no
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; }
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
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 #include <$ac_header>
5463 if { (ac_try="$ac_cpp conftest.$ac_ext"
5465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
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
5472 grep -v '^ *+' conftest.er1 >conftest.err
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
5480 ac_header_preproc=yes
5482 $as_echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.$ac_ext >&5
5485 ac_header_preproc=no
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; }
5492 # So? What about this header?
5493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5522 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5542 for ac_header in stdio.h
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
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; }
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
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>
5568 rm -f conftest.$ac_objext
5569 if { (ac_try="$ac_compile"
5571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
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
5578 grep -v '^ *+' conftest.er1 >conftest.err
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
5588 $as_echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5591 ac_header_compiler=no
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; }
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
5604 cat confdefs.h >>conftest.$ac_ext
5605 cat >>conftest.$ac_ext <<_ACEOF
5606 /* end confdefs.h. */
5607 #include <$ac_header>
5609 if { (ac_try="$ac_cpp conftest.$ac_ext"
5611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;;
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
5618 grep -v '^ *+' conftest.er1 >conftest.err
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
5626 ac_header_preproc=yes
5628 $as_echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5631 ac_header_preproc=no
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; }
5638 # So? What about this header?
5639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5668 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5688 for ac_header in sys/file.h
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
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; }
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
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>
5714 rm -f conftest.$ac_objext
5715 if { (ac_try="$ac_compile"
5717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718 *) ac_try_echo=$ac_try;;
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
5724 grep -v '^ *+' conftest.er1 >conftest.err
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
5734 $as_echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.$ac_ext >&5
5737 ac_header_compiler=no
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; }
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
5750 cat confdefs.h >>conftest.$ac_ext
5751 cat >>conftest.$ac_ext <<_ACEOF
5752 /* end confdefs.h. */
5753 #include <$ac_header>
5755 if { (ac_try="$ac_cpp conftest.$ac_ext"
5757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5758 *) ac_try_echo=$ac_try;;
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
5764 grep -v '^ *+' conftest.er1 >conftest.err
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
5772 ac_header_preproc=yes
5774 $as_echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.$ac_ext >&5
5777 ac_header_preproc=no
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; }
5784 # So? What about this header?
5785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5814 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5834 for ac_header in sys/ioctl.h
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
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; }
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
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>
5860 rm -f conftest.$ac_objext
5861 if { (ac_try="$ac_compile"
5863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864 *) ac_try_echo=$ac_try;;
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
5870 grep -v '^ *+' conftest.er1 >conftest.err
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
5880 $as_echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 ac_header_compiler=no
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; }
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
5896 cat confdefs.h >>conftest.$ac_ext
5897 cat >>conftest.$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5899 #include <$ac_header>
5901 if { (ac_try="$ac_cpp conftest.$ac_ext"
5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
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
5910 grep -v '^ *+' conftest.er1 >conftest.err
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
5918 ac_header_preproc=yes
5920 $as_echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 ac_header_preproc=no
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; }
5930 # So? What about this header?
5931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
5960 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
5980 for ac_header in sys/stat.h
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
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; }
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
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>
6006 rm -f conftest.$ac_objext
6007 if { (ac_try="$ac_compile"
6009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6010 *) ac_try_echo=$ac_try;;
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
6016 grep -v '^ *+' conftest.er1 >conftest.err
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
6026 $as_echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6029 ac_header_compiler=no
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; }
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
6042 cat confdefs.h >>conftest.$ac_ext
6043 cat >>conftest.$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 #include <$ac_header>
6047 if { (ac_try="$ac_cpp conftest.$ac_ext"
6049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6050 *) ac_try_echo=$ac_try;;
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
6056 grep -v '^ *+' conftest.er1 >conftest.err
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
6064 ac_header_preproc=yes
6066 $as_echo "$as_me: failed program was:" >&5
6067 sed 's/^/| /' conftest.$ac_ext >&5
6069 ac_header_preproc=no
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; }
6076 # So? What about this header?
6077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
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
6106 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
6127 echo Check typedefs, structures and compiler characteristics:
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
6134 cat >conftest.$ac_ext <<_ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 #include <sys/types.h>
6146 return *(signal (0, 0)) (0) == 1;
6151 rm -f conftest.$ac_objext
6152 if { (ac_try="$ac_compile"
6154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155 *) ac_try_echo=$ac_try;;
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
6161 grep -v '^ *+' conftest.er1 >conftest.err
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
6171 $as_echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.$ac_ext >&5
6174 ac_cv_type_signal=void
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6179 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6180 $as_echo "$ac_cv_type_signal" >&6; }
6182 cat >>confdefs.h <<_ACEOF
6183 #define RETSIGTYPE $ac_cv_type_signal
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
6192 ac_cv_type_size_t=no
6193 cat >conftest.$ac_ext <<_ACEOF
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6199 $ac_includes_default
6203 if (sizeof (size_t))
6209 rm -f conftest.$ac_objext
6210 if { (ac_try="$ac_compile"
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
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
6219 grep -v '^ *+' conftest.er1 >conftest.err
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
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6233 $ac_includes_default
6237 if (sizeof ((size_t)))
6243 rm -f conftest.$ac_objext
6244 if { (ac_try="$ac_compile"
6246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6247 *) ac_try_echo=$ac_try;;
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
6253 grep -v '^ *+' conftest.er1 >conftest.err
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
6263 $as_echo "$as_me: failed program was:" >&5
6264 sed 's/^/| /' conftest.$ac_ext >&5
6266 ac_cv_type_size_t=yes
6269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6271 $as_echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.$ac_ext >&5
6277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
6285 cat >>confdefs.h <<_ACEOF
6286 #define size_t unsigned int
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
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 $ac_includes_default
6313 rm -f conftest.$ac_objext
6314 if { (ac_try="$ac_compile"
6316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6317 *) ac_try_echo=$ac_try;;
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
6323 grep -v '^ *+' conftest.er1 >conftest.err
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
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 $ac_includes_default
6341 if (sizeof ((off_t)))
6347 rm -f conftest.$ac_objext
6348 if { (ac_try="$ac_compile"
6350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351 *) ac_try_echo=$ac_try;;
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
6357 grep -v '^ *+' conftest.er1 >conftest.err
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
6367 $as_echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6370 ac_cv_type_off_t=yes
6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375 $as_echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.$ac_ext >&5
6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
6389 cat >>confdefs.h <<_ACEOF
6390 #define off_t long int
6397 echo Check library functions:
6400 for ac_func in strchr
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
6408 cat >conftest.$ac_ext <<_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
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. */
6424 # include <limits.h>
6426 # include <assert.h>
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. */
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
6453 rm -f conftest.$ac_objext conftest$ac_exeext
6454 if { (ac_try="$ac_link"
6456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457 *) ac_try_echo=$ac_try;;
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
6463 grep -v '^ *+' conftest.er1 >conftest.err
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
6474 eval "$as_ac_var=yes"
6476 $as_echo "$as_me: failed program was:" >&5
6477 sed 's/^/| /' conftest.$ac_ext >&5
6479 eval "$as_ac_var=no"
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
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
6501 for ac_func in strcspn
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
6509 cat >conftest.$ac_ext <<_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
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. */
6525 # include <limits.h>
6527 # include <assert.h>
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. */
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
6554 rm -f conftest.$ac_objext conftest$ac_exeext
6555 if { (ac_try="$ac_link"
6557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6558 *) ac_try_echo=$ac_try;;
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
6564 grep -v '^ *+' conftest.er1 >conftest.err
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
6575 eval "$as_ac_var=yes"
6577 $as_echo "$as_me: failed program was:" >&5
6578 sed 's/^/| /' conftest.$ac_ext >&5
6580 eval "$as_ac_var=no"
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
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
6602 for ac_func in strspn
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
6610 cat >conftest.$ac_ext <<_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
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. */
6626 # include <limits.h>
6628 # include <assert.h>
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. */
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
6655 rm -f conftest.$ac_objext conftest$ac_exeext
6656 if { (ac_try="$ac_link"
6658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659 *) ac_try_echo=$ac_try;;
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
6665 grep -v '^ *+' conftest.er1 >conftest.err
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
6676 eval "$as_ac_var=yes"
6678 $as_echo "$as_me: failed program was:" >&5
6679 sed 's/^/| /' conftest.$ac_ext >&5
6681 eval "$as_ac_var=no"
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
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
6703 for ac_func in strstr
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
6711 cat >conftest.$ac_ext <<_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
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. */
6727 # include <limits.h>
6729 # include <assert.h>
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. */
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
6756 rm -f conftest.$ac_objext conftest$ac_exeext
6757 if { (ac_try="$ac_link"
6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6760 *) ac_try_echo=$ac_try;;
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
6766 grep -v '^ *+' conftest.er1 >conftest.err
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
6777 eval "$as_ac_var=yes"
6779 $as_echo "$as_me: failed program was:" >&5
6780 sed 's/^/| /' conftest.$ac_ext >&5
6782 eval "$as_ac_var=no"
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
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
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
6814 if test $SENSORS != "yes"; then
6818 CFSENSORS="-lsensors"
6819 DFSENSORS="-DHAVE_SENSORS"
6821 { $as_echo "$as_me:$LINENO: result: $SENSORS" >&5
6822 $as_echo "$SENSORS" >&6; }
6824 # Check for lm_sensors
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
6832 ac_check_lib_save_LIBS=$LIBS
6833 LIBS="-lsensors $LIBS"
6834 cat >conftest.$ac_ext <<_ACEOF
6837 cat confdefs.h >>conftest.$ac_ext
6838 cat >>conftest.$ac_ext <<_ACEOF
6839 /* end confdefs.h. */
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. */
6847 char sensors_get_detected_chips ();
6851 return sensors_get_detected_chips ();
6856 rm -f conftest.$ac_objext conftest$ac_exeext
6857 if { (ac_try="$ac_link"
6859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860 *) ac_try_echo=$ac_try;;
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
6866 grep -v '^ *+' conftest.er1 >conftest.err
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
6877 ac_cv_lib_sensors_sensors_get_detected_chips=yes
6879 $as_echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 ac_cv_lib_sensors_sensors_get_detected_chips=no
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
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}"
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
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>
6915 rm -f conftest.$ac_objext
6916 if { (ac_try="$ac_compile"
6918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6919 *) ac_try_echo=$ac_try;;
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
6925 grep -v '^ *+' conftest.er1 >conftest.err
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}"
6935 $as_echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.$ac_ext >&5
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; }
6947 echo Check system services:
6949 # Check whether --enable-largefile was given.
6950 if test "${enable_largefile+set}" = set; then
6951 enableval=$enable_largefile;
6954 if test "$enable_largefile" != no; then
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
6961 ac_cv_sys_largefile_CC=no
6962 if test "$GCC" != yes; then
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
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)
6990 rm -f conftest.$ac_objext
6991 if { (ac_try="$ac_compile"
6993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6994 *) ac_try_echo=$ac_try;;
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
7000 grep -v '^ *+' conftest.er1 >conftest.err
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
7010 $as_echo "$as_me: failed program was:" >&5
7011 sed 's/^/| /' conftest.$ac_ext >&5
7016 rm -f core conftest.err conftest.$ac_objext
7018 rm -f conftest.$ac_objext
7019 if { (ac_try="$ac_compile"
7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7022 *) ac_try_echo=$ac_try;;
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
7028 grep -v '^ *+' conftest.er1 >conftest.err
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
7038 $as_echo "$as_me: failed program was:" >&5
7039 sed 's/^/| /' conftest.$ac_ext >&5
7044 rm -f core conftest.err conftest.$ac_objext
7048 rm -f conftest.$ac_ext
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
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
7063 cat >conftest.$ac_ext <<_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)
7086 rm -f conftest.$ac_objext
7087 if { (ac_try="$ac_compile"
7089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7090 *) ac_try_echo=$ac_try;;
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
7096 grep -v '^ *+' conftest.er1 >conftest.err
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
7106 $as_echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.$ac_ext >&5
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 cat >conftest.$ac_ext <<_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)
7137 rm -f conftest.$ac_objext
7138 if { (ac_try="$ac_compile"
7140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141 *) ac_try_echo=$ac_try;;
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
7147 grep -v '^ *+' conftest.er1 >conftest.err
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
7157 $as_echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.$ac_ext >&5
7163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7164 ac_cv_sys_file_offset_bits=unknown
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 #(
7173 cat >>confdefs.h <<_ACEOF
7174 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
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
7186 cat >conftest.$ac_ext <<_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)
7209 rm -f conftest.$ac_objext
7210 if { (ac_try="$ac_compile"
7212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7213 *) ac_try_echo=$ac_try;;
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
7219 grep -v '^ *+' conftest.er1 >conftest.err
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
7229 $as_echo "$as_me: failed program was:" >&5
7230 sed 's/^/| /' conftest.$ac_ext >&5
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 cat >conftest.$ac_ext <<_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)
7260 rm -f conftest.$ac_objext
7261 if { (ac_try="$ac_compile"
7263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
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
7270 grep -v '^ *+' conftest.er1 >conftest.err
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
7280 $as_echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.$ac_ext >&5
7286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287 ac_cv_sys_large_files=unknown
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 #(
7296 cat >>confdefs.h <<_ACEOF
7297 #define _LARGE_FILES $ac_cv_sys_large_files
7307 echo Check configuration:
7309 # Check arguments used
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
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
7337 # Fine tuning the installation directories:
7338 # --mandir=DIR man documentation directory [PREFIX/man]
7339 # --docdir=DIR other documentation directory [PREFIX/share/doc]
7341 # Installation directories:
7342 # --prefix=PREFIX install architecture-independent files in PREFIX
7344 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7348 if test -d /etc/init.d && test ! -L /etc/init.d; then
7349 if test -d /etc/init.d/rc2.d; then
7356 INIT_DIR=/etc/init.d
7357 elif test -d /sbin/init.d; then
7359 INIT_DIR=/sbin/init.d
7363 INIT_DIR=/etc/rc.d/init.d
7367 { $as_echo "$as_me:$LINENO: checking run-commands directory" >&5
7368 $as_echo_n "checking run-commands directory... " >&6; }
7370 if test x$rcdir != x""; then
7371 # Override previous rc directories values
7373 INIT_DIR=$rcdir/init.d
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."
7387 # Set sadc directory
7388 if test $prefix != "NONE"; then
7391 AuxPrefix=/usr/local
7394 if test -d $AuxPrefix/lib; then
7395 SADC_DIR=$AuxPrefix/lib
7396 elif test -d $AuxPrefix/lib64; then
7397 SADC_DIR=$AuxPrefix/lib64
7399 SADC_DIR=$AuxPrefix/lib
7402 { $as_echo "$as_me:$LINENO: checking sadc directory" >&5
7403 $as_echo_n "checking sadc directory... " >&6; }
7405 if test x$sa_lib_dir != x""; then
7406 SA_LIB_DIR=$sa_lib_dir
7408 SA_LIB_DIR=$SADC_DIR/sa
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."
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; }
7421 if test x$sa_dir != x""; then
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."
7433 # Set configuration directory
7434 { $as_echo "$as_me:$LINENO: checking sysstat configuration directory" >&5
7435 $as_echo_n "checking sysstat configuration directory... " >&6; }
7437 if test x$conf_dir != x""; then
7438 SYSCONFIG_DIR=$conf_dir
7440 SYSCONFIG_DIR=/etc/sysconfig
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."
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
7459 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
7466 { $as_echo "$as_me:$LINENO: result: $AUX_NLS" >&5
7467 $as_echo "$AUX_NLS" >&6; }
7469 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
7470 echo "WARNING: msgfmt command not found!"
7472 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
7473 echo "WARNING: xgettext command not found!"
7475 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
7476 echo "WARNING: msgmerge command not found!"
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
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; }
7495 { $as_echo "$as_me:$LINENO: result: no" >&5
7496 $as_echo "no" >&6; }
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; }
7504 if test x$history = x""; then
7509 { $as_echo "$as_me:$LINENO: result: $HISTORY" >&5
7510 $as_echo "$HISTORY" >&6; }
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; }
7517 if test x$compressafter = x""; then
7520 COMPRESSAFTER=$compressafter
7522 { $as_echo "$as_me:$LINENO: result: $COMPRESSAFTER" >&5
7523 $as_echo "$COMPRESSAFTER" >&6; }
7527 if `grep ^man: /etc/group >/dev/null 2>&1`; then
7533 { $as_echo "$as_me:$LINENO: checking group for manual pages" >&5
7534 $as_echo_n "checking group for manual pages... " >&6; }
7536 if test x$man_group = x""; then
7538 { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7539 $as_echo "$MAN_GROUP" >&6; }
7541 if !(`grep ^$man_group: /etc/group >/dev/null 2>&1`); then
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"
7547 MAN_GROUP=$man_group
7548 { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7549 $as_echo "$MAN_GROUP" >&6; }
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
7564 if test $AUX_IMG != "no"; then
7571 { $as_echo "$as_me:$LINENO: result: $AUX_IMG" >&5
7572 $as_echo "$AUX_IMG" >&6; }
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
7585 if test $AUX_MPG != "yes"; then
7591 { $as_echo "$as_me:$LINENO: result: $AUX_MPG" >&5
7592 $as_echo "$AUX_MPG" >&6; }
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
7605 if test $AUX_IIS != "yes"; then
7611 { $as_echo "$as_me:$LINENO: result: $AUX_IIS" >&5
7612 $as_echo "$AUX_IIS" >&6; }
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
7625 if test $AUX_CSD != "yes"; then
7631 { $as_echo "$as_me:$LINENO: result: $AUX_CSD" >&5
7632 $as_echo "$AUX_CSD" >&6; }
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
7645 if test $INSTALL_CRON != "yes"; then
7652 { $as_echo "$as_me:$LINENO: result: $AUX_CRON" >&5
7653 $as_echo "$AUX_CRON" >&6; }
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; }
7661 if test x$cron_owner = x""; then
7663 { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7664 $as_echo "$CRON_OWNER" >&6; }
7666 if !(`grep ^$cron_owner: /etc/passwd >/dev/null 2>&1`); then
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."
7672 CRON_OWNER=$cron_owner
7673 { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7674 $as_echo "$CRON_OWNER" >&6; }
7677 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
7678 if test $CRON_OWNER = "root"; then
7681 REM_CHOWN="# REM_CHOWN"
7683 SU_C_OWNER="su $CRON_OWNER -c "
7685 # " (ignore this line)
7689 { $as_echo "$as_me:$LINENO: checking crontab interval" >&5
7690 $as_echo_n "checking crontab interval... " >&6; }
7692 if test x$cron_interval = x""; then
7695 CRON_INTERVAL=$cron_interval
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}`
7705 REM_CHOWN="# REM_CHOWN"
7707 CRON_INTERVAL_SEC=600
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
7728 if test $AUX_DOC != "no"; then
7735 { $as_echo "$as_me:$LINENO: result: $AUX_DOC" >&5
7736 $as_echo "$AUX_DOC" >&6; }
7739 # Set directory for installing manual pages (see comment in Makefile)
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"
7755 echo Now create files:
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"
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"
7771 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
7773 ac_config_files="$ac_config_files cron/sysstat.crond"
7775 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
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
7800 ac_config_files="$ac_config_files Makefile"
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.
7809 # config.status only pays attention to the cache file if you give it
7810 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
7833 _ | IFS | as_nl) ;; #(
7834 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7835 *) $as_unset $ac_var ;;
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 \).
7847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7850 # `set' quotes correctly as required by POSIX, so do not add quotes.
7851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7860 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7862 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
7877 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7878 # Let make expand exec_prefix.
7879 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7881 # Transform confdefs.h into DEFS.
7882 # Protect against shell expansion while executing Makefile rules.
7883 # Protect against Makefile macro expansion.
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.
7897 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7899 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7903 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7916 DEFS=`sed -n "$ac_script" confdefs.h`
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'
7932 LTLIBOBJS=$ac_ltlibobjs
7936 : ${CONFIG_STATUS=./config.status}
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
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.
7952 SHELL=\${CONFIG_SHELL-$SHELL}
7955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7956 ## --------------------- ##
7957 ## M4sh Initialization. ##
7958 ## --------------------- ##
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
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
7970 case `(set -o) 2>/dev/null` in
7971 *posix*) set -o posix ;;
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
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'
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'
8002 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8003 as_echo_n_body='eval
8007 expr "X$arg" : "X\\(.*\\)$as_nl";
8008 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8010 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8012 export as_echo_n_body
8013 as_echo_n='sh -c $as_echo_n_body as_echo'
8016 as_echo='sh -c $as_echo_body as_echo'
8019 # The user is always right.
8020 if test "${PATH_SEPARATOR+set}" != set; then
8022 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8023 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8028 # Support unset when possible.
8029 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
8043 # Find who we are. Look in the path if we contain no directory separator.
8045 *[\\/]* ) as_myself=$0 ;;
8046 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 test -z "$as_dir" && as_dir=.
8051 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
8081 # Required to use basename.
8082 if expr a : '\(a\)' >/dev/null 2>&1 &&
8083 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8089 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8090 as_basename=basename
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 ||
8102 sed '/^.*\/\([^/][^/]*\)\/*$/{
8123 test "x$as_lineno_1" != "x$as_lineno_2" &&
8124 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
8147 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
8159 # Exit status is that of the last command.
8164 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8170 ECHO_C= ECHO_N= ECHO_T=
8173 case `echo 'x\c'` in
8174 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8180 if expr a : '\(a\)' >/dev/null 2>&1 &&
8181 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8187 rm -f conf$$ conf$$.exe conf$$.file
8188 if test -d conf$$.dir; then
8189 rm -f conf$$.dir/conf$$.file
8192 mkdir conf$$.dir 2>/dev/null
8194 if (echo >conf$$.file) 2>/dev/null; then
8195 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
8203 elif ln conf$$.file conf$$ 2>/dev/null; then
8211 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8212 rmdir conf$$.dir 2>/dev/null
8214 if mkdir -p . 2>/dev/null; then
8217 test -d ./-p && rmdir ./-p
8221 if test -x / >/dev/null 2>&1; then
8224 if ls -dL / >/dev/null 2>&1; then
8231 if test -d "$1"; then
8237 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8238 ???[sx]*):;;*)false;;esac;fi
8242 as_executable_p=$as_test_x
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'"
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'"
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.
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
8260 CONFIG_FILES = $CONFIG_FILES
8261 CONFIG_HEADERS = $CONFIG_HEADERS
8262 CONFIG_LINKS = $CONFIG_LINKS
8263 CONFIG_COMMANDS = $CONFIG_COMMANDS
8266 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8271 case $ac_config_files in *"
8272 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8278 # Files that config.status was made for.
8279 config_files="$ac_config_files"
8283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8285 \`$as_me' instantiates files from templates according to the
8286 current configuration.
8288 Usage: $0 [OPTION]... [FILE]...
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
8299 Configuration files:
8302 Report bugs to <bug-autoconf@gnu.org>."
8305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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'`\\"
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."
8317 test -n "\$AWK" || AWK=awk
8320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8321 # The default lists apply if the user does not specify any file.
8327 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8328 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8339 # Handling of the options.
8340 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8342 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8343 $as_echo "$ac_cs_version"; exit ;;
8344 --debug | --debu | --deb | --de | --d | -d )
8346 --file | --fil | --fi | --f )
8349 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
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)
8360 -*) { $as_echo "$as_me: error: unrecognized option: $1
8361 Try \`$0 --help' for more information." >&2
8362 { (exit 1); exit 1; }; } ;;
8364 *) ac_config_targets="$ac_config_targets $1"
8365 ac_need_defaults=false ;;
8371 ac_configure_extra_args=
8373 if $ac_cs_silent; then
8375 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
8383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8384 CONFIG_SHELL='$SHELL'
8390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8395 ## Running $as_me. ##
8401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8406 # Handling of arguments.
8407 for ac_config_target in $ac_config_targets
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" ;;
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; }; };;
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
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'.
8457 trap 'exit_status=$?
8458 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8460 trap '{ (exit 1); exit 1; }' 1 2 13 15
8462 # Create a (secure) tmp directory for tmp files.
8465 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8466 test -n "$tmp" && test -d "$tmp"
8469 tmp=./conf$$-$RANDOM
8470 (umask 077 && mkdir "$tmp")
8473 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8474 { (exit 1); exit 1; }
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
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
8491 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8496 echo "cat >conf$$subs.awk <<_ACEOF" &&
8497 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '$'`
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; }; }
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
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; }; }
8519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8525 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8529 s/^/S["/; s/!.*/"]=/
8539 s/\(.\{148\}\).*/\1/
8541 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8546 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8553 s/\(.\{148\}\).*/\1/
8555 s/["\\]/\\&/g; s/^/"/; s/$/"/
8559 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8564 ' <conf$$subs.awk | sed '
8569 ' >>$CONFIG_STATUS || ac_write_fail=1
8570 rm -f conf$$subs.awk
8571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8573 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8574 for (key in S) S_is_set[key] = 1
8580 nfields = split(line, field, "@")
8582 len = length(field[1])
8583 for (i = 2; i < nfields; i++) {
8585 keylen = length(key)
8586 if (S_is_set[key]) {
8588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8589 len += length(value) + length(field[++i])
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"
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; }; }
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[ ]*=/{
8620 s/^\([^=]*=[ ]*\):*/\1/
8626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8627 fi # test -n "$CONFIG_FILES"
8630 eval set X " :F $CONFIG_FILES "
8635 :[FHLC]) ac_mode=$ac_tag; continue;;
8637 case $ac_mode$ac_tag in
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;;
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 `:'.
8667 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
8673 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8674 ac_file_inputs="$ac_file_inputs '$ac_f'"
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'
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;}
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;;
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; }; } ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8730 -*) as_dir=./$as_dir;;
8732 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8736 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8737 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8763 test -d "$as_dir" && break
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; }; }; }
8772 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
8788 .) # We are building in place.
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 ;;
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 ;;
8801 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
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=
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;}
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' ;;
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
8852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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; }; }
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;}
8882 -) cat "$tmp/out" && rm -f "$tmp/out";;
8883 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
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; }; }
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 ;;
8906 { (exit 0); exit 0; }
8908 chmod +x $CONFIG_STATUS
8909 ac_clean_files=$ac_clean_files_save
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; }; }
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
8927 ac_config_status_args=
8928 test "$silent" = yes &&
8929 ac_config_status_args="$ac_config_status_args --quiet"
8931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
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;}
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
8951 Compiler flags: $CFLAGS